From 392b0644332aed27a164c094697c4a15e8b00944 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 18 Jul 2022 17:56:23 +1000 Subject: [PATCH] updates for new release of R5 --- .../primitivetypes10_50/Date10_50.java | 14 + .../primitivetypes10_50/String10_50.java | 13 + .../resources10_50/Appointment10_50.java | 6 +- .../conv10_50/resources10_50/Basic10_50.java | 4 +- .../resources10_50/CarePlan10_50.java | 8 +- .../resources10_50/ConceptMap10_50.java | 28 +- .../resources10_50/Condition10_50.java | 64 +- .../DocumentReference10_50.java | 32 +- .../resources10_50/Encounter10_50.java | 4 +- .../ImplementationGuide10_50.java | 4 +- .../MedicationDispense10_50.java | 12 +- .../resources10_50/MedicationOrder10_50.java | 11 +- .../MedicationStatement10_50.java | 15 +- .../resources10_50/MessageHeader10_50.java | 6 +- .../resources10_50/Organization10_50.java | 8 +- .../resources10_50/Provenance10_50.java | 4 +- .../resources10_50/Schedule10_50.java | 8 +- .../resources10_50/SearchParameter10_50.java | 10 +- .../conv10_50/resources10_50/Slot10_50.java | 8 +- .../resources10_50/TestScript10_50.java | 4 +- .../resources14_50/ConceptMap14_50.java | 48 +- .../ImplementationGuide14_50.java | 4 +- .../resources14_50/SearchParameter14_50.java | 11 +- .../convertors/conv30_50/Resource30_50.java | 4 - .../conv30_50/datatypes30_50/Dosage30_50.java | 18 +- .../primitivetypes30_50/Date30_50.java | 10 + .../AllergyIntolerance30_50.java | 21 +- .../resources30_50/Appointment30_50.java | 6 +- .../conv30_50/resources30_50/Basic30_50.java | 4 +- .../resources30_50/CarePlan30_50.java | 7 +- .../resources30_50/ConceptMap30_50.java | 62 +- .../resources30_50/Condition30_50.java | 49 +- .../resources30_50/Consent30_50.java | 14 +- .../DocumentReference30_50.java | 32 +- .../resources30_50/Encounter30_50.java | 2 +- .../resources30_50/Endpoint30_50.java | 4 +- .../resources30_50/ImagingStudy30_50.java | 20 +- .../resources30_50/Immunization30_50.java | 7 +- .../ImplementationGuide30_50.java | 4 +- .../MedicationDispense30_50.java | 8 +- .../MedicationRequest30_50.java | 8 +- .../MedicationStatement30_50.java | 4 +- .../resources30_50/MessageHeader30_50.java | 4 +- .../resources30_50/Organization30_50.java | 8 +- .../resources30_50/Provenance30_50.java | 4 +- .../resources30_50/Schedule30_50.java | 8 +- .../resources30_50/SearchParameter30_50.java | 10 +- .../resources30_50/Sequence30_50.java | 429 -- .../conv30_50/resources30_50/Slot30_50.java | 8 +- .../resources30_50/Specimen30_50.java | 48 +- .../resources30_50/TestReport30_50.java | 5 +- .../resources30_50/TestScript30_50.java | 4 +- .../primitive40_50/Date40_50.java | 15 + .../primitive40_50/String40_50.java | 16 + .../special40_50/Dosage40_50.java | 16 +- .../AllergyIntolerance40_50.java | 22 +- .../resources40_50/Appointment40_50.java | 6 +- .../conv40_50/resources40_50/Basic40_50.java | 4 +- .../BiologicallyDerivedProduct40_50.java | 212 +- .../resources40_50/BodyStructure40_50.java | 8 +- .../resources40_50/CarePlan40_50.java | 6 +- .../resources40_50/ConceptMap40_50.java | 62 +- .../resources40_50/Condition40_50.java | 58 +- .../resources40_50/Consent40_50.java | 62 +- .../conv40_50/resources40_50/Device40_50.java | 6 +- .../resources40_50/DeviceDefinition40_50.java | 4 +- .../resources40_50/DeviceRequest40_50.java | 8 +- .../DocumentReference40_50.java | 26 +- .../resources40_50/Encounter40_50.java | 10 +- .../resources40_50/Endpoint40_50.java | 4 +- .../resources40_50/ExampleScenario40_50.java | 6 +- .../resources40_50/ImagingStudy40_50.java | 26 +- .../resources40_50/Immunization40_50.java | 20 +- .../ImplementationGuide40_50.java | 4 +- .../resources40_50/InsurancePlan40_50.java | 9 +- .../MedicationDispense40_50.java | 24 +- .../MedicationRequest40_50.java | 16 +- .../MedicationStatement40_50.java | 4 +- .../MessageDefinition40_50.java | 5 +- .../resources40_50/MessageHeader40_50.java | 4 +- .../MolecularSequence40_50.java | 665 -- .../resources40_50/Organization40_50.java | 8 +- .../resources40_50/Provenance40_50.java | 4 +- .../resources40_50/Resource40_50.java | 4 - .../resources40_50/Schedule40_50.java | 8 +- .../resources40_50/SearchParameter40_50.java | 10 +- .../conv40_50/resources40_50/Slot40_50.java | 8 +- .../resources40_50/Specimen40_50.java | 48 +- .../resources40_50/TestReport40_50.java | 5 +- .../resources40_50/TestScript40_50.java | 4 +- .../fhir/r5/context/BaseWorkerContext.java | 2 +- .../org/hl7/fhir/r5/formats/JsonParser.java | 5313 +++++++-------- .../org/hl7/fhir/r5/formats/ParserBase.java | 2 +- .../org/hl7/fhir/r5/formats/RdfParser.java | 2022 +++--- .../org/hl7/fhir/r5/formats/XmlParser.java | 4424 ++++++------- .../java/org/hl7/fhir/r5/model/Account.java | 210 +- .../hl7/fhir/r5/model/ActivityDefinition.java | 496 +- .../java/org/hl7/fhir/r5/model/Address.java | 10 +- .../model/AdministrableProductDefinition.java | 276 +- .../org/hl7/fhir/r5/model/AdverseEvent.java | 454 +- .../main/java/org/hl7/fhir/r5/model/Age.java | 2 +- .../hl7/fhir/r5/model/AllergyIntolerance.java | 942 +-- .../org/hl7/fhir/r5/model/Annotation.java | 2 +- .../org/hl7/fhir/r5/model/Appointment.java | 520 +- .../fhir/r5/model/AppointmentResponse.java | 198 +- .../hl7/fhir/r5/model/ArtifactAssessment.java | 698 +- .../org/hl7/fhir/r5/model/Attachment.java | 2 +- .../org/hl7/fhir/r5/model/AuditEvent.java | 444 +- .../hl7/fhir/r5/model/BackboneElement.java | 2 +- .../org/hl7/fhir/r5/model/BackboneType.java | 2 +- .../java/org/hl7/fhir/r5/model/Basic.java | 172 +- .../java/org/hl7/fhir/r5/model/Binary.java | 2 +- .../r5/model/BiologicallyDerivedProduct.java | 676 +- .../org/hl7/fhir/r5/model/BodyStructure.java | 155 +- .../java/org/hl7/fhir/r5/model/Bundle.java | 138 +- .../hl7/fhir/r5/model/CanonicalResource.java | 6 +- .../fhir/r5/model/CapabilityStatement.java | 950 +-- .../fhir/r5/model/CapabilityStatement2.java | 476 +- .../java/org/hl7/fhir/r5/model/CarePlan.java | 748 +-- .../java/org/hl7/fhir/r5/model/CareTeam.java | 354 +- .../org/hl7/fhir/r5/model/ChargeItem.java | 400 +- .../fhir/r5/model/ChargeItemDefinition.java | 310 +- .../java/org/hl7/fhir/r5/model/Citation.java | 3100 +++++---- .../java/org/hl7/fhir/r5/model/Claim.java | 414 +- .../org/hl7/fhir/r5/model/ClaimResponse.java | 246 +- .../hl7/fhir/r5/model/ClinicalImpression.java | 396 +- .../fhir/r5/model/ClinicalUseDefinition.java | 587 +- .../hl7/fhir/r5/model/ClinicalUseIssue.java | 3150 --------- .../org/hl7/fhir/r5/model/CodeSystem.java | 912 +-- .../hl7/fhir/r5/model/CodeableConcept.java | 2 +- .../hl7/fhir/r5/model/CodeableReference.java | 16 +- .../java/org/hl7/fhir/r5/model/Coding.java | 2 +- .../org/hl7/fhir/r5/model/Communication.java | 370 +- .../fhir/r5/model/CommunicationRequest.java | 370 +- .../fhir/r5/model/CompartmentDefinition.java | 666 +- .../org/hl7/fhir/r5/model/Composition.java | 1025 ++- .../org/hl7/fhir/r5/model/ConceptMap.java | 2485 ++++--- .../org/hl7/fhir/r5/model/ConceptMap2.java | 4408 ------------- .../java/org/hl7/fhir/r5/model/Condition.java | 1261 +--- .../fhir/r5/model/ConditionDefinition.java | 312 +- .../java/org/hl7/fhir/r5/model/Consent.java | 1077 +-- .../java/org/hl7/fhir/r5/model/Constants.java | 12 +- .../org/hl7/fhir/r5/model/ContactDetail.java | 2 +- .../org/hl7/fhir/r5/model/ContactPoint.java | 10 +- .../java/org/hl7/fhir/r5/model/Contract.java | 240 +- .../org/hl7/fhir/r5/model/Contributor.java | 6 +- .../java/org/hl7/fhir/r5/model/Count.java | 2 +- .../java/org/hl7/fhir/r5/model/Coverage.java | 252 +- .../r5/model/CoverageEligibilityRequest.java | 170 +- .../r5/model/CoverageEligibilityResponse.java | 214 +- .../hl7/fhir/r5/model/DataRequirement.java | 6 +- .../java/org/hl7/fhir/r5/model/DataType.java | 2 +- .../org/hl7/fhir/r5/model/DetectedIssue.java | 296 +- .../java/org/hl7/fhir/r5/model/Device.java | 1896 +++--- .../hl7/fhir/r5/model/DeviceDefinition.java | 162 +- .../org/hl7/fhir/r5/model/DeviceDispense.java | 52 +- .../org/hl7/fhir/r5/model/DeviceMetric.java | 134 +- .../org/hl7/fhir/r5/model/DeviceRequest.java | 700 +- .../org/hl7/fhir/r5/model/DeviceUsage.java | 454 +- .../hl7/fhir/r5/model/DiagnosticReport.java | 610 +- .../java/org/hl7/fhir/r5/model/Distance.java | 2 +- .../hl7/fhir/r5/model/DocumentManifest.java | 446 +- .../hl7/fhir/r5/model/DocumentReference.java | 1626 ++--- .../org/hl7/fhir/r5/model/DomainResource.java | 22 +- .../java/org/hl7/fhir/r5/model/Dosage.java | 289 +- .../java/org/hl7/fhir/r5/model/Duration.java | 2 +- .../hl7/fhir/r5/model/ElementDefinition.java | 66 +- .../java/org/hl7/fhir/r5/model/Encounter.java | 814 +-- .../java/org/hl7/fhir/r5/model/Endpoint.java | 233 +- .../hl7/fhir/r5/model/EnrollmentRequest.java | 94 +- .../hl7/fhir/r5/model/EnrollmentResponse.java | 72 +- .../org/hl7/fhir/r5/model/Enumerations.java | 1712 ++--- .../org/hl7/fhir/r5/model/EpisodeOfCare.java | 402 +- .../hl7/fhir/r5/model/EventDefinition.java | 472 +- .../java/org/hl7/fhir/r5/model/Evidence.java | 539 +- .../org/hl7/fhir/r5/model/EvidenceReport.java | 188 +- .../hl7/fhir/r5/model/EvidenceVariable.java | 3490 ++++++---- .../hl7/fhir/r5/model/ExampleScenario.java | 352 +- .../fhir/r5/model/ExplanationOfBenefit.java | 426 +- .../org/hl7/fhir/r5/model/Expression.java | 2 +- .../fhir/r5/model/ExtendedContactDetail.java | 475 ++ .../java/org/hl7/fhir/r5/model/Extension.java | 2 +- .../fhir/r5/model/FamilyMemberHistory.java | 400 +- .../main/java/org/hl7/fhir/r5/model/Flag.java | 304 +- .../org/hl7/fhir/r5/model/FormularyItem.java | 484 ++ .../main/java/org/hl7/fhir/r5/model/Goal.java | 310 +- .../hl7/fhir/r5/model/GraphDefinition.java | 704 +- .../java/org/hl7/fhir/r5/model/Group.java | 318 +- .../hl7/fhir/r5/model/GuidanceResponse.java | 118 +- .../hl7/fhir/r5/model/HealthcareService.java | 402 +- .../java/org/hl7/fhir/r5/model/HumanName.java | 6 +- .../org/hl7/fhir/r5/model/Identifier.java | 6 +- .../hl7/fhir/r5/model/ImagingSelection.java | 1922 +++--- .../org/hl7/fhir/r5/model/ImagingStudy.java | 644 +- .../org/hl7/fhir/r5/model/Immunization.java | 815 +-- .../fhir/r5/model/ImmunizationEvaluation.java | 164 +- .../r5/model/ImmunizationRecommendation.java | 182 +- .../fhir/r5/model/ImplementationGuide.java | 910 +-- .../org/hl7/fhir/r5/model/Ingredient.java | 642 +- .../org/hl7/fhir/r5/model/InsurancePlan.java | 676 +- .../hl7/fhir/r5/model/InventoryReport.java | 10 +- .../java/org/hl7/fhir/r5/model/Invoice.java | 302 +- .../java/org/hl7/fhir/r5/model/Library.java | 512 +- .../java/org/hl7/fhir/r5/model/Linkage.java | 84 +- .../org/hl7/fhir/r5/model/ListResource.java | 532 +- .../java/org/hl7/fhir/r5/model/Location.java | 535 +- .../r5/model/ManufacturedItemDefinition.java | 72 +- .../hl7/fhir/r5/model/MarketingStatus.java | 2 +- .../java/org/hl7/fhir/r5/model/Measure.java | 472 +- .../org/hl7/fhir/r5/model/MeasureReport.java | 224 +- .../org/hl7/fhir/r5/model/Medication.java | 242 +- .../r5/model/MedicationAdministration.java | 707 +- .../hl7/fhir/r5/model/MedicationDispense.java | 752 +-- .../fhir/r5/model/MedicationKnowledge.java | 1077 ++- .../hl7/fhir/r5/model/MedicationRequest.java | 933 +-- .../hl7/fhir/r5/model/MedicationUsage.java | 720 +- .../r5/model/MedicinalProductDefinition.java | 640 +- .../hl7/fhir/r5/model/MessageDefinition.java | 946 +-- .../org/hl7/fhir/r5/model/MessageHeader.java | 426 +- .../main/java/org/hl7/fhir/r5/model/Meta.java | 2 +- .../hl7/fhir/r5/model/MetadataResource.java | 4 +- .../hl7/fhir/r5/model/MolecularSequence.java | 5843 +++-------------- .../java/org/hl7/fhir/r5/model/Money.java | 2 +- .../org/hl7/fhir/r5/model/NamingSystem.java | 1155 +--- .../java/org/hl7/fhir/r5/model/Narrative.java | 6 +- .../hl7/fhir/r5/model/NutritionIntake.java | 248 +- .../org/hl7/fhir/r5/model/NutritionOrder.java | 426 +- .../hl7/fhir/r5/model/NutritionProduct.java | 526 +- .../org/hl7/fhir/r5/model/Observation.java | 1748 ++--- .../fhir/r5/model/ObservationDefinition.java | 170 +- .../fhir/r5/model/OperationDefinition.java | 902 +-- .../hl7/fhir/r5/model/OperationOutcome.java | 10 +- .../org/hl7/fhir/r5/model/Organization.java | 852 +-- .../r5/model/OrganizationAffiliation.java | 318 +- .../r5/model/PackagedProductDefinition.java | 744 +-- .../fhir/r5/model/ParameterDefinition.java | 2 +- .../org/hl7/fhir/r5/model/Parameters.java | 4 +- .../java/org/hl7/fhir/r5/model/Patient.java | 658 +- .../org/hl7/fhir/r5/model/PaymentNotice.java | 160 +- .../fhir/r5/model/PaymentReconciliation.java | 184 +- .../java/org/hl7/fhir/r5/model/Period.java | 2 +- .../org/hl7/fhir/r5/model/Permission.java | 32 +- .../java/org/hl7/fhir/r5/model/Person.java | 644 +- .../org/hl7/fhir/r5/model/PlanDefinition.java | 558 +- .../org/hl7/fhir/r5/model/Population.java | 2 +- .../org/hl7/fhir/r5/model/Practitioner.java | 536 +- .../hl7/fhir/r5/model/PractitionerRole.java | 460 +- .../java/org/hl7/fhir/r5/model/Procedure.java | 632 +- .../hl7/fhir/r5/model/ProductShelfLife.java | 2 +- .../org/hl7/fhir/r5/model/Provenance.java | 408 +- .../java/org/hl7/fhir/r5/model/Quantity.java | 2 +- .../org/hl7/fhir/r5/model/Questionnaire.java | 444 +- .../fhir/r5/model/QuestionnaireResponse.java | 300 +- .../java/org/hl7/fhir/r5/model/Range.java | 2 +- .../java/org/hl7/fhir/r5/model/Ratio.java | 2 +- .../org/hl7/fhir/r5/model/RatioRange.java | 2 +- .../java/org/hl7/fhir/r5/model/Reference.java | 2 +- .../fhir/r5/model/RegulatedAuthorization.java | 255 +- .../hl7/fhir/r5/model/RelatedArtifact.java | 6 +- .../org/hl7/fhir/r5/model/RelatedPerson.java | 576 +- .../org/hl7/fhir/r5/model/RequestGroup.java | 318 +- .../org/hl7/fhir/r5/model/ResearchStudy.java | 554 +- .../hl7/fhir/r5/model/ResearchSubject.java | 160 +- .../hl7/fhir/r5/model/ResourceFactory.java | 20 +- .../org/hl7/fhir/r5/model/ResourceType.java | 22 +- .../org/hl7/fhir/r5/model/RiskAssessment.java | 430 +- .../org/hl7/fhir/r5/model/SampledData.java | 2 +- .../java/org/hl7/fhir/r5/model/Schedule.java | 190 +- .../hl7/fhir/r5/model/SearchParameter.java | 1037 +-- .../org/hl7/fhir/r5/model/ServiceRequest.java | 848 +-- .../java/org/hl7/fhir/r5/model/Signature.java | 22 +- .../main/java/org/hl7/fhir/r5/model/Slot.java | 220 +- .../java/org/hl7/fhir/r5/model/Specimen.java | 961 ++- .../hl7/fhir/r5/model/SpecimenDefinition.java | 186 +- .../fhir/r5/model/StructureDefinition.java | 1018 +-- .../org/hl7/fhir/r5/model/StructureMap.java | 784 +-- .../org/hl7/fhir/r5/model/Subscription.java | 531 +- .../hl7/fhir/r5/model/SubscriptionStatus.java | 118 +- .../hl7/fhir/r5/model/SubscriptionTopic.java | 418 +- .../java/org/hl7/fhir/r5/model/Substance.java | 178 +- .../fhir/r5/model/SubstanceDefinition.java | 517 +- .../fhir/r5/model/SubstanceNucleicAcid.java | 2 +- .../hl7/fhir/r5/model/SubstancePolymer.java | 2 +- .../hl7/fhir/r5/model/SubstanceProtein.java | 2 +- .../model/SubstanceReferenceInformation.java | 2 +- .../r5/model/SubstanceSourceMaterial.java | 2 +- .../org/hl7/fhir/r5/model/SupplyDelivery.java | 256 +- .../org/hl7/fhir/r5/model/SupplyRequest.java | 266 +- .../main/java/org/hl7/fhir/r5/model/Task.java | 438 +- .../r5/model/TerminologyCapabilities.java | 762 +-- .../org/hl7/fhir/r5/model/TestReport.java | 236 +- .../org/hl7/fhir/r5/model/TestScript.java | 682 +- .../java/org/hl7/fhir/r5/model/Timing.java | 10 +- .../java/org/hl7/fhir/r5/model/Transport.java | 5433 +++++++++++++++ .../hl7/fhir/r5/model/TriggerDefinition.java | 6 +- .../org/hl7/fhir/r5/model/TypeConvertor.java | 17 + .../org/hl7/fhir/r5/model/UsageContext.java | 2 +- .../java/org/hl7/fhir/r5/model/ValueSet.java | 946 +-- .../hl7/fhir/r5/model/VerificationResult.java | 32 +- .../hl7/fhir/r5/model/VisionPrescription.java | 308 +- .../fhir/r5/renderers/ConceptMapRenderer.java | 21 +- .../fhir/r5/renderers/ValueSetRenderer.java | 6 +- .../ConceptMapSpreadsheetGenerator.java | 8 +- .../fhir/r5/test/utils/TestingUtilities.java | 4 +- .../hl7/fhir/r5/utils/MappingSheetParser.java | 8 +- .../structuremap/StructureMapUtilities.java | 4 +- .../org/hl7/fhir/r5/test/ParsingTests.java | 2 +- .../instance/InstanceValidator.java | 2 +- .../validation/tests/ValidationTests.java | 4 +- .../4.0.1/icd-9-cm.cache | 11 + .../org.hl7.fhir.validation/4.0.1/loinc.cache | 145 + .../4.0.1/snomed.cache | 34 + .../org.hl7.fhir.validation/4.0.1/ucum.cache | 10 + .../5.0.0/.capabilityStatement.cache | 66 + .../5.0.0/.terminologyCapabilities.cache | 3590 ++++++++++ .../5.0.0/all-systems.cache | 158 + .../5.0.0/http___www.whocc.no_atc.cache | 14 + .../5.0.0/icd-9-cm.cache | 11 + .../org.hl7.fhir.validation/5.0.0/loinc.cache | 625 ++ .../5.0.0/measure-population.cache | 23 + .../5.0.0/observation-category.cache | 53 + .../5.0.0/rxnorm.cache | 12 + .../5.0.0/snomed.cache | 247 + .../org.hl7.fhir.validation/5.0.0/ucum.cache | 51 + .../5.0.0/v2-0203.cache | 90 + .../5.0.0/v3-ObservationInterpretation.cache | 105 + 326 files changed, 36878 insertions(+), 84108 deletions(-) delete mode 100644 org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Sequence30_50.java delete mode 100644 org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MolecularSequence40_50.java delete mode 100644 org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseIssue.java delete mode 100644 org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap2.java create mode 100644 org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExtendedContactDetail.java create mode 100644 org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FormularyItem.java create mode 100644 org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Transport.java create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/icd-9-cm.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/measure-population.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/observation-category.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0203.cache create mode 100644 org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v3-ObservationInterpretation.cache diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/Date10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/Date10_50.java index 3cb86b640..8ca21e665 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/Date10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/Date10_50.java @@ -1,7 +1,9 @@ package org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50; import org.hl7.fhir.convertors.context.ConversionContext10_50; +import org.hl7.fhir.dstu2.model.DateType; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.DateTimeType; public class Date10_50 { public static org.hl7.fhir.r5.model.DateType convertDate(org.hl7.fhir.dstu2.model.DateType src) throws FHIRException { @@ -27,4 +29,16 @@ public class Date10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); return tgt; } + + public static DateTimeType convertDatetoDateTime(DateType src) { + org.hl7.fhir.r5.model.DateTimeType tgt = src.hasValue() ? new org.hl7.fhir.r5.model.DateTimeType(src.getValueAsString()) : new org.hl7.fhir.r5.model.DateTimeType(); + ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); + return tgt; + } + + public static DateType convertDateTimeToDate(DateTimeType src) { + org.hl7.fhir.dstu2.model.DateType tgt = src.hasValue() ? new org.hl7.fhir.dstu2.model.DateType(src.getValueAsString()) : new org.hl7.fhir.dstu2.model.DateType(); + ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); + return tgt; + } } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/String10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/String10_50.java index f8aabec24..610b0caee 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/String10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/primitivetypes10_50/String10_50.java @@ -15,4 +15,17 @@ public class String10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); return tgt; } + + public static org.hl7.fhir.dstu2.model.StringType convertMarkdownToString(org.hl7.fhir.r5.model.MarkdownType src) throws FHIRException { + org.hl7.fhir.dstu2.model.StringType tgt = src.hasValue() ? new org.hl7.fhir.dstu2.model.StringType(src.getValueAsString()) : new org.hl7.fhir.dstu2.model.StringType(); + ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); + return tgt; + } + + public static org.hl7.fhir.r5.model.MarkdownType convertStringToMarkdown(org.hl7.fhir.dstu2.model.StringType src) throws FHIRException { + org.hl7.fhir.r5.model.MarkdownType tgt = src.hasValue() ? new org.hl7.fhir.r5.model.MarkdownType (src.getValueAsString()) : new org.hl7.fhir.r5.model.MarkdownType (); + ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); + return tgt; + } + } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Appointment10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Appointment10_50.java index 02445b40f..041fbf90d 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Appointment10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Appointment10_50.java @@ -23,8 +23,8 @@ public class Appointment10_50 { tgt.addIdentifier(Identifier10_50.convertIdentifier(t)); if (src.hasStatus()) tgt.setStatusElement(convertAppointmentStatus(src.getStatusElement())); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.setType(CodeableConcept10_50.convertCodeableConcept(t)); + for (org.hl7.fhir.r5.model.CodeableReference t : src.getServiceType()) + tgt.setType(CodeableConcept10_50.convertCodeableConcept(t.getConcept())); if (src.hasPriority()) tgt.setPriorityElement(convertAppointmentPriority(src.getPriority())); if (src.hasDescriptionElement()) @@ -73,7 +73,7 @@ public class Appointment10_50 { if (src.hasStatus()) tgt.setStatusElement(convertAppointmentStatus(src.getStatusElement())); if (src.hasType()) - tgt.addServiceType(CodeableConcept10_50.convertCodeableConcept(src.getType())); + tgt.addServiceType().setConcept(CodeableConcept10_50.convertCodeableConcept(src.getType())); if (src.hasPriorityElement()) tgt.setPriority(convertAppointmentPriority(src.getPriorityElement())); if (src.hasDescriptionElement()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Basic10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Basic10_50.java index 31044164b..2aea1ec08 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Basic10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Basic10_50.java @@ -21,7 +21,7 @@ public class Basic10_50 { if (src.hasSubject()) tgt.setSubject(Reference10_50.convertReference(src.getSubject())); if (src.hasCreatedElement()) - tgt.setCreatedElement(Date10_50.convertDate(src.getCreatedElement())); + tgt.setCreatedElement(Date10_50.convertDatetoDateTime(src.getCreatedElement())); if (src.hasAuthor()) tgt.setAuthor(Reference10_50.convertReference(src.getAuthor())); return tgt; @@ -39,7 +39,7 @@ public class Basic10_50 { if (src.hasSubject()) tgt.setSubject(Reference10_50.convertReference(src.getSubject())); if (src.hasCreatedElement()) - tgt.setCreatedElement(Date10_50.convertDate(src.getCreatedElement())); + tgt.setCreatedElement(Date10_50.convertDateTimeToDate(src.getCreatedElement())); if (src.hasAuthor()) tgt.setAuthor(Reference10_50.convertReference(src.getAuthor())); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/CarePlan10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/CarePlan10_50.java index f41f99073..4132618d0 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/CarePlan10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/CarePlan10_50.java @@ -27,8 +27,8 @@ public class CarePlan10_50 { if (src.hasPeriod()) tgt.setPeriod(Period10_50.convertPeriod(src.getPeriod())); for (org.hl7.fhir.dstu2.model.Reference t : src.getAuthor()) - if (!tgt.hasAuthor()) - tgt.setAuthor(Reference10_50.convertReference(t)); + if (!tgt.hasCustodian()) + tgt.setCustodian(Reference10_50.convertReference(t)); else tgt.addContributor(Reference10_50.convertReference(t)); for (org.hl7.fhir.dstu2.model.CodeableConcept t : src.getCategory()) @@ -58,8 +58,8 @@ public class CarePlan10_50 { tgt.setContext(Reference10_50.convertReference(src.getEncounter())); if (src.hasPeriod()) tgt.setPeriod(Period10_50.convertPeriod(src.getPeriod())); - if (src.hasAuthor()) - tgt.addAuthor(Reference10_50.convertReference(src.getAuthor())); + if (src.hasCustodian()) + tgt.addAuthor(Reference10_50.convertReference(src.getCustodian())); for (org.hl7.fhir.r5.model.Reference t : src.getContributor()) tgt.addAuthor(Reference10_50.convertReference(t)); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getCategory()) tgt.addCategory(CodeableConcept10_50.convertCodeableConcept(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ConceptMap10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ConceptMap10_50.java index 0385457cb..6ec00225f 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ConceptMap10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ConceptMap10_50.java @@ -8,9 +8,11 @@ import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Codeab import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.ContactPoint10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Identifier10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.*; +import org.hl7.fhir.convertors.conv14_50.datatypes14_50.primitivetypes14_50.String14_50; import org.hl7.fhir.dstu2.model.Enumerations.ConceptMapEquivalence; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r5.model.CanonicalType; +import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.ConceptMap; import org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent; import org.hl7.fhir.r5.model.Enumeration; @@ -58,9 +60,9 @@ public class ConceptMap10_50 { if (src.hasCopyright()) tgt.setCopyright(src.getCopyright()); org.hl7.fhir.r5.model.DataType r = ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getSource()); - tgt.setSource(r instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) r).getReference()) : r); + tgt.setSourceScope(r instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) r).getReference()) : r); r = ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getTarget()); - tgt.setTarget(r instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) r).getReference()) : r); + tgt.setTargetScope(r instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) r).getReference()) : r); for (org.hl7.fhir.dstu2.model.ConceptMap.SourceElementComponent t : src.getElement()) { List> ws = convertSourceElementComponent(t); for (SourceElementComponentWrapper w : ws) @@ -104,10 +106,10 @@ public class ConceptMap10_50 { tgt.setRequirements(src.getPurpose()); if (src.hasCopyright()) tgt.setCopyright(src.getCopyright()); - if (src.hasSource()) - tgt.setSource(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getSource())); - if (src.hasTarget()) - tgt.setTarget(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getTarget())); + if (src.hasSourceScope()) + tgt.setSource(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getSourceScope())); + if (src.hasTargetScope()) + tgt.setTarget(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getTargetScope())); for (org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent g : src.getGroup()) for (org.hl7.fhir.r5.model.ConceptMap.SourceElementComponent t : g.getElement()) tgt.addElement(convertSourceElementComponent(t, g)); @@ -215,10 +217,11 @@ public class ConceptMap10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasPropertyElement()) tgt.setElementElement(Uri10_50.convertUri(src.getPropertyElement())); - if (src.hasSystem()) - tgt.setCodeSystem(src.getSystem()); - if (src.hasValueElement()) - tgt.setCodeElement(String10_50.convertString(src.getValueElement())); + if (src.hasValueCoding()) { + tgt.setCode(src.getValueCoding().getCode()); + } else if (src.hasValue()) { + tgt.setCode(src.getValue().primitiveValue()); + } return tgt; } @@ -229,10 +232,7 @@ public class ConceptMap10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasElementElement()) tgt.setPropertyElement(Uri10_50.convertUri(src.getElementElement())); - if (src.hasCodeSystem()) - tgt.setSystem(src.getCodeSystem()); - if (src.hasCodeElement()) - tgt.setValueElement(String10_50.convertString(src.getCodeElement())); + tgt.setValue(String10_50.convertString(src.getCodeElement())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Condition10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Condition10_50.java index 7effe0152..c09077ea9 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Condition10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Condition10_50.java @@ -1,10 +1,20 @@ package org.hl7.fhir.convertors.conv10_50.resources10_50; +import java.util.ArrayList; +import java.util.List; + import org.hl7.fhir.convertors.context.ConversionContext10_50; +import org.hl7.fhir.convertors.context.ConversionContext30_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.Reference10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.CodeableConcept10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Identifier10_50; +import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Reference30_50; +import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.CodeableConcept30_50; +import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableConcept; +import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; public class Condition10_50 { @@ -19,9 +29,10 @@ public class Condition10_50 { tgt.setPatient(Reference10_50.convertReference(src.getSubject())); if (src.hasEncounter()) tgt.setEncounter(Reference10_50.convertReference(src.getEncounter())); - if (src.hasAsserter()) - tgt.setAsserter(Reference10_50.convertReference(src.getAsserter())); - if (src.hasRecordedDate()) + for (org.hl7.fhir.r5.model.Condition.ConditionParticipantComponent t : src.getParticipant()) { + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "informant")) + tgt.setAsserter(Reference10_50.convertReference(t.getActor())); + } if (src.hasRecordedDate()) tgt.setDateRecorded(src.getRecordedDate()); if (src.hasCode()) tgt.setCode(CodeableConcept10_50.convertCodeableConcept(src.getCode())); @@ -39,7 +50,7 @@ public class Condition10_50 { tgt.setAbatement(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAbatement())); if (src.hasStage()) tgt.setStage(convertConditionStageComponent(src.getStageFirstRep())); - for (org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent t : src.getEvidence()) + for (CodeableReference t : src.getEvidence()) tgt.addEvidence(convertConditionEvidenceComponent(t)); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getBodySite()) tgt.addBodySite(CodeableConcept10_50.convertCodeableConcept(t)); @@ -58,7 +69,7 @@ public class Condition10_50 { if (src.hasEncounter()) tgt.setEncounter(Reference10_50.convertReference(src.getEncounter())); if (src.hasAsserter()) - tgt.setAsserter(Reference10_50.convertReference(src.getAsserter())); + tgt.addParticipant().setFunction(new CodeableConcept(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "informant", "Informant"))).setActor(Reference10_50.convertReference(src.getAsserter())); if (src.hasDateRecorded()) tgt.setRecordedDate(src.getDateRecorded()); if (src.hasCode()) @@ -78,7 +89,7 @@ public class Condition10_50 { if (src.hasStage()) tgt.addStage(convertConditionStageComponent(src.getStage())); for (org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent t : src.getEvidence()) - tgt.addEvidence(convertConditionEvidenceComponent(t)); + tgt.getEvidence().addAll(convertConditionEvidenceComponent(t)); for (org.hl7.fhir.dstu2.model.CodeableConcept t : src.getBodySite()) tgt.addBodySite(CodeableConcept10_50.convertCodeableConcept(t)); return tgt; @@ -102,25 +113,34 @@ public class Condition10_50 { return null; } - public static org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent src) throws FHIRException { - if (src == null || src.isEmpty()) + public static List convertConditionEvidenceComponent(org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent src) throws FHIRException { + if (src == null) + return null; + List list = new ArrayList<>(); + if (src.hasCode()) { + org.hl7.fhir.r5.model.CodeableReference tgt = new org.hl7.fhir.r5.model.CodeableReference(); + ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); + tgt.setConcept(CodeableConcept10_50.convertCodeableConcept(src.getCode())); + list.add(tgt); + } + for (org.hl7.fhir.dstu2.model.Reference t : src.getDetail()) { + org.hl7.fhir.r5.model.CodeableReference tgt = new org.hl7.fhir.r5.model.CodeableReference(); + ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); + tgt.setReference(Reference10_50.convertReference(t)); + list.add(tgt); + } + return list; + } + + public static org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r5.model.CodeableReference src) throws FHIRException { + if (src == null) return null; org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent tgt = new org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent(); ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); - for (org.hl7.fhir.r5.model.CodeableConcept cc : src.getCode()) - tgt.setCode(CodeableConcept10_50.convertCodeableConcept(cc)); - for (org.hl7.fhir.r5.model.Reference t : src.getDetail()) tgt.addDetail(Reference10_50.convertReference(t)); - return tgt; - } - - public static org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.dstu2.model.Condition.ConditionEvidenceComponent src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent tgt = new org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent(); - ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); - if (src.hasCode()) - tgt.addCode(CodeableConcept10_50.convertCodeableConcept(src.getCode())); - for (org.hl7.fhir.dstu2.model.Reference t : src.getDetail()) tgt.addDetail(Reference10_50.convertReference(t)); + if (src.hasConcept()) + tgt.setCode(CodeableConcept10_50.convertCodeableConcept(src.getConcept())); + if (src.hasReference()) + tgt.addDetail(Reference10_50.convertReference(src.getReference())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/DocumentReference10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/DocumentReference10_50.java index 3843f73b0..5e95700c6 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/DocumentReference10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/DocumentReference10_50.java @@ -7,7 +7,8 @@ import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Mark import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50; import org.hl7.fhir.dstu2.model.CodeableConcept; import org.hl7.fhir.exceptions.FHIRException; -import org.hl7.fhir.r5.model.DocumentReference.DocumentAttestationMode; +import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceAttesterComponent; public class DocumentReference10_50 { @@ -63,7 +64,7 @@ public class DocumentReference10_50 { if (src.hasCustodian()) tgt.setCustodian(Reference10_50.convertReference(src.getCustodian())); for (DocumentReferenceAttesterComponent t : src.getAttester()) { - if (t.getMode() == DocumentAttestationMode.OFFICIAL) + if (t.getMode().hasCoding("http://hl7.org/fhir/composition-attestation-mode", "official")) tgt.setAuthenticator(Reference10_50.convertReference(t.getParty())); } if (src.hasDate()) @@ -102,7 +103,8 @@ public class DocumentReference10_50 { if (src.hasCustodian()) tgt.setCustodian(Reference10_50.convertReference(src.getCustodian())); if (src.hasAuthenticator()) - tgt.addAttester().setMode(DocumentAttestationMode.OFFICIAL).setParty(Reference10_50.convertReference(src.getAuthenticator())); + tgt.addAttester().setMode(new org.hl7.fhir.r5.model.CodeableConcept().addCoding(new Coding("http://hl7.org/fhir/composition-attestation-mode","official", "Official"))) + .setParty(Reference10_50.convertReference(src.getAuthenticator())); if (src.hasCreated()) tgt.setDate(src.getCreated()); if (src.hasStatus()) @@ -128,8 +130,6 @@ public class DocumentReference10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasAttachment()) tgt.setAttachment(Attachment10_50.convertAttachment(src.getAttachment())); - if (src.hasFormat()) - tgt.addFormat(Coding10_50.convertCoding(src.getFormat())); return tgt; } @@ -140,15 +140,15 @@ public class DocumentReference10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasAttachment()) tgt.setAttachment(Attachment10_50.convertAttachment(src.getAttachment())); - for (org.hl7.fhir.dstu2.model.Coding t : src.getFormat()) tgt.setFormat(Coding10_50.convertCoding(t)); return tgt; } public static void convertDocumentReferenceContextComponent(org.hl7.fhir.r5.model.DocumentReference src, org.hl7.fhir.dstu2.model.DocumentReference.DocumentReferenceContextComponent tgt) throws FHIRException { - if (src.hasEncounter()) - tgt.setEncounter(Reference10_50.convertReference(src.getEncounterFirstRep())); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getEvent()) - tgt.addEvent(CodeableConcept10_50.convertCodeableConcept(t)); + if (src.hasContext()) + tgt.setEncounter(Reference10_50.convertReference(src.getContextFirstRep())); + for (CodeableReference t : src.getEvent()) + if (t.hasConcept()) + tgt.addEvent(CodeableConcept10_50.convertCodeableConcept(t.getConcept())); if (src.hasPeriod()) tgt.setPeriod(Period10_50.convertPeriod(src.getPeriod())); if (src.hasFacilityType()) @@ -157,15 +157,15 @@ public class DocumentReference10_50 { tgt.setPracticeSetting(CodeableConcept10_50.convertCodeableConcept(src.getPracticeSetting())); if (src.hasSourcePatientInfo()) tgt.setSourcePatientInfo(Reference10_50.convertReference(src.getSourcePatientInfo())); - for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) - tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) +// tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); } public static void convertDocumentReferenceContextComponent(org.hl7.fhir.dstu2.model.DocumentReference.DocumentReferenceContextComponent src, org.hl7.fhir.r5.model.DocumentReference tgt) throws FHIRException { if (src.hasEncounter()) - tgt.addEncounter(Reference10_50.convertReference(src.getEncounter())); + tgt.addContext(Reference10_50.convertReference(src.getEncounter())); for (org.hl7.fhir.dstu2.model.CodeableConcept t : src.getEvent()) - tgt.addEvent(CodeableConcept10_50.convertCodeableConcept(t)); + tgt.addEvent(new CodeableReference().setConcept(CodeableConcept10_50.convertCodeableConcept(t))); if (src.hasPeriod()) tgt.setPeriod(Period10_50.convertPeriod(src.getPeriod())); if (src.hasFacilityType()) @@ -174,8 +174,8 @@ public class DocumentReference10_50 { tgt.setPracticeSetting(CodeableConcept10_50.convertCodeableConcept(src.getPracticeSetting())); if (src.hasSourcePatientInfo()) tgt.setSourcePatientInfo(Reference10_50.convertReference(src.getSourcePatientInfo())); - for (org.hl7.fhir.dstu2.model.DocumentReference.DocumentReferenceContextRelatedComponent t : src.getRelated()) - tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); +// for (org.hl7.fhir.dstu2.model.DocumentReference.DocumentReferenceContextRelatedComponent t : src.getRelated()) +// tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); } public static org.hl7.fhir.r5.model.Reference convertDocumentReferenceContextRelatedComponent(org.hl7.fhir.dstu2.model.DocumentReference.DocumentReferenceContextRelatedComponent src) throws FHIRException { diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Encounter10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Encounter10_50.java index 804668591..85baf77cf 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Encounter10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Encounter10_50.java @@ -21,7 +21,7 @@ public class Encounter10_50 { if (src.hasStatus()) tgt.setStatusElement(convertEncounterState(src.getStatusElement())); if (src.hasClass_()) - tgt.setClass_(convertEncounterClass(src.getClass_())); + tgt.setClass_( convertEncounterClass(src.getClass_().getCodingFirstRep())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getType()) tgt.addType(CodeableConcept10_50.convertCodeableConcept(t)); if (src.hasPriority()) @@ -64,7 +64,7 @@ public class Encounter10_50 { if (src.hasStatus()) tgt.setStatusElement(convertEncounterState(src.getStatusElement())); if (src.hasClass_()) - tgt.setClass_(convertEncounterClass(src.getClass_())); + tgt.setClass_(new org.hl7.fhir.r5.model.CodeableConcept().addCoding(convertEncounterClass(src.getClass_()))); for (org.hl7.fhir.dstu2.model.CodeableConcept t : src.getType()) tgt.addType(CodeableConcept10_50.convertCodeableConcept(t)); if (src.hasPriority()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ImplementationGuide10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ImplementationGuide10_50.java index 215ffba70..4c0ade774 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ImplementationGuide10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/ImplementationGuide10_50.java @@ -198,7 +198,7 @@ public class ImplementationGuide10_50 { if (src.hasName()) tgt.setNameElement(String10_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String10_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String10_50.convertStringToMarkdown(src.getDescriptionElement())); for (org.hl7.fhir.dstu2.model.ImplementationGuide.ImplementationGuidePackageResourceComponent t : src.getResource()) { org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDefinitionResourceComponent tn = convertImplementationGuidePackageResourceComponent(t); tn.setGroupingId(tgt.getId()); @@ -233,7 +233,7 @@ public class ImplementationGuide10_50 { if (src.hasName()) tgt.setNameElement(String10_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String10_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String10_50.convertStringToMarkdown(src.getDescriptionElement())); if (src.hasSourceReference()) tgt.setReference(Reference10_50.convertReference(src.getSourceReference())); else if (src.hasSourceUriType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationDispense10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationDispense10_50.java index 32aa68023..536f48aa2 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationDispense10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationDispense10_50.java @@ -3,6 +3,7 @@ package org.hl7.fhir.convertors.conv10_50.resources10_50; import org.hl7.fhir.convertors.context.ConversionContext10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.Reference10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.*; +import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Boolean10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.DateTime10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50; import org.hl7.fhir.exceptions.FHIRException; @@ -98,8 +99,8 @@ public class MedicationDispense10_50 { tgt.setTextElement(String10_50.convertString(src.getTextElement())); if (src.hasTiming()) tgt.setTiming(Timing10_50.convertTiming(src.getTiming())); - if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAsNeeded())); + if (src.hasAsNeededBooleanType()) + tgt.setAsNeededElement(Boolean10_50.convertBoolean(src.getAsNeededBooleanType())); if (src.hasSiteCodeableConcept()) tgt.setSite(CodeableConcept10_50.convertCodeableConcept(src.getSiteCodeableConcept())); if (src.hasRoute()) @@ -114,7 +115,7 @@ public class MedicationDispense10_50 { dr.setRate(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getRate())); } if (src.hasMaxDosePerPeriod()) - tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); + tgt.addMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); return tgt; } @@ -125,13 +126,14 @@ public class MedicationDispense10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); tgt.setText(src.getText()); tgt.setTiming(Timing10_50.convertTiming(src.getTiming())); - tgt.setAsNeeded(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAsNeeded())); + if (src.hasAsNeeded()) + tgt.setAsNeeded(Boolean10_50.convertBoolean(src.getAsNeededElement())); tgt.setSite(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getSite())); tgt.setRoute(CodeableConcept10_50.convertCodeableConcept(src.getRoute())); tgt.setMethod(CodeableConcept10_50.convertCodeableConcept(src.getMethod())); if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasDose()) tgt.setDose(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getDoseAndRate().get(0).getDose())); - tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); + tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriodFirstRep())); if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasRate()) tgt.setRate(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getDoseAndRate().get(0).getRate())); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationOrder10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationOrder10_50.java index 00487ef4b..1c8da4c62 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationOrder10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationOrder10_50.java @@ -4,6 +4,7 @@ import org.hl7.fhir.convertors.context.ConversionContext10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.CodeableConcept10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Ratio10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Timing10_50; +import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Boolean10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r5.model.Dosage; @@ -15,8 +16,8 @@ public class MedicationOrder10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasTextElement()) tgt.setTextElement(String10_50.convertString(src.getTextElement())); if (src.hasTiming()) tgt.setTiming(Timing10_50.convertTiming(src.getTiming())); - if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAsNeeded())); + if (src.hasAsNeededBooleanType()) + tgt.setAsNeededElement(Boolean10_50.convertBoolean(src.getAsNeededBooleanType())); if (src.hasSiteCodeableConcept()) tgt.setSite(CodeableConcept10_50.convertCodeableConcept(src.getSiteCodeableConcept())); if (src.hasRoute()) tgt.setRoute(CodeableConcept10_50.convertCodeableConcept(src.getRoute())); @@ -28,7 +29,7 @@ public class MedicationOrder10_50 { if (src.hasRate()) dr.setRate(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getRate())); } - if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); + if (src.hasMaxDosePerPeriod()) tgt.addMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); return tgt; } @@ -39,7 +40,7 @@ public class MedicationOrder10_50 { if (src.hasTextElement()) tgt.setTextElement(String10_50.convertString(src.getTextElement())); if (src.hasTiming()) tgt.setTiming(Timing10_50.convertTiming(src.getTiming())); if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAsNeeded())); + tgt.setAsNeeded(Boolean10_50.convertBoolean(src.getAsNeededElement())); if (src.hasSite()) tgt.setSite(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getSite())); if (src.hasRoute()) tgt.setRoute(CodeableConcept10_50.convertCodeableConcept(src.getRoute())); @@ -48,7 +49,7 @@ public class MedicationOrder10_50 { tgt.setDose(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getDoseAndRate().get(0).getDose())); if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasRate()) tgt.setRate(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getDoseAndRate().get(0).getRate())); - if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); + if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriodFirstRep())); return tgt; } } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationStatement10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationStatement10_50.java index 3fdb64bf5..6efaef783 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationStatement10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MedicationStatement10_50.java @@ -6,6 +6,7 @@ import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Codeab import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Identifier10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Ratio10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Timing10_50; +import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Boolean10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.DateTime10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50; import org.hl7.fhir.exceptions.FHIRException; @@ -33,7 +34,7 @@ public class MedicationStatement10_50 { if (src.hasEffective()) tgt.setEffective(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getEffective())); if (src.hasInformationSource()) - tgt.setInformationSource(Reference10_50.convertReference(src.getInformationSource())); + tgt.setInformationSource(Reference10_50.convertReference(src.getInformationSourceFirstRep())); for (org.hl7.fhir.r5.model.Reference t : src.getDerivedFrom()) tgt.addSupportingInformation(Reference10_50.convertReference(t)); if (src.hasDateAsserted()) @@ -63,7 +64,7 @@ public class MedicationStatement10_50 { if (src.hasEffective()) tgt.setEffective(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getEffective())); if (src.hasInformationSource()) - tgt.setInformationSource(Reference10_50.convertReference(src.getInformationSource())); + tgt.addInformationSource(Reference10_50.convertReference(src.getInformationSource())); for (org.hl7.fhir.dstu2.model.Reference t : src.getSupportingInformation()) tgt.addDerivedFrom(Reference10_50.convertReference(t)); if (src.hasDateAsserted()) @@ -84,8 +85,8 @@ public class MedicationStatement10_50 { tgt.setTextElement(String10_50.convertString(src.getTextElement())); if (src.hasTiming()) tgt.setTiming(Timing10_50.convertTiming(src.getTiming())); - if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAsNeeded())); + if (src.hasAsNeededBooleanType()) + tgt.setAsNeededElement(Boolean10_50.convertBoolean(src.getAsNeededBooleanType())); if (src.hasSiteCodeableConcept()) tgt.setSite(CodeableConcept10_50.convertCodeableConcept(src.getSiteCodeableConcept())); if (src.hasRoute()) @@ -98,7 +99,7 @@ public class MedicationStatement10_50 { dr.setRate(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getRate())); } if (src.hasMaxDosePerPeriod()) - tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); + tgt.addMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); return tgt; } @@ -112,7 +113,7 @@ public class MedicationStatement10_50 { if (src.hasTiming()) tgt.setTiming(Timing10_50.convertTiming(src.getTiming())); if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getAsNeeded())); + tgt.setAsNeeded(Boolean10_50.convertBoolean(src.getAsNeededElement())); if (src.hasSite()) tgt.setSite(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getSite())); if (src.hasRoute()) @@ -122,7 +123,7 @@ public class MedicationStatement10_50 { if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasRate()) tgt.setRate(ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().convertType(src.getDoseAndRate().get(0).getRate())); if (src.hasMaxDosePerPeriod()) - tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriod())); + tgt.setMaxDosePerPeriod(Ratio10_50.convertRatio(src.getMaxDosePerPeriodFirstRep())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MessageHeader10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MessageHeader10_50.java index b629365f6..62612c549 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MessageHeader10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/MessageHeader10_50.java @@ -94,8 +94,8 @@ public class MessageHeader10_50 { return null; org.hl7.fhir.dstu2.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.dstu2.model.MessageHeader.MessageHeaderResponseComponent(); ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); - if (src.hasIdentifierElement()) - tgt.setIdentifierElement(Id10_50.convertId(src.getIdentifierElement())); + if (src.hasIdentifier()) + tgt.setIdentifierElement(new org.hl7.fhir.dstu2.model.IdType(src.getIdentifier().getValue())); if (src.hasCode()) tgt.setCodeElement(convertResponseType(src.getCodeElement())); if (src.hasDetails()) @@ -109,7 +109,7 @@ public class MessageHeader10_50 { org.hl7.fhir.r5.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.r5.model.MessageHeader.MessageHeaderResponseComponent(); ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasIdentifierElement()) - tgt.setIdentifierElement(Id10_50.convertId(src.getIdentifierElement())); + tgt.setIdentifier(new org.hl7.fhir.r5.model.Identifier().setValue(src.getIdentifier())); if (src.hasCode()) tgt.setCodeElement(convertResponseType(src.getCodeElement())); if (src.hasDetails()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Organization10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Organization10_50.java index 327c738a6..2a5839caf 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Organization10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Organization10_50.java @@ -50,12 +50,12 @@ public class Organization10_50 { for (org.hl7.fhir.r5.model.Address t : src.getAddress()) tgt.addAddress(Address10_50.convertAddress(t)); if (src.hasPartOf()) tgt.setPartOf(Reference10_50.convertReference(src.getPartOf())); - for (org.hl7.fhir.r5.model.Organization.OrganizationContactComponent t : src.getContact()) + for (org.hl7.fhir.r5.model.ExtendedContactDetail t : src.getContact()) tgt.addContact(convertOrganizationContactComponent(t)); return tgt; } - public static org.hl7.fhir.dstu2.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r5.model.Organization.OrganizationContactComponent src) throws FHIRException { + public static org.hl7.fhir.dstu2.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r5.model.ExtendedContactDetail src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu2.model.Organization.OrganizationContactComponent tgt = new org.hl7.fhir.dstu2.model.Organization.OrganizationContactComponent(); @@ -71,10 +71,10 @@ public class Organization10_50 { return tgt; } - public static org.hl7.fhir.r5.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.dstu2.model.Organization.OrganizationContactComponent src) throws FHIRException { + public static org.hl7.fhir.r5.model.ExtendedContactDetail convertOrganizationContactComponent(org.hl7.fhir.dstu2.model.Organization.OrganizationContactComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; - org.hl7.fhir.r5.model.Organization.OrganizationContactComponent tgt = new org.hl7.fhir.r5.model.Organization.OrganizationContactComponent(); + org.hl7.fhir.r5.model.ExtendedContactDetail tgt = new org.hl7.fhir.r5.model.ExtendedContactDetail(); ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasPurpose()) tgt.setPurpose(CodeableConcept10_50.convertCodeableConcept(src.getPurpose())); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Provenance10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Provenance10_50.java index d5f28dca2..4f1edcdf0 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Provenance10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Provenance10_50.java @@ -159,7 +159,7 @@ public class Provenance10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); switch (src.getValue()) { case DERIVATION: - tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.DERIVATION); + tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.INSTANTIATES); break; case REVISION: tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.REVISION); @@ -183,7 +183,7 @@ public class Provenance10_50 { org.hl7.fhir.dstu2.model.Enumeration tgt = new org.hl7.fhir.dstu2.model.Enumeration<>(new org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityRoleEnumFactory()); ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); switch (src.getValue()) { - case DERIVATION: + case INSTANTIATES: tgt.setValue(org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityRole.DERIVATION); break; case REVISION: diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Schedule10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Schedule10_50.java index b0a842329..c65b2a682 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Schedule10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Schedule10_50.java @@ -7,6 +7,7 @@ import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Identi import org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50.Period10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableReference; public class Schedule10_50 { @@ -17,8 +18,9 @@ public class Schedule10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyDomainResource(src, tgt); for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(Identifier10_50.convertIdentifier(t)); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addType(CodeableConcept10_50.convertCodeableConcept(t)); + for (CodeableReference t : src.getServiceType()) + if (t.hasConcept()) + tgt.addType(CodeableConcept10_50.convertCodeableConcept(t.getConcept())); if (src.hasActor()) tgt.setActor(Reference10_50.convertReference(src.getActorFirstRep())); if (src.hasPlanningHorizon()) @@ -36,7 +38,7 @@ public class Schedule10_50 { for (org.hl7.fhir.dstu2.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(Identifier10_50.convertIdentifier(t)); for (org.hl7.fhir.dstu2.model.CodeableConcept t : src.getType()) - tgt.addServiceType(CodeableConcept10_50.convertCodeableConcept(t)); + tgt.addServiceType(new CodeableReference().setConcept(CodeableConcept10_50.convertCodeableConcept(t))); if (src.hasActor()) tgt.addActor(Reference10_50.convertReference(src.getActor())); if (src.hasPlanningHorizon()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/SearchParameter10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/SearchParameter10_50.java index 2c64ce743..2115a435c 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/SearchParameter10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/SearchParameter10_50.java @@ -120,10 +120,10 @@ public class SearchParameter10_50 { tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.PHONETIC); break; case NEARBY: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.NEARBY); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case DISTANCE: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.DISTANCE); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case OTHER: tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); @@ -147,12 +147,6 @@ public class SearchParameter10_50 { case PHONETIC: tgt.setValue(org.hl7.fhir.dstu2.model.SearchParameter.XPathUsageType.PHONETIC); break; - case NEARBY: - tgt.setValue(org.hl7.fhir.dstu2.model.SearchParameter.XPathUsageType.NEARBY); - break; - case DISTANCE: - tgt.setValue(org.hl7.fhir.dstu2.model.SearchParameter.XPathUsageType.DISTANCE); - break; case OTHER: tgt.setValue(org.hl7.fhir.dstu2.model.SearchParameter.XPathUsageType.OTHER); break; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Slot10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Slot10_50.java index 74d6dfd00..6f1d3269e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Slot10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/Slot10_50.java @@ -8,6 +8,7 @@ import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Bool import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Instant10_50; import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableReference; public class Slot10_50 { @@ -19,7 +20,7 @@ public class Slot10_50 { for (org.hl7.fhir.dstu2.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(Identifier10_50.convertIdentifier(t)); if (src.hasType()) - tgt.addServiceType(CodeableConcept10_50.convertCodeableConcept(src.getType())); + tgt.addServiceType(new CodeableReference().setConcept(CodeableConcept10_50.convertCodeableConcept(src.getType()))); if (src.hasSchedule()) tgt.setSchedule(Reference10_50.convertReference(src.getSchedule())); if (src.hasStartElement()) @@ -40,8 +41,9 @@ public class Slot10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyDomainResource(src, tgt); for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(Identifier10_50.convertIdentifier(t)); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.setType(CodeableConcept10_50.convertCodeableConcept(t)); + for (CodeableReference t : src.getServiceType()) + if (t.hasConcept()) + tgt.setType(CodeableConcept10_50.convertCodeableConcept(t.getConcept())); if (src.hasSchedule()) tgt.setSchedule(Reference10_50.convertReference(src.getSchedule())); if (src.hasStartElement()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/TestScript10_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/TestScript10_50.java index 57d545ff6..9f298afa5 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/TestScript10_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/resources10_50/TestScript10_50.java @@ -376,7 +376,7 @@ public class TestScript10_50 { ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt); if (src.hasType()) tgt.setType(Coding10_50.convertCoding(src.getType())); - tgt.setResource(src.getResource().toCode()); + tgt.setResource(src.getResource()); if (src.hasLabelElement()) tgt.setLabelElement(String10_50.convertString(src.getLabelElement())); if (src.hasDescriptionElement()) @@ -412,7 +412,7 @@ public class TestScript10_50 { if (src.hasType()) tgt.setType(Coding10_50.convertCoding(src.getType())); if (src.hasResource()) - tgt.setResource(TestScript.FHIRDefinedType.fromCode(src.getResource())); + tgt.setResource(src.getResource()); if (src.hasLabelElement()) tgt.setLabelElement(String10_50.convertString(src.getLabelElement())); if (src.hasDescriptionElement()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ConceptMap14_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ConceptMap14_50.java index d5eadc21a..77f5c3ac1 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ConceptMap14_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ConceptMap14_50.java @@ -11,6 +11,7 @@ import org.hl7.fhir.convertors.conv14_50.datatypes14_50.primitivetypes14_50.*; import org.hl7.fhir.dstu2016may.model.Enumerations.ConceptMapEquivalence; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r5.model.CanonicalType; +import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.ConceptMap; import org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent; import org.hl7.fhir.r5.model.Enumeration; @@ -58,9 +59,9 @@ public class ConceptMap14_50 { if (src.hasCopyright()) tgt.setCopyright(src.getCopyright()); org.hl7.fhir.r5.model.DataType tt = ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getSource()); - tgt.setSource(tt instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) tt).getReference()) : tt); + tgt.setSourceScope(tt instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) tt).getReference()) : tt); tt = ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getTarget()); - tgt.setTarget(tt instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) tt).getReference()) : tt); + tgt.setTargetScope(tt instanceof org.hl7.fhir.r5.model.Reference ? new CanonicalType(((org.hl7.fhir.r5.model.Reference) tt).getReference()) : tt); for (org.hl7.fhir.dstu2016may.model.ConceptMap.SourceElementComponent t : src.getElement()) { List> ws = convertSourceElementComponent(t); for (SourceElementComponentWrapper w : ws) @@ -104,18 +105,18 @@ public class ConceptMap14_50 { tgt.setRequirements(src.getPurpose()); if (src.hasCopyright()) tgt.setCopyright(src.getCopyright()); - if (src.getSource() instanceof CanonicalType) - tgt.setSource(Reference14_50.convertCanonicalToReference((CanonicalType) src.getSource())); - else if (src.hasSource()) - tgt.setSource(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getSource())); - if (src.getTarget() instanceof CanonicalType) - tgt.setTarget(Reference14_50.convertCanonicalToReference((CanonicalType) src.getTarget())); - else if (src.hasTarget()) - tgt.setTarget(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getTarget())); - if (src.hasSource()) - tgt.setSource(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getSource())); - if (src.hasTarget()) - tgt.setTarget(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getTarget())); + if (src.getSourceScope() instanceof CanonicalType) + tgt.setSource(Reference14_50.convertCanonicalToReference((CanonicalType) src.getSourceScope())); + else if (src.hasSourceScope()) + tgt.setSource(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getSourceScope())); + if (src.getTargetScope() instanceof CanonicalType) + tgt.setTarget(Reference14_50.convertCanonicalToReference((CanonicalType) src.getTargetScope())); + else if (src.hasTargetScope()) + tgt.setTarget(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getTargetScope())); + if (src.hasSourceScope()) + tgt.setSource(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getSourceScope())); + if (src.hasTargetScope()) + tgt.setTarget(ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().convertType(src.getTargetScope())); for (org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent g : src.getGroup()) for (org.hl7.fhir.r5.model.ConceptMap.SourceElementComponent t : g.getElement()) tgt.addElement(convertSourceElementComponent(t, g)); @@ -223,10 +224,12 @@ public class ConceptMap14_50 { ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().copyElement(src, tgt); if (src.hasPropertyElement()) tgt.setElementElement(Uri14_50.convertUri(src.getPropertyElement())); - if (src.hasSystem()) - tgt.setSystem(src.getSystem()); - if (src.hasValueElement()) - tgt.setCodeElement(String14_50.convertString(src.getValueElement())); + if (src.hasValueCoding()) { + tgt.setSystem(src.getValueCoding().getSystem()); + tgt.setCode(src.getValueCoding().getCode()); + } else if (src.hasValue()) { + tgt.setCode(src.getValue().primitiveValue()); + } return tgt; } @@ -237,10 +240,11 @@ public class ConceptMap14_50 { ConversionContext14_50.INSTANCE.getVersionConvertor_14_50().copyElement(src, tgt); if (src.hasElementElement()) tgt.setPropertyElement(Uri14_50.convertUri(src.getElementElement())); - if (src.hasSystem()) - tgt.setSystem(src.getSystem()); - if (src.hasCodeElement()) - tgt.setValueElement(String14_50.convertString(src.getCodeElement())); + if (src.hasSystem()) { + tgt.setValue(new Coding().setSystem(src.getSystem()).setCode(src.getCode())); + } else if (src.hasCodeElement()) { + tgt.setValue(String14_50.convertString(src.getCodeElement())); + } return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ImplementationGuide14_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ImplementationGuide14_50.java index 4a26fd93d..caa2e5b3b 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ImplementationGuide14_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/ImplementationGuide14_50.java @@ -209,7 +209,7 @@ public class ImplementationGuide14_50 { if (src.hasName()) tgt.setNameElement(String14_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String14_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String14_50.convertStringToMarkdown(src.getDescriptionElement())); for (org.hl7.fhir.dstu2016may.model.ImplementationGuide.ImplementationGuidePackageResourceComponent t : src.getResource()) { org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDefinitionResourceComponent tn = convertImplementationGuidePackageResourceComponent(t); tn.setGroupingId(tgt.getId()); @@ -253,7 +253,7 @@ public class ImplementationGuide14_50 { if (src.hasName()) tgt.setNameElement(String14_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String14_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String14_50.convertStringToMarkdown(src.getDescriptionElement())); if (src.hasSourceReference()) tgt.setReference(Reference14_50.convertReference(src.getSourceReference())); else if (src.hasSourceUriType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/SearchParameter14_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/SearchParameter14_50.java index 6247763c6..1fbf578dc 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/SearchParameter14_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv14_50/resources14_50/SearchParameter14_50.java @@ -132,12 +132,7 @@ public class SearchParameter14_50 { case PHONETIC: tgt.setValue(org.hl7.fhir.dstu2016may.model.SearchParameter.XPathUsageType.PHONETIC); break; - case NEARBY: - tgt.setValue(org.hl7.fhir.dstu2016may.model.SearchParameter.XPathUsageType.NEARBY); - break; - case DISTANCE: - tgt.setValue(org.hl7.fhir.dstu2016may.model.SearchParameter.XPathUsageType.DISTANCE); - break; + case OTHER: tgt.setValue(org.hl7.fhir.dstu2016may.model.SearchParameter.XPathUsageType.OTHER); break; @@ -161,10 +156,10 @@ public class SearchParameter14_50 { tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.PHONETIC); break; case NEARBY: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.NEARBY); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case DISTANCE: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.DISTANCE); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case OTHER: tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java index 4235e51f2..62f7bafc0 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java @@ -172,8 +172,6 @@ public class Resource30_50 { return Schedule30_50.convertSchedule((org.hl7.fhir.dstu3.model.Schedule) src); if (src instanceof org.hl7.fhir.dstu3.model.SearchParameter) return SearchParameter30_50.convertSearchParameter((org.hl7.fhir.dstu3.model.SearchParameter) src); - if (src instanceof org.hl7.fhir.dstu3.model.Sequence) - return Sequence30_50.convertSequence((org.hl7.fhir.dstu3.model.Sequence) src); if (src instanceof org.hl7.fhir.dstu3.model.Slot) return Slot30_50.convertSlot((org.hl7.fhir.dstu3.model.Slot) src); if (src instanceof org.hl7.fhir.dstu3.model.Specimen) return Specimen30_50.convertSpecimen((org.hl7.fhir.dstu3.model.Specimen) src); @@ -332,8 +330,6 @@ public class Resource30_50 { return Schedule30_50.convertSchedule((org.hl7.fhir.r5.model.Schedule) src); if (src instanceof org.hl7.fhir.r5.model.SearchParameter) return SearchParameter30_50.convertSearchParameter((org.hl7.fhir.r5.model.SearchParameter) src); - if (src instanceof org.hl7.fhir.r5.model.MolecularSequence) - return Sequence30_50.convertSequence((org.hl7.fhir.r5.model.MolecularSequence) src); if (src instanceof org.hl7.fhir.r5.model.Slot) return Slot30_50.convertSlot((org.hl7.fhir.r5.model.Slot) src); if (src instanceof org.hl7.fhir.r5.model.Specimen) return Specimen30_50.convertSpecimen((org.hl7.fhir.r5.model.Specimen) src); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/Dosage30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/Dosage30_50.java index 6ee66531c..6cec33890 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/Dosage30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/Dosage30_50.java @@ -5,8 +5,11 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Codeab import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Ratio30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.SimpleQuantity30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Timing30_50; +import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Boolean30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Integer30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; +import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableConcept40_50; +import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Boolean40_50; import org.hl7.fhir.exceptions.FHIRException; public class Dosage30_50 { @@ -21,8 +24,11 @@ public class Dosage30_50 { if (src.hasPatientInstruction()) tgt.setPatientInstructionElement(String30_50.convertString(src.getPatientInstructionElement())); if (src.hasTiming()) tgt.setTiming(Timing30_50.convertTiming(src.getTiming())); - if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAsNeeded())); + if (src.hasAsNeededBooleanType()) + tgt.setAsNeededElement(Boolean30_50.convertBoolean(src.getAsNeededBooleanType())); + if (src.hasAsNeededCodeableConcept()) { + tgt.addAsNeededFor(CodeableConcept30_50.convertCodeableConcept(src.getAsNeededCodeableConcept())); + } if (src.hasSite()) tgt.setSite(CodeableConcept30_50.convertCodeableConcept(src.getSite())); if (src.hasRoute()) tgt.setRoute(CodeableConcept30_50.convertCodeableConcept(src.getRoute())); if (src.hasMethod()) tgt.setMethod(CodeableConcept30_50.convertCodeableConcept(src.getMethod())); @@ -33,7 +39,7 @@ public class Dosage30_50 { if (src.hasRate()) dr.setRate(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getRate())); } - if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio30_50.convertRatio(src.getMaxDosePerPeriod())); + if (src.hasMaxDosePerPeriod()) tgt.addMaxDosePerPeriod(Ratio30_50.convertRatio(src.getMaxDosePerPeriod())); if (src.hasMaxDosePerAdministration()) tgt.setMaxDosePerAdministration(SimpleQuantity30_50.convertSimpleQuantity(src.getMaxDosePerAdministration())); if (src.hasMaxDosePerLifetime()) @@ -53,13 +59,15 @@ public class Dosage30_50 { tgt.setPatientInstructionElement(String30_50.convertString(src.getPatientInstructionElement())); if (src.hasTiming()) tgt.setTiming(Timing30_50.convertTiming(src.getTiming())); if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAsNeeded())); + tgt.setAsNeeded(Boolean30_50.convertBoolean(src.getAsNeededElement())); + if (src.hasAsNeededFor()) + tgt.setAsNeeded(CodeableConcept30_50.convertCodeableConcept(src.getAsNeededForFirstRep())); if (src.hasSite()) tgt.setSite(CodeableConcept30_50.convertCodeableConcept(src.getSite())); if (src.hasRoute()) tgt.setRoute(CodeableConcept30_50.convertCodeableConcept(src.getRoute())); if (src.hasMethod()) tgt.setMethod(CodeableConcept30_50.convertCodeableConcept(src.getMethod())); if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasDose()) tgt.setDose(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getDoseAndRate().get(0).getDose())); - if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio30_50.convertRatio(src.getMaxDosePerPeriod())); + if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio30_50.convertRatio(src.getMaxDosePerPeriodFirstRep())); if (src.hasMaxDosePerAdministration()) tgt.setMaxDosePerAdministration(SimpleQuantity30_50.convertSimpleQuantity(src.getMaxDosePerAdministration())); if (src.hasMaxDosePerLifetime()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/primitivetypes30_50/Date30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/primitivetypes30_50/Date30_50.java index d682db1fa..ac838d331 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/primitivetypes30_50/Date30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/datatypes30_50/primitivetypes30_50/Date30_50.java @@ -1,7 +1,10 @@ package org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50; +import org.hl7.fhir.convertors.context.ConversionContext10_50; import org.hl7.fhir.convertors.context.ConversionContext30_50; +import org.hl7.fhir.dstu3.model.DateType; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.DateTimeType; public class Date30_50 { public static org.hl7.fhir.r5.model.DateType convertDate(org.hl7.fhir.dstu3.model.DateType src) throws FHIRException { @@ -27,4 +30,11 @@ public class Date30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); return tgt; } + + public static org.hl7.fhir.r5.model.DateTimeType convertDatetoDateTime(org.hl7.fhir.dstu3.model.DateType src) { + org.hl7.fhir.r5.model.DateTimeType tgt = src.hasValue() ? new org.hl7.fhir.r5.model.DateTimeType(src.getValueAsString()) : new org.hl7.fhir.r5.model.DateTimeType(); + ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); + return tgt; + } + } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/AllergyIntolerance30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/AllergyIntolerance30_50.java index 49776dafd..d8141c4ad 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/AllergyIntolerance30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/AllergyIntolerance30_50.java @@ -8,7 +8,10 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Identi import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.DateTime30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceParticipantComponent; +import org.hl7.fhir.r5.model.CodeableConcept; import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; import java.util.stream.Collectors; @@ -40,10 +43,12 @@ public class AllergyIntolerance30_50 { tgt.setOnset(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getOnset())); if (src.hasRecordedDate()) tgt.setAssertedDateElement(DateTime30_50.convertDateTime(src.getRecordedDateElement())); - if (src.hasRecorder()) - tgt.setRecorder(Reference30_50.convertReference(src.getRecorder())); - if (src.hasAsserter()) - tgt.setAsserter(Reference30_50.convertReference(src.getAsserter())); + for (AllergyIntoleranceParticipantComponent t : src.getParticipant()) { + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "author")) + tgt.setRecorder(Reference30_50.convertReference(t.getActor())); + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "attester")) + tgt.setAsserter(Reference30_50.convertReference(t.getActor())); + } if (src.hasLastOccurrence()) tgt.setLastOccurrenceElement(DateTime30_50.convertDateTime(src.getLastOccurrenceElement())); for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(Annotation30_50.convertAnnotation(t)); @@ -79,9 +84,13 @@ public class AllergyIntolerance30_50 { if (src.hasAssertedDate()) tgt.setRecordedDateElement(DateTime30_50.convertDateTime(src.getAssertedDateElement())); if (src.hasRecorder()) - tgt.setRecorder(Reference30_50.convertReference(src.getRecorder())); + tgt.addParticipant(new AllergyIntoleranceParticipantComponent() + .setFunction(new CodeableConcept().addCoding(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "author", "Author"))) + .setActor(Reference30_50.convertReference(src.getRecorder()))); if (src.hasAsserter()) - tgt.setAsserter(Reference30_50.convertReference(src.getAsserter())); + tgt.addParticipant(new AllergyIntoleranceParticipantComponent() + .setFunction(new CodeableConcept().addCoding(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "attester", "Attester"))) + .setActor(Reference30_50.convertReference(src.getRecorder()))); if (src.hasLastOccurrence()) tgt.setLastOccurrenceElement(DateTime30_50.convertDateTime(src.getLastOccurrenceElement())); for (org.hl7.fhir.dstu3.model.Annotation t : src.getNote()) tgt.addNote(Annotation30_50.convertAnnotation(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Appointment30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Appointment30_50.java index c1702a2cd..f9411aecf 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Appointment30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Appointment30_50.java @@ -27,8 +27,8 @@ public class Appointment30_50 { tgt.setStatusElement(convertAppointmentStatus(src.getStatusElement())); if (src.hasServiceCategory()) tgt.setServiceCategory(CodeableConcept30_50.convertCodeableConcept(src.getServiceCategoryFirstRep())); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t)); + for (org.hl7.fhir.r5.model.CodeableReference t : src.getServiceType()) + tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t.getConcept())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept30_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) @@ -98,7 +98,7 @@ public class Appointment30_50 { if (src.hasServiceCategory()) tgt.addServiceCategory(CodeableConcept30_50.convertCodeableConcept(src.getServiceCategory())); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t)); + tgt.addServiceType().setConcept(CodeableConcept30_50.convertCodeableConcept(t)); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept30_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Basic30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Basic30_50.java index 2a4ce4bfd..7d3d2a6cd 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Basic30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Basic30_50.java @@ -21,7 +21,7 @@ public class Basic30_50 { if (src.hasSubject()) tgt.setSubject(Reference30_50.convertReference(src.getSubject())); if (src.hasCreated()) - tgt.setCreatedElement(Date30_50.convertDate(src.getCreatedElement())); + tgt.setCreatedElement(Date30_50.convertDatetoDateTime(src.getCreatedElement())); if (src.hasAuthor()) tgt.setAuthor(Reference30_50.convertReference(src.getAuthor())); return tgt; @@ -39,7 +39,7 @@ public class Basic30_50 { if (src.hasSubject()) tgt.setSubject(Reference30_50.convertReference(src.getSubject())); if (src.hasCreated()) - tgt.setCreatedElement(Date30_50.convertDate(src.getCreatedElement())); + tgt.setCreatedElement(Date30_50.convertDateTimeToDate(src.getCreatedElement())); if (src.hasAuthor()) tgt.setAuthor(Reference30_50.convertReference(src.getAuthor())); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/CarePlan30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/CarePlan30_50.java index cf15da6c6..85bde545e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/CarePlan30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/CarePlan30_50.java @@ -65,7 +65,7 @@ public class CarePlan30_50 { } List authors = src.getAuthor(); if (authors.size() > 0) { - tgt.setAuthor(Reference30_50.convertReference(authors.get(0))); + tgt.setCustodian(Reference30_50.convertReference(authors.get(0))); if (authors.size() > 1) { } } @@ -137,9 +137,8 @@ public class CarePlan30_50 { if (src.hasPeriod()) tgt.setPeriod(Period30_50.convertPeriod(src.getPeriod())); } - if (src.hasAuthor()) { - if (src.hasAuthor()) - tgt.addAuthor(Reference30_50.convertReference(src.getAuthor())); + if (src.hasCustodian()) { + tgt.addAuthor(Reference30_50.convertReference(src.getCustodian())); } for (org.hl7.fhir.r5.model.Reference t : src.getCareTeam()) { tgt.addCareTeam(Reference30_50.convertReference(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ConceptMap30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ConceptMap30_50.java index 289d5a63c..9164b61c2 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ConceptMap30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ConceptMap30_50.java @@ -2,6 +2,7 @@ package org.hl7.fhir.convertors.conv30_50.resources30_50; import org.hl7.fhir.convertors.VersionConvertorConstants; import org.hl7.fhir.convertors.context.ConversionContext30_50; +import org.hl7.fhir.convertors.conv14_50.datatypes14_50.primitivetypes14_50.String14_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.ContactDetail30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.UsageContext30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.CodeableConcept30_50; @@ -10,6 +11,7 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.*; import org.hl7.fhir.dstu3.model.Enumerations.ConceptMapEquivalence; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r5.model.CanonicalType; +import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.Enumeration; import org.hl7.fhir.r5.model.Enumerations; import org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship; @@ -53,10 +55,10 @@ public class ConceptMap30_50 { tgt.setPurposeElement(MarkDown30_50.convertMarkdown(src.getPurposeElement())); if (src.hasCopyright()) tgt.setCopyrightElement(MarkDown30_50.convertMarkdown(src.getCopyrightElement())); - if (src.hasSource()) - tgt.setSource(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getSource())); - if (src.hasTarget()) - tgt.setTarget(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getTarget())); + if (src.hasSourceScope()) + tgt.setSource(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getSourceScope())); + if (src.hasTargetScope()) + tgt.setTarget(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getTargetScope())); for (org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent t : src.getGroup()) tgt.addGroup(convertConceptMapGroupComponent(t)); return tgt; @@ -99,11 +101,11 @@ public class ConceptMap30_50 { tgt.setCopyrightElement(MarkDown30_50.convertMarkdown(src.getCopyrightElement())); if (src.hasSource()) { org.hl7.fhir.r5.model.DataType t = ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getSource()); - tgt.setSource(t instanceof org.hl7.fhir.r5.model.Reference ? new org.hl7.fhir.r5.model.CanonicalType(((org.hl7.fhir.r5.model.Reference) t).getReference()) : t); + tgt.setSourceScope(t instanceof org.hl7.fhir.r5.model.Reference ? new org.hl7.fhir.r5.model.CanonicalType(((org.hl7.fhir.r5.model.Reference) t).getReference()) : t); } if (src.hasTarget()) { org.hl7.fhir.r5.model.DataType t = ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getTarget()); - tgt.setTarget(t instanceof org.hl7.fhir.r5.model.Reference ? new org.hl7.fhir.r5.model.CanonicalType(((org.hl7.fhir.r5.model.Reference) t).getReference()) : t); + tgt.setTargetScope(t instanceof org.hl7.fhir.r5.model.Reference ? new org.hl7.fhir.r5.model.CanonicalType(((org.hl7.fhir.r5.model.Reference) t).getReference()) : t); } for (org.hl7.fhir.dstu3.model.ConceptMap.ConceptMapGroupComponent t : src.getGroup()) tgt.addGroup(convertConceptMapGroupComponent(t)); @@ -177,7 +179,7 @@ public class ConceptMap30_50 { if (src.hasDisplay()) tgt.setDisplayElement(String30_50.convertString(src.getDisplayElement())); if (src.hasUrl()) - tgt.setUrl(src.getUrl()); + tgt.setOtherMap(src.getUrl()); return tgt; } @@ -192,40 +194,40 @@ public class ConceptMap30_50 { tgt.setCodeElement(Code30_50.convertCode(src.getCodeElement())); if (src.hasDisplay()) tgt.setDisplayElement(String30_50.convertString(src.getDisplayElement())); - if (src.hasUrl()) - tgt.setUrl(src.getUrl()); + if (src.hasOtherMap()) + tgt.setUrl(src.getOtherMap()); return tgt; } - static public org.hl7.fhir.r5.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.dstu3.model.Enumeration src) throws FHIRException { + static public org.hl7.fhir.r5.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.dstu3.model.Enumeration src) throws FHIRException { if (src == null || src.isEmpty()) return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedModeEnumFactory()); + org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedModeEnumFactory()); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); switch (src.getValue()) { case PROVIDED: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.PROVIDED); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.USESOURCECODE); break; case FIXED: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.FIXED); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.FIXED); break; case OTHERMAP: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.OTHERMAP); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.OTHERMAP); break; default: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.NULL); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.NULL); break; } return tgt; } - static public org.hl7.fhir.dstu3.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { + static public org.hl7.fhir.dstu3.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Enumeration tgt = new org.hl7.fhir.dstu3.model.Enumeration<>(new org.hl7.fhir.dstu3.model.ConceptMap.ConceptMapGroupUnmappedModeEnumFactory()); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); switch (src.getValue()) { - case PROVIDED: + case USESOURCECODE: tgt.setValue(org.hl7.fhir.dstu3.model.ConceptMap.ConceptMapGroupUnmappedMode.PROVIDED); break; case FIXED: @@ -318,12 +320,12 @@ public class ConceptMap30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasProperty()) tgt.setPropertyElement(Uri30_50.convertUri(src.getPropertyElement())); - if (src.hasSystem()) - tgt.setSystem(src.getSystem()); - if (src.hasCode()) - tgt.setValueElement(String30_50.convertString(src.getCodeElement())); - if (src.hasDisplay()) - tgt.setDisplayElement(String30_50.convertString(src.getDisplayElement())); + + if (src.hasSystem()) { + tgt.setValue(new Coding().setSystem(src.getSystem()).setCode(src.getCode()).setDisplay(src.getDisplay())); + } else if (src.hasCodeElement()) { + tgt.setValue(String30_50.convertString(src.getCodeElement())); + } return tgt; } @@ -334,12 +336,14 @@ public class ConceptMap30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasProperty()) tgt.setPropertyElement(Uri30_50.convertUri(src.getPropertyElement())); - if (src.hasSystem()) - tgt.setSystem(src.getSystem()); - if (src.hasValue()) - tgt.setCodeElement(String30_50.convertString(src.getValueElement())); - if (src.hasDisplay()) - tgt.setDisplayElement(String30_50.convertString(src.getDisplayElement())); + + if (src.hasValueCoding()) { + tgt.setSystem(src.getValueCoding().getSystem()); + tgt.setCode(src.getValueCoding().getCode()); + tgt.setDisplay(src.getValueCoding().getDisplay()); + } else if (src.hasValue()) { + tgt.setCode(src.getValue().primitiveValue()); + } return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Condition30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Condition30_50.java index f146e1011..c37e7ae55 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Condition30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Condition30_50.java @@ -1,12 +1,18 @@ package org.hl7.fhir.convertors.conv30_50.resources30_50; +import java.util.ArrayList; +import java.util.List; + import org.hl7.fhir.convertors.context.ConversionContext30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Reference30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Annotation30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.CodeableConcept30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Identifier30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.DateTime30_50; +import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableConcept; +import org.hl7.fhir.r5.model.Coding; public class Condition30_50 { @@ -48,11 +54,11 @@ public class Condition30_50 { if (src.hasAssertedDate()) tgt.setRecordedDateElement(DateTime30_50.convertDateTime(src.getAssertedDateElement())); if (src.hasAsserter()) - tgt.setAsserter(Reference30_50.convertReference(src.getAsserter())); + tgt.addParticipant().setFunction(new CodeableConcept(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "informant", "Informant"))).setActor(Reference30_50.convertReference(src.getAsserter())); if (src.hasStage()) tgt.addStage(convertConditionStageComponent(src.getStage())); for (org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent t : src.getEvidence()) - tgt.addEvidence(convertConditionEvidenceComponent(t)); + tgt.getEvidence().addAll(convertConditionEvidenceComponent(t)); for (org.hl7.fhir.dstu3.model.Annotation t : src.getNote()) tgt.addNote(Annotation30_50.convertAnnotation(t)); return tgt; } @@ -86,11 +92,13 @@ public class Condition30_50 { tgt.setAbatement(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAbatement())); if (src.hasRecordedDate()) tgt.setAssertedDateElement(DateTime30_50.convertDateTime(src.getRecordedDateElement())); - if (src.hasAsserter()) - tgt.setAsserter(Reference30_50.convertReference(src.getAsserter())); + for (org.hl7.fhir.r5.model.Condition.ConditionParticipantComponent t : src.getParticipant()) { + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "informant")) + tgt.setAsserter(Reference30_50.convertReference(t.getActor())); + } if (src.hasStage()) tgt.setStage(convertConditionStageComponent(src.getStageFirstRep())); - for (org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent t : src.getEvidence()) + for (org.hl7.fhir.r5.model.CodeableReference t : src.getEvidence()) tgt.addEvidence(convertConditionEvidenceComponent(t)); for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(Annotation30_50.convertAnnotation(t)); return tgt; @@ -137,25 +145,34 @@ public class Condition30_50 { } } - public static org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent src) throws FHIRException { + public static List convertConditionEvidenceComponent(org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent src) throws FHIRException { if (src == null) return null; - org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent tgt = new org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getCode()) - tgt.addCode(CodeableConcept30_50.convertCodeableConcept(t)); - for (org.hl7.fhir.dstu3.model.Reference t : src.getDetail()) tgt.addDetail(Reference30_50.convertReference(t)); - return tgt; + List list = new ArrayList<>(); + for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getCode()) { + org.hl7.fhir.r5.model.CodeableReference tgt = new org.hl7.fhir.r5.model.CodeableReference(); + ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); + tgt.setConcept(CodeableConcept30_50.convertCodeableConcept(t)); + list.add(tgt); + } + for (org.hl7.fhir.dstu3.model.Reference t : src.getDetail()) { + org.hl7.fhir.r5.model.CodeableReference tgt = new org.hl7.fhir.r5.model.CodeableReference(); + ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); + tgt.setReference(Reference30_50.convertReference(t)); + list.add(tgt); + } + return list; } - public static org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent src) throws FHIRException { + public static org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r5.model.CodeableReference src) throws FHIRException { if (src == null) return null; org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent tgt = new org.hl7.fhir.dstu3.model.Condition.ConditionEvidenceComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getCode()) - tgt.addCode(CodeableConcept30_50.convertCodeableConcept(t)); - for (org.hl7.fhir.r5.model.Reference t : src.getDetail()) tgt.addDetail(Reference30_50.convertReference(t)); + if (src.hasConcept()) + tgt.addCode(CodeableConcept30_50.convertCodeableConcept(src.getConcept())); + if (src.hasReference()) + tgt.addDetail(Reference30_50.convertReference(src.getReference())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Consent30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Consent30_50.java index 24d1d22a4..8dce70344 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Consent30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Consent30_50.java @@ -20,21 +20,21 @@ public class Consent30_50 { return tgt; } - public static org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.dstu3.model.Consent.ConsentPolicyComponent src) throws FHIRException { + public static org.hl7.fhir.r5.model.Consent.ConsentPolicyBasisComponent convertConsentPolicyComponent(org.hl7.fhir.dstu3.model.Consent.ConsentPolicyComponent src) throws FHIRException { if (src == null) return null; - org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent tgt = new org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent(); + org.hl7.fhir.r5.model.Consent.ConsentPolicyBasisComponent tgt = new org.hl7.fhir.r5.model.Consent.ConsentPolicyBasisComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasAuthority()) tgt.setAuthorityElement(Uri30_50.convertUri(src.getAuthorityElement())); - if (src.hasUri()) tgt.setUriElement(Uri30_50.convertUri(src.getUriElement())); +// if (src.hasAuthority()) tgt.setRefereceElement(Uri30_50.convertUri(src.getAuthorityElement())); + if (src.hasUri()) tgt.setUrl(src.getUri()); return tgt; } - public static org.hl7.fhir.dstu3.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent src) throws FHIRException { + public static org.hl7.fhir.dstu3.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.r5.model.Consent.ConsentPolicyBasisComponent src) throws FHIRException { if (src == null) return null; org.hl7.fhir.dstu3.model.Consent.ConsentPolicyComponent tgt = new org.hl7.fhir.dstu3.model.Consent.ConsentPolicyComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasAuthority()) tgt.setAuthorityElement(Uri30_50.convertUri(src.getAuthorityElement())); - if (src.hasUri()) tgt.setUriElement(Uri30_50.convertUri(src.getUriElement())); +// if (src.hasAuthority()) tgt.setAuthorityElement(Uri30_50.convertUri(src.getReferenceElement())); + if (src.hasUrl()) tgt.setUriElement(Uri30_50.convertUri(src.getUrlElement())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java index 1c90765fb..935dabc53 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java @@ -5,7 +5,7 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Reference30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.*; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; import org.hl7.fhir.exceptions.FHIRException; -import org.hl7.fhir.r5.model.DocumentReference.DocumentAttestationMode; +import org.hl7.fhir.r5.model.CodeableReference; import org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceAttesterComponent; public class DocumentReference30_50 { @@ -32,7 +32,8 @@ public class DocumentReference30_50 { if (src.hasCreated()) tgt.setDate(src.getCreated()); if (src.hasAuthenticator()) - tgt.addAttester().setMode(DocumentAttestationMode.OFFICIAL).setParty(Reference30_50.convertReference(src.getAuthenticator())); + tgt.addAttester().setMode(new org.hl7.fhir.r5.model.CodeableConcept().addCoding(new org.hl7.fhir.r5.model.Coding("http://hl7.org/fhir/composition-attestation-mode","official", "Official"))) + .setParty(Reference30_50.convertReference(src.getAuthenticator())); if (src.hasCustodian()) tgt.setCustodian(Reference30_50.convertReference(src.getCustodian())); for (org.hl7.fhir.dstu3.model.DocumentReference.DocumentReferenceRelatesToComponent t : src.getRelatesTo()) @@ -70,7 +71,7 @@ public class DocumentReference30_50 { if (src.hasDate()) tgt.setCreated(src.getDate()); for (DocumentReferenceAttesterComponent t : src.getAttester()) { - if (t.getMode() == DocumentAttestationMode.OFFICIAL) + if (t.getMode().hasCoding("http://hl7.org/fhir/composition-attestation-mode", "official")) tgt.setAuthenticator(Reference30_50.convertReference(t.getParty())); } if (src.hasCustodian()) @@ -94,8 +95,6 @@ public class DocumentReference30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasAttachment()) tgt.setAttachment(Attachment30_50.convertAttachment(src.getAttachment())); - if (src.hasFormat()) - tgt.setFormat(Coding30_50.convertCoding(src.getFormat())); return tgt; } @@ -106,16 +105,15 @@ public class DocumentReference30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasAttachment()) tgt.setAttachment(Attachment30_50.convertAttachment(src.getAttachment())); - if (src.hasFormat()) - tgt.setFormat(Coding30_50.convertCoding(src.getFormat())); return tgt; } public static void convertDocumentReferenceContextComponent(org.hl7.fhir.r5.model.DocumentReference src, org.hl7.fhir.dstu3.model.DocumentReference.DocumentReferenceContextComponent tgt) throws FHIRException { - if (src.hasEncounter()) - tgt.setEncounter(Reference30_50.convertReference(src.getEncounterFirstRep())); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getEvent()) - tgt.addEvent(CodeableConcept30_50.convertCodeableConcept(t)); + if (src.hasContext()) + tgt.setEncounter(Reference30_50.convertReference(src.getContextFirstRep())); + for (CodeableReference t : src.getEvent()) + if (t.hasConcept()) + tgt.addEvent(CodeableConcept30_50.convertCodeableConcept(t.getConcept())); if (src.hasPeriod()) tgt.setPeriod(Period30_50.convertPeriod(src.getPeriod())); if (src.hasFacilityType()) @@ -124,15 +122,15 @@ public class DocumentReference30_50 { tgt.setPracticeSetting(CodeableConcept30_50.convertCodeableConcept(src.getPracticeSetting())); if (src.hasSourcePatientInfo()) tgt.setSourcePatientInfo(Reference30_50.convertReference(src.getSourcePatientInfo())); - for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) - tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) +// tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); } public static void convertDocumentReferenceContextComponent(org.hl7.fhir.dstu3.model.DocumentReference.DocumentReferenceContextComponent src, org.hl7.fhir.r5.model.DocumentReference tgt) throws FHIRException { if (src.hasEncounter()) - tgt.addEncounter(Reference30_50.convertReference(src.getEncounter())); + tgt.addContext(Reference30_50.convertReference(src.getEncounter())); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getEvent()) - tgt.addEvent(CodeableConcept30_50.convertCodeableConcept(t)); + tgt.addEvent(new CodeableReference().setConcept(CodeableConcept30_50.convertCodeableConcept(t))); if (src.hasPeriod()) tgt.setPeriod(Period30_50.convertPeriod(src.getPeriod())); if (src.hasFacilityType()) @@ -141,8 +139,8 @@ public class DocumentReference30_50 { tgt.setPracticeSetting(CodeableConcept30_50.convertCodeableConcept(src.getPracticeSetting())); if (src.hasSourcePatientInfo()) tgt.setSourcePatientInfo(Reference30_50.convertReference(src.getSourcePatientInfo())); - for (org.hl7.fhir.dstu3.model.DocumentReference.DocumentReferenceContextRelatedComponent t : src.getRelated()) - tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); +// for (org.hl7.fhir.dstu3.model.DocumentReference.DocumentReferenceContextRelatedComponent t : src.getRelated()) +// tgt.addRelated(convertDocumentReferenceContextRelatedComponent(t)); } public static org.hl7.fhir.r5.model.Reference convertDocumentReferenceContextRelatedComponent(org.hl7.fhir.dstu3.model.DocumentReference.DocumentReferenceContextRelatedComponent src) throws FHIRException { diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Encounter30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Encounter30_50.java index 2751d4aba..668c0ed9c 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Encounter30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Encounter30_50.java @@ -45,7 +45,7 @@ public class Encounter30_50 { for (org.hl7.fhir.dstu3.model.Encounter.StatusHistoryComponent t : src.getStatusHistory()) tgt.addStatusHistory(convertStatusHistoryComponent(t)); if (src.hasClass_()) - tgt.setClass_(Coding30_50.convertCoding(src.getClass_())); + tgt.setClass_(new org.hl7.fhir.r5.model.CodeableConcept().addCoding(Coding30_50.convertCoding(src.getClass_()))); for (org.hl7.fhir.dstu3.model.Encounter.ClassHistoryComponent t : src.getClassHistory()) tgt.addClassHistory(convertClassHistoryComponent(t)); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Endpoint30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Endpoint30_50.java index 49d901dc8..724e58b7a 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Endpoint30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Endpoint30_50.java @@ -18,7 +18,7 @@ public class Endpoint30_50 { if (src.hasStatus()) tgt.setStatusElement(convertEndpointStatus(src.getStatusElement())); if (src.hasConnectionType()) - tgt.setConnectionType(Coding30_50.convertCoding(src.getConnectionType())); + tgt.setConnectionType(Coding30_50.convertCoding(src.getConnectionTypeFirstRep())); if (src.hasName()) tgt.setNameElement(String30_50.convertString(src.getNameElement())); if (src.hasManagingOrganization()) @@ -46,7 +46,7 @@ public class Endpoint30_50 { if (src.hasStatus()) tgt.setStatusElement(convertEndpointStatus(src.getStatusElement())); if (src.hasConnectionType()) - tgt.setConnectionType(Coding30_50.convertCoding(src.getConnectionType())); + tgt.addConnectionType(Coding30_50.convertCoding(src.getConnectionType())); if (src.hasName()) tgt.setNameElement(String30_50.convertString(src.getNameElement())); if (src.hasManagingOrganization()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImagingStudy30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImagingStudy30_50.java index e6978f026..5a5505c06 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImagingStudy30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImagingStudy30_50.java @@ -10,7 +10,9 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Stri import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.UnsignedInt30_50; import org.hl7.fhir.dstu3.model.Reference; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableConcept; import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; import java.util.List; @@ -48,8 +50,9 @@ public class ImagingStudy30_50 { break; } } - for (org.hl7.fhir.r5.model.Coding t : src.getModality()) { - tgt.addModalityList(Coding30_50.convertCoding(t)); + for (CodeableConcept t : src.getModality()) { + for (Coding tt : t.getCoding()) + tgt.addModalityList(Coding30_50.convertCoding(tt)); } if (src.hasSubject()) { if (src.hasSubject()) @@ -143,7 +146,7 @@ public class ImagingStudy30_50 { tgt.setStatus(org.hl7.fhir.r5.model.ImagingStudy.ImagingStudyStatus.UNKNOWN); } for (org.hl7.fhir.dstu3.model.Coding t : src.getModalityList()) { - tgt.addModality(Coding30_50.convertCoding(t)); + tgt.addModality(new CodeableConcept().addCoding(Coding30_50.convertCoding(t))); } if (src.hasPatient()) tgt.setSubject(Reference30_50.convertReference(src.getPatient())); @@ -225,9 +228,8 @@ public class ImagingStudy30_50 { for (org.hl7.fhir.r5.model.Reference t : src.getEndpoint()) { tgt.addEndpoint(Reference30_50.convertReference(t)); } - if (src.hasBodySite()) { - if (src.hasBodySite()) - tgt.setBodySite(Coding30_50.convertCoding(src.getBodySite())); + if (src.getBodySite().hasConcept()) { + tgt.setBodySite(Coding30_50.convertCoding(src.getBodySite().getConcept().getCodingFirstRep())); } if (src.hasLaterality()) { if (src.hasLaterality()) @@ -258,7 +260,7 @@ public class ImagingStudy30_50 { } if (src.hasModality()) { if (src.hasModality()) - tgt.setModality(Coding30_50.convertCoding(src.getModality())); + tgt.setModality(new CodeableConcept().addCoding(Coding30_50.convertCoding(src.getModality()))); } if (src.hasDescription()) { if (src.hasDescriptionElement()) @@ -273,11 +275,11 @@ public class ImagingStudy30_50 { } if (src.hasBodySite()) { if (src.hasBodySite()) - tgt.setBodySite(Coding30_50.convertCoding(src.getBodySite())); + tgt.setBodySite(new CodeableReference(new CodeableConcept(Coding30_50.convertCoding(src.getBodySite())))); } if (src.hasLaterality()) { if (src.hasLaterality()) - tgt.setLaterality(Coding30_50.convertCoding(src.getLaterality())); + tgt.setLaterality(new CodeableConcept(Coding30_50.convertCoding(src.getLaterality()))); } if (src.hasStarted()) { if (src.hasStartedElement()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Immunization30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Immunization30_50.java index eb7ee0501..6e2af294e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Immunization30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Immunization30_50.java @@ -11,6 +11,7 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Date import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.DateTime30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r4.model.codesystems.CoverageeligibilityresponseExAuthSupportEnumFactory; import org.hl7.fhir.r5.model.CodeableReference; public class Immunization30_50 { @@ -35,7 +36,7 @@ public class Immunization30_50 { if (src.hasPrimarySource()) tgt.setPrimarySourceElement(Boolean30_50.convertBoolean(src.getPrimarySourceElement())); if (src.hasReportOrigin()) - tgt.setInformationSource(CodeableConcept30_50.convertCodeableConcept(src.getReportOrigin())); + tgt.setInformationSource(new CodeableReference(CodeableConcept30_50.convertCodeableConcept(src.getReportOrigin()))); if (src.hasLocation()) tgt.setLocation(Reference30_50.convertReference(src.getLocation())); if (src.hasManufacturer()) @@ -77,8 +78,8 @@ public class Immunization30_50 { tgt.setDateElement(DateTime30_50.convertDateTime(src.getOccurrenceDateTimeType())); if (src.hasPrimarySource()) tgt.setPrimarySourceElement(Boolean30_50.convertBoolean(src.getPrimarySourceElement())); - if (src.hasInformationSourceCodeableConcept()) - tgt.setReportOrigin(CodeableConcept30_50.convertCodeableConcept(src.getInformationSourceCodeableConcept())); + if (src.getInformationSource().hasConcept()) + tgt.setReportOrigin(CodeableConcept30_50.convertCodeableConcept(src.getInformationSource().getConcept())); if (src.hasLocation()) tgt.setLocation(Reference30_50.convertReference(src.getLocation())); if (src.hasManufacturer()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImplementationGuide30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImplementationGuide30_50.java index 4c352cb68..5bea59395 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImplementationGuide30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/ImplementationGuide30_50.java @@ -182,7 +182,7 @@ public class ImplementationGuide30_50 { if (src.hasName()) tgt.setNameElement(String30_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String30_50.convertStringToMarkdown(src.getDescriptionElement())); for (org.hl7.fhir.dstu3.model.ImplementationGuide.ImplementationGuidePackageResourceComponent t : src.getResource()) { org.hl7.fhir.r5.model.ImplementationGuide.ImplementationGuideDefinitionResourceComponent tn = convertImplementationGuidePackageResourceComponent(t); tn.setGroupingId(tgt.getId()); @@ -226,7 +226,7 @@ public class ImplementationGuide30_50 { if (src.hasName()) tgt.setNameElement(String30_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String30_50.convertStringToMarkdown(src.getDescriptionElement())); if (src.hasSourceReference()) tgt.setReference(Reference30_50.convertReference(src.getSourceReference())); else if (src.hasSourceUriType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationDispense30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationDispense30_50.java index 19e10bd82..a1b741b41 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationDispense30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationDispense30_50.java @@ -57,8 +57,8 @@ public class MedicationDispense30_50 { tgt.addDosageInstruction(Dosage30_50.convertDosage(t)); if (src.hasSubstitution()) tgt.setSubstitution(convertMedicationDispenseSubstitutionComponent(src.getSubstitution())); - for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference30_50.convertReference(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference30_50.convertReference(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference30_50.convertReference(t)); return tgt; @@ -108,8 +108,8 @@ public class MedicationDispense30_50 { tgt.addDosageInstruction(Dosage30_50.convertDosage(t)); if (src.hasSubstitution()) tgt.setSubstitution(convertMedicationDispenseSubstitutionComponent(src.getSubstitution())); - for (org.hl7.fhir.dstu3.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference30_50.convertReference(t)); +// for (org.hl7.fhir.dstu3.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference30_50.convertReference(t)); for (org.hl7.fhir.dstu3.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference30_50.convertReference(t)); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationRequest30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationRequest30_50.java index 8e29ac32e..f963499f1 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationRequest30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationRequest30_50.java @@ -58,8 +58,8 @@ public class MedicationRequest30_50 { tgt.setSubstitution(convertMedicationRequestSubstitutionComponent(src.getSubstitution())); if (src.hasPriorPrescription()) tgt.setPriorPrescription(Reference30_50.convertReference(src.getPriorPrescription())); - for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference30_50.convertReference(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference30_50.convertReference(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference30_50.convertReference(t)); return tgt; @@ -108,8 +108,8 @@ public class MedicationRequest30_50 { tgt.setSubstitution(convertMedicationRequestSubstitutionComponent(src.getSubstitution())); if (src.hasPriorPrescription()) tgt.setPriorPrescription(Reference30_50.convertReference(src.getPriorPrescription())); - for (org.hl7.fhir.dstu3.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference30_50.convertReference(t)); +// for (org.hl7.fhir.dstu3.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference30_50.convertReference(t)); for (org.hl7.fhir.dstu3.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference30_50.convertReference(t)); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationStatement30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationStatement30_50.java index 69e6d4147..5411d991c 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationStatement30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MedicationStatement30_50.java @@ -38,7 +38,7 @@ public class MedicationStatement30_50 { if (src.hasDateAsserted()) tgt.setDateAssertedElement(DateTime30_50.convertDateTime(src.getDateAssertedElement())); if (src.hasInformationSource()) - tgt.setInformationSource(Reference30_50.convertReference(src.getInformationSource())); + tgt.addInformationSource(Reference30_50.convertReference(src.getInformationSource())); if (src.hasSubject()) tgt.setSubject(Reference30_50.convertReference(src.getSubject())); for (org.hl7.fhir.dstu3.model.Reference t : src.getDerivedFrom()) @@ -78,7 +78,7 @@ public class MedicationStatement30_50 { if (src.hasDateAsserted()) tgt.setDateAssertedElement(DateTime30_50.convertDateTime(src.getDateAssertedElement())); if (src.hasInformationSource()) - tgt.setInformationSource(Reference30_50.convertReference(src.getInformationSource())); + tgt.setInformationSource(Reference30_50.convertReference(src.getInformationSourceFirstRep())); if (src.hasSubject()) tgt.setSubject(Reference30_50.convertReference(src.getSubject())); for (org.hl7.fhir.r5.model.Reference t : src.getDerivedFrom()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MessageHeader30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MessageHeader30_50.java index e69cbaeb3..2827d8e0e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MessageHeader30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/MessageHeader30_50.java @@ -99,7 +99,7 @@ public class MessageHeader30_50 { org.hl7.fhir.r5.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.r5.model.MessageHeader.MessageHeaderResponseComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasIdentifier()) - tgt.setIdentifierElement(Id30_50.convertId(src.getIdentifierElement())); + tgt.setIdentifier(new org.hl7.fhir.r5.model.Identifier().setValue(src.getIdentifier())); if (src.hasCode()) tgt.setCodeElement(convertResponseType(src.getCodeElement())); if (src.hasDetails()) @@ -113,7 +113,7 @@ public class MessageHeader30_50 { org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.dstu3.model.MessageHeader.MessageHeaderResponseComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasIdentifier()) - tgt.setIdentifierElement(Id30_50.convertId(src.getIdentifierElement())); + tgt.setIdentifierElement(new org.hl7.fhir.dstu3.model.IdType(src.getIdentifier().getValue())); if (src.hasCode()) tgt.setCodeElement(convertResponseType(src.getCodeElement())); if (src.hasDetails()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Organization30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Organization30_50.java index 0ac80c44c..474d49c9a 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Organization30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Organization30_50.java @@ -53,13 +53,13 @@ public class Organization30_50 { for (org.hl7.fhir.r5.model.Address t : src.getAddress()) tgt.addAddress(Address30_50.convertAddress(t)); if (src.hasPartOf()) tgt.setPartOf(Reference30_50.convertReference(src.getPartOf())); - for (org.hl7.fhir.r5.model.Organization.OrganizationContactComponent t : src.getContact()) + for (org.hl7.fhir.r5.model.ExtendedContactDetail t : src.getContact()) tgt.addContact(convertOrganizationContactComponent(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEndpoint()) tgt.addEndpoint(Reference30_50.convertReference(t)); return tgt; } - public static org.hl7.fhir.dstu3.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r5.model.Organization.OrganizationContactComponent src) throws FHIRException { + public static org.hl7.fhir.dstu3.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r5.model.ExtendedContactDetail src) throws FHIRException { if (src == null) return null; org.hl7.fhir.dstu3.model.Organization.OrganizationContactComponent tgt = new org.hl7.fhir.dstu3.model.Organization.OrganizationContactComponent(); @@ -75,10 +75,10 @@ public class Organization30_50 { return tgt; } - public static org.hl7.fhir.r5.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.dstu3.model.Organization.OrganizationContactComponent src) throws FHIRException { + public static org.hl7.fhir.r5.model.ExtendedContactDetail convertOrganizationContactComponent(org.hl7.fhir.dstu3.model.Organization.OrganizationContactComponent src) throws FHIRException { if (src == null) return null; - org.hl7.fhir.r5.model.Organization.OrganizationContactComponent tgt = new org.hl7.fhir.r5.model.Organization.OrganizationContactComponent(); + org.hl7.fhir.r5.model.ExtendedContactDetail tgt = new org.hl7.fhir.r5.model.ExtendedContactDetail(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasPurpose()) tgt.setPurpose(CodeableConcept30_50.convertCodeableConcept(src.getPurpose())); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Provenance30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Provenance30_50.java index acd41543d..67ec943d8 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Provenance30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Provenance30_50.java @@ -159,7 +159,7 @@ public class Provenance30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); switch (src.getValue()) { case DERIVATION: - tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.DERIVATION); + tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.INSTANTIATES); break; case REVISION: tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.REVISION); @@ -186,7 +186,7 @@ public class Provenance30_50 { org.hl7.fhir.dstu3.model.Enumeration tgt = new org.hl7.fhir.dstu3.model.Enumeration<>(new org.hl7.fhir.dstu3.model.Provenance.ProvenanceEntityRoleEnumFactory()); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); switch (src.getValue()) { - case DERIVATION: + case INSTANTIATES: tgt.setValue(org.hl7.fhir.dstu3.model.Provenance.ProvenanceEntityRole.DERIVATION); break; case REVISION: diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Schedule30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Schedule30_50.java index 1d4c56de0..2409b3f04 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Schedule30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Schedule30_50.java @@ -8,6 +8,7 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Period import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Boolean30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableReference; public class Schedule30_50 { @@ -22,8 +23,9 @@ public class Schedule30_50 { tgt.setActiveElement(Boolean30_50.convertBoolean(src.getActiveElement())); if (src.hasServiceCategory()) tgt.setServiceCategory(CodeableConcept30_50.convertCodeableConcept(src.getServiceCategoryFirstRep())); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t)); + for (CodeableReference t : src.getServiceType()) + if (t.hasConcept()) + tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t.getConcept() )); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept30_50.convertCodeableConcept(t)); for (org.hl7.fhir.r5.model.Reference t : src.getActor()) tgt.addActor(Reference30_50.convertReference(t)); @@ -46,7 +48,7 @@ public class Schedule30_50 { if (src.hasServiceCategory()) tgt.addServiceCategory(CodeableConcept30_50.convertCodeableConcept(src.getServiceCategory())); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t)); + tgt.addServiceType(new CodeableReference().setConcept(CodeableConcept30_50.convertCodeableConcept(t))); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept30_50.convertCodeableConcept(t)); for (org.hl7.fhir.dstu3.model.Reference t : src.getActor()) tgt.addActor(Reference30_50.convertReference(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/SearchParameter30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/SearchParameter30_50.java index acf359073..8ee34b113 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/SearchParameter30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/SearchParameter30_50.java @@ -325,10 +325,10 @@ public class SearchParameter30_50 { tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.PHONETIC); break; case NEARBY: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.NEARBY); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case DISTANCE: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.DISTANCE); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case OTHER: tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); @@ -352,12 +352,6 @@ public class SearchParameter30_50 { case PHONETIC: tgt.setValue(org.hl7.fhir.dstu3.model.SearchParameter.XPathUsageType.PHONETIC); break; - case NEARBY: - tgt.setValue(org.hl7.fhir.dstu3.model.SearchParameter.XPathUsageType.NEARBY); - break; - case DISTANCE: - tgt.setValue(org.hl7.fhir.dstu3.model.SearchParameter.XPathUsageType.DISTANCE); - break; case OTHER: tgt.setValue(org.hl7.fhir.dstu3.model.SearchParameter.XPathUsageType.OTHER); break; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Sequence30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Sequence30_50.java deleted file mode 100644 index 805fd3757..000000000 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Sequence30_50.java +++ /dev/null @@ -1,429 +0,0 @@ -package org.hl7.fhir.convertors.conv30_50.resources30_50; - -import org.hl7.fhir.convertors.context.ConversionContext30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Reference30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.CodeableConcept30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Identifier30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Quantity30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Decimal30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Integer30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; -import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Uri30_50; -import org.hl7.fhir.exceptions.FHIRException; - -public class Sequence30_50 { - - static public org.hl7.fhir.r5.model.Enumeration convertQualityType(org.hl7.fhir.dstu3.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.QualityTypeEnumFactory()); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - switch (src.getValue()) { - case INDEL: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.INDEL); - break; - case SNP: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.SNP); - break; - case UNKNOWN: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.UNKNOWN); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.dstu3.model.Enumeration convertQualityType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.dstu3.model.Enumeration tgt = new org.hl7.fhir.dstu3.model.Enumeration<>(new org.hl7.fhir.dstu3.model.Sequence.QualityTypeEnumFactory()); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - switch (src.getValue()) { - case INDEL: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.QualityType.INDEL); - break; - case SNP: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.QualityType.SNP); - break; - case UNKNOWN: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.QualityType.UNKNOWN); - break; - default: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.QualityType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.dstu3.model.Enumeration convertRepositoryType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.dstu3.model.Enumeration tgt = new org.hl7.fhir.dstu3.model.Enumeration<>(new org.hl7.fhir.dstu3.model.Sequence.RepositoryTypeEnumFactory()); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - switch (src.getValue()) { - case DIRECTLINK: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.RepositoryType.DIRECTLINK); - break; - case OPENAPI: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.RepositoryType.OPENAPI); - break; - case LOGIN: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.RepositoryType.LOGIN); - break; - case OAUTH: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.RepositoryType.OAUTH); - break; - case OTHER: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.RepositoryType.OTHER); - break; - default: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.RepositoryType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertRepositoryType(org.hl7.fhir.dstu3.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.RepositoryTypeEnumFactory()); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - switch (src.getValue()) { - case DIRECTLINK: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.DIRECTLINK); - break; - case OPENAPI: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.OPENAPI); - break; - case LOGIN: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.LOGIN); - break; - case OAUTH: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.OAUTH); - break; - case OTHER: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.OTHER); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.NULL); - break; - } - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence convertSequence(org.hl7.fhir.dstu3.model.Sequence src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence tgt = new org.hl7.fhir.r5.model.MolecularSequence(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyDomainResource(src, tgt); - for (org.hl7.fhir.dstu3.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); - if (src.hasType()) - tgt.setTypeElement(convertSequenceType(src.getTypeElement())); - if (src.hasCoordinateSystem()) - tgt.setCoordinateSystemElement(Integer30_50.convertInteger(src.getCoordinateSystemElement())); - if (src.hasPatient()) - tgt.setPatient(Reference30_50.convertReference(src.getPatient())); - if (src.hasSpecimen()) - tgt.setSpecimen(Reference30_50.convertReference(src.getSpecimen())); - if (src.hasDevice()) - tgt.setDevice(Reference30_50.convertReference(src.getDevice())); - if (src.hasPerformer()) - tgt.setPerformer(Reference30_50.convertReference(src.getPerformer())); - if (src.hasQuantity()) - tgt.setQuantity(Quantity30_50.convertQuantity(src.getQuantity())); - if (src.hasReferenceSeq()) - tgt.setReferenceSeq(convertSequenceReferenceSeqComponent(src.getReferenceSeq())); - for (org.hl7.fhir.dstu3.model.Sequence.SequenceVariantComponent t : src.getVariant()) - tgt.addVariant(convertSequenceVariantComponent(t)); - if (src.hasObservedSeq()) - tgt.setObservedSeqElement(String30_50.convertString(src.getObservedSeqElement())); - for (org.hl7.fhir.dstu3.model.Sequence.SequenceQualityComponent t : src.getQuality()) - tgt.addQuality(convertSequenceQualityComponent(t)); - if (src.hasReadCoverage()) - tgt.setReadCoverageElement(Integer30_50.convertInteger(src.getReadCoverageElement())); - for (org.hl7.fhir.dstu3.model.Sequence.SequenceRepositoryComponent t : src.getRepository()) - tgt.addRepository(convertSequenceRepositoryComponent(t)); - for (org.hl7.fhir.dstu3.model.Reference t : src.getPointer()) tgt.addPointer(Reference30_50.convertReference(t)); - return tgt; - } - - public static org.hl7.fhir.dstu3.model.Sequence convertSequence(org.hl7.fhir.r5.model.MolecularSequence src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.dstu3.model.Sequence tgt = new org.hl7.fhir.dstu3.model.Sequence(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyDomainResource(src, tgt); - for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); - if (src.hasType()) - tgt.setTypeElement(convertSequenceType(src.getTypeElement())); - if (src.hasCoordinateSystem()) - tgt.setCoordinateSystemElement(Integer30_50.convertInteger(src.getCoordinateSystemElement())); - if (src.hasPatient()) - tgt.setPatient(Reference30_50.convertReference(src.getPatient())); - if (src.hasSpecimen()) - tgt.setSpecimen(Reference30_50.convertReference(src.getSpecimen())); - if (src.hasDevice()) - tgt.setDevice(Reference30_50.convertReference(src.getDevice())); - if (src.hasPerformer()) - tgt.setPerformer(Reference30_50.convertReference(src.getPerformer())); - if (src.hasQuantity()) - tgt.setQuantity(Quantity30_50.convertQuantity(src.getQuantity())); - if (src.hasReferenceSeq()) - tgt.setReferenceSeq(convertSequenceReferenceSeqComponent(src.getReferenceSeq())); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent t : src.getVariant()) - tgt.addVariant(convertSequenceVariantComponent(t)); - if (src.hasObservedSeq()) - tgt.setObservedSeqElement(String30_50.convertString(src.getObservedSeqElement())); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent t : src.getQuality()) - tgt.addQuality(convertSequenceQualityComponent(t)); - if (src.hasReadCoverage()) - tgt.setReadCoverageElement(Integer30_50.convertInteger(src.getReadCoverageElement())); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent t : src.getRepository()) - tgt.addRepository(convertSequenceRepositoryComponent(t)); - for (org.hl7.fhir.r5.model.Reference t : src.getPointer()) tgt.addPointer(Reference30_50.convertReference(t)); - return tgt; - } - - public static org.hl7.fhir.dstu3.model.Sequence.SequenceQualityComponent convertSequenceQualityComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.dstu3.model.Sequence.SequenceQualityComponent tgt = new org.hl7.fhir.dstu3.model.Sequence.SequenceQualityComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertQualityType(src.getTypeElement())); - if (src.hasStandardSequence()) - tgt.setStandardSequence(CodeableConcept30_50.convertCodeableConcept(src.getStandardSequence())); - if (src.hasStart()) - tgt.setStartElement(Integer30_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer30_50.convertInteger(src.getEndElement())); - if (src.hasScore()) - tgt.setScore(Quantity30_50.convertQuantity(src.getScore())); - if (src.hasMethod()) - tgt.setMethod(CodeableConcept30_50.convertCodeableConcept(src.getMethod())); - if (src.hasTruthTP()) - tgt.setTruthTPElement(Decimal30_50.convertDecimal(src.getTruthTPElement())); - if (src.hasQueryTP()) - tgt.setQueryTPElement(Decimal30_50.convertDecimal(src.getQueryTPElement())); - if (src.hasTruthFN()) - tgt.setTruthFNElement(Decimal30_50.convertDecimal(src.getTruthFNElement())); - if (src.hasQueryFP()) - tgt.setQueryFPElement(Decimal30_50.convertDecimal(src.getQueryFPElement())); - if (src.hasGtFP()) - tgt.setGtFPElement(Decimal30_50.convertDecimal(src.getGtFPElement())); - if (src.hasPrecision()) - tgt.setPrecisionElement(Decimal30_50.convertDecimal(src.getPrecisionElement())); - if (src.hasRecall()) - tgt.setRecallElement(Decimal30_50.convertDecimal(src.getRecallElement())); - if (src.hasFScore()) - tgt.setFScoreElement(Decimal30_50.convertDecimal(src.getFScoreElement())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent convertSequenceQualityComponent(org.hl7.fhir.dstu3.model.Sequence.SequenceQualityComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertQualityType(src.getTypeElement())); - if (src.hasStandardSequence()) - tgt.setStandardSequence(CodeableConcept30_50.convertCodeableConcept(src.getStandardSequence())); - if (src.hasStart()) - tgt.setStartElement(Integer30_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer30_50.convertInteger(src.getEndElement())); - if (src.hasScore()) - tgt.setScore(Quantity30_50.convertQuantity(src.getScore())); - if (src.hasMethod()) - tgt.setMethod(CodeableConcept30_50.convertCodeableConcept(src.getMethod())); - if (src.hasTruthTP()) - tgt.setTruthTPElement(Decimal30_50.convertDecimal(src.getTruthTPElement())); - if (src.hasQueryTP()) - tgt.setQueryTPElement(Decimal30_50.convertDecimal(src.getQueryTPElement())); - if (src.hasTruthFN()) - tgt.setTruthFNElement(Decimal30_50.convertDecimal(src.getTruthFNElement())); - if (src.hasQueryFP()) - tgt.setQueryFPElement(Decimal30_50.convertDecimal(src.getQueryFPElement())); - if (src.hasGtFP()) - tgt.setGtFPElement(Decimal30_50.convertDecimal(src.getGtFPElement())); - if (src.hasPrecision()) - tgt.setPrecisionElement(Decimal30_50.convertDecimal(src.getPrecisionElement())); - if (src.hasRecall()) - tgt.setRecallElement(Decimal30_50.convertDecimal(src.getRecallElement())); - if (src.hasFScore()) - tgt.setFScoreElement(Decimal30_50.convertDecimal(src.getFScoreElement())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent convertSequenceReferenceSeqComponent(org.hl7.fhir.dstu3.model.Sequence.SequenceReferenceSeqComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasChromosome()) - tgt.setChromosome(CodeableConcept30_50.convertCodeableConcept(src.getChromosome())); - if (src.hasGenomeBuild()) - tgt.setGenomeBuildElement(String30_50.convertString(src.getGenomeBuildElement())); - if (src.hasReferenceSeqId()) - tgt.setReferenceSeqId(CodeableConcept30_50.convertCodeableConcept(src.getReferenceSeqId())); - if (src.hasReferenceSeqPointer()) - tgt.setReferenceSeqPointer(Reference30_50.convertReference(src.getReferenceSeqPointer())); - if (src.hasReferenceSeqString()) - tgt.setReferenceSeqStringElement(String30_50.convertString(src.getReferenceSeqStringElement())); - if (src.hasWindowStart()) - tgt.setWindowStartElement(Integer30_50.convertInteger(src.getWindowStartElement())); - if (src.hasWindowEnd()) - tgt.setWindowEndElement(Integer30_50.convertInteger(src.getWindowEndElement())); - return tgt; - } - - public static org.hl7.fhir.dstu3.model.Sequence.SequenceReferenceSeqComponent convertSequenceReferenceSeqComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.dstu3.model.Sequence.SequenceReferenceSeqComponent tgt = new org.hl7.fhir.dstu3.model.Sequence.SequenceReferenceSeqComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasChromosome()) - tgt.setChromosome(CodeableConcept30_50.convertCodeableConcept(src.getChromosome())); - if (src.hasGenomeBuild()) - tgt.setGenomeBuildElement(String30_50.convertString(src.getGenomeBuildElement())); - if (src.hasReferenceSeqId()) - tgt.setReferenceSeqId(CodeableConcept30_50.convertCodeableConcept(src.getReferenceSeqId())); - if (src.hasReferenceSeqPointer()) - tgt.setReferenceSeqPointer(Reference30_50.convertReference(src.getReferenceSeqPointer())); - if (src.hasReferenceSeqString()) - tgt.setReferenceSeqStringElement(String30_50.convertString(src.getReferenceSeqStringElement())); - if (src.hasWindowStart()) - tgt.setWindowStartElement(Integer30_50.convertInteger(src.getWindowStartElement())); - if (src.hasWindowEnd()) - tgt.setWindowEndElement(Integer30_50.convertInteger(src.getWindowEndElement())); - return tgt; - } - - public static org.hl7.fhir.dstu3.model.Sequence.SequenceRepositoryComponent convertSequenceRepositoryComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.dstu3.model.Sequence.SequenceRepositoryComponent tgt = new org.hl7.fhir.dstu3.model.Sequence.SequenceRepositoryComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertRepositoryType(src.getTypeElement())); - if (src.hasUrl()) - tgt.setUrlElement(Uri30_50.convertUri(src.getUrlElement())); - if (src.hasName()) - tgt.setNameElement(String30_50.convertString(src.getNameElement())); - if (src.hasDatasetId()) - tgt.setDatasetIdElement(String30_50.convertString(src.getDatasetIdElement())); - if (src.hasVariantsetId()) - tgt.setVariantsetIdElement(String30_50.convertString(src.getVariantsetIdElement())); - if (src.hasReadsetId()) - tgt.setReadsetIdElement(String30_50.convertString(src.getReadsetIdElement())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent convertSequenceRepositoryComponent(org.hl7.fhir.dstu3.model.Sequence.SequenceRepositoryComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertRepositoryType(src.getTypeElement())); - if (src.hasUrl()) - tgt.setUrlElement(Uri30_50.convertUri(src.getUrlElement())); - if (src.hasName()) - tgt.setNameElement(String30_50.convertString(src.getNameElement())); - if (src.hasDatasetId()) - tgt.setDatasetIdElement(String30_50.convertString(src.getDatasetIdElement())); - if (src.hasVariantsetId()) - tgt.setVariantsetIdElement(String30_50.convertString(src.getVariantsetIdElement())); - if (src.hasReadsetId()) - tgt.setReadsetIdElement(String30_50.convertString(src.getReadsetIdElement())); - return tgt; - } - - static public org.hl7.fhir.dstu3.model.Enumeration convertSequenceType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.dstu3.model.Enumeration tgt = new org.hl7.fhir.dstu3.model.Enumeration<>(new org.hl7.fhir.dstu3.model.Sequence.SequenceTypeEnumFactory()); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - switch (src.getValue()) { - case AA: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.SequenceType.AA); - break; - case DNA: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.SequenceType.DNA); - break; - case RNA: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.SequenceType.RNA); - break; - default: - tgt.setValue(org.hl7.fhir.dstu3.model.Sequence.SequenceType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertSequenceType(org.hl7.fhir.dstu3.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.SequenceTypeEnumFactory()); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - switch (src.getValue()) { - case AA: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.AA); - break; - case DNA: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.DNA); - break; - case RNA: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.RNA); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.NULL); - break; - } - return tgt; - } - - public static org.hl7.fhir.dstu3.model.Sequence.SequenceVariantComponent convertSequenceVariantComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.dstu3.model.Sequence.SequenceVariantComponent tgt = new org.hl7.fhir.dstu3.model.Sequence.SequenceVariantComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer30_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer30_50.convertInteger(src.getEndElement())); - if (src.hasObservedAllele()) - tgt.setObservedAlleleElement(String30_50.convertString(src.getObservedAlleleElement())); - if (src.hasReferenceAllele()) - tgt.setReferenceAlleleElement(String30_50.convertString(src.getReferenceAlleleElement())); - if (src.hasCigar()) - tgt.setCigarElement(String30_50.convertString(src.getCigarElement())); - if (src.hasVariantPointer()) - tgt.setVariantPointer(Reference30_50.convertReference(src.getVariantPointer())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent convertSequenceVariantComponent(org.hl7.fhir.dstu3.model.Sequence.SequenceVariantComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent(); - ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer30_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer30_50.convertInteger(src.getEndElement())); - if (src.hasObservedAllele()) - tgt.setObservedAlleleElement(String30_50.convertString(src.getObservedAlleleElement())); - if (src.hasReferenceAllele()) - tgt.setReferenceAlleleElement(String30_50.convertString(src.getReferenceAlleleElement())); - if (src.hasCigar()) - tgt.setCigarElement(String30_50.convertString(src.getCigarElement())); - if (src.hasVariantPointer()) - tgt.setVariantPointer(Reference30_50.convertReference(src.getVariantPointer())); - return tgt; - } -} \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Slot30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Slot30_50.java index c3984eb2e..7756a2e96 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Slot30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Slot30_50.java @@ -8,6 +8,7 @@ import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Bool import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.Instant30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableReference; public class Slot30_50 { @@ -21,7 +22,7 @@ public class Slot30_50 { if (src.hasServiceCategory()) tgt.addServiceCategory(CodeableConcept30_50.convertCodeableConcept(src.getServiceCategory())); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t)); + tgt.addServiceType(new CodeableReference().setConcept(CodeableConcept30_50.convertCodeableConcept(t))); for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept30_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) @@ -50,8 +51,9 @@ public class Slot30_50 { tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); if (src.hasServiceCategory()) tgt.setServiceCategory(CodeableConcept30_50.convertCodeableConcept(src.getServiceCategoryFirstRep())); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t)); + for (CodeableReference t : src.getServiceType()) + if (t.hasConcept()) + tgt.addServiceType(CodeableConcept30_50.convertCodeableConcept(t.getConcept())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept30_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Specimen30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Specimen30_50.java index 99aeaad3e..04ffea10e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Specimen30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/Specimen30_50.java @@ -111,18 +111,18 @@ public class Specimen30_50 { return null; org.hl7.fhir.dstu3.model.Specimen.SpecimenContainerComponent tgt = new org.hl7.fhir.dstu3.model.Specimen.SpecimenContainerComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); - if (src.hasDescription()) - tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); - if (src.hasType()) - tgt.setType(CodeableConcept30_50.convertCodeableConcept(src.getType())); - if (src.hasCapacity()) - tgt.setCapacity(SimpleQuantity30_50.convertSimpleQuantity(src.getCapacity())); - if (src.hasSpecimenQuantity()) - tgt.setSpecimenQuantity(SimpleQuantity30_50.convertSimpleQuantity(src.getSpecimenQuantity())); - if (src.hasAdditive()) - tgt.setAdditive(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAdditive())); +// for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) +// tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); +// if (src.hasDescription()) +// tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); +// if (src.hasType()) +// tgt.setType(CodeableConcept30_50.convertCodeableConcept(src.getType())); +// if (src.hasCapacity()) +// tgt.setCapacity(SimpleQuantity30_50.convertSimpleQuantity(src.getCapacity())); +// if (src.hasSpecimenQuantity()) +// tgt.setSpecimenQuantity(SimpleQuantity30_50.convertSimpleQuantity(src.getSpecimenQuantity())); +// if (src.hasAdditive()) +// tgt.setAdditive(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAdditive())); return tgt; } @@ -131,18 +131,18 @@ public class Specimen30_50 { return null; org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent tgt = new org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); - for (org.hl7.fhir.dstu3.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); - if (src.hasDescription()) - tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); - if (src.hasType()) - tgt.setType(CodeableConcept30_50.convertCodeableConcept(src.getType())); - if (src.hasCapacity()) - tgt.setCapacity(SimpleQuantity30_50.convertSimpleQuantity(src.getCapacity())); - if (src.hasSpecimenQuantity()) - tgt.setSpecimenQuantity(SimpleQuantity30_50.convertSimpleQuantity(src.getSpecimenQuantity())); - if (src.hasAdditive()) - tgt.setAdditive(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAdditive())); +// for (org.hl7.fhir.dstu3.model.Identifier t : src.getIdentifier()) +// tgt.addIdentifier(Identifier30_50.convertIdentifier(t)); +// if (src.hasDescription()) +// tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); +// if (src.hasType()) +// tgt.setType(CodeableConcept30_50.convertCodeableConcept(src.getType())); +// if (src.hasCapacity()) +// tgt.setCapacity(SimpleQuantity30_50.convertSimpleQuantity(src.getCapacity())); +// if (src.hasSpecimenQuantity()) +// tgt.setSpecimenQuantity(SimpleQuantity30_50.convertSimpleQuantity(src.getSpecimenQuantity())); +// if (src.hasAdditive()) +// tgt.setAdditive(ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().convertType(src.getAdditive())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestReport30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestReport30_50.java index ca65f8161..73dc971c2 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestReport30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestReport30_50.java @@ -4,6 +4,7 @@ import org.hl7.fhir.convertors.context.ConversionContext30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Reference30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.complextypes30_50.Identifier30_50; import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.*; +import org.hl7.fhir.dstu3.model.Reference; import org.hl7.fhir.exceptions.FHIRException; public class TestReport30_50 { @@ -20,7 +21,7 @@ public class TestReport30_50 { if (src.hasStatus()) tgt.setStatusElement(convertTestReportStatus(src.getStatusElement())); if (src.hasTestScript()) - tgt.setTestScript(Reference30_50.convertReference(src.getTestScript())); + tgt.setTestScript(new Reference().setReference(src.getTestScript())); if (src.hasResult()) tgt.setResultElement(convertTestReportResult(src.getResultElement())); if (src.hasScore()) @@ -52,7 +53,7 @@ public class TestReport30_50 { if (src.hasStatus()) tgt.setStatusElement(convertTestReportStatus(src.getStatusElement())); if (src.hasTestScript()) - tgt.setTestScript(Reference30_50.convertReference(src.getTestScript())); + tgt.setTestScript(src.getTestScript().getReference()); if (src.hasResult()) tgt.setResultElement(convertTestReportResult(src.getResultElement())); if (src.hasScore()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestScript30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestScript30_50.java index f544b331e..7c77117cc 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestScript30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/TestScript30_50.java @@ -426,7 +426,7 @@ public class TestScript30_50 { ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasType()) tgt.setType(Coding30_50.convertCoding(src.getType())); if (src.hasResource()) - tgt.setResource(org.hl7.fhir.r5.model.TestScript.FHIRDefinedType.fromCode(src.getResource())); + tgt.setResource(src.getResource()); if (src.hasLabel()) tgt.setLabelElement(String30_50.convertString(src.getLabelElement())); if (src.hasDescription()) tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); if (src.hasAccept()) tgt.setAccept(convertContentType(src.getAccept())); @@ -451,7 +451,7 @@ public class TestScript30_50 { org.hl7.fhir.dstu3.model.TestScript.SetupActionOperationComponent tgt = new org.hl7.fhir.dstu3.model.TestScript.SetupActionOperationComponent(); ConversionContext30_50.INSTANCE.getVersionConvertor_30_50().copyElement(src, tgt); if (src.hasType()) tgt.setType(Coding30_50.convertCoding(src.getType())); - if (src.hasResource()) tgt.setResource(src.getResource().toCode()); + if (src.hasResource()) tgt.setResource(src.getResource()); if (src.hasLabel()) tgt.setLabelElement(String30_50.convertString(src.getLabelElement())); if (src.hasDescription()) tgt.setDescriptionElement(String30_50.convertString(src.getDescriptionElement())); if (src.hasAccept()) tgt.setAccept(convertContentType(src.getAccept())); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/Date40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/Date40_50.java index 204aa486a..34547f931 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/Date40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/Date40_50.java @@ -1,7 +1,10 @@ package org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50; +import org.hl7.fhir.convertors.context.ConversionContext10_50; import org.hl7.fhir.convertors.context.ConversionContext40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r4.model.DateType; +import org.hl7.fhir.r5.model.DateTimeType; public class Date40_50 { public static org.hl7.fhir.r5.model.DateType convertDate(org.hl7.fhir.r4.model.DateType src) throws FHIRException { @@ -15,4 +18,16 @@ public class Date40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); return tgt; } + + public static org.hl7.fhir.r5.model.DateTimeType convertDatetoDateTime(org.hl7.fhir.r4.model.DateType src) { + org.hl7.fhir.r5.model.DateTimeType tgt = src.hasValue() ? new org.hl7.fhir.r5.model.DateTimeType(src.getValueAsString()) : new org.hl7.fhir.r5.model.DateTimeType(); + ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); + return tgt; + } + + public static org.hl7.fhir.r4.model.DateType convertDateTimeToDate(org.hl7.fhir.r5.model.DateTimeType src) { + org.hl7.fhir.r4.model.DateType tgt = src.hasValue() ? new org.hl7.fhir.r4.model.DateType(src.getValueAsString()) : new org.hl7.fhir.r4.model.DateType(); + ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); + return tgt; + } } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/String40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/String40_50.java index 706fe6e35..9366b7b04 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/String40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/primitive40_50/String40_50.java @@ -1,5 +1,6 @@ package org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50; +import org.hl7.fhir.convertors.context.ConversionContext30_50; import org.hl7.fhir.convertors.context.ConversionContext40_50; import org.hl7.fhir.exceptions.FHIRException; @@ -15,4 +16,19 @@ public class String40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); return tgt; } + + + + public static org.hl7.fhir.r5.model.MarkdownType convertStringToMarkdown(org.hl7.fhir.r4.model.StringType src) throws FHIRException { + org.hl7.fhir.r5.model.MarkdownType tgt = src.hasValue() ? new org.hl7.fhir.r5.model.MarkdownType(src.getValueAsString()) : new org.hl7.fhir.r5.model.MarkdownType(); + ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); + return tgt; + } + + public static org.hl7.fhir.r4.model.StringType convertMarkdownToString(org.hl7.fhir.r5.model.MarkdownType src) throws FHIRException { + org.hl7.fhir.r4.model.StringType tgt = src.hasValue() ? new org.hl7.fhir.r4.model.StringType(src.getValue()) : new org.hl7.fhir.r4.model.StringType(); + ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); + return tgt; + } + } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/special40_50/Dosage40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/special40_50/Dosage40_50.java index 6057167e7..bec218e94 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/special40_50/Dosage40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/datatypes40_50/special40_50/Dosage40_50.java @@ -6,6 +6,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableCon import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Ratio40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.SimpleQuantity40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Timing40_50; +import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Boolean40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Integer40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_50; import org.hl7.fhir.exceptions.FHIRException; @@ -22,14 +23,17 @@ public class Dosage40_50 { if (src.hasPatientInstruction()) tgt.setPatientInstructionElement(String40_50.convertString(src.getPatientInstructionElement())); if (src.hasTiming()) tgt.setTiming(Timing40_50.convertTiming(src.getTiming())); - if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAsNeeded())); + if (src.hasAsNeededBooleanType()) + tgt.setAsNeededElement(Boolean40_50.convertBoolean(src.getAsNeededBooleanType())); + if (src.hasAsNeededCodeableConcept()) { + tgt.addAsNeededFor(CodeableConcept40_50.convertCodeableConcept(src.getAsNeededCodeableConcept())); + } if (src.hasSite()) tgt.setSite(CodeableConcept40_50.convertCodeableConcept(src.getSite())); if (src.hasRoute()) tgt.setRoute(CodeableConcept40_50.convertCodeableConcept(src.getRoute())); if (src.hasMethod()) tgt.setMethod(CodeableConcept40_50.convertCodeableConcept(src.getMethod())); for (org.hl7.fhir.r4.model.Dosage.DosageDoseAndRateComponent t : src.getDoseAndRate()) tgt.addDoseAndRate(convertDosageDoseAndRateComponent(t)); - if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio40_50.convertRatio(src.getMaxDosePerPeriod())); + if (src.hasMaxDosePerPeriod()) tgt.addMaxDosePerPeriod(Ratio40_50.convertRatio(src.getMaxDosePerPeriod())); if (src.hasMaxDosePerAdministration()) tgt.setMaxDosePerAdministration(SimpleQuantity40_50.convertSimpleQuantity(src.getMaxDosePerAdministration())); if (src.hasMaxDosePerLifetime()) @@ -49,13 +53,15 @@ public class Dosage40_50 { tgt.setPatientInstructionElement(String40_50.convertString(src.getPatientInstructionElement())); if (src.hasTiming()) tgt.setTiming(Timing40_50.convertTiming(src.getTiming())); if (src.hasAsNeeded()) - tgt.setAsNeeded(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAsNeeded())); + tgt.setAsNeeded(Boolean40_50.convertBoolean(src.getAsNeededElement())); + if (src.hasAsNeededFor()) + tgt.setAsNeeded(CodeableConcept40_50.convertCodeableConcept(src.getAsNeededForFirstRep())); if (src.hasSite()) tgt.setSite(CodeableConcept40_50.convertCodeableConcept(src.getSite())); if (src.hasRoute()) tgt.setRoute(CodeableConcept40_50.convertCodeableConcept(src.getRoute())); if (src.hasMethod()) tgt.setMethod(CodeableConcept40_50.convertCodeableConcept(src.getMethod())); for (org.hl7.fhir.r5.model.Dosage.DosageDoseAndRateComponent t : src.getDoseAndRate()) tgt.addDoseAndRate(convertDosageDoseAndRateComponent(t)); - if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio40_50.convertRatio(src.getMaxDosePerPeriod())); + if (src.hasMaxDosePerPeriod()) tgt.setMaxDosePerPeriod(Ratio40_50.convertRatio(src.getMaxDosePerPeriodFirstRep())); if (src.hasMaxDosePerAdministration()) tgt.setMaxDosePerAdministration(SimpleQuantity40_50.convertSimpleQuantity(src.getMaxDosePerAdministration())); if (src.hasMaxDosePerLifetime()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/AllergyIntolerance40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/AllergyIntolerance40_50.java index f362d1af7..da21bfdf9 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/AllergyIntolerance40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/AllergyIntolerance40_50.java @@ -1,6 +1,7 @@ package org.hl7.fhir.convertors.conv40_50.resources40_50; import org.hl7.fhir.convertors.context.ConversionContext40_50; +import org.hl7.fhir.convertors.conv30_50.datatypes30_50.Reference30_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Annotation40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableConcept40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Identifier40_50; @@ -8,7 +9,10 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.DateTime4 import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableConcept; import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; +import org.hl7.fhir.r5.model.AllergyIntolerance.AllergyIntoleranceParticipantComponent; import java.util.stream.Collectors; @@ -72,9 +76,13 @@ public class AllergyIntolerance40_50 { if (src.hasRecordedDate()) tgt.setRecordedDateElement(DateTime40_50.convertDateTime(src.getRecordedDateElement())); if (src.hasRecorder()) - tgt.setRecorder(Reference40_50.convertReference(src.getRecorder())); + tgt.addParticipant(new AllergyIntoleranceParticipantComponent() + .setFunction(new CodeableConcept().addCoding(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "author", "Author"))) + .setActor(Reference40_50.convertReference(src.getRecorder()))); if (src.hasAsserter()) - tgt.setAsserter(Reference40_50.convertReference(src.getAsserter())); + tgt.addParticipant(new AllergyIntoleranceParticipantComponent() + .setFunction(new CodeableConcept().addCoding(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "attester", "Attester"))) + .setActor(Reference40_50.convertReference(src.getRecorder()))); if (src.hasLastOccurrence()) tgt.setLastOccurrenceElement(DateTime40_50.convertDateTime(src.getLastOccurrenceElement())); for (org.hl7.fhir.r4.model.Annotation t : src.getNote()) tgt.addNote(Annotation40_50.convertAnnotation(t)); @@ -111,10 +119,12 @@ public class AllergyIntolerance40_50 { tgt.setOnset(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getOnset())); if (src.hasRecordedDate()) tgt.setRecordedDateElement(DateTime40_50.convertDateTime(src.getRecordedDateElement())); - if (src.hasRecorder()) - tgt.setRecorder(Reference40_50.convertReference(src.getRecorder())); - if (src.hasAsserter()) - tgt.setAsserter(Reference40_50.convertReference(src.getAsserter())); + for (AllergyIntoleranceParticipantComponent t : src.getParticipant()) { + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "author")) + tgt.setRecorder(Reference40_50.convertReference(t.getActor())); + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "attester")) + tgt.setAsserter(Reference40_50.convertReference(t.getActor())); + } if (src.hasLastOccurrence()) tgt.setLastOccurrenceElement(DateTime40_50.convertDateTime(src.getLastOccurrenceElement())); for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(Annotation40_50.convertAnnotation(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Appointment40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Appointment40_50.java index eeeb080a0..8f53e66a4 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Appointment40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Appointment40_50.java @@ -60,7 +60,7 @@ public class Appointment40_50 { for (org.hl7.fhir.r4.model.CodeableConcept t : src.getServiceCategory()) tgt.addServiceCategory(CodeableConcept40_50.convertCodeableConcept(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t)); + tgt.addServiceType().setConcept(CodeableConcept40_50.convertCodeableConcept(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) @@ -109,8 +109,8 @@ public class Appointment40_50 { tgt.setCancelationReason(CodeableConcept40_50.convertCodeableConcept(src.getCancellationReason())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceCategory()) tgt.addServiceCategory(CodeableConcept40_50.convertCodeableConcept(t)); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t)); + for (org.hl7.fhir.r5.model.CodeableReference t : src.getServiceType()) + tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t.getConcept())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Basic40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Basic40_50.java index 6e4e88f98..12626b6ee 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Basic40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Basic40_50.java @@ -50,7 +50,7 @@ public class Basic40_50 { if (src.hasSubject()) tgt.setSubject(Reference40_50.convertReference(src.getSubject())); if (src.hasCreated()) - tgt.setCreatedElement(Date40_50.convertDate(src.getCreatedElement())); + tgt.setCreatedElement(Date40_50.convertDatetoDateTime(src.getCreatedElement())); if (src.hasAuthor()) tgt.setAuthor(Reference40_50.convertReference(src.getAuthor())); return tgt; @@ -68,7 +68,7 @@ public class Basic40_50 { if (src.hasSubject()) tgt.setSubject(Reference40_50.convertReference(src.getSubject())); if (src.hasCreated()) - tgt.setCreatedElement(Date40_50.convertDate(src.getCreatedElement())); + tgt.setCreatedElement(Date40_50.convertDateTimeToDate(src.getCreatedElement())); if (src.hasAuthor()) tgt.setAuthor(Reference40_50.convertReference(src.getAuthor())); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BiologicallyDerivedProduct40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BiologicallyDerivedProduct40_50.java index eb256a4c2..16b1d59a4 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BiologicallyDerivedProduct40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BiologicallyDerivedProduct40_50.java @@ -48,12 +48,12 @@ public class BiologicallyDerivedProduct40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyDomainResource(src, tgt); for (org.hl7.fhir.r4.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); - if (src.hasProductCategory()) - tgt.setProductCategoryElement(convertBiologicallyDerivedProductCategory(src.getProductCategoryElement())); - if (src.hasProductCode()) - tgt.setProductCode(CodeableConcept40_50.convertCodeableConcept(src.getProductCode())); - if (src.hasStatus()) - tgt.setStatusElement(convertBiologicallyDerivedProductStatus(src.getStatusElement())); +// if (src.hasProductCategory()) +// tgt.setProductCategoryElement(convertBiologicallyDerivedProductCategory(src.getProductCategoryElement())); +// if (src.hasProductCode()) +// tgt.setProductCode(CodeableConcept40_50.convertCodeableConcept(src.getProductCode())); +// if (src.hasStatus()) +// tgt.setStatusElement(convertBiologicallyDerivedProductStatus(src.getStatusElement())); for (org.hl7.fhir.r4.model.Reference t : src.getRequest()) tgt.addRequest(Reference40_50.convertReference(t)); // if (src.hasQuantity()) // tgt.setQuantityElement(Integer40_50.convertInteger(src.getQuantityElement())); @@ -76,12 +76,12 @@ public class BiologicallyDerivedProduct40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyDomainResource(src, tgt); for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); - if (src.hasProductCategory()) - tgt.setProductCategoryElement(convertBiologicallyDerivedProductCategory(src.getProductCategoryElement())); - if (src.hasProductCode()) - tgt.setProductCode(CodeableConcept40_50.convertCodeableConcept(src.getProductCode())); - if (src.hasStatus()) - tgt.setStatusElement(convertBiologicallyDerivedProductStatus(src.getStatusElement())); +// if (src.hasProductCategory()) +// tgt.setProductCategoryElement(convertBiologicallyDerivedProductCategory(src.getProductCategoryElement())); +// if (src.hasProductCode()) +// tgt.setProductCode(CodeableConcept40_50.convertCodeableConcept(src.getProductCode())); +// if (src.hasStatus()) +// tgt.setStatusElement(convertBiologicallyDerivedProductStatus(src.getStatusElement())); for (org.hl7.fhir.r5.model.Reference t : src.getRequest()) tgt.addRequest(Reference40_50.convertReference(t)); // if (src.hasQuantity()) // tgt.setQuantityElement(Integer40_50.convertInteger(src.getQuantityElement())); @@ -96,100 +96,100 @@ public class BiologicallyDerivedProduct40_50 { // tgt.addStorage(convertBiologicallyDerivedProductStorageComponent(t)); return tgt; } - - static public org.hl7.fhir.r5.model.Enumeration convertBiologicallyDerivedProductCategory(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case ORGAN: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.ORGAN); - break; - case TISSUE: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.TISSUE); - break; - case FLUID: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.FLUID); - break; - case CELLS: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.CELLS); - break; - case BIOLOGICALAGENT: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.BIOLOGICALAGENT); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertBiologicallyDerivedProductCategory(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case ORGAN: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.ORGAN); - break; - case TISSUE: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.TISSUE); - break; - case FLUID: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.FLUID); - break; - case CELLS: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.CELLS); - break; - case BIOLOGICALAGENT: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.BIOLOGICALAGENT); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertBiologicallyDerivedProductStatus(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case AVAILABLE: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.AVAILABLE); - break; - case UNAVAILABLE: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.UNAVAILABLE); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertBiologicallyDerivedProductStatus(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case AVAILABLE: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.AVAILABLE); - break; - case UNAVAILABLE: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.UNAVAILABLE); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.NULL); - break; - } - return tgt; - } +// +// static public org.hl7.fhir.r5.model.Enumeration convertBiologicallyDerivedProductCategory(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { +// if (src == null || src.isEmpty()) +// return null; +// org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory()); +// ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); +// switch (src.getValue()) { +// case ORGAN: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.ORGAN); +// break; +// case TISSUE: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.TISSUE); +// break; +// case FLUID: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.FLUID); +// break; +// case CELLS: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.CELLS); +// break; +// case BIOLOGICALAGENT: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.BIOLOGICALAGENT); +// break; +// default: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.NULL); +// break; +// } +// return tgt; +// } +// +// static public org.hl7.fhir.r4.model.Enumeration convertBiologicallyDerivedProductCategory(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { +// if (src == null || src.isEmpty()) +// return null; +// org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory()); +// ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); +// switch (src.getValue()) { +// case ORGAN: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.ORGAN); +// break; +// case TISSUE: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.TISSUE); +// break; +// case FLUID: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.FLUID); +// break; +// case CELLS: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.CELLS); +// break; +// case BIOLOGICALAGENT: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.BIOLOGICALAGENT); +// break; +// default: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.NULL); +// break; +// } +// return tgt; +// } +// +// static public org.hl7.fhir.r5.model.Enumeration convertBiologicallyDerivedProductStatus(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { +// if (src == null || src.isEmpty()) +// return null; +// org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory()); +// ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); +// switch (src.getValue()) { +// case AVAILABLE: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.AVAILABLE); +// break; +// case UNAVAILABLE: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.UNAVAILABLE); +// break; +// default: +// tgt.setValue(org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.NULL); +// break; +// } +// return tgt; +// } +// +// static public org.hl7.fhir.r4.model.Enumeration convertBiologicallyDerivedProductStatus(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { +// if (src == null || src.isEmpty()) +// return null; +// org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory()); +// ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); +// switch (src.getValue()) { +// case AVAILABLE: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.AVAILABLE); +// break; +// case UNAVAILABLE: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.UNAVAILABLE); +// break; +// default: +// tgt.setValue(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.NULL); +// break; +// } +// return tgt; +// } public static org.hl7.fhir.r5.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent convertBiologicallyDerivedProductCollectionComponent(org.hl7.fhir.r4.model.BiologicallyDerivedProduct.BiologicallyDerivedProductCollectionComponent src) throws FHIRException { if (src == null) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BodyStructure40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BodyStructure40_50.java index a450ea18b..45f54f3d5 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BodyStructure40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/BodyStructure40_50.java @@ -51,8 +51,8 @@ public class BodyStructure40_50 { tgt.setActiveElement(Boolean40_50.convertBoolean(src.getActiveElement())); if (src.hasMorphology()) tgt.setMorphology(CodeableConcept40_50.convertCodeableConcept(src.getMorphology())); - if (src.hasLocation()) - tgt.setLocation(CodeableConcept40_50.convertCodeableConcept(src.getLocation())); +// if (src.hasLocation()) +// tgt.setLocation(CodeableConcept40_50.convertCodeableConcept(src.getLocation())); // for (org.hl7.fhir.r4.model.CodeableConcept t : src.getLocationQualifier()) // tgt.addLocationQualifier(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasDescription()) @@ -74,8 +74,8 @@ public class BodyStructure40_50 { tgt.setActiveElement(Boolean40_50.convertBoolean(src.getActiveElement())); if (src.hasMorphology()) tgt.setMorphology(CodeableConcept40_50.convertCodeableConcept(src.getMorphology())); - if (src.hasLocation()) - tgt.setLocation(CodeableConcept40_50.convertCodeableConcept(src.getLocation())); +// if (src.hasLocation()) +// tgt.setLocation(CodeableConcept40_50.convertCodeableConcept(src.getLocation())); // for (org.hl7.fhir.r5.model.CodeableConcept t : src.getLocationQualifier()) // tgt.addLocationQualifier(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasDescription()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/CarePlan40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/CarePlan40_50.java index 2fbb2fb2e..a7233758f 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/CarePlan40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/CarePlan40_50.java @@ -71,7 +71,7 @@ public class CarePlan40_50 { if (src.hasCreated()) tgt.setCreatedElement(DateTime40_50.convertDateTime(src.getCreatedElement())); if (src.hasAuthor()) - tgt.setAuthor(Reference40_50.convertReference(src.getAuthor())); + tgt.setCustodian(Reference40_50.convertReference(src.getAuthor())); for (org.hl7.fhir.r4.model.Reference t : src.getContributor()) tgt.addContributor(Reference40_50.convertReference(t)); for (org.hl7.fhir.r4.model.Reference t : src.getCareTeam()) tgt.addCareTeam(Reference40_50.convertReference(t)); @@ -118,8 +118,8 @@ public class CarePlan40_50 { tgt.setPeriod(Period40_50.convertPeriod(src.getPeriod())); if (src.hasCreated()) tgt.setCreatedElement(DateTime40_50.convertDateTime(src.getCreatedElement())); - if (src.hasAuthor()) - tgt.setAuthor(Reference40_50.convertReference(src.getAuthor())); + if (src.hasCustodian()) + tgt.setAuthor(Reference40_50.convertReference(src.getCustodian())); for (org.hl7.fhir.r5.model.Reference t : src.getContributor()) tgt.addContributor(Reference40_50.convertReference(t)); for (org.hl7.fhir.r5.model.Reference t : src.getCareTeam()) tgt.addCareTeam(Reference40_50.convertReference(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ConceptMap40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ConceptMap40_50.java index e76283c6a..fd3d7315a 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ConceptMap40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ConceptMap40_50.java @@ -2,6 +2,7 @@ package org.hl7.fhir.convertors.conv40_50.resources40_50; import org.hl7.fhir.convertors.VersionConvertorConstants; import org.hl7.fhir.convertors.context.ConversionContext40_50; +import org.hl7.fhir.convertors.conv30_50.datatypes30_50.primitivetypes30_50.String30_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableConcept40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Identifier40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.metadata40_50.ContactDetail40_50; @@ -10,6 +11,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.*; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence; import org.hl7.fhir.r5.model.CanonicalType; +import org.hl7.fhir.r5.model.Coding; import org.hl7.fhir.r5.model.Enumeration; import org.hl7.fhir.r5.model.Enumerations; import org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship; @@ -83,9 +85,9 @@ public class ConceptMap40_50 { if (src.hasCopyright()) tgt.setCopyrightElement(MarkDown40_50.convertMarkdown(src.getCopyrightElement())); if (src.hasSource()) - tgt.setSource(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getSource())); + tgt.setSourceScope(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getSource())); if (src.hasTarget()) - tgt.setTarget(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getTarget())); + tgt.setTargetScope(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getTarget())); for (org.hl7.fhir.r4.model.ConceptMap.ConceptMapGroupComponent t : src.getGroup()) tgt.addGroup(convertConceptMapGroupComponent(t)); return tgt; @@ -126,10 +128,10 @@ public class ConceptMap40_50 { tgt.setPurposeElement(MarkDown40_50.convertMarkdown(src.getPurposeElement())); if (src.hasCopyright()) tgt.setCopyrightElement(MarkDown40_50.convertMarkdown(src.getCopyrightElement())); - if (src.hasSource()) - tgt.setSource(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getSource())); - if (src.hasTarget()) - tgt.setTarget(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getTarget())); + if (src.hasSourceScope()) + tgt.setSource(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getSourceScope())); + if (src.hasTargetScope()) + tgt.setTarget(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getTargetScope())); for (org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent t : src.getGroup()) tgt.addGroup(convertConceptMapGroupComponent(t)); return tgt; @@ -350,12 +352,11 @@ public class ConceptMap40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasProperty()) tgt.setPropertyElement(Uri40_50.convertUri(src.getPropertyElement())); - if (src.hasSystem()) - tgt.setSystemElement(Canonical40_50.convertCanonical(src.getSystemElement())); - if (src.hasValue()) - tgt.setValueElement(String40_50.convertString(src.getValueElement())); - if (src.hasDisplay()) - tgt.setDisplayElement(String40_50.convertString(src.getDisplayElement())); + if (src.hasSystem()) { + tgt.setValue(new Coding().setSystem(src.getSystem()).setCode(src.getValue()).setDisplay(src.getDisplay())); + } else if (src.hasValueElement()) { + tgt.setValue(String40_50.convertString(src.getValueElement())); + } return tgt; } @@ -366,12 +367,15 @@ public class ConceptMap40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasProperty()) tgt.setPropertyElement(Uri40_50.convertUri(src.getPropertyElement())); - if (src.hasSystem()) - tgt.setSystemElement(Canonical40_50.convertCanonical(src.getSystemElement())); - if (src.hasValue()) - tgt.setValueElement(String40_50.convertString(src.getValueElement())); - if (src.hasDisplay()) - tgt.setDisplayElement(String40_50.convertString(src.getDisplayElement())); + + if (src.hasValueCoding()) { + tgt.setSystem(src.getValueCoding().getSystem()); + tgt.setValue(src.getValueCoding().getCode()); + tgt.setDisplay(src.getValueCoding().getDisplay()); + } else if (src.hasValue()) { + tgt.setValue(src.getValue().primitiveValue()); + } + return tgt; } @@ -387,7 +391,7 @@ public class ConceptMap40_50 { if (src.hasDisplay()) tgt.setDisplayElement(String40_50.convertString(src.getDisplayElement())); if (src.hasUrl()) - tgt.setUrlElement(Canonical40_50.convertCanonical(src.getUrlElement())); + tgt.setOtherMapElement(Canonical40_50.convertCanonical(src.getUrlElement())); return tgt; } @@ -402,40 +406,40 @@ public class ConceptMap40_50 { tgt.setCodeElement(Code40_50.convertCode(src.getCodeElement())); if (src.hasDisplay()) tgt.setDisplayElement(String40_50.convertString(src.getDisplayElement())); - if (src.hasUrl()) - tgt.setUrlElement(Canonical40_50.convertCanonical(src.getUrlElement())); + if (src.hasOtherMap()) + tgt.setUrlElement(Canonical40_50.convertCanonical(src.getOtherMapElement())); return tgt; } - static public org.hl7.fhir.r5.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { + static public org.hl7.fhir.r5.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { if (src == null || src.isEmpty()) return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedModeEnumFactory()); + org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedModeEnumFactory()); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); switch (src.getValue()) { case PROVIDED: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.PROVIDED); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.USESOURCECODE); break; case FIXED: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.FIXED); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.FIXED); break; case OTHERMAP: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.OTHERMAP); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.OTHERMAP); break; default: - tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode.NULL); + tgt.setValue(org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode.NULL); break; } return tgt; } - static public org.hl7.fhir.r4.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { + static public org.hl7.fhir.r4.model.Enumeration convertConceptMapGroupUnmappedMode(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.ConceptMap.ConceptMapGroupUnmappedModeEnumFactory()); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); switch (src.getValue()) { - case PROVIDED: + case USESOURCECODE: tgt.setValue(org.hl7.fhir.r4.model.ConceptMap.ConceptMapGroupUnmappedMode.PROVIDED); break; case FIXED: diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Condition40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Condition40_50.java index 29dac450a..8ecb5bcd1 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Condition40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Condition40_50.java @@ -1,5 +1,9 @@ package org.hl7.fhir.convertors.conv40_50.resources40_50; +import java.util.ArrayList; +import java.util.List; + +import org.hl7.fhir.convertors.context.ConversionContext40_50; import org.hl7.fhir.convertors.context.ConversionContext40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Annotation40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableConcept40_50; @@ -7,6 +11,10 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Identifier4 import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.DateTime40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableConcept; +import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; +import org.hl7.fhir.r5.model.Condition.ConditionParticipantComponent; /* Copyright (c) 2011+, HL7, Inc. @@ -69,13 +77,13 @@ public class Condition40_50 { if (src.hasRecordedDate()) tgt.setRecordedDateElement(DateTime40_50.convertDateTime(src.getRecordedDateElement())); if (src.hasRecorder()) - tgt.setRecorder(Reference40_50.convertReference(src.getRecorder())); + tgt.addParticipant().setFunction(new CodeableConcept(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "author", "Author"))).setActor(Reference40_50.convertReference(src.getRecorder())); if (src.hasAsserter()) - tgt.setAsserter(Reference40_50.convertReference(src.getAsserter())); + tgt.addParticipant().setFunction(new CodeableConcept(new Coding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "informant", "Informant"))).setActor(Reference40_50.convertReference(src.getAsserter())); for (org.hl7.fhir.r4.model.Condition.ConditionStageComponent t : src.getStage()) tgt.addStage(convertConditionStageComponent(t)); for (org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent t : src.getEvidence()) - tgt.addEvidence(convertConditionEvidenceComponent(t)); + tgt.getEvidence().addAll(convertConditionEvidenceComponent(t)); for (org.hl7.fhir.r4.model.Annotation t : src.getNote()) tgt.addNote(Annotation40_50.convertAnnotation(t)); return tgt; } @@ -109,13 +117,15 @@ public class Condition40_50 { tgt.setAbatement(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAbatement())); if (src.hasRecordedDate()) tgt.setRecordedDateElement(DateTime40_50.convertDateTime(src.getRecordedDateElement())); - if (src.hasRecorder()) - tgt.setRecorder(Reference40_50.convertReference(src.getRecorder())); - if (src.hasAsserter()) - tgt.setAsserter(Reference40_50.convertReference(src.getAsserter())); + for (org.hl7.fhir.r5.model.Condition.ConditionParticipantComponent t : src.getParticipant()) { + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "author")) + tgt.setRecorder(Reference40_50.convertReference(t.getActor())); + if (t.getFunction().hasCoding("http://terminology.hl7.org/CodeSystem/provenance-participant-type", "informant")) + tgt.setAsserter(Reference40_50.convertReference(t.getActor())); + } for (org.hl7.fhir.r5.model.Condition.ConditionStageComponent t : src.getStage()) tgt.addStage(convertConditionStageComponent(t)); - for (org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent t : src.getEvidence()) + for (CodeableReference t : src.getEvidence()) tgt.addEvidence(convertConditionEvidenceComponent(t)); for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(Annotation40_50.convertAnnotation(t)); return tgt; @@ -147,25 +157,35 @@ public class Condition40_50 { return tgt; } - public static org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent src) throws FHIRException { + public static List convertConditionEvidenceComponent(org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent src) throws FHIRException { if (src == null) return null; - org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent tgt = new org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - for (org.hl7.fhir.r4.model.CodeableConcept t : src.getCode()) - tgt.addCode(CodeableConcept40_50.convertCodeableConcept(t)); - for (org.hl7.fhir.r4.model.Reference t : src.getDetail()) tgt.addDetail(Reference40_50.convertReference(t)); - return tgt; + List list = new ArrayList<>(); + for (org.hl7.fhir.r4.model.CodeableConcept t : src.getCode()) { + org.hl7.fhir.r5.model.CodeableReference tgt = new org.hl7.fhir.r5.model.CodeableReference(); + ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); + tgt.setConcept(CodeableConcept40_50.convertCodeableConcept(t)); + list.add(tgt); + } + for (org.hl7.fhir.r4.model.Reference t : src.getDetail()) { + org.hl7.fhir.r5.model.CodeableReference tgt = new org.hl7.fhir.r5.model.CodeableReference(); + ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); + tgt.setReference(Reference40_50.convertReference(t)); + list.add(tgt); + } + return list; } - public static org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r5.model.Condition.ConditionEvidenceComponent src) throws FHIRException { + public static org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent convertConditionEvidenceComponent(org.hl7.fhir.r5.model.CodeableReference src) throws FHIRException { if (src == null) return null; org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent tgt = new org.hl7.fhir.r4.model.Condition.ConditionEvidenceComponent(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getCode()) - tgt.addCode(CodeableConcept40_50.convertCodeableConcept(t)); - for (org.hl7.fhir.r5.model.Reference t : src.getDetail()) tgt.addDetail(Reference40_50.convertReference(t)); + if (src.hasConcept()) + tgt.addCode(CodeableConcept40_50.convertCodeableConcept(src.getConcept())); + if (src.hasReference()) + tgt.addDetail(Reference40_50.convertReference(src.getReference())); return tgt; } + } \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Consent40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Consent40_50.java index 94a731542..324d53cb4 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Consent40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Consent40_50.java @@ -62,10 +62,10 @@ public class Consent40_50 { tgt.addSourceAttachment(Attachment40_50.convertAttachment(src.getSourceAttachment())); if (src.hasSourceReference()) tgt.addSourceReference(Reference40_50.convertReference(src.getSourceReference())); - for (org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent t : src.getPolicy()) - tgt.addPolicy(convertConsentPolicyComponent(t)); - if (src.hasPolicyRule()) - tgt.setPolicyRule(CodeableConcept40_50.convertCodeableConcept(src.getPolicyRule())); +// for (org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent t : src.getPolicy()) +// tgt.addPolicy(convertConsentPolicyComponent(t)); +// if (src.hasPolicyRule()) +// tgt.setPolicyRule(CodeableConcept40_50.convertCodeableConcept(src.getPolicyRule())); for (org.hl7.fhir.r4.model.Consent.ConsentVerificationComponent t : src.getVerification()) tgt.addVerification(convertConsentVerificationComponent(t)); if (src.hasProvision()) @@ -98,10 +98,10 @@ public class Consent40_50 { tgt.setSource(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getSourceAttachmentFirstRep())); if (src.hasSourceReference()) tgt.setSource(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getSourceReferenceFirstRep())); - for (org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent t : src.getPolicy()) - tgt.addPolicy(convertConsentPolicyComponent(t)); - if (src.hasPolicyRule()) - tgt.setPolicyRule(CodeableConcept40_50.convertCodeableConcept(src.getPolicyRule())); +// for (org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent t : src.getPolicy()) +// tgt.addPolicy(convertConsentPolicyComponent(t)); +// if (src.hasPolicyRule()) +// tgt.setPolicyRule(CodeableConcept40_50.convertCodeableConcept(src.getPolicyRule())); for (org.hl7.fhir.r5.model.Consent.ConsentVerificationComponent t : src.getVerification()) tgt.addVerification(convertConsentVerificationComponent(t)); if (src.hasProvision()) @@ -165,29 +165,29 @@ public class Consent40_50 { return tgt; } - public static org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent tgt = new org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasAuthority()) - tgt.setAuthorityElement(Uri40_50.convertUri(src.getAuthorityElement())); - if (src.hasUri()) - tgt.setUriElement(Uri40_50.convertUri(src.getUriElement())); - return tgt; - } - - public static org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent tgt = new org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasAuthority()) - tgt.setAuthorityElement(Uri40_50.convertUri(src.getAuthorityElement())); - if (src.hasUri()) - tgt.setUriElement(Uri40_50.convertUri(src.getUriElement())); - return tgt; - } +// public static org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent src) throws FHIRException { +// if (src == null) +// return null; +// org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent tgt = new org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent(); +// ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); +// if (src.hasAuthority()) +// tgt.setAuthorityElement(Uri40_50.convertUri(src.getAuthorityElement())); +// if (src.hasUri()) +// tgt.setUriElement(Uri40_50.convertUri(src.getUriElement())); +// return tgt; +// } +// +// public static org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent convertConsentPolicyComponent(org.hl7.fhir.r5.model.Consent.ConsentPolicyComponent src) throws FHIRException { +// if (src == null) +// return null; +// org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent tgt = new org.hl7.fhir.r4.model.Consent.ConsentPolicyComponent(); +// ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); +// if (src.hasAuthority()) +// tgt.setAuthorityElement(Uri40_50.convertUri(src.getAuthorityElement())); +// if (src.hasUri()) +// tgt.setUriElement(Uri40_50.convertUri(src.getUriElement())); +// return tgt; +// } public static org.hl7.fhir.r5.model.Consent.ConsentVerificationComponent convertConsentVerificationComponent(org.hl7.fhir.r4.model.Consent.ConsentVerificationComponent src) throws FHIRException { if (src == null) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Device40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Device40_50.java index f774cc3ce..c3204137f 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Device40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Device40_50.java @@ -56,7 +56,7 @@ public class Device40_50 { for (org.hl7.fhir.r4.model.CodeableConcept t : src.getStatusReason()) tgt.addStatusReason(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasDistinctIdentifier()) - tgt.getBiologicalSource().setValueElement(String40_50.convertString(src.getDistinctIdentifierElement())); + tgt.getBiologicalSourceEvent().setValueElement(String40_50.convertString(src.getDistinctIdentifierElement())); if (src.hasManufacturer()) tgt.setManufacturerElement(String40_50.convertString(src.getManufacturerElement())); if (src.hasManufactureDate()) @@ -114,8 +114,8 @@ public class Device40_50 { tgt.setStatusElement(convertFHIRDeviceStatus(src.getStatusElement())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getStatusReason()) tgt.addStatusReason(CodeableConcept40_50.convertCodeableConcept(t)); - if (src.hasBiologicalSource()) - tgt.setDistinctIdentifierElement(String40_50.convertString(src.getBiologicalSource().getValueElement())); + if (src.hasBiologicalSourceEvent()) + tgt.setDistinctIdentifierElement(String40_50.convertString(src.getBiologicalSourceEvent().getValueElement())); if (src.hasManufacturer()) tgt.setManufacturerElement(String40_50.convertString(src.getManufacturerElement())); if (src.hasManufactureDate()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceDefinition40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceDefinition40_50.java index 34c998ed4..9c4f5251a 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceDefinition40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceDefinition40_50.java @@ -50,8 +50,8 @@ public class DeviceDefinition40_50 { tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); for (org.hl7.fhir.r4.model.DeviceDefinition.DeviceDefinitionUdiDeviceIdentifierComponent t : src.getUdiDeviceIdentifier()) tgt.addUdiDeviceIdentifier(convertDeviceDefinitionUdiDeviceIdentifierComponent(t)); - if (src.hasManufacturer()) - tgt.setManufacturer(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getManufacturer())); + if (src.hasManufacturerReference()) + tgt.setManufacturer(Reference40_50.convertReference(src.getManufacturerReference())); for (org.hl7.fhir.r4.model.DeviceDefinition.DeviceDefinitionDeviceNameComponent t : src.getDeviceName()) tgt.addDeviceName(convertDeviceDefinitionDeviceNameComponent(t)); if (src.hasModelNumber()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceRequest40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceRequest40_50.java index f75d88d27..6aeb44bab 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceRequest40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DeviceRequest40_50.java @@ -54,8 +54,8 @@ public class DeviceRequest40_50 { for (org.hl7.fhir.r4.model.UriType t : src.getInstantiatesUri()) tgt.getInstantiatesUri().add(Uri40_50.convertUri(t)); for (org.hl7.fhir.r4.model.Reference t : src.getBasedOn()) tgt.addBasedOn(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r4.model.Reference t : src.getPriorRequest()) - tgt.addPriorRequest(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r4.model.Reference t : src.getPriorRequest()) +// tgt.addPriorRequest(Reference40_50.convertReference(t)); if (src.hasGroupIdentifier()) tgt.setGroupIdentifier(Identifier40_50.convertIdentifier(src.getGroupIdentifier())); if (src.hasStatus()) @@ -110,8 +110,8 @@ public class DeviceRequest40_50 { for (org.hl7.fhir.r5.model.UriType t : src.getInstantiatesUri()) tgt.getInstantiatesUri().add(Uri40_50.convertUri(t)); for (org.hl7.fhir.r5.model.Reference t : src.getBasedOn()) tgt.addBasedOn(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r5.model.Reference t : src.getPriorRequest()) - tgt.addPriorRequest(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getPriorRequest()) +// tgt.addPriorRequest(Reference40_50.convertReference(t)); if (src.hasGroupIdentifier()) tgt.setGroupIdentifier(Identifier40_50.convertIdentifier(src.getGroupIdentifier())); if (src.hasStatus()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DocumentReference40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DocumentReference40_50.java index 1d34a01c4..b539f9b84 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DocumentReference40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/DocumentReference40_50.java @@ -7,7 +7,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.MarkDown4 import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; -import org.hl7.fhir.r5.model.DocumentReference.DocumentAttestationMode; +import org.hl7.fhir.r5.model.CodeableReference; import org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceAttesterComponent; /* @@ -64,7 +64,8 @@ public class DocumentReference40_50 { tgt.setDateElement(Instant40_50.convertInstant(src.getDateElement())); for (org.hl7.fhir.r4.model.Reference t : src.getAuthor()) tgt.addAuthor(Reference40_50.convertReference(t)); if (src.hasAuthenticator()) - tgt.addAttester().setMode(DocumentAttestationMode.OFFICIAL).setParty(Reference40_50.convertReference(src.getAuthenticator())); + tgt.addAttester().setMode(new org.hl7.fhir.r5.model.CodeableConcept().addCoding(new org.hl7.fhir.r5.model.Coding("http://hl7.org/fhir/composition-attestation-mode","official", "Official"))) + .setParty(Reference40_50.convertReference(src.getAuthenticator())); if (src.hasCustodian()) tgt.setCustodian(Reference40_50.convertReference(src.getCustodian())); for (org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceRelatesToComponent t : src.getRelatesTo()) @@ -103,7 +104,7 @@ public class DocumentReference40_50 { tgt.setDateElement(Instant40_50.convertInstant(src.getDateElement())); for (org.hl7.fhir.r5.model.Reference t : src.getAuthor()) tgt.addAuthor(Reference40_50.convertReference(t)); for (DocumentReferenceAttesterComponent t : src.getAttester()) { - if (t.getMode() == DocumentAttestationMode.OFFICIAL) + if (t.getMode().hasCoding("http://hl7.org/fhir/composition-attestation-mode", "official")) tgt.setAuthenticator(Reference40_50.convertReference(t.getParty())); } if (src.hasCustodian()) @@ -250,8 +251,6 @@ public class DocumentReference40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasAttachment()) tgt.setAttachment(Attachment40_50.convertAttachment(src.getAttachment())); - if (src.hasFormat()) - tgt.setFormat(Coding40_50.convertCoding(src.getFormat())); return tgt; } @@ -262,15 +261,13 @@ public class DocumentReference40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasAttachment()) tgt.setAttachment(Attachment40_50.convertAttachment(src.getAttachment())); - if (src.hasFormat()) - tgt.setFormat(Coding40_50.convertCoding(src.getFormat())); return tgt; } public static void convertDocumentReferenceContextComponent(org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceContextComponent src, org.hl7.fhir.r5.model.DocumentReference tgt) throws FHIRException { - for (org.hl7.fhir.r4.model.Reference t : src.getEncounter()) tgt.addEncounter(Reference40_50.convertReference(t)); + for (org.hl7.fhir.r4.model.Reference t : src.getEncounter()) tgt.addContext(Reference40_50.convertReference(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getEvent()) - tgt.addEvent(CodeableConcept40_50.convertCodeableConcept(t)); + tgt.addEvent(new CodeableReference().setConcept(CodeableConcept40_50.convertCodeableConcept(t))); if (src.hasPeriod()) tgt.setPeriod(Period40_50.convertPeriod(src.getPeriod())); if (src.hasFacilityType()) @@ -279,13 +276,14 @@ public class DocumentReference40_50 { tgt.setPracticeSetting(CodeableConcept40_50.convertCodeableConcept(src.getPracticeSetting())); if (src.hasSourcePatientInfo()) tgt.setSourcePatientInfo(Reference40_50.convertReference(src.getSourcePatientInfo())); - for (org.hl7.fhir.r4.model.Reference t : src.getRelated()) tgt.addRelated(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r4.model.Reference t : src.getRelated()) tgt.addRelated(Reference40_50.convertReference(t)); } public static void convertDocumentReferenceContextComponent(org.hl7.fhir.r5.model.DocumentReference src, org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceContextComponent tgt) throws FHIRException { - for (org.hl7.fhir.r5.model.Reference t : src.getEncounter()) tgt.addEncounter(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getEvent()) - tgt.addEvent(CodeableConcept40_50.convertCodeableConcept(t)); + for (org.hl7.fhir.r5.model.Reference t : src.getContext()) tgt.addEncounter(Reference40_50.convertReference(t)); + for (CodeableReference t : src.getEvent()) + if (t.hasConcept()) + tgt.addEvent(CodeableConcept40_50.convertCodeableConcept(t.getConcept())); if (src.hasPeriod()) tgt.setPeriod(Period40_50.convertPeriod(src.getPeriod())); if (src.hasFacilityType()) @@ -294,6 +292,6 @@ public class DocumentReference40_50 { tgt.setPracticeSetting(CodeableConcept40_50.convertCodeableConcept(src.getPracticeSetting())); if (src.hasSourcePatientInfo()) tgt.setSourcePatientInfo(Reference40_50.convertReference(src.getSourcePatientInfo())); - for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) tgt.addRelated(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) tgt.addRelated(Reference40_50.convertReference(t)); } } \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Encounter40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Encounter40_50.java index f34a6058b..82e4b0a27 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Encounter40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Encounter40_50.java @@ -50,13 +50,13 @@ public class Encounter40_50 { for (org.hl7.fhir.r4.model.Encounter.StatusHistoryComponent t : src.getStatusHistory()) tgt.addStatusHistory(convertStatusHistoryComponent(t)); if (src.hasClass_()) - tgt.setClass_(Coding40_50.convertCoding(src.getClass_())); + tgt.setClass_(new org.hl7.fhir.r5.model.CodeableConcept().addCoding(Coding40_50.convertCoding(src.getClass_()))); for (org.hl7.fhir.r4.model.Encounter.ClassHistoryComponent t : src.getClassHistory()) tgt.addClassHistory(convertClassHistoryComponent(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getType()) tgt.addType(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasServiceType()) - tgt.setServiceType(CodeableConcept40_50.convertCodeableConcept(src.getServiceType())); + tgt.setServiceType(new CodeableReference(CodeableConcept40_50.convertCodeableConcept(src.getServiceType()))); if (src.hasPriority()) tgt.setPriority(CodeableConcept40_50.convertCodeableConcept(src.getPriority())); if (src.hasSubject()) @@ -102,13 +102,13 @@ public class Encounter40_50 { for (org.hl7.fhir.r5.model.Encounter.StatusHistoryComponent t : src.getStatusHistory()) tgt.addStatusHistory(convertStatusHistoryComponent(t)); if (src.hasClass_()) - tgt.setClass_(Coding40_50.convertCoding(src.getClass_())); + tgt.setClass_(Coding40_50.convertCoding(src.getClass_().getCodingFirstRep())); for (org.hl7.fhir.r5.model.Encounter.ClassHistoryComponent t : src.getClassHistory()) tgt.addClassHistory(convertClassHistoryComponent(t)); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getType()) tgt.addType(CodeableConcept40_50.convertCodeableConcept(t)); - if (src.hasServiceType()) - tgt.setServiceType(CodeableConcept40_50.convertCodeableConcept(src.getServiceType())); + if (src.getServiceType().hasConcept()) + tgt.setServiceType(CodeableConcept40_50.convertCodeableConcept(src.getServiceType().getConcept())); if (src.hasPriority()) tgt.setPriority(CodeableConcept40_50.convertCodeableConcept(src.getPriority())); if (src.hasSubject()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Endpoint40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Endpoint40_50.java index 92670b651..2fe3d5c66 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Endpoint40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Endpoint40_50.java @@ -49,7 +49,7 @@ public class Endpoint40_50 { if (src.hasStatus()) tgt.setStatusElement(convertEndpointStatus(src.getStatusElement())); if (src.hasConnectionType()) - tgt.setConnectionType(Coding40_50.convertCoding(src.getConnectionType())); + tgt.addConnectionType(Coding40_50.convertCoding(src.getConnectionType())); if (src.hasName()) tgt.setNameElement(String40_50.convertString(src.getNameElement())); if (src.hasManagingOrganization()) @@ -78,7 +78,7 @@ public class Endpoint40_50 { if (src.hasStatus()) tgt.setStatusElement(convertEndpointStatus(src.getStatusElement())); if (src.hasConnectionType()) - tgt.setConnectionType(Coding40_50.convertCoding(src.getConnectionType())); + tgt.setConnectionType(Coding40_50.convertCoding(src.getConnectionTypeFirstRep())); if (src.hasName()) tgt.setNameElement(String40_50.convertString(src.getNameElement())); if (src.hasManagingOrganization()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ExampleScenario40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ExampleScenario40_50.java index 55be62d43..b959a7333 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ExampleScenario40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ExampleScenario40_50.java @@ -201,7 +201,7 @@ public class ExampleScenario40_50 { if (src.hasResourceId()) tgt.setResourceIdElement(String40_50.convertString(src.getResourceIdElement())); if (src.hasResourceType()) - tgt.setResourceTypeElement(convertFHIRResourceType(src.getResourceTypeElement())); + tgt.setTypeElement(convertFHIRResourceType(src.getResourceTypeElement())); if (src.hasName()) tgt.setNameElement(String40_50.convertString(src.getNameElement())); if (src.hasDescription()) @@ -220,8 +220,8 @@ public class ExampleScenario40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasResourceId()) tgt.setResourceIdElement(String40_50.convertString(src.getResourceIdElement())); - if (src.hasResourceType()) - tgt.setResourceTypeElement(convertFHIRResourceType(src.getResourceTypeElement())); + if (src.hasType()) + tgt.setResourceTypeElement(convertFHIRResourceType(src.getTypeElement())); if (src.hasName()) tgt.setNameElement(String40_50.convertString(src.getNameElement())); if (src.hasDescription()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImagingStudy40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImagingStudy40_50.java index 46afb5387..a78dda90d 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImagingStudy40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImagingStudy40_50.java @@ -11,7 +11,10 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.UnsignedInt40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r4.model.codesystems.CodesystemAltcodeKindEnumFactory; +import org.hl7.fhir.r5.model.CodeableConcept; import org.hl7.fhir.r5.model.CodeableReference; +import org.hl7.fhir.r5.model.Coding; /* Copyright (c) 2011+, HL7, Inc. @@ -53,7 +56,8 @@ public class ImagingStudy40_50 { tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); if (src.hasStatus()) tgt.setStatusElement(convertImagingStudyStatus(src.getStatusElement())); - for (org.hl7.fhir.r4.model.Coding t : src.getModality()) tgt.addModality(Coding40_50.convertCoding(t)); + for (org.hl7.fhir.r4.model.Coding t : src.getModality()) + tgt.addModality(new CodeableConcept().addCoding(Coding40_50.convertCoding(t))); if (src.hasSubject()) tgt.setSubject(Reference40_50.convertReference(src.getSubject())); if (src.hasEncounter()) @@ -97,7 +101,9 @@ public class ImagingStudy40_50 { tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); if (src.hasStatus()) tgt.setStatusElement(convertImagingStudyStatus(src.getStatusElement())); - for (org.hl7.fhir.r5.model.Coding t : src.getModality()) tgt.addModality(Coding40_50.convertCoding(t)); + for (CodeableConcept t : src.getModality()) + for (Coding tt : t.getCoding()) + tgt.addModality(Coding40_50.convertCoding(tt)); if (src.hasSubject()) tgt.setSubject(Reference40_50.convertReference(src.getSubject())); if (src.hasEncounter()) @@ -203,16 +209,16 @@ public class ImagingStudy40_50 { if (src.hasNumber()) tgt.setNumberElement(UnsignedInt40_50.convertUnsignedInt(src.getNumberElement())); if (src.hasModality()) - tgt.setModality(Coding40_50.convertCoding(src.getModality())); + tgt.setModality(new CodeableConcept().addCoding(Coding40_50.convertCoding(src.getModality()))); if (src.hasDescription()) tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); if (src.hasNumberOfInstances()) tgt.setNumberOfInstancesElement(UnsignedInt40_50.convertUnsignedInt(src.getNumberOfInstancesElement())); for (org.hl7.fhir.r4.model.Reference t : src.getEndpoint()) tgt.addEndpoint(Reference40_50.convertReference(t)); if (src.hasBodySite()) - tgt.setBodySite(Coding40_50.convertCoding(src.getBodySite())); + tgt.setBodySite(new CodeableReference(new CodeableConcept(Coding40_50.convertCoding(src.getBodySite())))); if (src.hasLaterality()) - tgt.setLaterality(Coding40_50.convertCoding(src.getLaterality())); + tgt.setLaterality(new CodeableConcept(Coding40_50.convertCoding(src.getLaterality()))); for (org.hl7.fhir.r4.model.Reference t : src.getSpecimen()) tgt.addSpecimen(Reference40_50.convertReference(t)); if (src.hasStarted()) tgt.setStartedElement(DateTime40_50.convertDateTime(src.getStartedElement())); @@ -233,16 +239,16 @@ public class ImagingStudy40_50 { if (src.hasNumber()) tgt.setNumberElement(UnsignedInt40_50.convertUnsignedInt(src.getNumberElement())); if (src.hasModality()) - tgt.setModality(Coding40_50.convertCoding(src.getModality())); + tgt.setModality(Coding40_50.convertCoding(src.getModality().getCodingFirstRep())); if (src.hasDescription()) tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); if (src.hasNumberOfInstances()) tgt.setNumberOfInstancesElement(UnsignedInt40_50.convertUnsignedInt(src.getNumberOfInstancesElement())); for (org.hl7.fhir.r5.model.Reference t : src.getEndpoint()) tgt.addEndpoint(Reference40_50.convertReference(t)); - if (src.hasBodySite()) - tgt.setBodySite(Coding40_50.convertCoding(src.getBodySite())); - if (src.hasLaterality()) - tgt.setLaterality(Coding40_50.convertCoding(src.getLaterality())); + if (src.getBodySite().getConcept().hasCoding()) + tgt.setBodySite(Coding40_50.convertCoding(src.getBodySite().getConcept().getCodingFirstRep())); + if (src.getLaterality().hasCoding()) + tgt.setLaterality(Coding40_50.convertCoding(src.getLaterality().getCodingFirstRep())); for (org.hl7.fhir.r5.model.Reference t : src.getSpecimen()) tgt.addSpecimen(Reference40_50.convertReference(t)); if (src.hasStarted()) tgt.setStartedElement(DateTime40_50.convertDateTime(src.getStartedElement())); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Immunization40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Immunization40_50.java index d43a71b02..651e21520 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Immunization40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Immunization40_50.java @@ -60,12 +60,12 @@ public class Immunization40_50 { tgt.setEncounter(Reference40_50.convertReference(src.getEncounter())); if (src.hasOccurrence()) tgt.setOccurrence(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getOccurrence())); - if (src.hasRecorded()) - tgt.setRecordedElement(DateTime40_50.convertDateTime(src.getRecordedElement())); +// if (src.hasRecorded()) +// tgt.setRecordedElement(DateTime40_50.convertDateTime(src.getRecordedElement())); if (src.hasPrimarySource()) tgt.setPrimarySourceElement(Boolean40_50.convertBoolean(src.getPrimarySourceElement())); if (src.hasReportOrigin()) - tgt.setInformationSource(CodeableConcept40_50.convertCodeableConcept(src.getReportOrigin())); + tgt.setInformationSource(new CodeableReference(CodeableConcept40_50.convertCodeableConcept(src.getReportOrigin()))); if (src.hasLocation()) tgt.setLocation(Reference40_50.convertReference(src.getLocation())); if (src.hasManufacturer()) @@ -123,12 +123,12 @@ public class Immunization40_50 { tgt.setEncounter(Reference40_50.convertReference(src.getEncounter())); if (src.hasOccurrence()) tgt.setOccurrence(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getOccurrence())); - if (src.hasRecorded()) - tgt.setRecordedElement(DateTime40_50.convertDateTime(src.getRecordedElement())); +// if (src.hasRecorded()) +// tgt.setRecordedElement(DateTime40_50.convertDateTime(src.getRecordedElement())); if (src.hasPrimarySource()) tgt.setPrimarySourceElement(Boolean40_50.convertBoolean(src.getPrimarySourceElement())); - if (src.hasInformationSourceCodeableConcept()) - tgt.setReportOrigin(CodeableConcept40_50.convertCodeableConcept(src.getInformationSourceCodeableConcept())); + if (src.getInformationSource().hasConcept()) + tgt.setReportOrigin(CodeableConcept40_50.convertCodeableConcept(src.getInformationSource().getConcept())); if (src.hasLocation()) tgt.setLocation(Reference40_50.convertReference(src.getLocation())); if (src.hasManufacturer()) @@ -277,7 +277,7 @@ public class Immunization40_50 { if (src.hasDate()) tgt.setDateElement(DateTime40_50.convertDateTime(src.getDateElement())); if (src.hasDetail()) - tgt.setDetail(Reference40_50.convertReference(src.getDetail())); + tgt.setManifestation(new CodeableReference(Reference40_50.convertReference(src.getDetail()))); if (src.hasReported()) tgt.setReportedElement(Boolean40_50.convertBoolean(src.getReportedElement())); return tgt; @@ -290,8 +290,8 @@ public class Immunization40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasDate()) tgt.setDateElement(DateTime40_50.convertDateTime(src.getDateElement())); - if (src.hasDetail()) - tgt.setDetail(Reference40_50.convertReference(src.getDetail())); + if (src.hasManifestation()) + tgt.setDetail(Reference40_50.convertReference(src.getManifestation().getReference())); if (src.hasReported()) tgt.setReportedElement(Boolean40_50.convertBoolean(src.getReportedElement())); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImplementationGuide40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImplementationGuide40_50.java index 78e34c482..ca407bd21 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImplementationGuide40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/ImplementationGuide40_50.java @@ -2356,7 +2356,7 @@ public class ImplementationGuide40_50 { if (src.hasName()) tgt.setNameElement(String40_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String40_50.convertStringToMarkdown(src.getDescriptionElement())); return tgt; } @@ -2385,7 +2385,7 @@ public class ImplementationGuide40_50 { if (src.hasName()) tgt.setNameElement(String40_50.convertString(src.getNameElement())); if (src.hasDescription()) - tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); + tgt.setDescriptionElement(String40_50.convertStringToMarkdown(src.getDescriptionElement())); if (src.hasExample()) tgt.setExample(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getExample())); if (src.hasGroupingId()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/InsurancePlan40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/InsurancePlan40_50.java index 1de0890cd..77b2d54c6 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/InsurancePlan40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/InsurancePlan40_50.java @@ -6,6 +6,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.PositiveI import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.ExtendedContactDetail; /* Copyright (c) 2011+, HL7, Inc. @@ -93,7 +94,7 @@ public class InsurancePlan40_50 { tgt.setAdministeredBy(Reference40_50.convertReference(src.getAdministeredBy())); for (org.hl7.fhir.r5.model.Reference t : src.getCoverageArea()) tgt.addCoverageArea(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r5.model.InsurancePlan.InsurancePlanContactComponent t : src.getContact()) + for (ExtendedContactDetail t : src.getContact()) tgt.addContact(convertInsurancePlanContactComponent(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEndpoint()) tgt.addEndpoint(Reference40_50.convertReference(t)); for (org.hl7.fhir.r5.model.Reference t : src.getNetwork()) tgt.addNetwork(Reference40_50.convertReference(t)); @@ -104,10 +105,10 @@ public class InsurancePlan40_50 { return tgt; } - public static org.hl7.fhir.r5.model.InsurancePlan.InsurancePlanContactComponent convertInsurancePlanContactComponent(org.hl7.fhir.r4.model.InsurancePlan.InsurancePlanContactComponent src) throws FHIRException { + public static org.hl7.fhir.r5.model.ExtendedContactDetail convertInsurancePlanContactComponent(org.hl7.fhir.r4.model.InsurancePlan.InsurancePlanContactComponent src) throws FHIRException { if (src == null) return null; - org.hl7.fhir.r5.model.InsurancePlan.InsurancePlanContactComponent tgt = new org.hl7.fhir.r5.model.InsurancePlan.InsurancePlanContactComponent(); + org.hl7.fhir.r5.model.ExtendedContactDetail tgt = new org.hl7.fhir.r5.model.ExtendedContactDetail(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasPurpose()) tgt.setPurpose(CodeableConcept40_50.convertCodeableConcept(src.getPurpose())); @@ -120,7 +121,7 @@ public class InsurancePlan40_50 { return tgt; } - public static org.hl7.fhir.r4.model.InsurancePlan.InsurancePlanContactComponent convertInsurancePlanContactComponent(org.hl7.fhir.r5.model.InsurancePlan.InsurancePlanContactComponent src) throws FHIRException { + public static org.hl7.fhir.r4.model.InsurancePlan.InsurancePlanContactComponent convertInsurancePlanContactComponent(org.hl7.fhir.r5.model.ExtendedContactDetail src) throws FHIRException { if (src == null) return null; org.hl7.fhir.r4.model.InsurancePlan.InsurancePlanContactComponent tgt = new org.hl7.fhir.r4.model.InsurancePlan.InsurancePlanContactComponent(); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationDispense40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationDispense40_50.java index 92ba82630..da7d22f5d 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationDispense40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationDispense40_50.java @@ -53,10 +53,10 @@ public class MedicationDispense40_50 { for (org.hl7.fhir.r4.model.Reference t : src.getPartOf()) tgt.addPartOf(Reference40_50.convertReference(t)); if (src.hasStatus()) tgt.setStatusElement(convertMedicationStatus(src.getStatusElement())); - if (src.hasStatusReasonCodeableConcept()) - tgt.getStatusReason().setConcept(CodeableConcept40_50.convertCodeableConcept(src.getStatusReasonCodeableConcept())); - if (src.hasStatusReasonReference()) - tgt.getStatusReason().setReference(Reference40_50.convertReference(src.getStatusReasonReference())); +// if (src.hasStatusReasonCodeableConcept()) +// tgt.getStatusReason().setConcept(CodeableConcept40_50.convertCodeableConcept(src.getStatusReasonCodeableConcept())); +// if (src.hasStatusReasonReference()) +// tgt.getStatusReason().setReference(Reference40_50.convertReference(src.getStatusReasonReference())); if (src.hasCategory()) tgt.addCategory(CodeableConcept40_50.convertCodeableConcept(src.getCategory())); if (src.hasMedicationCodeableConcept()) @@ -93,8 +93,8 @@ public class MedicationDispense40_50 { tgt.addDosageInstruction(Dosage40_50.convertDosage(t)); if (src.hasSubstitution()) tgt.setSubstitution(convertMedicationDispenseSubstitutionComponent(src.getSubstitution())); - for (org.hl7.fhir.r4.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r4.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference40_50.convertReference(t)); for (org.hl7.fhir.r4.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference40_50.convertReference(t)); return tgt; @@ -110,10 +110,10 @@ public class MedicationDispense40_50 { for (org.hl7.fhir.r5.model.Reference t : src.getPartOf()) tgt.addPartOf(Reference40_50.convertReference(t)); if (src.hasStatus()) tgt.setStatusElement(convertStatus(src.getStatusElement())); - if (src.getStatusReason().hasConcept()) - tgt.setStatusReason(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getStatusReason().getConcept())); - if (src.getStatusReason().hasReference()) - tgt.setStatusReason(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getStatusReason().getReference())); +// if (src.getStatusReason().hasConcept()) +// tgt.setStatusReason(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getStatusReason().getConcept())); +// if (src.getStatusReason().hasReference()) +// tgt.setStatusReason(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getStatusReason().getReference())); if (src.hasCategory()) tgt.setCategory(CodeableConcept40_50.convertCodeableConcept(src.getCategoryFirstRep())); if (src.getMedication().hasConcept()) @@ -150,8 +150,8 @@ public class MedicationDispense40_50 { tgt.addDosageInstruction(Dosage40_50.convertDosage(t)); if (src.hasSubstitution()) tgt.setSubstitution(convertMedicationDispenseSubstitutionComponent(src.getSubstitution())); - for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference40_50.convertReference(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference40_50.convertReference(t)); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationRequest40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationRequest40_50.java index cacfc74da..2d553c35e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationRequest40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationRequest40_50.java @@ -60,7 +60,7 @@ public class MedicationRequest40_50 { if (src.hasReportedBooleanType()) tgt.setReportedElement(Boolean40_50.convertBoolean(src.getReportedBooleanType())); if (src.hasReportedReference()) - tgt.setInformationSource(Reference40_50.convertReference(src.getReportedReference())); + tgt.addInformationSource(Reference40_50.convertReference(src.getReportedReference())); if (src.hasMedicationCodeableConcept()) tgt.getMedication().setConcept(CodeableConcept40_50.convertCodeableConcept(src.getMedicationCodeableConcept())); if (src.hasMedicationReference()) @@ -76,7 +76,7 @@ public class MedicationRequest40_50 { if (src.hasRequester()) tgt.setRequester(Reference40_50.convertReference(src.getRequester())); if (src.hasPerformer()) - tgt.setPerformer(Reference40_50.convertReference(src.getPerformer())); + tgt.addPerformer(Reference40_50.convertReference(src.getPerformer())); if (src.hasPerformerType()) tgt.setPerformerType(CodeableConcept40_50.convertCodeableConcept(src.getPerformerType())); if (src.hasRecorder()) @@ -105,8 +105,8 @@ public class MedicationRequest40_50 { if (src.hasPriorPrescription()) tgt.setPriorPrescription(Reference40_50.convertReference(src.getPriorPrescription())); for (org.hl7.fhir.r4.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r4.model.Reference t : src.getEventHistory()) +// tgt.addDetectedIssue(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r4.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference40_50.convertReference(t)); return tgt; } @@ -133,7 +133,7 @@ public class MedicationRequest40_50 { if (src.hasReported()) tgt.setReported(Boolean40_50.convertBoolean(src.getReportedElement())); if (src.hasInformationSource()) - tgt.setReported(Reference40_50.convertReference(src.getInformationSource())); + tgt.setReported(Reference40_50.convertReference(src.getInformationSourceFirstRep())); if (src.getMedication().hasReference()) tgt.setMedication(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getMedication().getReference())); if (src.getMedication().hasConcept()) @@ -149,7 +149,7 @@ public class MedicationRequest40_50 { if (src.hasRequester()) tgt.setRequester(Reference40_50.convertReference(src.getRequester())); if (src.hasPerformer()) - tgt.setPerformer(Reference40_50.convertReference(src.getPerformer())); + tgt.setPerformer(Reference40_50.convertReference(src.getPerformerFirstRep())); if (src.hasPerformerType()) tgt.setPerformerType(CodeableConcept40_50.convertCodeableConcept(src.getPerformerType())); if (src.hasRecorder()) @@ -179,8 +179,8 @@ public class MedicationRequest40_50 { tgt.setSubstitution(convertMedicationRequestSubstitutionComponent(src.getSubstitution())); if (src.hasPriorPrescription()) tgt.setPriorPrescription(Reference40_50.convertReference(src.getPriorPrescription())); - for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) - tgt.addDetectedIssue(Reference40_50.convertReference(t)); +// for (org.hl7.fhir.r5.model.Reference t : src.getDetectedIssue()) +// tgt.addDetectedIssue(Reference40_50.convertReference(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEventHistory()) tgt.addEventHistory(Reference40_50.convertReference(t)); return tgt; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationStatement40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationStatement40_50.java index 459c12e4e..02c2d0704 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationStatement40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MedicationStatement40_50.java @@ -71,7 +71,7 @@ public class MedicationStatement40_50 { if (src.hasDateAsserted()) tgt.setDateAssertedElement(DateTime40_50.convertDateTime(src.getDateAssertedElement())); if (src.hasInformationSource()) - tgt.setInformationSource(Reference40_50.convertReference(src.getInformationSource())); + tgt.addInformationSource(Reference40_50.convertReference(src.getInformationSource())); for (org.hl7.fhir.r4.model.Reference t : src.getDerivedFrom()) tgt.addDerivedFrom(Reference40_50.convertReference(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getReasonCode()) @@ -113,7 +113,7 @@ public class MedicationStatement40_50 { if (src.hasDateAsserted()) tgt.setDateAssertedElement(DateTime40_50.convertDateTime(src.getDateAssertedElement())); if (src.hasInformationSource()) - tgt.setInformationSource(Reference40_50.convertReference(src.getInformationSource())); + tgt.setInformationSource(Reference40_50.convertReference(src.getInformationSourceFirstRep())); for (org.hl7.fhir.r5.model.Reference t : src.getDerivedFrom()) tgt.addDerivedFrom(Reference40_50.convertReference(t)); for (CodeableReference t : src.getReason()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageDefinition40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageDefinition40_50.java index 37c866b0a..e3a86db7e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageDefinition40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageDefinition40_50.java @@ -90,7 +90,7 @@ public class MessageDefinition40_50 { tgt.setResponseRequiredElement(convertMessageheaderResponseRequest(src.getResponseRequiredElement())); for (org.hl7.fhir.r4.model.MessageDefinition.MessageDefinitionAllowedResponseComponent t : src.getAllowedResponse()) tgt.addAllowedResponse(convertMessageDefinitionAllowedResponseComponent(t)); - for (org.hl7.fhir.r4.model.CanonicalType t : src.getGraph()) tgt.getGraph().add(Canonical40_50.convertCanonical(t)); + for (org.hl7.fhir.r4.model.CanonicalType t : src.getGraph()) tgt.setGraphElement(Canonical40_50.convertCanonical(t)); return tgt; } @@ -145,7 +145,8 @@ public class MessageDefinition40_50 { tgt.setResponseRequiredElement(convertMessageheaderResponseRequest(src.getResponseRequiredElement())); for (org.hl7.fhir.r5.model.MessageDefinition.MessageDefinitionAllowedResponseComponent t : src.getAllowedResponse()) tgt.addAllowedResponse(convertMessageDefinitionAllowedResponseComponent(t)); - for (org.hl7.fhir.r5.model.CanonicalType t : src.getGraph()) tgt.getGraph().add(Canonical40_50.convertCanonical(t)); + if (src.hasGraph()) + tgt.getGraph().add(Canonical40_50.convertCanonical(src.getGraphElement())); return tgt; } diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageHeader40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageHeader40_50.java index c4c07f03e..57bf492fe 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageHeader40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MessageHeader40_50.java @@ -173,7 +173,7 @@ public class MessageHeader40_50 { org.hl7.fhir.r5.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.r5.model.MessageHeader.MessageHeaderResponseComponent(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasIdentifier()) - tgt.setIdentifierElement(Id40_50.convertId(src.getIdentifierElement())); + tgt.setIdentifier(new org.hl7.fhir.r5.model.Identifier().setValue(src.getIdentifier())); if (src.hasCode()) tgt.setCodeElement(convertResponseType(src.getCodeElement())); if (src.hasDetails()) @@ -187,7 +187,7 @@ public class MessageHeader40_50 { org.hl7.fhir.r4.model.MessageHeader.MessageHeaderResponseComponent tgt = new org.hl7.fhir.r4.model.MessageHeader.MessageHeaderResponseComponent(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasIdentifier()) - tgt.setIdentifierElement(Id40_50.convertId(src.getIdentifierElement())); + tgt.setIdentifierElement(new org.hl7.fhir.r4.model.IdType(src.getIdentifier().getValue())); if (src.hasCode()) tgt.setCodeElement(convertResponseType(src.getCodeElement())); if (src.hasDetails()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MolecularSequence40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MolecularSequence40_50.java deleted file mode 100644 index b5bf81e81..000000000 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/MolecularSequence40_50.java +++ /dev/null @@ -1,665 +0,0 @@ -package org.hl7.fhir.convertors.conv40_50.resources40_50; - -import org.hl7.fhir.convertors.context.ConversionContext40_50; -import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.CodeableConcept40_50; -import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Identifier40_50; -import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Quantity40_50; -import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.*; -import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; -import org.hl7.fhir.exceptions.FHIRException; - -/* - Copyright (c) 2011+, HL7, Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of HL7 nor the names of its contributors may be used to - endorse or promote products derived from this software without specific - prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - -*/ -// Generated on Sun, Feb 24, 2019 11:37+1100 for FHIR v4.0.0 -public class MolecularSequence40_50 { - - public static org.hl7.fhir.r5.model.MolecularSequence convertMolecularSequence(org.hl7.fhir.r4.model.MolecularSequence src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence tgt = new org.hl7.fhir.r5.model.MolecularSequence(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyDomainResource(src, tgt); - for (org.hl7.fhir.r4.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); - if (src.hasType()) - tgt.setTypeElement(convertSequenceType(src.getTypeElement())); - if (src.hasCoordinateSystem()) - tgt.setCoordinateSystemElement(Integer40_50.convertInteger(src.getCoordinateSystemElement())); - if (src.hasPatient()) - tgt.setPatient(Reference40_50.convertReference(src.getPatient())); - if (src.hasSpecimen()) - tgt.setSpecimen(Reference40_50.convertReference(src.getSpecimen())); - if (src.hasDevice()) - tgt.setDevice(Reference40_50.convertReference(src.getDevice())); - if (src.hasPerformer()) - tgt.setPerformer(Reference40_50.convertReference(src.getPerformer())); - if (src.hasQuantity()) - tgt.setQuantity(Quantity40_50.convertQuantity(src.getQuantity())); - if (src.hasReferenceSeq()) - tgt.setReferenceSeq(convertMolecularSequenceReferenceSeqComponent(src.getReferenceSeq())); - for (org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceVariantComponent t : src.getVariant()) - tgt.addVariant(convertMolecularSequenceVariantComponent(t)); - if (src.hasObservedSeq()) - tgt.setObservedSeqElement(String40_50.convertString(src.getObservedSeqElement())); - for (org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityComponent t : src.getQuality()) - tgt.addQuality(convertMolecularSequenceQualityComponent(t)); - if (src.hasReadCoverage()) - tgt.setReadCoverageElement(Integer40_50.convertInteger(src.getReadCoverageElement())); - for (org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceRepositoryComponent t : src.getRepository()) - tgt.addRepository(convertMolecularSequenceRepositoryComponent(t)); - for (org.hl7.fhir.r4.model.Reference t : src.getPointer()) tgt.addPointer(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantComponent t : src.getStructureVariant()) - tgt.addStructureVariant(convertMolecularSequenceStructureVariantComponent(t)); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence convertMolecularSequence(org.hl7.fhir.r5.model.MolecularSequence src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence tgt = new org.hl7.fhir.r4.model.MolecularSequence(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyDomainResource(src, tgt); - for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); - if (src.hasType()) - tgt.setTypeElement(convertSequenceType(src.getTypeElement())); - if (src.hasCoordinateSystem()) - tgt.setCoordinateSystemElement(Integer40_50.convertInteger(src.getCoordinateSystemElement())); - if (src.hasPatient()) - tgt.setPatient(Reference40_50.convertReference(src.getPatient())); - if (src.hasSpecimen()) - tgt.setSpecimen(Reference40_50.convertReference(src.getSpecimen())); - if (src.hasDevice()) - tgt.setDevice(Reference40_50.convertReference(src.getDevice())); - if (src.hasPerformer()) - tgt.setPerformer(Reference40_50.convertReference(src.getPerformer())); - if (src.hasQuantity()) - tgt.setQuantity(Quantity40_50.convertQuantity(src.getQuantity())); - if (src.hasReferenceSeq()) - tgt.setReferenceSeq(convertMolecularSequenceReferenceSeqComponent(src.getReferenceSeq())); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent t : src.getVariant()) - tgt.addVariant(convertMolecularSequenceVariantComponent(t)); - if (src.hasObservedSeq()) - tgt.setObservedSeqElement(String40_50.convertString(src.getObservedSeqElement())); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent t : src.getQuality()) - tgt.addQuality(convertMolecularSequenceQualityComponent(t)); - if (src.hasReadCoverage()) - tgt.setReadCoverageElement(Integer40_50.convertInteger(src.getReadCoverageElement())); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent t : src.getRepository()) - tgt.addRepository(convertMolecularSequenceRepositoryComponent(t)); - for (org.hl7.fhir.r5.model.Reference t : src.getPointer()) tgt.addPointer(Reference40_50.convertReference(t)); - for (org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantComponent t : src.getStructureVariant()) - tgt.addStructureVariant(convertMolecularSequenceStructureVariantComponent(t)); - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertSequenceType(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.SequenceTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case AA: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.AA); - break; - case DNA: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.DNA); - break; - case RNA: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.RNA); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.SequenceType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertSequenceType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.MolecularSequence.SequenceTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case AA: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.SequenceType.AA); - break; - case DNA: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.SequenceType.DNA); - break; - case RNA: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.SequenceType.RNA); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.SequenceType.NULL); - break; - } - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent convertMolecularSequenceReferenceSeqComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceReferenceSeqComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasChromosome()) - tgt.setChromosome(CodeableConcept40_50.convertCodeableConcept(src.getChromosome())); - if (src.hasGenomeBuild()) - tgt.setGenomeBuildElement(String40_50.convertString(src.getGenomeBuildElement())); - if (src.hasOrientation()) - tgt.setOrientationElement(convertOrientationType(src.getOrientationElement())); - if (src.hasReferenceSeqId()) - tgt.setReferenceSeqId(CodeableConcept40_50.convertCodeableConcept(src.getReferenceSeqId())); - if (src.hasReferenceSeqPointer()) - tgt.setReferenceSeqPointer(Reference40_50.convertReference(src.getReferenceSeqPointer())); - if (src.hasReferenceSeqString()) - tgt.setReferenceSeqStringElement(String40_50.convertString(src.getReferenceSeqStringElement())); - if (src.hasStrand()) - tgt.setStrandElement(convertStrandType(src.getStrandElement())); - if (src.hasWindowStart()) - tgt.setWindowStartElement(Integer40_50.convertInteger(src.getWindowStartElement())); - if (src.hasWindowEnd()) - tgt.setWindowEndElement(Integer40_50.convertInteger(src.getWindowEndElement())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceReferenceSeqComponent convertMolecularSequenceReferenceSeqComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceReferenceSeqComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceReferenceSeqComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceReferenceSeqComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasChromosome()) - tgt.setChromosome(CodeableConcept40_50.convertCodeableConcept(src.getChromosome())); - if (src.hasGenomeBuild()) - tgt.setGenomeBuildElement(String40_50.convertString(src.getGenomeBuildElement())); - if (src.hasOrientation()) - tgt.setOrientationElement(convertOrientationType(src.getOrientationElement())); - if (src.hasReferenceSeqId()) - tgt.setReferenceSeqId(CodeableConcept40_50.convertCodeableConcept(src.getReferenceSeqId())); - if (src.hasReferenceSeqPointer()) - tgt.setReferenceSeqPointer(Reference40_50.convertReference(src.getReferenceSeqPointer())); - if (src.hasReferenceSeqString()) - tgt.setReferenceSeqStringElement(String40_50.convertString(src.getReferenceSeqStringElement())); - if (src.hasStrand()) - tgt.setStrandElement(convertStrandType(src.getStrandElement())); - if (src.hasWindowStart()) - tgt.setWindowStartElement(Integer40_50.convertInteger(src.getWindowStartElement())); - if (src.hasWindowEnd()) - tgt.setWindowEndElement(Integer40_50.convertInteger(src.getWindowEndElement())); - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertOrientationType(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.OrientationTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case SENSE: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.OrientationType.SENSE); - break; - case ANTISENSE: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.OrientationType.ANTISENSE); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.OrientationType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertOrientationType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.MolecularSequence.OrientationTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case SENSE: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.OrientationType.SENSE); - break; - case ANTISENSE: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.OrientationType.ANTISENSE); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.OrientationType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertStrandType(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.StrandTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case WATSON: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.StrandType.WATSON); - break; - case CRICK: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.StrandType.CRICK); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.StrandType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertStrandType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.MolecularSequence.StrandTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case WATSON: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.StrandType.WATSON); - break; - case CRICK: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.StrandType.CRICK); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.StrandType.NULL); - break; - } - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent convertMolecularSequenceVariantComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceVariantComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - if (src.hasObservedAllele()) - tgt.setObservedAlleleElement(String40_50.convertString(src.getObservedAlleleElement())); - if (src.hasReferenceAllele()) - tgt.setReferenceAlleleElement(String40_50.convertString(src.getReferenceAlleleElement())); - if (src.hasCigar()) - tgt.setCigarElement(String40_50.convertString(src.getCigarElement())); - if (src.hasVariantPointer()) - tgt.setVariantPointer(Reference40_50.convertReference(src.getVariantPointer())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceVariantComponent convertMolecularSequenceVariantComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceVariantComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceVariantComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceVariantComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - if (src.hasObservedAllele()) - tgt.setObservedAlleleElement(String40_50.convertString(src.getObservedAlleleElement())); - if (src.hasReferenceAllele()) - tgt.setReferenceAlleleElement(String40_50.convertString(src.getReferenceAlleleElement())); - if (src.hasCigar()) - tgt.setCigarElement(String40_50.convertString(src.getCigarElement())); - if (src.hasVariantPointer()) - tgt.setVariantPointer(Reference40_50.convertReference(src.getVariantPointer())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent convertMolecularSequenceQualityComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertQualityType(src.getTypeElement())); - if (src.hasStandardSequence()) - tgt.setStandardSequence(CodeableConcept40_50.convertCodeableConcept(src.getStandardSequence())); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - if (src.hasScore()) - tgt.setScore(Quantity40_50.convertQuantity(src.getScore())); - if (src.hasMethod()) - tgt.setMethod(CodeableConcept40_50.convertCodeableConcept(src.getMethod())); - if (src.hasTruthTP()) - tgt.setTruthTPElement(Decimal40_50.convertDecimal(src.getTruthTPElement())); - if (src.hasQueryTP()) - tgt.setQueryTPElement(Decimal40_50.convertDecimal(src.getQueryTPElement())); - if (src.hasTruthFN()) - tgt.setTruthFNElement(Decimal40_50.convertDecimal(src.getTruthFNElement())); - if (src.hasQueryFP()) - tgt.setQueryFPElement(Decimal40_50.convertDecimal(src.getQueryFPElement())); - if (src.hasGtFP()) - tgt.setGtFPElement(Decimal40_50.convertDecimal(src.getGtFPElement())); - if (src.hasPrecision()) - tgt.setPrecisionElement(Decimal40_50.convertDecimal(src.getPrecisionElement())); - if (src.hasRecall()) - tgt.setRecallElement(Decimal40_50.convertDecimal(src.getRecallElement())); - if (src.hasFScore()) - tgt.setFScoreElement(Decimal40_50.convertDecimal(src.getFScoreElement())); - if (src.hasRoc()) - tgt.setRoc(convertMolecularSequenceQualityRocComponent(src.getRoc())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityComponent convertMolecularSequenceQualityComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertQualityType(src.getTypeElement())); - if (src.hasStandardSequence()) - tgt.setStandardSequence(CodeableConcept40_50.convertCodeableConcept(src.getStandardSequence())); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - if (src.hasScore()) - tgt.setScore(Quantity40_50.convertQuantity(src.getScore())); - if (src.hasMethod()) - tgt.setMethod(CodeableConcept40_50.convertCodeableConcept(src.getMethod())); - if (src.hasTruthTP()) - tgt.setTruthTPElement(Decimal40_50.convertDecimal(src.getTruthTPElement())); - if (src.hasQueryTP()) - tgt.setQueryTPElement(Decimal40_50.convertDecimal(src.getQueryTPElement())); - if (src.hasTruthFN()) - tgt.setTruthFNElement(Decimal40_50.convertDecimal(src.getTruthFNElement())); - if (src.hasQueryFP()) - tgt.setQueryFPElement(Decimal40_50.convertDecimal(src.getQueryFPElement())); - if (src.hasGtFP()) - tgt.setGtFPElement(Decimal40_50.convertDecimal(src.getGtFPElement())); - if (src.hasPrecision()) - tgt.setPrecisionElement(Decimal40_50.convertDecimal(src.getPrecisionElement())); - if (src.hasRecall()) - tgt.setRecallElement(Decimal40_50.convertDecimal(src.getRecallElement())); - if (src.hasFScore()) - tgt.setFScoreElement(Decimal40_50.convertDecimal(src.getFScoreElement())); - if (src.hasRoc()) - tgt.setRoc(convertMolecularSequenceQualityRocComponent(src.getRoc())); - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertQualityType(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.QualityTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case INDEL: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.INDEL); - break; - case SNP: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.SNP); - break; - case UNKNOWN: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.UNKNOWN); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.QualityType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertQualityType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.MolecularSequence.QualityTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case INDEL: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.QualityType.INDEL); - break; - case SNP: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.QualityType.SNP); - break; - case UNKNOWN: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.QualityType.UNKNOWN); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.QualityType.NULL); - break; - } - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityRocComponent convertMolecularSequenceQualityRocComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityRocComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityRocComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityRocComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - for (org.hl7.fhir.r4.model.IntegerType t : src.getScore()) tgt.getScore().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r4.model.IntegerType t : src.getNumTP()) tgt.getNumTP().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r4.model.IntegerType t : src.getNumFP()) tgt.getNumFP().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r4.model.IntegerType t : src.getNumFN()) tgt.getNumFN().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r4.model.DecimalType t : src.getPrecision()) - tgt.getPrecision().add(Decimal40_50.convertDecimal(t)); - for (org.hl7.fhir.r4.model.DecimalType t : src.getSensitivity()) - tgt.getSensitivity().add(Decimal40_50.convertDecimal(t)); - for (org.hl7.fhir.r4.model.DecimalType t : src.getFMeasure()) tgt.getFMeasure().add(Decimal40_50.convertDecimal(t)); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityRocComponent convertMolecularSequenceQualityRocComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceQualityRocComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityRocComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceQualityRocComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - for (org.hl7.fhir.r5.model.IntegerType t : src.getScore()) tgt.getScore().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r5.model.IntegerType t : src.getNumTP()) tgt.getNumTP().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r5.model.IntegerType t : src.getNumFP()) tgt.getNumFP().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r5.model.IntegerType t : src.getNumFN()) tgt.getNumFN().add(Integer40_50.convertInteger(t)); - for (org.hl7.fhir.r5.model.DecimalType t : src.getPrecision()) - tgt.getPrecision().add(Decimal40_50.convertDecimal(t)); - for (org.hl7.fhir.r5.model.DecimalType t : src.getSensitivity()) - tgt.getSensitivity().add(Decimal40_50.convertDecimal(t)); - for (org.hl7.fhir.r5.model.DecimalType t : src.getFMeasure()) tgt.getFMeasure().add(Decimal40_50.convertDecimal(t)); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent convertMolecularSequenceRepositoryComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceRepositoryComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertRepositoryType(src.getTypeElement())); - if (src.hasUrl()) - tgt.setUrlElement(Uri40_50.convertUri(src.getUrlElement())); - if (src.hasName()) - tgt.setNameElement(String40_50.convertString(src.getNameElement())); - if (src.hasDatasetId()) - tgt.setDatasetIdElement(String40_50.convertString(src.getDatasetIdElement())); - if (src.hasVariantsetId()) - tgt.setVariantsetIdElement(String40_50.convertString(src.getVariantsetIdElement())); - if (src.hasReadsetId()) - tgt.setReadsetIdElement(String40_50.convertString(src.getReadsetIdElement())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceRepositoryComponent convertMolecularSequenceRepositoryComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceRepositoryComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceRepositoryComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceRepositoryComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasType()) - tgt.setTypeElement(convertRepositoryType(src.getTypeElement())); - if (src.hasUrl()) - tgt.setUrlElement(Uri40_50.convertUri(src.getUrlElement())); - if (src.hasName()) - tgt.setNameElement(String40_50.convertString(src.getNameElement())); - if (src.hasDatasetId()) - tgt.setDatasetIdElement(String40_50.convertString(src.getDatasetIdElement())); - if (src.hasVariantsetId()) - tgt.setVariantsetIdElement(String40_50.convertString(src.getVariantsetIdElement())); - if (src.hasReadsetId()) - tgt.setReadsetIdElement(String40_50.convertString(src.getReadsetIdElement())); - return tgt; - } - - static public org.hl7.fhir.r5.model.Enumeration convertRepositoryType(org.hl7.fhir.r4.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r5.model.Enumeration tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.MolecularSequence.RepositoryTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case DIRECTLINK: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.DIRECTLINK); - break; - case OPENAPI: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.OPENAPI); - break; - case LOGIN: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.LOGIN); - break; - case OAUTH: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.OAUTH); - break; - case OTHER: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.OTHER); - break; - default: - tgt.setValue(org.hl7.fhir.r5.model.MolecularSequence.RepositoryType.NULL); - break; - } - return tgt; - } - - static public org.hl7.fhir.r4.model.Enumeration convertRepositoryType(org.hl7.fhir.r5.model.Enumeration src) throws FHIRException { - if (src == null || src.isEmpty()) - return null; - org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.MolecularSequence.RepositoryTypeEnumFactory()); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - switch (src.getValue()) { - case DIRECTLINK: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.RepositoryType.DIRECTLINK); - break; - case OPENAPI: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.RepositoryType.OPENAPI); - break; - case LOGIN: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.RepositoryType.LOGIN); - break; - case OAUTH: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.RepositoryType.OAUTH); - break; - case OTHER: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.RepositoryType.OTHER); - break; - default: - tgt.setValue(org.hl7.fhir.r4.model.MolecularSequence.RepositoryType.NULL); - break; - } - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantComponent convertMolecularSequenceStructureVariantComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasVariantType()) - tgt.setVariantType(CodeableConcept40_50.convertCodeableConcept(src.getVariantType())); - if (src.hasExact()) - tgt.setExactElement(Boolean40_50.convertBoolean(src.getExactElement())); - if (src.hasLength()) - tgt.setLengthElement(Integer40_50.convertInteger(src.getLengthElement())); - if (src.hasOuter()) - tgt.setOuter(convertMolecularSequenceStructureVariantOuterComponent(src.getOuter())); - if (src.hasInner()) - tgt.setInner(convertMolecularSequenceStructureVariantInnerComponent(src.getInner())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantComponent convertMolecularSequenceStructureVariantComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasVariantType()) - tgt.setVariantType(CodeableConcept40_50.convertCodeableConcept(src.getVariantType())); - if (src.hasExact()) - tgt.setExactElement(Boolean40_50.convertBoolean(src.getExactElement())); - if (src.hasLength()) - tgt.setLengthElement(Integer40_50.convertInteger(src.getLengthElement())); - if (src.hasOuter()) - tgt.setOuter(convertMolecularSequenceStructureVariantOuterComponent(src.getOuter())); - if (src.hasInner()) - tgt.setInner(convertMolecularSequenceStructureVariantInnerComponent(src.getInner())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent convertMolecularSequenceStructureVariantOuterComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent convertMolecularSequenceStructureVariantOuterComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantOuterComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - return tgt; - } - - public static org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent convertMolecularSequenceStructureVariantInnerComponent(org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent tgt = new org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - return tgt; - } - - public static org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent convertMolecularSequenceStructureVariantInnerComponent(org.hl7.fhir.r5.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent src) throws FHIRException { - if (src == null) - return null; - org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent tgt = new org.hl7.fhir.r4.model.MolecularSequence.MolecularSequenceStructureVariantInnerComponent(); - ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - if (src.hasStart()) - tgt.setStartElement(Integer40_50.convertInteger(src.getStartElement())); - if (src.hasEnd()) - tgt.setEndElement(Integer40_50.convertInteger(src.getEndElement())); - return tgt; - } -} \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Organization40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Organization40_50.java index 01748f21d..9729a0f65 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Organization40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Organization40_50.java @@ -82,16 +82,16 @@ public class Organization40_50 { for (org.hl7.fhir.r5.model.Address t : src.getAddress()) tgt.addAddress(Address40_50.convertAddress(t)); if (src.hasPartOf()) tgt.setPartOf(Reference40_50.convertReference(src.getPartOf())); - for (org.hl7.fhir.r5.model.Organization.OrganizationContactComponent t : src.getContact()) + for (org.hl7.fhir.r5.model.ExtendedContactDetail t : src.getContact()) tgt.addContact(convertOrganizationContactComponent(t)); for (org.hl7.fhir.r5.model.Reference t : src.getEndpoint()) tgt.addEndpoint(Reference40_50.convertReference(t)); return tgt; } - public static org.hl7.fhir.r5.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r4.model.Organization.OrganizationContactComponent src) throws FHIRException { + public static org.hl7.fhir.r5.model.ExtendedContactDetail convertOrganizationContactComponent(org.hl7.fhir.r4.model.Organization.OrganizationContactComponent src) throws FHIRException { if (src == null) return null; - org.hl7.fhir.r5.model.Organization.OrganizationContactComponent tgt = new org.hl7.fhir.r5.model.Organization.OrganizationContactComponent(); + org.hl7.fhir.r5.model.ExtendedContactDetail tgt = new org.hl7.fhir.r5.model.ExtendedContactDetail(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); if (src.hasPurpose()) tgt.setPurpose(CodeableConcept40_50.convertCodeableConcept(src.getPurpose())); @@ -104,7 +104,7 @@ public class Organization40_50 { return tgt; } - public static org.hl7.fhir.r4.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r5.model.Organization.OrganizationContactComponent src) throws FHIRException { + public static org.hl7.fhir.r4.model.Organization.OrganizationContactComponent convertOrganizationContactComponent(org.hl7.fhir.r5.model.ExtendedContactDetail src) throws FHIRException { if (src == null) return null; org.hl7.fhir.r4.model.Organization.OrganizationContactComponent tgt = new org.hl7.fhir.r4.model.Organization.OrganizationContactComponent(); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Provenance40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Provenance40_50.java index 637c6aca7..ffbfed9ed 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Provenance40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Provenance40_50.java @@ -158,7 +158,7 @@ public class Provenance40_50 { ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); switch (src.getValue()) { case DERIVATION: - tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.DERIVATION); + tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.INSTANTIATES); break; case REVISION: tgt.setValue(org.hl7.fhir.r5.model.Provenance.ProvenanceEntityRole.REVISION); @@ -185,7 +185,7 @@ public class Provenance40_50 { org.hl7.fhir.r4.model.Enumeration tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.Provenance.ProvenanceEntityRoleEnumFactory()); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); switch (src.getValue()) { - case DERIVATION: + case INSTANTIATES: tgt.setValue(org.hl7.fhir.r4.model.Provenance.ProvenanceEntityRole.DERIVATION); break; case REVISION: diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Resource40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Resource40_50.java index 9bc38ed4d..0aebe2683 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Resource40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Resource40_50.java @@ -180,8 +180,6 @@ public class Resource40_50 { return MessageDefinition40_50.convertMessageDefinition((org.hl7.fhir.r4.model.MessageDefinition) src); if (src instanceof org.hl7.fhir.r4.model.MessageHeader) return MessageHeader40_50.convertMessageHeader((org.hl7.fhir.r4.model.MessageHeader) src); - if (src instanceof org.hl7.fhir.r4.model.MolecularSequence) - return MolecularSequence40_50.convertMolecularSequence((org.hl7.fhir.r4.model.MolecularSequence) src); if (src instanceof org.hl7.fhir.r4.model.NamingSystem) return NamingSystem40_50.convertNamingSystem((org.hl7.fhir.r4.model.NamingSystem) src); if (src instanceof org.hl7.fhir.r4.model.NutritionOrder) @@ -422,8 +420,6 @@ public class Resource40_50 { return MessageDefinition40_50.convertMessageDefinition((org.hl7.fhir.r5.model.MessageDefinition) src); if (src instanceof org.hl7.fhir.r5.model.MessageHeader) return MessageHeader40_50.convertMessageHeader((org.hl7.fhir.r5.model.MessageHeader) src); - if (src instanceof org.hl7.fhir.r5.model.MolecularSequence) - return MolecularSequence40_50.convertMolecularSequence((org.hl7.fhir.r5.model.MolecularSequence) src); if (src instanceof org.hl7.fhir.r5.model.NamingSystem) return NamingSystem40_50.convertNamingSystem((org.hl7.fhir.r5.model.NamingSystem) src); if (src instanceof org.hl7.fhir.r5.model.NutritionOrder) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Schedule40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Schedule40_50.java index e4647ba2f..6895df0c7 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Schedule40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Schedule40_50.java @@ -8,6 +8,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Boolean40 import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableReference; /* Copyright (c) 2011+, HL7, Inc. @@ -52,7 +53,7 @@ public class Schedule40_50 { for (org.hl7.fhir.r4.model.CodeableConcept t : src.getServiceCategory()) tgt.addServiceCategory(CodeableConcept40_50.convertCodeableConcept(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t)); + tgt.addServiceType(new CodeableReference().setConcept(CodeableConcept40_50.convertCodeableConcept(t))); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept40_50.convertCodeableConcept(t)); for (org.hl7.fhir.r4.model.Reference t : src.getActor()) tgt.addActor(Reference40_50.convertReference(t)); @@ -74,8 +75,9 @@ public class Schedule40_50 { tgt.setActiveElement(Boolean40_50.convertBoolean(src.getActiveElement())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceCategory()) tgt.addServiceCategory(CodeableConcept40_50.convertCodeableConcept(t)); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t)); + for (CodeableReference t : src.getServiceType()) + if (t.hasConcept()) + tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t.getConcept())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept40_50.convertCodeableConcept(t)); for (org.hl7.fhir.r5.model.Reference t : src.getActor()) tgt.addActor(Reference40_50.convertReference(t)); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/SearchParameter40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/SearchParameter40_50.java index cad1cd6ec..7f9c18ca7 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/SearchParameter40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/SearchParameter40_50.java @@ -172,10 +172,10 @@ public class SearchParameter40_50 { tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.PHONETIC); break; case NEARBY: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.NEARBY); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case DISTANCE: - tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.DISTANCE); + tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); break; case OTHER: tgt.setValue(org.hl7.fhir.r5.model.SearchParameter.XPathUsageType.OTHER); @@ -199,12 +199,6 @@ public class SearchParameter40_50 { case PHONETIC: tgt.setValue(org.hl7.fhir.r4.model.SearchParameter.XPathUsageType.PHONETIC); break; - case NEARBY: - tgt.setValue(org.hl7.fhir.r4.model.SearchParameter.XPathUsageType.NEARBY); - break; - case DISTANCE: - tgt.setValue(org.hl7.fhir.r4.model.SearchParameter.XPathUsageType.DISTANCE); - break; case OTHER: tgt.setValue(org.hl7.fhir.r4.model.SearchParameter.XPathUsageType.OTHER); break; diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Slot40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Slot40_50.java index 02e210d73..d72838c8e 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Slot40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Slot40_50.java @@ -8,6 +8,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Instant40 import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.String40_50; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r5.model.CodeableReference; /* Copyright (c) 2011+, HL7, Inc. @@ -50,7 +51,7 @@ public class Slot40_50 { for (org.hl7.fhir.r4.model.CodeableConcept t : src.getServiceCategory()) tgt.addServiceCategory(CodeableConcept40_50.convertCodeableConcept(t)); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t)); + tgt.addServiceType(new CodeableReference().setConcept(CodeableConcept40_50.convertCodeableConcept(t))); for (org.hl7.fhir.r4.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) @@ -79,8 +80,9 @@ public class Slot40_50 { tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceCategory()) tgt.addServiceCategory(CodeableConcept40_50.convertCodeableConcept(t)); - for (org.hl7.fhir.r5.model.CodeableConcept t : src.getServiceType()) - tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t)); + for (CodeableReference t : src.getServiceType()) + if (t.hasConcept()) + tgt.addServiceType(CodeableConcept40_50.convertCodeableConcept(t.getConcept())); for (org.hl7.fhir.r5.model.CodeableConcept t : src.getSpecialty()) tgt.addSpecialty(CodeableConcept40_50.convertCodeableConcept(t)); if (src.hasAppointmentType()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Specimen40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Specimen40_50.java index 3dd6d6a52..b4cf0cb58 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Specimen40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/Specimen40_50.java @@ -229,18 +229,18 @@ public class Specimen40_50 { return null; org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent tgt = new org.hl7.fhir.r5.model.Specimen.SpecimenContainerComponent(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - for (org.hl7.fhir.r4.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); - if (src.hasDescription()) - tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); - if (src.hasType()) - tgt.setType(CodeableConcept40_50.convertCodeableConcept(src.getType())); - if (src.hasCapacity()) - tgt.setCapacity(SimpleQuantity40_50.convertSimpleQuantity(src.getCapacity())); - if (src.hasSpecimenQuantity()) - tgt.setSpecimenQuantity(SimpleQuantity40_50.convertSimpleQuantity(src.getSpecimenQuantity())); - if (src.hasAdditive()) - tgt.setAdditive(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAdditive())); +// for (org.hl7.fhir.r4.model.Identifier t : src.getIdentifier()) +// tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); +// if (src.hasDescription()) +// tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); +// if (src.hasType()) +// tgt.setType(CodeableConcept40_50.convertCodeableConcept(src.getType())); +// if (src.hasCapacity()) +// tgt.setCapacity(SimpleQuantity40_50.convertSimpleQuantity(src.getCapacity())); +// if (src.hasSpecimenQuantity()) +// tgt.setSpecimenQuantity(SimpleQuantity40_50.convertSimpleQuantity(src.getSpecimenQuantity())); +// if (src.hasAdditive()) +// tgt.setAdditive(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAdditive())); return tgt; } @@ -249,18 +249,18 @@ public class Specimen40_50 { return null; org.hl7.fhir.r4.model.Specimen.SpecimenContainerComponent tgt = new org.hl7.fhir.r4.model.Specimen.SpecimenContainerComponent(); ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt); - for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) - tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); - if (src.hasDescription()) - tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); - if (src.hasType()) - tgt.setType(CodeableConcept40_50.convertCodeableConcept(src.getType())); - if (src.hasCapacity()) - tgt.setCapacity(SimpleQuantity40_50.convertSimpleQuantity(src.getCapacity())); - if (src.hasSpecimenQuantity()) - tgt.setSpecimenQuantity(SimpleQuantity40_50.convertSimpleQuantity(src.getSpecimenQuantity())); - if (src.hasAdditive()) - tgt.setAdditive(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAdditive())); +// for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) +// tgt.addIdentifier(Identifier40_50.convertIdentifier(t)); +// if (src.hasDescription()) +// tgt.setDescriptionElement(String40_50.convertString(src.getDescriptionElement())); +// if (src.hasType()) +// tgt.setType(CodeableConcept40_50.convertCodeableConcept(src.getType())); +// if (src.hasCapacity()) +// tgt.setCapacity(SimpleQuantity40_50.convertSimpleQuantity(src.getCapacity())); +// if (src.hasSpecimenQuantity()) +// tgt.setSpecimenQuantity(SimpleQuantity40_50.convertSimpleQuantity(src.getSpecimenQuantity())); +// if (src.hasAdditive()) +// tgt.setAdditive(ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().convertType(src.getAdditive())); return tgt; } } \ No newline at end of file diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestReport40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestReport40_50.java index 68c0da70d..ee9786ae8 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestReport40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestReport40_50.java @@ -5,6 +5,7 @@ import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Identifier4 import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.*; import org.hl7.fhir.convertors.conv40_50.datatypes40_50.special40_50.Reference40_50; import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.r4.model.Reference; /* Copyright (c) 2011+, HL7, Inc. @@ -49,7 +50,7 @@ public class TestReport40_50 { if (src.hasStatus()) tgt.setStatusElement(convertTestReportStatus(src.getStatusElement())); if (src.hasTestScript()) - tgt.setTestScript(Reference40_50.convertReference(src.getTestScript())); + tgt.setTestScript(src.getTestScript().getReference()); if (src.hasResult()) tgt.setResultElement(convertTestReportResult(src.getResultElement())); if (src.hasScore()) @@ -81,7 +82,7 @@ public class TestReport40_50 { if (src.hasStatus()) tgt.setStatusElement(convertTestReportStatus(src.getStatusElement())); if (src.hasTestScript()) - tgt.setTestScript(Reference40_50.convertReference(src.getTestScript())); + tgt.setTestScript(new Reference().setReference(src.getTestScript())); if (src.hasResult()) tgt.setResultElement(convertTestReportResult(src.getResultElement())); if (src.hasScore()) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestScript40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestScript40_50.java index 67e6906d0..1e3a95966 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestScript40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv40_50/resources40_50/TestScript40_50.java @@ -449,7 +449,7 @@ public class TestScript40_50 { if (src.hasType()) tgt.setType(Coding40_50.convertCoding(src.getType())); if (src.hasResource()) - tgt.setResource(org.hl7.fhir.r5.model.TestScript.FHIRDefinedType.fromCode(src.getResource())); + tgt.setResource(src.getResource()); if (src.hasLabel()) tgt.setLabelElement(String40_50.convertString(src.getLabelElement())); if (src.hasDescription()) @@ -491,7 +491,7 @@ public class TestScript40_50 { if (src.hasType()) tgt.setType(Coding40_50.convertCoding(src.getType())); if (src.hasResource()) - tgt.setResource(src.getResource().toCode()); + tgt.setResource(src.getResource()); if (src.hasLabel()) tgt.setLabelElement(String40_50.convertString(src.getLabelElement())); if (src.hasDescription()) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java index b32394dbd..0849cd7e2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/BaseWorkerContext.java @@ -1298,7 +1298,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte synchronized (lock) { List res = new ArrayList(); for (ConceptMap map : maps.getList()) { - if (((Reference) map.getSource()).getReference().equals(url)) { + if (((Reference) map.getSourceScope()).getReference().equals(url)) { res.add(map); } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java index 1e58cae33..b77f68396 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/JsonParser.java @@ -30,7 +30,7 @@ package org.hl7.fhir.r5.formats; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 21, 2021 05:44+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent @@ -203,7 +203,6 @@ public class JsonParser extends JsonParserBase { } protected void parseElementProperties(JsonObject json, Element res) throws IOException, FHIRFormatError { - parseBaseProperties(json, res); if (json.has("id")) res.setIdElement(parseString(json.get("id").getAsString())); if (json.has("_id")) @@ -700,9 +699,16 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_patientInstruction"), res.getPatientInstructionElement()); if (json.has("timing")) res.setTiming(parseTiming(getJObject(json, "timing"))); - DataType asNeeded = parseType("asNeeded", json); - if (asNeeded != null) - res.setAsNeeded(asNeeded); + if (json.has("asNeeded")) + res.setAsNeededElement(parseBoolean(json.get("asNeeded").getAsBoolean())); + if (json.has("_asNeeded")) + parseElementProperties(getJObject(json, "_asNeeded"), res.getAsNeededElement()); + if (json.has("asNeededFor")) { + JsonArray array = getJArray(json, "asNeededFor"); + for (int i = 0; i < array.size(); i++) { + res.getAsNeededFor().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; if (json.has("site")) res.setSite(parseCodeableConcept(getJObject(json, "site"))); if (json.has("route")) @@ -715,8 +721,12 @@ public class JsonParser extends JsonParserBase { res.getDoseAndRate().add(parseDosageDoseAndRateComponent(array.get(i).getAsJsonObject())); } }; - if (json.has("maxDosePerPeriod")) - res.setMaxDosePerPeriod(parseRatio(getJObject(json, "maxDosePerPeriod"))); + if (json.has("maxDosePerPeriod")) { + JsonArray array = getJArray(json, "maxDosePerPeriod"); + for (int i = 0; i < array.size(); i++) { + res.getMaxDosePerPeriod().add(parseRatio(array.get(i).getAsJsonObject())); + } + }; if (json.has("maxDosePerAdministration")) res.setMaxDosePerAdministration(parseQuantity(getJObject(json, "maxDosePerAdministration"))); if (json.has("maxDosePerLifetime")) @@ -1217,6 +1227,32 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_reference"), res.getReferenceElement()); } + protected ExtendedContactDetail parseExtendedContactDetail(JsonObject json) throws IOException, FHIRFormatError { + ExtendedContactDetail res = new ExtendedContactDetail(); + parseExtendedContactDetailProperties(json, res); + return res; + } + + protected void parseExtendedContactDetailProperties(JsonObject json, ExtendedContactDetail res) throws IOException, FHIRFormatError { + parseDataTypeProperties(json, res); + if (json.has("purpose")) + res.setPurpose(parseCodeableConcept(getJObject(json, "purpose"))); + if (json.has("name")) + res.setName(parseHumanName(getJObject(json, "name"))); + if (json.has("telecom")) { + JsonArray array = getJArray(json, "telecom"); + for (int i = 0; i < array.size(); i++) { + res.getTelecom().add(parseContactPoint(array.get(i).getAsJsonObject())); + } + }; + if (json.has("address")) + res.setAddress(parseAddress(getJObject(json, "address"))); + if (json.has("organization")) + res.setOrganization(parseReference(getJObject(json, "organization"))); + if (json.has("period")) + res.setPeriod(parsePeriod(getJObject(json, "period"))); + } + protected Extension parseExtension(JsonObject json) throws IOException, FHIRFormatError { Extension res = new Extension(); parseExtensionProperties(json, res); @@ -1527,78 +1563,6 @@ public class JsonParser extends JsonParserBase { res.setPhysiologicalCondition(parseCodeableConcept(getJObject(json, "physiologicalCondition"))); } - protected ProdCharacteristic parseProdCharacteristic(JsonObject json) throws IOException, FHIRFormatError { - ProdCharacteristic res = new ProdCharacteristic(); - parseProdCharacteristicProperties(json, res); - return res; - } - - protected void parseProdCharacteristicProperties(JsonObject json, ProdCharacteristic res) throws IOException, FHIRFormatError { - parseBackboneTypeProperties(json, res); - if (json.has("height")) - res.setHeight(parseQuantity(getJObject(json, "height"))); - if (json.has("width")) - res.setWidth(parseQuantity(getJObject(json, "width"))); - if (json.has("depth")) - res.setDepth(parseQuantity(getJObject(json, "depth"))); - if (json.has("weight")) - res.setWeight(parseQuantity(getJObject(json, "weight"))); - if (json.has("nominalVolume")) - res.setNominalVolume(parseQuantity(getJObject(json, "nominalVolume"))); - if (json.has("externalDiameter")) - res.setExternalDiameter(parseQuantity(getJObject(json, "externalDiameter"))); - if (json.has("shape")) - res.setShapeElement(parseString(json.get("shape").getAsString())); - if (json.has("_shape")) - parseElementProperties(getJObject(json, "_shape"), res.getShapeElement()); - if (json.has("color")) { - JsonArray array = getJArray(json, "color"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getColor().add(new StringType()); - } else {; - res.getColor().add(parseString(array.get(i).getAsString())); - } - } - }; - if (json.has("_color")) { - JsonArray array = getJArray(json, "_color"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getColor().size()) - res.getColor().add(parseString(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getColor().get(i)); - } - }; - if (json.has("imprint")) { - JsonArray array = getJArray(json, "imprint"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getImprint().add(new StringType()); - } else {; - res.getImprint().add(parseString(array.get(i).getAsString())); - } - } - }; - if (json.has("_imprint")) { - JsonArray array = getJArray(json, "_imprint"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getImprint().size()) - res.getImprint().add(parseString(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getImprint().get(i)); - } - }; - if (json.has("image")) { - JsonArray array = getJArray(json, "image"); - for (int i = 0; i < array.size(); i++) { - res.getImage().add(parseAttachment(array.get(i).getAsJsonObject())); - } - }; - if (json.has("scoring")) - res.setScoring(parseCodeableConcept(getJObject(json, "scoring"))); - } - protected ProductShelfLife parseProductShelfLife(JsonObject json) throws IOException, FHIRFormatError { ProductShelfLife res = new ProductShelfLife(); parseProductShelfLifeProperties(json, res); @@ -2635,6 +2599,10 @@ public class JsonParser extends JsonParserBase { res.getParticipant().add(parseAdverseEventParticipantComponent(array.get(i).getAsJsonObject())); } }; + if (json.has("expectedInResearchStudy")) + res.setExpectedInResearchStudyElement(parseBoolean(json.get("expectedInResearchStudy").getAsBoolean())); + if (json.has("_expectedInResearchStudy")) + parseElementProperties(getJObject(json, "_expectedInResearchStudy"), res.getExpectedInResearchStudyElement()); if (json.has("suspectEntity")) { JsonArray array = getJArray(json, "suspectEntity"); for (int i = 0; i < array.size(); i++) { @@ -2828,10 +2796,12 @@ public class JsonParser extends JsonParserBase { res.setRecordedDateElement(parseDateTime(json.get("recordedDate").getAsString())); if (json.has("_recordedDate")) parseElementProperties(getJObject(json, "_recordedDate"), res.getRecordedDateElement()); - if (json.has("recorder")) - res.setRecorder(parseReference(getJObject(json, "recorder"))); - if (json.has("asserter")) - res.setAsserter(parseReference(getJObject(json, "asserter"))); + if (json.has("participant")) { + JsonArray array = getJArray(json, "participant"); + for (int i = 0; i < array.size(); i++) { + res.getParticipant().add(parseAllergyIntoleranceParticipantComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("lastOccurrence")) res.setLastOccurrenceElement(parseDateTime(json.get("lastOccurrence").getAsString())); if (json.has("_lastOccurrence")) @@ -2850,6 +2820,20 @@ public class JsonParser extends JsonParserBase { }; } + protected AllergyIntolerance.AllergyIntoleranceParticipantComponent parseAllergyIntoleranceParticipantComponent(JsonObject json) throws IOException, FHIRFormatError { + AllergyIntolerance.AllergyIntoleranceParticipantComponent res = new AllergyIntolerance.AllergyIntoleranceParticipantComponent(); + parseAllergyIntoleranceParticipantComponentProperties(json, res); + return res; + } + + protected void parseAllergyIntoleranceParticipantComponentProperties(JsonObject json, AllergyIntolerance.AllergyIntoleranceParticipantComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("function")) + res.setFunction(parseCodeableConcept(getJObject(json, "function"))); + if (json.has("actor")) + res.setActor(parseReference(getJObject(json, "actor"))); + } + protected AllergyIntolerance.AllergyIntoleranceReactionComponent parseAllergyIntoleranceReactionComponent(JsonObject json) throws IOException, FHIRFormatError { AllergyIntolerance.AllergyIntoleranceReactionComponent res = new AllergyIntolerance.AllergyIntoleranceReactionComponent(); parseAllergyIntoleranceReactionComponentProperties(json, res); @@ -2917,7 +2901,7 @@ public class JsonParser extends JsonParserBase { if (json.has("serviceType")) { JsonArray array = getJArray(json, "serviceType"); for (int i = 0; i < array.size(); i++) { - res.getServiceType().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + res.getServiceType().add(parseCodeableReference(array.get(i).getAsJsonObject())); } }; if (json.has("specialty")) { @@ -3091,7 +3075,7 @@ public class JsonParser extends JsonParserBase { } protected void parseArtifactAssessmentProperties(JsonObject json, ArtifactAssessment res) throws IOException, FHIRFormatError { - parseMetadataResourceProperties(json, res); + parseDomainResourceProperties(json, res); if (json.has("identifier")) { JsonArray array = getJArray(json, "identifier"); for (int i = 0; i < array.size(); i++) { @@ -3244,6 +3228,8 @@ public class JsonParser extends JsonParserBase { res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("patient")) + res.setPatient(parseReference(getJObject(json, "patient"))); if (json.has("encounter")) res.setEncounter(parseReference(getJObject(json, "encounter"))); if (json.has("agent")) { @@ -3424,7 +3410,7 @@ public class JsonParser extends JsonParserBase { if (json.has("subject")) res.setSubject(parseReference(getJObject(json, "subject"))); if (json.has("created")) - res.setCreatedElement(parseDate(json.get("created").getAsString())); + res.setCreatedElement(parseDateTime(json.get("created").getAsString())); if (json.has("_created")) parseElementProperties(getJObject(json, "_created"), res.getCreatedElement()); if (json.has("author")) @@ -3460,11 +3446,9 @@ public class JsonParser extends JsonParserBase { protected void parseBiologicallyDerivedProductProperties(JsonObject json, BiologicallyDerivedProduct res) throws IOException, FHIRFormatError { parseDomainResourceProperties(json, res); if (json.has("productCategory")) - res.setProductCategoryElement(parseEnumeration(json.get("productCategory").getAsString(), BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.NULL, new BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory())); - if (json.has("_productCategory")) - parseElementProperties(getJObject(json, "_productCategory"), res.getProductCategoryElement()); + res.setProductCategory(parseCoding(getJObject(json, "productCategory"))); if (json.has("productCode")) - res.setProductCode(parseCodeableConcept(getJObject(json, "productCode"))); + res.setProductCode(parseCoding(getJObject(json, "productCode"))); if (json.has("parent")) { JsonArray array = getJArray(json, "parent"); for (int i = 0; i < array.size(); i++) { @@ -3483,8 +3467,8 @@ public class JsonParser extends JsonParserBase { res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); } }; - if (json.has("biologicalSource")) - res.setBiologicalSource(parseIdentifier(getJObject(json, "biologicalSource"))); + if (json.has("biologicalSourceEvent")) + res.setBiologicalSourceEvent(parseIdentifier(getJObject(json, "biologicalSourceEvent"))); if (json.has("processingFacility")) { JsonArray array = getJArray(json, "processingFacility"); for (int i = 0; i < array.size(); i++) { @@ -3495,10 +3479,8 @@ public class JsonParser extends JsonParserBase { res.setDivisionElement(parseString(json.get("division").getAsString())); if (json.has("_division")) parseElementProperties(getJObject(json, "_division"), res.getDivisionElement()); - if (json.has("status")) - res.setStatusElement(parseEnumeration(json.get("status").getAsString(), BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.NULL, new BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory())); - if (json.has("_status")) - parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); + if (json.has("productStatus")) + res.setProductStatus(parseCoding(getJObject(json, "productStatus"))); if (json.has("expirationDate")) res.setExpirationDateElement(parseDateTime(json.get("expirationDate").getAsString())); if (json.has("_expirationDate")) @@ -3541,7 +3523,7 @@ public class JsonParser extends JsonParserBase { protected void parseBiologicallyDerivedProductPropertyComponentProperties(JsonObject json, BiologicallyDerivedProduct.BiologicallyDerivedProductPropertyComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("type")) - res.setType(parseCodeableConcept(getJObject(json, "type"))); + res.setType(parseCoding(getJObject(json, "type"))); DataType value = parseType("value", json); if (value != null) res.setValue(value); @@ -3567,8 +3549,6 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_active"), res.getActiveElement()); if (json.has("morphology")) res.setMorphology(parseCodeableConcept(getJObject(json, "morphology"))); - if (json.has("location")) - res.setLocation(parseCodeableConcept(getJObject(json, "location"))); if (json.has("includedStructure")) { JsonArray array = getJArray(json, "includedStructure"); for (int i = 0; i < array.size(); i++) { @@ -5026,8 +5006,8 @@ public class JsonParser extends JsonParserBase { res.setCreatedElement(parseDateTime(json.get("created").getAsString())); if (json.has("_created")) parseElementProperties(getJObject(json, "_created"), res.getCreatedElement()); - if (json.has("author")) - res.setAuthor(parseReference(getJObject(json, "author"))); + if (json.has("custodian")) + res.setCustodian(parseReference(getJObject(json, "custodian"))); if (json.has("contributor")) { JsonArray array = getJArray(json, "contributor"); for (int i = 0; i < array.size(); i++) { @@ -5921,7 +5901,7 @@ public class JsonParser extends JsonParserBase { if (json.has("relatesTo")) { JsonArray array = getJArray(json, "relatesTo"); for (int i = 0; i < array.size(); i++) { - res.getRelatesTo().add(parseRelatedArtifact(array.get(i).getAsJsonObject())); + res.getRelatesTo().add(parseCitationCitedArtifactRelatesToComponent(array.get(i).getAsJsonObject())); } }; if (json.has("publicationForm")) { @@ -6048,6 +6028,46 @@ public class JsonParser extends JsonParserBase { res.setBaseCitation(parseReference(getJObject(json, "baseCitation"))); } + protected Citation.CitationCitedArtifactRelatesToComponent parseCitationCitedArtifactRelatesToComponent(JsonObject json) throws IOException, FHIRFormatError { + Citation.CitationCitedArtifactRelatesToComponent res = new Citation.CitationCitedArtifactRelatesToComponent(); + parseCitationCitedArtifactRelatesToComponentProperties(json, res); + return res; + } + + protected void parseCitationCitedArtifactRelatesToComponentProperties(JsonObject json, Citation.CitationCitedArtifactRelatesToComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("type")) + res.setTypeElement(parseEnumeration(json.get("type").getAsString(), Citation.RelatedArtifactTypeExpanded.NULL, new Citation.RelatedArtifactTypeExpandedEnumFactory())); + if (json.has("_type")) + parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); + if (json.has("classifier")) { + JsonArray array = getJArray(json, "classifier"); + for (int i = 0; i < array.size(); i++) { + res.getClassifier().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; + if (json.has("label")) + res.setLabelElement(parseString(json.get("label").getAsString())); + if (json.has("_label")) + parseElementProperties(getJObject(json, "_label"), res.getLabelElement()); + if (json.has("display")) + res.setDisplayElement(parseString(json.get("display").getAsString())); + if (json.has("_display")) + parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); + if (json.has("citation")) + res.setCitationElement(parseMarkdown(json.get("citation").getAsString())); + if (json.has("_citation")) + parseElementProperties(getJObject(json, "_citation"), res.getCitationElement()); + if (json.has("document")) + res.setDocument(parseAttachment(getJObject(json, "document"))); + if (json.has("resource")) + res.setResourceElement(parseCanonical(json.get("resource").getAsString())); + if (json.has("_resource")) + parseElementProperties(getJObject(json, "_resource"), res.getResourceElement()); + if (json.has("resourceReference")) + res.setResourceReference(parseReference(getJObject(json, "resourceReference"))); + } + protected Citation.CitationCitedArtifactPublicationFormComponent parseCitationCitedArtifactPublicationFormComponent(JsonObject json) throws IOException, FHIRFormatError { Citation.CitationCitedArtifactPublicationFormComponent res = new Citation.CitationCitedArtifactPublicationFormComponent(); parseCitationCitedArtifactPublicationFormComponentProperties(json, res); @@ -6220,32 +6240,12 @@ public class JsonParser extends JsonParserBase { res.getClassifier().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; - if (json.has("whoClassified")) - res.setWhoClassified(parseCitationCitedArtifactClassificationWhoClassifiedComponent(getJObject(json, "whoClassified"))); + if (json.has("artifactAssessment")) { + JsonArray array = getJArray(json, "artifactAssessment"); + for (int i = 0; i < array.size(); i++) { + res.getArtifactAssessment().add(parseReference(array.get(i).getAsJsonObject())); } - - protected Citation.CitationCitedArtifactClassificationWhoClassifiedComponent parseCitationCitedArtifactClassificationWhoClassifiedComponent(JsonObject json) throws IOException, FHIRFormatError { - Citation.CitationCitedArtifactClassificationWhoClassifiedComponent res = new Citation.CitationCitedArtifactClassificationWhoClassifiedComponent(); - parseCitationCitedArtifactClassificationWhoClassifiedComponentProperties(json, res); - return res; - } - - protected void parseCitationCitedArtifactClassificationWhoClassifiedComponentProperties(JsonObject json, Citation.CitationCitedArtifactClassificationWhoClassifiedComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("person")) - res.setPerson(parseReference(getJObject(json, "person"))); - if (json.has("organization")) - res.setOrganization(parseReference(getJObject(json, "organization"))); - if (json.has("publisher")) - res.setPublisher(parseReference(getJObject(json, "publisher"))); - if (json.has("classifierCopyright")) - res.setClassifierCopyrightElement(parseString(json.get("classifierCopyright").getAsString())); - if (json.has("_classifierCopyright")) - parseElementProperties(getJObject(json, "_classifierCopyright"), res.getClassifierCopyrightElement()); - if (json.has("freeToShare")) - res.setFreeToShareElement(parseBoolean(json.get("freeToShare").getAsBoolean())); - if (json.has("_freeToShare")) - parseElementProperties(getJObject(json, "_freeToShare"), res.getFreeToShareElement()); + }; } protected Citation.CitationCitedArtifactContributorshipComponent parseCitationCitedArtifactContributorshipComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -6269,7 +6269,7 @@ public class JsonParser extends JsonParserBase { if (json.has("summary")) { JsonArray array = getJArray(json, "summary"); for (int i = 0; i < array.size(); i++) { - res.getSummary().add(parseCitationCitedArtifactContributorshipSummaryComponent(array.get(i).getAsJsonObject())); + res.getSummary().add(parseCitationContributorshipSummaryComponent(array.get(i).getAsJsonObject())); } }; } @@ -6282,38 +6282,16 @@ public class JsonParser extends JsonParserBase { protected void parseCitationCitedArtifactContributorshipEntryComponentProperties(JsonObject json, Citation.CitationCitedArtifactContributorshipEntryComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("name")) - res.setName(parseHumanName(getJObject(json, "name"))); - if (json.has("initials")) - res.setInitialsElement(parseString(json.get("initials").getAsString())); - if (json.has("_initials")) - parseElementProperties(getJObject(json, "_initials"), res.getInitialsElement()); - if (json.has("collectiveName")) - res.setCollectiveNameElement(parseString(json.get("collectiveName").getAsString())); - if (json.has("_collectiveName")) - parseElementProperties(getJObject(json, "_collectiveName"), res.getCollectiveNameElement()); - if (json.has("identifier")) { - JsonArray array = getJArray(json, "identifier"); + if (json.has("contributor")) + res.setContributor(parseReference(getJObject(json, "contributor"))); + if (json.has("forenameInitials")) + res.setForenameInitialsElement(parseString(json.get("forenameInitials").getAsString())); + if (json.has("_forenameInitials")) + parseElementProperties(getJObject(json, "_forenameInitials"), res.getForenameInitialsElement()); + if (json.has("affiliation")) { + JsonArray array = getJArray(json, "affiliation"); for (int i = 0; i < array.size(); i++) { - res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); - } - }; - if (json.has("affiliationInfo")) { - JsonArray array = getJArray(json, "affiliationInfo"); - for (int i = 0; i < array.size(); i++) { - res.getAffiliationInfo().add(parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(array.get(i).getAsJsonObject())); - } - }; - if (json.has("address")) { - JsonArray array = getJArray(json, "address"); - for (int i = 0; i < array.size(); i++) { - res.getAddress().add(parseAddress(array.get(i).getAsJsonObject())); - } - }; - if (json.has("telecom")) { - JsonArray array = getJArray(json, "telecom"); - for (int i = 0; i < array.size(); i++) { - res.getTelecom().add(parseContactPoint(array.get(i).getAsJsonObject())); + res.getAffiliation().add(parseReference(array.get(i).getAsJsonObject())); } }; if (json.has("contributionType")) { @@ -6340,30 +6318,6 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_rankingOrder"), res.getRankingOrderElement()); } - protected Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(JsonObject json) throws IOException, FHIRFormatError { - Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent res = new Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent(); - parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponentProperties(json, res); - return res; - } - - protected void parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponentProperties(JsonObject json, Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("affiliation")) - res.setAffiliationElement(parseString(json.get("affiliation").getAsString())); - if (json.has("_affiliation")) - parseElementProperties(getJObject(json, "_affiliation"), res.getAffiliationElement()); - if (json.has("role")) - res.setRoleElement(parseString(json.get("role").getAsString())); - if (json.has("_role")) - parseElementProperties(getJObject(json, "_role"), res.getRoleElement()); - if (json.has("identifier")) { - JsonArray array = getJArray(json, "identifier"); - for (int i = 0; i < array.size(); i++) { - res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); - } - }; - } - protected Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent parseCitationCitedArtifactContributorshipEntryContributionInstanceComponent(JsonObject json) throws IOException, FHIRFormatError { Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent res = new Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent(); parseCitationCitedArtifactContributorshipEntryContributionInstanceComponentProperties(json, res); @@ -6380,13 +6334,13 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_time"), res.getTimeElement()); } - protected Citation.CitationCitedArtifactContributorshipSummaryComponent parseCitationCitedArtifactContributorshipSummaryComponent(JsonObject json) throws IOException, FHIRFormatError { - Citation.CitationCitedArtifactContributorshipSummaryComponent res = new Citation.CitationCitedArtifactContributorshipSummaryComponent(); - parseCitationCitedArtifactContributorshipSummaryComponentProperties(json, res); + protected Citation.ContributorshipSummaryComponent parseCitationContributorshipSummaryComponent(JsonObject json) throws IOException, FHIRFormatError { + Citation.ContributorshipSummaryComponent res = new Citation.ContributorshipSummaryComponent(); + parseCitationContributorshipSummaryComponentProperties(json, res); return res; } - protected void parseCitationCitedArtifactContributorshipSummaryComponentProperties(JsonObject json, Citation.CitationCitedArtifactContributorshipSummaryComponent res) throws IOException, FHIRFormatError { + protected void parseCitationContributorshipSummaryComponentProperties(JsonObject json, Citation.ContributorshipSummaryComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("type")) res.setType(parseCodeableConcept(getJObject(json, "type"))); @@ -7718,7 +7672,7 @@ public class JsonParser extends JsonParserBase { } }; if (json.has("type")) - res.setTypeElement(parseEnumeration(json.get("type").getAsString(), Enumerations.ClinicalUseIssueType.NULL, new Enumerations.ClinicalUseIssueTypeEnumFactory())); + res.setTypeElement(parseEnumeration(json.get("type").getAsString(), ClinicalUseDefinition.ClinicalUseDefinitionType.NULL, new ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory())); if (json.has("_type")) parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); if (json.has("category")) { @@ -7819,8 +7773,9 @@ public class JsonParser extends JsonParserBase { }; if (json.has("intendedEffect")) res.setIntendedEffect(parseCodeableReference(getJObject(json, "intendedEffect"))); - if (json.has("duration")) - res.setDuration(parseQuantity(getJObject(json, "duration"))); + DataType duration = parseType("duration", json); + if (duration != null) + res.setDuration(duration); if (json.has("undesirableEffect")) { JsonArray array = getJArray(json, "undesirableEffect"); for (int i = 0; i < array.size(); i++) { @@ -7908,197 +7863,6 @@ public class JsonParser extends JsonParserBase { res.setCode(parseCodeableConcept(getJObject(json, "code"))); } - protected ClinicalUseIssue parseClinicalUseIssue(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue res = new ClinicalUseIssue(); - parseClinicalUseIssueProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueProperties(JsonObject json, ClinicalUseIssue res) throws IOException, FHIRFormatError { - parseDomainResourceProperties(json, res); - if (json.has("identifier")) { - JsonArray array = getJArray(json, "identifier"); - for (int i = 0; i < array.size(); i++) { - res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); - } - }; - if (json.has("type")) - res.setTypeElement(parseEnumeration(json.get("type").getAsString(), Enumerations.ClinicalUseIssueType.NULL, new Enumerations.ClinicalUseIssueTypeEnumFactory())); - if (json.has("_type")) - parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); - if (json.has("category")) { - JsonArray array = getJArray(json, "category"); - for (int i = 0; i < array.size(); i++) { - res.getCategory().add(parseCodeableConcept(array.get(i).getAsJsonObject())); - } - }; - if (json.has("subject")) { - JsonArray array = getJArray(json, "subject"); - for (int i = 0; i < array.size(); i++) { - res.getSubject().add(parseReference(array.get(i).getAsJsonObject())); - } - }; - if (json.has("status")) - res.setStatus(parseCodeableConcept(getJObject(json, "status"))); - if (json.has("description")) - res.setDescriptionElement(parseMarkdown(json.get("description").getAsString())); - if (json.has("_description")) - parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); - if (json.has("contraindication")) - res.setContraindication(parseClinicalUseIssueContraindicationComponent(getJObject(json, "contraindication"))); - if (json.has("indication")) - res.setIndication(parseClinicalUseIssueIndicationComponent(getJObject(json, "indication"))); - if (json.has("interaction")) - res.setInteraction(parseClinicalUseIssueInteractionComponent(getJObject(json, "interaction"))); - if (json.has("population")) { - JsonArray array = getJArray(json, "population"); - for (int i = 0; i < array.size(); i++) { - res.getPopulation().add(parsePopulation(array.get(i).getAsJsonObject())); - } - }; - if (json.has("undesirableEffect")) - res.setUndesirableEffect(parseClinicalUseIssueUndesirableEffectComponent(getJObject(json, "undesirableEffect"))); - } - - protected ClinicalUseIssue.ClinicalUseIssueContraindicationComponent parseClinicalUseIssueContraindicationComponent(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueContraindicationComponent res = new ClinicalUseIssue.ClinicalUseIssueContraindicationComponent(); - parseClinicalUseIssueContraindicationComponentProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueContraindicationComponentProperties(JsonObject json, ClinicalUseIssue.ClinicalUseIssueContraindicationComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("diseaseSymptomProcedure")) - res.setDiseaseSymptomProcedure(parseCodeableReference(getJObject(json, "diseaseSymptomProcedure"))); - if (json.has("diseaseStatus")) - res.setDiseaseStatus(parseCodeableReference(getJObject(json, "diseaseStatus"))); - if (json.has("comorbidity")) { - JsonArray array = getJArray(json, "comorbidity"); - for (int i = 0; i < array.size(); i++) { - res.getComorbidity().add(parseCodeableReference(array.get(i).getAsJsonObject())); - } - }; - if (json.has("indication")) { - JsonArray array = getJArray(json, "indication"); - for (int i = 0; i < array.size(); i++) { - res.getIndication().add(parseReference(array.get(i).getAsJsonObject())); - } - }; - if (json.has("otherTherapy")) { - JsonArray array = getJArray(json, "otherTherapy"); - for (int i = 0; i < array.size(); i++) { - res.getOtherTherapy().add(parseClinicalUseIssueContraindicationOtherTherapyComponent(array.get(i).getAsJsonObject())); - } - }; - } - - protected ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent parseClinicalUseIssueContraindicationOtherTherapyComponent(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent res = new ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent(); - parseClinicalUseIssueContraindicationOtherTherapyComponentProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueContraindicationOtherTherapyComponentProperties(JsonObject json, ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("relationshipType")) - res.setRelationshipType(parseCodeableConcept(getJObject(json, "relationshipType"))); - if (json.has("therapy")) - res.setTherapy(parseCodeableReference(getJObject(json, "therapy"))); - } - - protected ClinicalUseIssue.ClinicalUseIssueIndicationComponent parseClinicalUseIssueIndicationComponent(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueIndicationComponent res = new ClinicalUseIssue.ClinicalUseIssueIndicationComponent(); - parseClinicalUseIssueIndicationComponentProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueIndicationComponentProperties(JsonObject json, ClinicalUseIssue.ClinicalUseIssueIndicationComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("diseaseSymptomProcedure")) - res.setDiseaseSymptomProcedure(parseCodeableReference(getJObject(json, "diseaseSymptomProcedure"))); - if (json.has("diseaseStatus")) - res.setDiseaseStatus(parseCodeableReference(getJObject(json, "diseaseStatus"))); - if (json.has("comorbidity")) { - JsonArray array = getJArray(json, "comorbidity"); - for (int i = 0; i < array.size(); i++) { - res.getComorbidity().add(parseCodeableReference(array.get(i).getAsJsonObject())); - } - }; - if (json.has("intendedEffect")) - res.setIntendedEffect(parseCodeableReference(getJObject(json, "intendedEffect"))); - if (json.has("duration")) - res.setDuration(parseQuantity(getJObject(json, "duration"))); - if (json.has("undesirableEffect")) { - JsonArray array = getJArray(json, "undesirableEffect"); - for (int i = 0; i < array.size(); i++) { - res.getUndesirableEffect().add(parseReference(array.get(i).getAsJsonObject())); - } - }; - if (json.has("otherTherapy")) { - JsonArray array = getJArray(json, "otherTherapy"); - for (int i = 0; i < array.size(); i++) { - res.getOtherTherapy().add(parseClinicalUseIssueContraindicationOtherTherapyComponent(array.get(i).getAsJsonObject())); - } - }; - } - - protected ClinicalUseIssue.ClinicalUseIssueInteractionComponent parseClinicalUseIssueInteractionComponent(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueInteractionComponent res = new ClinicalUseIssue.ClinicalUseIssueInteractionComponent(); - parseClinicalUseIssueInteractionComponentProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueInteractionComponentProperties(JsonObject json, ClinicalUseIssue.ClinicalUseIssueInteractionComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("interactant")) { - JsonArray array = getJArray(json, "interactant"); - for (int i = 0; i < array.size(); i++) { - res.getInteractant().add(parseClinicalUseIssueInteractionInteractantComponent(array.get(i).getAsJsonObject())); - } - }; - if (json.has("type")) - res.setType(parseCodeableConcept(getJObject(json, "type"))); - if (json.has("effect")) - res.setEffect(parseCodeableReference(getJObject(json, "effect"))); - if (json.has("incidence")) - res.setIncidence(parseCodeableConcept(getJObject(json, "incidence"))); - if (json.has("management")) { - JsonArray array = getJArray(json, "management"); - for (int i = 0; i < array.size(); i++) { - res.getManagement().add(parseCodeableConcept(array.get(i).getAsJsonObject())); - } - }; - } - - protected ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent parseClinicalUseIssueInteractionInteractantComponent(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent res = new ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent(); - parseClinicalUseIssueInteractionInteractantComponentProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueInteractionInteractantComponentProperties(JsonObject json, ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - DataType item = parseType("item", json); - if (item != null) - res.setItem(item); - } - - protected ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent parseClinicalUseIssueUndesirableEffectComponent(JsonObject json) throws IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent res = new ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent(); - parseClinicalUseIssueUndesirableEffectComponentProperties(json, res); - return res; - } - - protected void parseClinicalUseIssueUndesirableEffectComponentProperties(JsonObject json, ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("symptomConditionEffect")) - res.setSymptomConditionEffect(parseCodeableReference(getJObject(json, "symptomConditionEffect"))); - if (json.has("classification")) - res.setClassification(parseCodeableConcept(getJObject(json, "classification"))); - if (json.has("frequencyOfOccurrence")) - res.setFrequencyOfOccurrence(parseCodeableConcept(getJObject(json, "frequencyOfOccurrence"))); - } - protected CodeSystem parseCodeSystem(JsonObject json) throws IOException, FHIRFormatError { CodeSystem res = new CodeSystem(); parseCodeSystemProperties(json, res); @@ -8763,8 +8527,16 @@ public class JsonParser extends JsonParserBase { protected void parseCompositionProperties(JsonObject json, Composition res) throws IOException, FHIRFormatError { parseDomainResourceProperties(json, res); + if (json.has("url")) + res.setUrlElement(parseUri(json.get("url").getAsString())); + if (json.has("_url")) + parseElementProperties(getJObject(json, "_url"), res.getUrlElement()); if (json.has("identifier")) res.setIdentifier(parseIdentifier(getJObject(json, "identifier"))); + if (json.has("version")) + res.setVersionElement(parseString(json.get("version").getAsString())); + if (json.has("_version")) + parseElementProperties(getJObject(json, "_version"), res.getVersionElement()); if (json.has("status")) res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.CompositionStatus.NULL, new Enumerations.CompositionStatusEnumFactory())); if (json.has("_status")) @@ -8785,16 +8557,32 @@ public class JsonParser extends JsonParserBase { res.setDateElement(parseDateTime(json.get("date").getAsString())); if (json.has("_date")) parseElementProperties(getJObject(json, "_date"), res.getDateElement()); + if (json.has("useContext")) { + JsonArray array = getJArray(json, "useContext"); + for (int i = 0; i < array.size(); i++) { + res.getUseContext().add(parseUsageContext(array.get(i).getAsJsonObject())); + } + }; if (json.has("author")) { JsonArray array = getJArray(json, "author"); for (int i = 0; i < array.size(); i++) { res.getAuthor().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("name")) + res.setNameElement(parseString(json.get("name").getAsString())); + if (json.has("_name")) + parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("title")) res.setTitleElement(parseString(json.get("title").getAsString())); if (json.has("_title")) parseElementProperties(getJObject(json, "_title"), res.getTitleElement()); + if (json.has("note")) { + JsonArray array = getJArray(json, "note"); + for (int i = 0; i < array.size(); i++) { + res.getNote().add(parseAnnotation(array.get(i).getAsJsonObject())); + } + }; if (json.has("confidentiality")) res.setConfidentialityElement(parseCode(json.get("confidentiality").getAsString())); if (json.has("_confidentiality")) @@ -8922,7 +8710,7 @@ public class JsonParser extends JsonParserBase { } protected void parseConceptMapProperties(JsonObject json, ConceptMap res) throws IOException, FHIRFormatError { - parseCanonicalResourceProperties(json, res); + parseMetadataResourceProperties(json, res); if (json.has("url")) res.setUrlElement(parseUri(json.get("url").getAsString())); if (json.has("_url")) @@ -8991,12 +8779,12 @@ public class JsonParser extends JsonParserBase { res.setCopyrightElement(parseMarkdown(json.get("copyright").getAsString())); if (json.has("_copyright")) parseElementProperties(getJObject(json, "_copyright"), res.getCopyrightElement()); - DataType source = parseType("source", json); - if (source != null) - res.setSource(source); - DataType target = parseType("target", json); - if (target != null) - res.setTarget(target); + DataType sourceScope = parseType("sourceScope", json); + if (sourceScope != null) + res.setSourceScope(sourceScope); + DataType targetScope = parseType("targetScope", json); + if (targetScope != null) + res.setTargetScope(targetScope); if (json.has("group")) { JsonArray array = getJArray(json, "group"); for (int i = 0; i < array.size(); i++) { @@ -9047,6 +8835,10 @@ public class JsonParser extends JsonParserBase { res.setDisplayElement(parseString(json.get("display").getAsString())); if (json.has("_display")) parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); + if (json.has("valueSet")) + res.setValueSetElement(parseCanonical(json.get("valueSet").getAsString())); + if (json.has("_valueSet")) + parseElementProperties(getJObject(json, "_valueSet"), res.getValueSetElement()); if (json.has("noMap")) res.setNoMapElement(parseBoolean(json.get("noMap").getAsBoolean())); if (json.has("_noMap")) @@ -9075,6 +8867,10 @@ public class JsonParser extends JsonParserBase { res.setDisplayElement(parseString(json.get("display").getAsString())); if (json.has("_display")) parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); + if (json.has("valueSet")) + res.setValueSetElement(parseCanonical(json.get("valueSet").getAsString())); + if (json.has("_valueSet")) + parseElementProperties(getJObject(json, "_valueSet"), res.getValueSetElement()); if (json.has("relationship")) res.setRelationshipElement(parseEnumeration(json.get("relationship").getAsString(), Enumerations.ConceptMapRelationship.NULL, new Enumerations.ConceptMapRelationshipEnumFactory())); if (json.has("_relationship")) @@ -9109,18 +8905,13 @@ public class JsonParser extends JsonParserBase { res.setPropertyElement(parseUri(json.get("property").getAsString())); if (json.has("_property")) parseElementProperties(getJObject(json, "_property"), res.getPropertyElement()); - if (json.has("system")) - res.setSystemElement(parseCanonical(json.get("system").getAsString())); - if (json.has("_system")) - parseElementProperties(getJObject(json, "_system"), res.getSystemElement()); - if (json.has("value")) - res.setValueElement(parseString(json.get("value").getAsString())); - if (json.has("_value")) - parseElementProperties(getJObject(json, "_value"), res.getValueElement()); - if (json.has("display")) - res.setDisplayElement(parseString(json.get("display").getAsString())); - if (json.has("_display")) - parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); + DataType value = parseType("value", json); + if (value != null) + res.setValue(value); + if (json.has("valueSet")) + res.setValueSetElement(parseCanonical(json.get("valueSet").getAsString())); + if (json.has("_valueSet")) + parseElementProperties(getJObject(json, "_valueSet"), res.getValueSetElement()); } protected ConceptMap.ConceptMapGroupUnmappedComponent parseConceptMapGroupUnmappedComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -9132,179 +8923,9 @@ public class JsonParser extends JsonParserBase { protected void parseConceptMapGroupUnmappedComponentProperties(JsonObject json, ConceptMap.ConceptMapGroupUnmappedComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("mode")) - res.setModeElement(parseEnumeration(json.get("mode").getAsString(), Enumerations.ConceptMapGroupUnmappedMode.NULL, new Enumerations.ConceptMapGroupUnmappedModeEnumFactory())); + res.setModeElement(parseEnumeration(json.get("mode").getAsString(), ConceptMap.ConceptMapGroupUnmappedMode.NULL, new ConceptMap.ConceptMapGroupUnmappedModeEnumFactory())); if (json.has("_mode")) parseElementProperties(getJObject(json, "_mode"), res.getModeElement()); - if (json.has("code")) - res.setCodeElement(parseCode(json.get("code").getAsString())); - if (json.has("_code")) - parseElementProperties(getJObject(json, "_code"), res.getCodeElement()); - if (json.has("display")) - res.setDisplayElement(parseString(json.get("display").getAsString())); - if (json.has("_display")) - parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); - if (json.has("url")) - res.setUrlElement(parseCanonical(json.get("url").getAsString())); - if (json.has("_url")) - parseElementProperties(getJObject(json, "_url"), res.getUrlElement()); - } - - protected ConceptMap2 parseConceptMap2(JsonObject json) throws IOException, FHIRFormatError { - ConceptMap2 res = new ConceptMap2(); - parseConceptMap2Properties(json, res); - return res; - } - - protected void parseConceptMap2Properties(JsonObject json, ConceptMap2 res) throws IOException, FHIRFormatError { - parseCanonicalResourceProperties(json, res); - if (json.has("url")) - res.setUrlElement(parseUri(json.get("url").getAsString())); - if (json.has("_url")) - parseElementProperties(getJObject(json, "_url"), res.getUrlElement()); - if (json.has("identifier")) { - JsonArray array = getJArray(json, "identifier"); - for (int i = 0; i < array.size(); i++) { - res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); - } - }; - if (json.has("version")) - res.setVersionElement(parseString(json.get("version").getAsString())); - if (json.has("_version")) - parseElementProperties(getJObject(json, "_version"), res.getVersionElement()); - if (json.has("name")) - res.setNameElement(parseString(json.get("name").getAsString())); - if (json.has("_name")) - parseElementProperties(getJObject(json, "_name"), res.getNameElement()); - if (json.has("title")) - res.setTitleElement(parseString(json.get("title").getAsString())); - if (json.has("_title")) - parseElementProperties(getJObject(json, "_title"), res.getTitleElement()); - if (json.has("status")) - res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory())); - if (json.has("_status")) - parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); - if (json.has("experimental")) - res.setExperimentalElement(parseBoolean(json.get("experimental").getAsBoolean())); - if (json.has("_experimental")) - parseElementProperties(getJObject(json, "_experimental"), res.getExperimentalElement()); - if (json.has("date")) - res.setDateElement(parseDateTime(json.get("date").getAsString())); - if (json.has("_date")) - parseElementProperties(getJObject(json, "_date"), res.getDateElement()); - if (json.has("publisher")) - res.setPublisherElement(parseString(json.get("publisher").getAsString())); - if (json.has("_publisher")) - parseElementProperties(getJObject(json, "_publisher"), res.getPublisherElement()); - if (json.has("contact")) { - JsonArray array = getJArray(json, "contact"); - for (int i = 0; i < array.size(); i++) { - res.getContact().add(parseContactDetail(array.get(i).getAsJsonObject())); - } - }; - if (json.has("description")) - res.setDescriptionElement(parseMarkdown(json.get("description").getAsString())); - if (json.has("_description")) - parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); - if (json.has("useContext")) { - JsonArray array = getJArray(json, "useContext"); - for (int i = 0; i < array.size(); i++) { - res.getUseContext().add(parseUsageContext(array.get(i).getAsJsonObject())); - } - }; - if (json.has("jurisdiction")) { - JsonArray array = getJArray(json, "jurisdiction"); - for (int i = 0; i < array.size(); i++) { - res.getJurisdiction().add(parseCodeableConcept(array.get(i).getAsJsonObject())); - } - }; - if (json.has("purpose")) - res.setPurposeElement(parseMarkdown(json.get("purpose").getAsString())); - if (json.has("_purpose")) - parseElementProperties(getJObject(json, "_purpose"), res.getPurposeElement()); - if (json.has("copyright")) - res.setCopyrightElement(parseMarkdown(json.get("copyright").getAsString())); - if (json.has("_copyright")) - parseElementProperties(getJObject(json, "_copyright"), res.getCopyrightElement()); - DataType source = parseType("source", json); - if (source != null) - res.setSource(source); - DataType target = parseType("target", json); - if (target != null) - res.setTarget(target); - if (json.has("group")) { - JsonArray array = getJArray(json, "group"); - for (int i = 0; i < array.size(); i++) { - res.getGroup().add(parseConceptMap2GroupComponent(array.get(i).getAsJsonObject())); - } - }; - } - - protected ConceptMap2.ConceptMap2GroupComponent parseConceptMap2GroupComponent(JsonObject json) throws IOException, FHIRFormatError { - ConceptMap2.ConceptMap2GroupComponent res = new ConceptMap2.ConceptMap2GroupComponent(); - parseConceptMap2GroupComponentProperties(json, res); - return res; - } - - protected void parseConceptMap2GroupComponentProperties(JsonObject json, ConceptMap2.ConceptMap2GroupComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("source")) - res.setSourceElement(parseCanonical(json.get("source").getAsString())); - if (json.has("_source")) - parseElementProperties(getJObject(json, "_source"), res.getSourceElement()); - if (json.has("target")) - res.setTargetElement(parseCanonical(json.get("target").getAsString())); - if (json.has("_target")) - parseElementProperties(getJObject(json, "_target"), res.getTargetElement()); - if (json.has("element")) { - JsonArray array = getJArray(json, "element"); - for (int i = 0; i < array.size(); i++) { - res.getElement().add(parseConceptMap2SourceElementComponent(array.get(i).getAsJsonObject())); - } - }; - if (json.has("unmapped")) - res.setUnmapped(parseConceptMap2GroupUnmappedComponent(getJObject(json, "unmapped"))); - } - - protected ConceptMap2.SourceElementComponent parseConceptMap2SourceElementComponent(JsonObject json) throws IOException, FHIRFormatError { - ConceptMap2.SourceElementComponent res = new ConceptMap2.SourceElementComponent(); - parseConceptMap2SourceElementComponentProperties(json, res); - return res; - } - - protected void parseConceptMap2SourceElementComponentProperties(JsonObject json, ConceptMap2.SourceElementComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("code")) - res.setCodeElement(parseCode(json.get("code").getAsString())); - if (json.has("_code")) - parseElementProperties(getJObject(json, "_code"), res.getCodeElement()); - if (json.has("display")) - res.setDisplayElement(parseString(json.get("display").getAsString())); - if (json.has("_display")) - parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); - if (json.has("valueSet")) - res.setValueSetElement(parseCanonical(json.get("valueSet").getAsString())); - if (json.has("_valueSet")) - parseElementProperties(getJObject(json, "_valueSet"), res.getValueSetElement()); - if (json.has("noMap")) - res.setNoMapElement(parseBoolean(json.get("noMap").getAsBoolean())); - if (json.has("_noMap")) - parseElementProperties(getJObject(json, "_noMap"), res.getNoMapElement()); - if (json.has("target")) { - JsonArray array = getJArray(json, "target"); - for (int i = 0; i < array.size(); i++) { - res.getTarget().add(parseConceptMap2TargetElementComponent(array.get(i).getAsJsonObject())); - } - }; - } - - protected ConceptMap2.TargetElementComponent parseConceptMap2TargetElementComponent(JsonObject json) throws IOException, FHIRFormatError { - ConceptMap2.TargetElementComponent res = new ConceptMap2.TargetElementComponent(); - parseConceptMap2TargetElementComponentProperties(json, res); - return res; - } - - protected void parseConceptMap2TargetElementComponentProperties(JsonObject json, ConceptMap2.TargetElementComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); if (json.has("code")) res.setCodeElement(parseCode(json.get("code").getAsString())); if (json.has("_code")) @@ -9321,69 +8942,10 @@ public class JsonParser extends JsonParserBase { res.setRelationshipElement(parseEnumeration(json.get("relationship").getAsString(), Enumerations.ConceptMapRelationship.NULL, new Enumerations.ConceptMapRelationshipEnumFactory())); if (json.has("_relationship")) parseElementProperties(getJObject(json, "_relationship"), res.getRelationshipElement()); - if (json.has("comment")) - res.setCommentElement(parseString(json.get("comment").getAsString())); - if (json.has("_comment")) - parseElementProperties(getJObject(json, "_comment"), res.getCommentElement()); - if (json.has("dependsOn")) { - JsonArray array = getJArray(json, "dependsOn"); - for (int i = 0; i < array.size(); i++) { - res.getDependsOn().add(parseConceptMap2OtherElementComponent(array.get(i).getAsJsonObject())); - } - }; - if (json.has("product")) { - JsonArray array = getJArray(json, "product"); - for (int i = 0; i < array.size(); i++) { - res.getProduct().add(parseConceptMap2OtherElementComponent(array.get(i).getAsJsonObject())); - } - }; - } - - protected ConceptMap2.OtherElementComponent parseConceptMap2OtherElementComponent(JsonObject json) throws IOException, FHIRFormatError { - ConceptMap2.OtherElementComponent res = new ConceptMap2.OtherElementComponent(); - parseConceptMap2OtherElementComponentProperties(json, res); - return res; - } - - protected void parseConceptMap2OtherElementComponentProperties(JsonObject json, ConceptMap2.OtherElementComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("property")) - res.setPropertyElement(parseUri(json.get("property").getAsString())); - if (json.has("_property")) - parseElementProperties(getJObject(json, "_property"), res.getPropertyElement()); - DataType value = parseType("value", json); - if (value != null) - res.setValue(value); - } - - protected ConceptMap2.ConceptMap2GroupUnmappedComponent parseConceptMap2GroupUnmappedComponent(JsonObject json) throws IOException, FHIRFormatError { - ConceptMap2.ConceptMap2GroupUnmappedComponent res = new ConceptMap2.ConceptMap2GroupUnmappedComponent(); - parseConceptMap2GroupUnmappedComponentProperties(json, res); - return res; - } - - protected void parseConceptMap2GroupUnmappedComponentProperties(JsonObject json, ConceptMap2.ConceptMap2GroupUnmappedComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("mode")) - res.setModeElement(parseEnumeration(json.get("mode").getAsString(), Enumerations.ConceptMapGroupUnmappedMode.NULL, new Enumerations.ConceptMapGroupUnmappedModeEnumFactory())); - if (json.has("_mode")) - parseElementProperties(getJObject(json, "_mode"), res.getModeElement()); - if (json.has("code")) - res.setCodeElement(parseCode(json.get("code").getAsString())); - if (json.has("_code")) - parseElementProperties(getJObject(json, "_code"), res.getCodeElement()); - if (json.has("display")) - res.setDisplayElement(parseString(json.get("display").getAsString())); - if (json.has("_display")) - parseElementProperties(getJObject(json, "_display"), res.getDisplayElement()); - if (json.has("valueSet")) - res.setValueSetElement(parseCanonical(json.get("valueSet").getAsString())); - if (json.has("_valueSet")) - parseElementProperties(getJObject(json, "_valueSet"), res.getValueSetElement()); - if (json.has("url")) - res.setUrlElement(parseCanonical(json.get("url").getAsString())); - if (json.has("_url")) - parseElementProperties(getJObject(json, "_url"), res.getUrlElement()); + if (json.has("otherMap")) + res.setOtherMapElement(parseCanonical(json.get("otherMap").getAsString())); + if (json.has("_otherMap")) + parseElementProperties(getJObject(json, "_otherMap"), res.getOtherMapElement()); } protected Condition parseCondition(JsonObject json) throws IOException, FHIRFormatError { @@ -9434,10 +8996,12 @@ public class JsonParser extends JsonParserBase { res.setRecordedDateElement(parseDateTime(json.get("recordedDate").getAsString())); if (json.has("_recordedDate")) parseElementProperties(getJObject(json, "_recordedDate"), res.getRecordedDateElement()); - if (json.has("recorder")) - res.setRecorder(parseReference(getJObject(json, "recorder"))); - if (json.has("asserter")) - res.setAsserter(parseReference(getJObject(json, "asserter"))); + if (json.has("participant")) { + JsonArray array = getJArray(json, "participant"); + for (int i = 0; i < array.size(); i++) { + res.getParticipant().add(parseConditionParticipantComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("stage")) { JsonArray array = getJArray(json, "stage"); for (int i = 0; i < array.size(); i++) { @@ -9447,7 +9011,7 @@ public class JsonParser extends JsonParserBase { if (json.has("evidence")) { JsonArray array = getJArray(json, "evidence"); for (int i = 0; i < array.size(); i++) { - res.getEvidence().add(parseConditionEvidenceComponent(array.get(i).getAsJsonObject())); + res.getEvidence().add(parseCodeableReference(array.get(i).getAsJsonObject())); } }; if (json.has("note")) { @@ -9458,6 +9022,20 @@ public class JsonParser extends JsonParserBase { }; } + protected Condition.ConditionParticipantComponent parseConditionParticipantComponent(JsonObject json) throws IOException, FHIRFormatError { + Condition.ConditionParticipantComponent res = new Condition.ConditionParticipantComponent(); + parseConditionParticipantComponentProperties(json, res); + return res; + } + + protected void parseConditionParticipantComponentProperties(JsonObject json, Condition.ConditionParticipantComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("function")) + res.setFunction(parseCodeableConcept(getJObject(json, "function"))); + if (json.has("actor")) + res.setActor(parseReference(getJObject(json, "actor"))); + } + protected Condition.ConditionStageComponent parseConditionStageComponent(JsonObject json) throws IOException, FHIRFormatError { Condition.ConditionStageComponent res = new Condition.ConditionStageComponent(); parseConditionStageComponentProperties(json, res); @@ -9478,28 +9056,6 @@ public class JsonParser extends JsonParserBase { res.setType(parseCodeableConcept(getJObject(json, "type"))); } - protected Condition.ConditionEvidenceComponent parseConditionEvidenceComponent(JsonObject json) throws IOException, FHIRFormatError { - Condition.ConditionEvidenceComponent res = new Condition.ConditionEvidenceComponent(); - parseConditionEvidenceComponentProperties(json, res); - return res; - } - - protected void parseConditionEvidenceComponentProperties(JsonObject json, Condition.ConditionEvidenceComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("code")) { - JsonArray array = getJArray(json, "code"); - for (int i = 0; i < array.size(); i++) { - res.getCode().add(parseCodeableConcept(array.get(i).getAsJsonObject())); - } - }; - if (json.has("detail")) { - JsonArray array = getJArray(json, "detail"); - for (int i = 0; i < array.size(); i++) { - res.getDetail().add(parseReference(array.get(i).getAsJsonObject())); - } - }; - } - protected ConditionDefinition parseConditionDefinition(JsonObject json) throws IOException, FHIRFormatError { ConditionDefinition res = new ConditionDefinition(); parseConditionDefinitionProperties(json, res); @@ -9792,14 +9348,20 @@ public class JsonParser extends JsonParserBase { res.getSourceReference().add(parseReference(array.get(i).getAsJsonObject())); } }; - if (json.has("policy")) { - JsonArray array = getJArray(json, "policy"); + if (json.has("regulatoryBasis")) { + JsonArray array = getJArray(json, "regulatoryBasis"); for (int i = 0; i < array.size(); i++) { - res.getPolicy().add(parseConsentPolicyComponent(array.get(i).getAsJsonObject())); + res.getRegulatoryBasis().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; + if (json.has("policyBasis")) + res.setPolicyBasis(parseConsentPolicyBasisComponent(getJObject(json, "policyBasis"))); + if (json.has("policyText")) { + JsonArray array = getJArray(json, "policyText"); + for (int i = 0; i < array.size(); i++) { + res.getPolicyText().add(parseReference(array.get(i).getAsJsonObject())); } }; - if (json.has("policyRule")) - res.setPolicyRule(parseCodeableConcept(getJObject(json, "policyRule"))); if (json.has("verification")) { JsonArray array = getJArray(json, "verification"); for (int i = 0; i < array.size(); i++) { @@ -9810,22 +9372,20 @@ public class JsonParser extends JsonParserBase { res.setProvision(parseConsentProvisionComponent(getJObject(json, "provision"))); } - protected Consent.ConsentPolicyComponent parseConsentPolicyComponent(JsonObject json) throws IOException, FHIRFormatError { - Consent.ConsentPolicyComponent res = new Consent.ConsentPolicyComponent(); - parseConsentPolicyComponentProperties(json, res); + protected Consent.ConsentPolicyBasisComponent parseConsentPolicyBasisComponent(JsonObject json) throws IOException, FHIRFormatError { + Consent.ConsentPolicyBasisComponent res = new Consent.ConsentPolicyBasisComponent(); + parseConsentPolicyBasisComponentProperties(json, res); return res; } - protected void parseConsentPolicyComponentProperties(JsonObject json, Consent.ConsentPolicyComponent res) throws IOException, FHIRFormatError { + protected void parseConsentPolicyBasisComponentProperties(JsonObject json, Consent.ConsentPolicyBasisComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("authority")) - res.setAuthorityElement(parseUri(json.get("authority").getAsString())); - if (json.has("_authority")) - parseElementProperties(getJObject(json, "_authority"), res.getAuthorityElement()); - if (json.has("uri")) - res.setUriElement(parseUri(json.get("uri").getAsString())); - if (json.has("_uri")) - parseElementProperties(getJObject(json, "_uri"), res.getUriElement()); + if (json.has("reference")) + res.setReference(parseReference(getJObject(json, "reference"))); + if (json.has("url")) + res.setUrlElement(parseUrl(json.get("url").getAsString())); + if (json.has("_url")) + parseElementProperties(getJObject(json, "_url"), res.getUrlElement()); } protected Consent.ConsentVerificationComponent parseConsentVerificationComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -11482,8 +11042,8 @@ public class JsonParser extends JsonParserBase { res.getStatusReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; - if (json.has("biologicalSource")) - res.setBiologicalSource(parseIdentifier(getJObject(json, "biologicalSource"))); + if (json.has("biologicalSourceEvent")) + res.setBiologicalSourceEvent(parseIdentifier(getJObject(json, "biologicalSourceEvent"))); if (json.has("manufacturer")) res.setManufacturerElement(parseString(json.get("manufacturer").getAsString())); if (json.has("_manufacturer")) @@ -11530,6 +11090,12 @@ public class JsonParser extends JsonParserBase { res.getVersion().add(parseDeviceVersionComponent(array.get(i).getAsJsonObject())); } }; + if (json.has("specialization")) { + JsonArray array = getJArray(json, "specialization"); + for (int i = 0; i < array.size(); i++) { + res.getSpecialization().add(parseDeviceSpecializationComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("property")) { JsonArray array = getJArray(json, "property"); for (int i = 0; i < array.size(); i++) { @@ -11538,10 +11104,18 @@ public class JsonParser extends JsonParserBase { }; if (json.has("subject")) res.setSubject(parseReference(getJObject(json, "subject"))); - if (json.has("operationalStatus")) - res.setOperationalStatus(parseDeviceOperationalStatusComponent(getJObject(json, "operationalStatus"))); - if (json.has("associationStatus")) - res.setAssociationStatus(parseDeviceAssociationStatusComponent(getJObject(json, "associationStatus"))); + if (json.has("operationalState")) { + JsonArray array = getJArray(json, "operationalState"); + for (int i = 0; i < array.size(); i++) { + res.getOperationalState().add(parseDeviceOperationalStateComponent(array.get(i).getAsJsonObject())); + } + }; + if (json.has("association")) { + JsonArray array = getJArray(json, "association"); + for (int i = 0; i < array.size(); i++) { + res.getAssociation().add(parseDeviceAssociationComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("owner")) res.setOwner(parseReference(getJObject(json, "owner"))); if (json.has("contact")) { @@ -11648,12 +11222,34 @@ public class JsonParser extends JsonParserBase { res.setType(parseCodeableConcept(getJObject(json, "type"))); if (json.has("component")) res.setComponent(parseIdentifier(getJObject(json, "component"))); + if (json.has("installDate")) + res.setInstallDateElement(parseDateTime(json.get("installDate").getAsString())); + if (json.has("_installDate")) + parseElementProperties(getJObject(json, "_installDate"), res.getInstallDateElement()); if (json.has("value")) res.setValueElement(parseString(json.get("value").getAsString())); if (json.has("_value")) parseElementProperties(getJObject(json, "_value"), res.getValueElement()); } + protected Device.DeviceSpecializationComponent parseDeviceSpecializationComponent(JsonObject json) throws IOException, FHIRFormatError { + Device.DeviceSpecializationComponent res = new Device.DeviceSpecializationComponent(); + parseDeviceSpecializationComponentProperties(json, res); + return res; + } + + protected void parseDeviceSpecializationComponentProperties(JsonObject json, Device.DeviceSpecializationComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("systemType")) + res.setSystemType(parseCodeableConcept(getJObject(json, "systemType"))); + if (json.has("version")) + res.setVersionElement(parseString(json.get("version").getAsString())); + if (json.has("_version")) + parseElementProperties(getJObject(json, "_version"), res.getVersionElement()); + if (json.has("category")) + res.setCategory(parseCoding(getJObject(json, "category"))); + } + protected Device.DevicePropertyComponent parseDevicePropertyComponent(JsonObject json) throws IOException, FHIRFormatError { Device.DevicePropertyComponent res = new Device.DevicePropertyComponent(); parseDevicePropertyComponentProperties(json, res); @@ -11669,40 +11265,56 @@ public class JsonParser extends JsonParserBase { res.setValue(value); } - protected Device.DeviceOperationalStatusComponent parseDeviceOperationalStatusComponent(JsonObject json) throws IOException, FHIRFormatError { - Device.DeviceOperationalStatusComponent res = new Device.DeviceOperationalStatusComponent(); - parseDeviceOperationalStatusComponentProperties(json, res); + protected Device.DeviceOperationalStateComponent parseDeviceOperationalStateComponent(JsonObject json) throws IOException, FHIRFormatError { + Device.DeviceOperationalStateComponent res = new Device.DeviceOperationalStateComponent(); + parseDeviceOperationalStateComponentProperties(json, res); return res; } - protected void parseDeviceOperationalStatusComponentProperties(JsonObject json, Device.DeviceOperationalStatusComponent res) throws IOException, FHIRFormatError { + protected void parseDeviceOperationalStateComponentProperties(JsonObject json, Device.DeviceOperationalStateComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("value")) - res.setValue(parseCodeableConcept(getJObject(json, "value"))); - if (json.has("reason")) { - JsonArray array = getJArray(json, "reason"); + if (json.has("status")) + res.setStatus(parseCodeableConcept(getJObject(json, "status"))); + if (json.has("statusReason")) { + JsonArray array = getJArray(json, "statusReason"); for (int i = 0; i < array.size(); i++) { - res.getReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + res.getStatusReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; + if (json.has("operator")) { + JsonArray array = getJArray(json, "operator"); + for (int i = 0; i < array.size(); i++) { + res.getOperator().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("mode")) + res.setMode(parseCodeableConcept(getJObject(json, "mode"))); + if (json.has("cycle")) + res.setCycle(parseCount(getJObject(json, "cycle"))); + if (json.has("duration")) + res.setDuration(parseCodeableConcept(getJObject(json, "duration"))); } - protected Device.DeviceAssociationStatusComponent parseDeviceAssociationStatusComponent(JsonObject json) throws IOException, FHIRFormatError { - Device.DeviceAssociationStatusComponent res = new Device.DeviceAssociationStatusComponent(); - parseDeviceAssociationStatusComponentProperties(json, res); + protected Device.DeviceAssociationComponent parseDeviceAssociationComponent(JsonObject json) throws IOException, FHIRFormatError { + Device.DeviceAssociationComponent res = new Device.DeviceAssociationComponent(); + parseDeviceAssociationComponentProperties(json, res); return res; } - protected void parseDeviceAssociationStatusComponentProperties(JsonObject json, Device.DeviceAssociationStatusComponent res) throws IOException, FHIRFormatError { + protected void parseDeviceAssociationComponentProperties(JsonObject json, Device.DeviceAssociationComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("value")) - res.setValue(parseCodeableConcept(getJObject(json, "value"))); - if (json.has("reason")) { - JsonArray array = getJArray(json, "reason"); + if (json.has("status")) + res.setStatus(parseCodeableConcept(getJObject(json, "status"))); + if (json.has("statusReason")) { + JsonArray array = getJArray(json, "statusReason"); for (int i = 0; i < array.size(); i++) { - res.getReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + res.getStatusReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; + if (json.has("humanSubject")) + res.setHumanSubject(parseReference(getJObject(json, "humanSubject"))); + if (json.has("bodyStructure")) + res.setBodyStructure(parseCodeableReference(getJObject(json, "bodyStructure"))); } protected Device.DeviceLinkComponent parseDeviceLinkComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -11747,9 +11359,8 @@ public class JsonParser extends JsonParserBase { res.setPartNumberElement(parseString(json.get("partNumber").getAsString())); if (json.has("_partNumber")) parseElementProperties(getJObject(json, "_partNumber"), res.getPartNumberElement()); - DataType manufacturer = parseType("manufacturer", json); - if (manufacturer != null) - res.setManufacturer(manufacturer); + if (json.has("manufacturer")) + res.setManufacturer(parseReference(getJObject(json, "manufacturer"))); if (json.has("deviceName")) { JsonArray array = getJArray(json, "deviceName"); for (int i = 0; i < array.size(); i++) { @@ -12450,10 +12061,10 @@ public class JsonParser extends JsonParserBase { res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); } }; - if (json.has("priorRequest")) { - JsonArray array = getJArray(json, "priorRequest"); + if (json.has("replaces")) { + JsonArray array = getJArray(json, "replaces"); for (int i = 0; i < array.size(); i++) { - res.getPriorRequest().add(parseReference(array.get(i).getAsJsonObject())); + res.getReplaces().add(parseReference(array.get(i).getAsJsonObject())); } }; if (json.has("groupIdentifier")) @@ -12605,6 +12216,8 @@ public class JsonParser extends JsonParserBase { res.getUsageReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; + if (json.has("adherence")) + res.setAdherence(parseDeviceUsageAdherenceComponent(getJObject(json, "adherence"))); if (json.has("informationSource")) res.setInformationSource(parseReference(getJObject(json, "informationSource"))); if (json.has("device")) @@ -12625,6 +12238,24 @@ public class JsonParser extends JsonParserBase { }; } + protected DeviceUsage.DeviceUsageAdherenceComponent parseDeviceUsageAdherenceComponent(JsonObject json) throws IOException, FHIRFormatError { + DeviceUsage.DeviceUsageAdherenceComponent res = new DeviceUsage.DeviceUsageAdherenceComponent(); + parseDeviceUsageAdherenceComponentProperties(json, res); + return res; + } + + protected void parseDeviceUsageAdherenceComponentProperties(JsonObject json, DeviceUsage.DeviceUsageAdherenceComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("code")) + res.setCode(parseCodeableConcept(getJObject(json, "code"))); + if (json.has("reason")) { + JsonArray array = getJArray(json, "reason"); + for (int i = 0; i < array.size(); i++) { + res.getReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; + } + protected DiagnosticReport parseDiagnosticReport(JsonObject json) throws IOException, FHIRFormatError { DiagnosticReport res = new DiagnosticReport(); parseDiagnosticReportProperties(json, res); @@ -12860,16 +12491,16 @@ public class JsonParser extends JsonParserBase { }; if (json.has("subject")) res.setSubject(parseReference(getJObject(json, "subject"))); - if (json.has("encounter")) { - JsonArray array = getJArray(json, "encounter"); + if (json.has("context")) { + JsonArray array = getJArray(json, "context"); for (int i = 0; i < array.size(); i++) { - res.getEncounter().add(parseReference(array.get(i).getAsJsonObject())); + res.getContext().add(parseReference(array.get(i).getAsJsonObject())); } }; if (json.has("event")) { JsonArray array = getJArray(json, "event"); for (int i = 0; i < array.size(); i++) { - res.getEvent().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + res.getEvent().add(parseCodeableReference(array.get(i).getAsJsonObject())); } }; if (json.has("facilityType")) @@ -12920,12 +12551,6 @@ public class JsonParser extends JsonParserBase { }; if (json.has("sourcePatientInfo")) res.setSourcePatientInfo(parseReference(getJObject(json, "sourcePatientInfo"))); - if (json.has("related")) { - JsonArray array = getJArray(json, "related"); - for (int i = 0; i < array.size(); i++) { - res.getRelated().add(parseReference(array.get(i).getAsJsonObject())); - } - }; } protected DocumentReference.DocumentReferenceAttesterComponent parseDocumentReferenceAttesterComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -12937,9 +12562,7 @@ public class JsonParser extends JsonParserBase { protected void parseDocumentReferenceAttesterComponentProperties(JsonObject json, DocumentReference.DocumentReferenceAttesterComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("mode")) - res.setModeElement(parseEnumeration(json.get("mode").getAsString(), DocumentReference.DocumentAttestationMode.NULL, new DocumentReference.DocumentAttestationModeEnumFactory())); - if (json.has("_mode")) - parseElementProperties(getJObject(json, "_mode"), res.getModeElement()); + res.setMode(parseCodeableConcept(getJObject(json, "mode"))); if (json.has("time")) res.setTimeElement(parseDateTime(json.get("time").getAsString())); if (json.has("_time")) @@ -12972,10 +12595,25 @@ public class JsonParser extends JsonParserBase { parseBackboneElementProperties(json, res); if (json.has("attachment")) res.setAttachment(parseAttachment(getJObject(json, "attachment"))); - if (json.has("format")) - res.setFormat(parseCoding(getJObject(json, "format"))); - if (json.has("identifier")) - res.setIdentifier(parseIdentifier(getJObject(json, "identifier"))); + if (json.has("profile")) { + JsonArray array = getJArray(json, "profile"); + for (int i = 0; i < array.size(); i++) { + res.getProfile().add(parseDocumentReferenceContentProfileComponent(array.get(i).getAsJsonObject())); + } + }; + } + + protected DocumentReference.DocumentReferenceContentProfileComponent parseDocumentReferenceContentProfileComponent(JsonObject json) throws IOException, FHIRFormatError { + DocumentReference.DocumentReferenceContentProfileComponent res = new DocumentReference.DocumentReferenceContentProfileComponent(); + parseDocumentReferenceContentProfileComponentProperties(json, res); + return res; + } + + protected void parseDocumentReferenceContentProfileComponentProperties(JsonObject json, DocumentReference.DocumentReferenceContentProfileComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + DataType value = parseType("value", json); + if (value != null) + res.setValue(value); } protected Encounter parseEncounter(JsonObject json) throws IOException, FHIRFormatError { @@ -13003,7 +12641,7 @@ public class JsonParser extends JsonParserBase { } }; if (json.has("class")) - res.setClass_(parseCoding(getJObject(json, "class"))); + res.setClass_(parseCodeableConcept(getJObject(json, "class"))); if (json.has("classHistory")) { JsonArray array = getJArray(json, "classHistory"); for (int i = 0; i < array.size(); i++) { @@ -13017,7 +12655,7 @@ public class JsonParser extends JsonParserBase { } }; if (json.has("serviceType")) - res.setServiceType(parseCodeableConcept(getJObject(json, "serviceType"))); + res.setServiceType(parseCodeableReference(getJObject(json, "serviceType"))); if (json.has("priority")) res.setPriority(parseCodeableConcept(getJObject(json, "priority"))); if (json.has("subject")) @@ -13238,8 +12876,12 @@ public class JsonParser extends JsonParserBase { res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Endpoint.EndpointStatus.NULL, new Endpoint.EndpointStatusEnumFactory())); if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); - if (json.has("connectionType")) - res.setConnectionType(parseCoding(getJObject(json, "connectionType"))); + if (json.has("connectionType")) { + JsonArray array = getJArray(json, "connectionType"); + for (int i = 0; i < array.size(); i++) { + res.getConnectionType().add(parseCoding(array.get(i).getAsJsonObject())); + } + }; if (json.has("name")) res.setNameElement(parseString(json.get("name").getAsString())); if (json.has("_name")) @@ -13635,6 +13277,10 @@ public class JsonParser extends JsonParserBase { res.setVersionElement(parseString(json.get("version").getAsString())); if (json.has("_version")) parseElementProperties(getJObject(json, "_version"), res.getVersionElement()); + if (json.has("name")) + res.setNameElement(parseString(json.get("name").getAsString())); + if (json.has("_name")) + parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("title")) res.setTitleElement(parseString(json.get("title").getAsString())); if (json.has("_title")) @@ -13646,6 +13292,10 @@ public class JsonParser extends JsonParserBase { res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory())); if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); + if (json.has("experimental")) + res.setExperimentalElement(parseBoolean(json.get("experimental").getAsBoolean())); + if (json.has("_experimental")) + parseElementProperties(getJObject(json, "_experimental"), res.getExperimentalElement()); if (json.has("date")) res.setDateElement(parseDateTime(json.get("date").getAsString())); if (json.has("_date")) @@ -14262,10 +13912,24 @@ public class JsonParser extends JsonParserBase { res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory())); if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); + if (json.has("experimental")) + res.setExperimentalElement(parseBoolean(json.get("experimental").getAsBoolean())); + if (json.has("_experimental")) + parseElementProperties(getJObject(json, "_experimental"), res.getExperimentalElement()); if (json.has("date")) res.setDateElement(parseDateTime(json.get("date").getAsString())); if (json.has("_date")) parseElementProperties(getJObject(json, "_date"), res.getDateElement()); + if (json.has("publisher")) + res.setPublisherElement(parseString(json.get("publisher").getAsString())); + if (json.has("_publisher")) + parseElementProperties(getJObject(json, "_publisher"), res.getPublisherElement()); + if (json.has("contact")) { + JsonArray array = getJArray(json, "contact"); + for (int i = 0; i < array.size(); i++) { + res.getContact().add(parseContactDetail(array.get(i).getAsJsonObject())); + } + }; if (json.has("description")) res.setDescriptionElement(parseMarkdown(json.get("description").getAsString())); if (json.has("_description")) @@ -14282,16 +13946,20 @@ public class JsonParser extends JsonParserBase { res.getUseContext().add(parseUsageContext(array.get(i).getAsJsonObject())); } }; - if (json.has("publisher")) - res.setPublisherElement(parseString(json.get("publisher").getAsString())); - if (json.has("_publisher")) - parseElementProperties(getJObject(json, "_publisher"), res.getPublisherElement()); - if (json.has("contact")) { - JsonArray array = getJArray(json, "contact"); - for (int i = 0; i < array.size(); i++) { - res.getContact().add(parseContactDetail(array.get(i).getAsJsonObject())); - } - }; + if (json.has("copyright")) + res.setCopyrightElement(parseMarkdown(json.get("copyright").getAsString())); + if (json.has("_copyright")) + parseElementProperties(getJObject(json, "_copyright"), res.getCopyrightElement()); + if (json.has("approvalDate")) + res.setApprovalDateElement(parseDate(json.get("approvalDate").getAsString())); + if (json.has("_approvalDate")) + parseElementProperties(getJObject(json, "_approvalDate"), res.getApprovalDateElement()); + if (json.has("lastReviewDate")) + res.setLastReviewDateElement(parseDate(json.get("lastReviewDate").getAsString())); + if (json.has("_lastReviewDate")) + parseElementProperties(getJObject(json, "_lastReviewDate"), res.getLastReviewDateElement()); + if (json.has("effectivePeriod")) + res.setEffectivePeriod(parsePeriod(getJObject(json, "effectivePeriod"))); if (json.has("author")) { JsonArray array = getJArray(json, "author"); for (int i = 0; i < array.size(); i++) { @@ -14326,8 +13994,6 @@ public class JsonParser extends JsonParserBase { res.setActualElement(parseBoolean(json.get("actual").getAsBoolean())); if (json.has("_actual")) parseElementProperties(getJObject(json, "_actual"), res.getActualElement()); - if (json.has("characteristicCombination")) - res.setCharacteristicCombination(parseEvidenceVariableCharacteristicCombinationComponent(getJObject(json, "characteristicCombination"))); if (json.has("characteristic")) { JsonArray array = getJArray(json, "characteristic"); for (int i = 0; i < array.size(); i++) { @@ -14346,24 +14012,6 @@ public class JsonParser extends JsonParserBase { }; } - protected EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent parseEvidenceVariableCharacteristicCombinationComponent(JsonObject json) throws IOException, FHIRFormatError { - EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent res = new EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent(); - parseEvidenceVariableCharacteristicCombinationComponentProperties(json, res); - return res; - } - - protected void parseEvidenceVariableCharacteristicCombinationComponentProperties(JsonObject json, EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("code")) - res.setCodeElement(parseEnumeration(json.get("code").getAsString(), EvidenceVariable.CharacteristicCombination.NULL, new EvidenceVariable.CharacteristicCombinationEnumFactory())); - if (json.has("_code")) - parseElementProperties(getJObject(json, "_code"), res.getCodeElement()); - if (json.has("threshold")) - res.setThresholdElement(parsePositiveInt(json.get("threshold").getAsString())); - if (json.has("_threshold")) - parseElementProperties(getJObject(json, "_threshold"), res.getThresholdElement()); - } - protected EvidenceVariable.EvidenceVariableCharacteristicComponent parseEvidenceVariableCharacteristicComponent(JsonObject json) throws IOException, FHIRFormatError { EvidenceVariable.EvidenceVariableCharacteristicComponent res = new EvidenceVariable.EvidenceVariableCharacteristicComponent(); parseEvidenceVariableCharacteristicComponentProperties(json, res); @@ -14372,23 +14020,50 @@ public class JsonParser extends JsonParserBase { protected void parseEvidenceVariableCharacteristicComponentProperties(JsonObject json, EvidenceVariable.EvidenceVariableCharacteristicComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); + if (json.has("linkId")) + res.setLinkIdElement(parseId(json.get("linkId").getAsString())); + if (json.has("_linkId")) + parseElementProperties(getJObject(json, "_linkId"), res.getLinkIdElement()); if (json.has("description")) res.setDescriptionElement(parseString(json.get("description").getAsString())); if (json.has("_description")) parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); - if (json.has("type")) - res.setType(parseCodeableConcept(getJObject(json, "type"))); - DataType definition = parseType("definition", json); - if (definition != null) - res.setDefinition(definition); - if (json.has("method")) - res.setMethod(parseCodeableConcept(getJObject(json, "method"))); - if (json.has("device")) - res.setDevice(parseReference(getJObject(json, "device"))); + if (json.has("note")) { + JsonArray array = getJArray(json, "note"); + for (int i = 0; i < array.size(); i++) { + res.getNote().add(parseAnnotation(array.get(i).getAsJsonObject())); + } + }; if (json.has("exclude")) res.setExcludeElement(parseBoolean(json.get("exclude").getAsBoolean())); if (json.has("_exclude")) parseElementProperties(getJObject(json, "_exclude"), res.getExcludeElement()); + if (json.has("definitionReference")) + res.setDefinitionReference(parseReference(getJObject(json, "definitionReference"))); + if (json.has("definitionCanonical")) + res.setDefinitionCanonicalElement(parseCanonical(json.get("definitionCanonical").getAsString())); + if (json.has("_definitionCanonical")) + parseElementProperties(getJObject(json, "_definitionCanonical"), res.getDefinitionCanonicalElement()); + if (json.has("definitionCodeableConcept")) + res.setDefinitionCodeableConcept(parseCodeableConcept(getJObject(json, "definitionCodeableConcept"))); + if (json.has("definitionExpression")) + res.setDefinitionExpression(parseExpression(getJObject(json, "definitionExpression"))); + if (json.has("definitionId")) + res.setDefinitionIdElement(parseId(json.get("definitionId").getAsString())); + if (json.has("_definitionId")) + parseElementProperties(getJObject(json, "_definitionId"), res.getDefinitionIdElement()); + if (json.has("definitionByTypeAndValue")) + res.setDefinitionByTypeAndValue(parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(getJObject(json, "definitionByTypeAndValue"))); + if (json.has("definitionByCombination")) + res.setDefinitionByCombination(parseEvidenceVariableCharacteristicDefinitionByCombinationComponent(getJObject(json, "definitionByCombination"))); + if (json.has("method")) { + JsonArray array = getJArray(json, "method"); + for (int i = 0; i < array.size(); i++) { + res.getMethod().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; + if (json.has("device")) + res.setDevice(parseReference(getJObject(json, "device"))); if (json.has("timeFromEvent")) { JsonArray array = getJArray(json, "timeFromEvent"); for (int i = 0; i < array.size(); i++) { @@ -14401,6 +14076,48 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_groupMeasure"), res.getGroupMeasureElement()); } + protected EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(JsonObject json) throws IOException, FHIRFormatError { + EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent res = new EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(); + parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentProperties(json, res); + return res; + } + + protected void parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentProperties(JsonObject json, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + DataType type = parseType("type", json); + if (type != null) + res.setType(type); + DataType value = parseType("value", json); + if (value != null) + res.setValue(value); + if (json.has("offset")) + res.setOffset(parseCodeableConcept(getJObject(json, "offset"))); + } + + protected EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent parseEvidenceVariableCharacteristicDefinitionByCombinationComponent(JsonObject json) throws IOException, FHIRFormatError { + EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent res = new EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent(); + parseEvidenceVariableCharacteristicDefinitionByCombinationComponentProperties(json, res); + return res; + } + + protected void parseEvidenceVariableCharacteristicDefinitionByCombinationComponentProperties(JsonObject json, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("code")) + res.setCodeElement(parseEnumeration(json.get("code").getAsString(), EvidenceVariable.CharacteristicCombination.NULL, new EvidenceVariable.CharacteristicCombinationEnumFactory())); + if (json.has("_code")) + parseElementProperties(getJObject(json, "_code"), res.getCodeElement()); + if (json.has("threshold")) + res.setThresholdElement(parsePositiveInt(json.get("threshold").getAsString())); + if (json.has("_threshold")) + parseElementProperties(getJObject(json, "_threshold"), res.getThresholdElement()); + if (json.has("characteristic")) { + JsonArray array = getJArray(json, "characteristic"); + for (int i = 0; i < array.size(); i++) { + res.getCharacteristic().add(parseEvidenceVariableCharacteristicComponent(array.get(i).getAsJsonObject())); + } + }; + } + protected EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent parseEvidenceVariableCharacteristicTimeFromEventComponent(JsonObject json) throws IOException, FHIRFormatError { EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent res = new EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent(); parseEvidenceVariableCharacteristicTimeFromEventComponentProperties(json, res); @@ -14413,18 +14130,19 @@ public class JsonParser extends JsonParserBase { res.setDescriptionElement(parseString(json.get("description").getAsString())); if (json.has("_description")) parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); - if (json.has("event")) - res.setEvent(parseCodeableConcept(getJObject(json, "event"))); - if (json.has("quantity")) - res.setQuantity(parseQuantity(getJObject(json, "quantity"))); - if (json.has("range")) - res.setRange(parseRange(getJObject(json, "range"))); if (json.has("note")) { JsonArray array = getJArray(json, "note"); for (int i = 0; i < array.size(); i++) { res.getNote().add(parseAnnotation(array.get(i).getAsJsonObject())); } }; + DataType event = parseType("event", json); + if (event != null) + res.setEvent(event); + if (json.has("quantity")) + res.setQuantity(parseQuantity(getJObject(json, "quantity"))); + if (json.has("range")) + res.setRange(parseRange(getJObject(json, "range"))); } protected EvidenceVariable.EvidenceVariableCategoryComponent parseEvidenceVariableCategoryComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -14589,10 +14307,10 @@ public class JsonParser extends JsonParserBase { res.setResourceIdElement(parseString(json.get("resourceId").getAsString())); if (json.has("_resourceId")) parseElementProperties(getJObject(json, "_resourceId"), res.getResourceIdElement()); - if (json.has("resourceType")) - res.setResourceTypeElement(parseCode(json.get("resourceType").getAsString())); - if (json.has("_resourceType")) - parseElementProperties(getJObject(json, "_resourceType"), res.getResourceTypeElement()); + if (json.has("type")) + res.setTypeElement(parseCode(json.get("type").getAsString())); + if (json.has("_type")) + parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); if (json.has("name")) res.setNameElement(parseString(json.get("name").getAsString())); if (json.has("_name")) @@ -16074,6 +15792,28 @@ public class JsonParser extends JsonParserBase { res.setAuthor(parseReference(getJObject(json, "author"))); } + protected FormularyItem parseFormularyItem(JsonObject json) throws IOException, FHIRFormatError { + FormularyItem res = new FormularyItem(); + parseFormularyItemProperties(json, res); + return res; + } + + protected void parseFormularyItemProperties(JsonObject json, FormularyItem res) throws IOException, FHIRFormatError { + parseDomainResourceProperties(json, res); + if (json.has("identifier")) { + JsonArray array = getJArray(json, "identifier"); + for (int i = 0; i < array.size(); i++) { + res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); + } + }; + if (json.has("code")) + res.setCode(parseCodeableConcept(getJObject(json, "code"))); + if (json.has("status")) + res.setStatusElement(parseEnumeration(json.get("status").getAsString(), FormularyItem.FormularyItemStatusCodes.NULL, new FormularyItem.FormularyItemStatusCodesEnumFactory())); + if (json.has("_status")) + parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); + } + protected Goal parseGoal(JsonObject json) throws IOException, FHIRFormatError { Goal res = new Goal(); parseGoalProperties(json, res); @@ -16377,6 +16117,10 @@ public class JsonParser extends JsonParserBase { res.setNameElement(parseString(json.get("name").getAsString())); if (json.has("_name")) parseElementProperties(getJObject(json, "_name"), res.getNameElement()); + if (json.has("description")) + res.setDescriptionElement(parseMarkdown(json.get("description").getAsString())); + if (json.has("_description")) + parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); if (json.has("quantity")) res.setQuantityElement(parseUnsignedInt(json.get("quantity").getAsString())); if (json.has("_quantity")) @@ -16557,6 +16301,12 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_extraDetails"), res.getExtraDetailsElement()); if (json.has("photo")) res.setPhoto(parseAttachment(getJObject(json, "photo"))); + if (json.has("contact")) { + JsonArray array = getJArray(json, "contact"); + for (int i = 0; i < array.size(); i++) { + res.getContact().add(parseExtendedContactDetail(array.get(i).getAsJsonObject())); + } + }; if (json.has("telecom")) { JsonArray array = getJArray(json, "telecom"); for (int i = 0; i < array.size(); i++) { @@ -16720,12 +16470,10 @@ public class JsonParser extends JsonParserBase { res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); } }; - if (json.has("basedOn")) { - JsonArray array = getJArray(json, "basedOn"); - for (int i = 0; i < array.size(); i++) { - res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); - } - }; + if (json.has("status")) + res.setStatusElement(parseEnumeration(json.get("status").getAsString(), ImagingSelection.ImagingSelectionStatus.NULL, new ImagingSelection.ImagingSelectionStatusEnumFactory())); + if (json.has("_status")) + parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); if (json.has("subject")) res.setSubject(parseReference(getJObject(json, "subject"))); if (json.has("issued")) @@ -16738,10 +16486,22 @@ public class JsonParser extends JsonParserBase { res.getPerformer().add(parseImagingSelectionPerformerComponent(array.get(i).getAsJsonObject())); } }; + if (json.has("basedOn")) { + JsonArray array = getJArray(json, "basedOn"); + for (int i = 0; i < array.size(); i++) { + res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("category")) { + JsonArray array = getJArray(json, "category"); + for (int i = 0; i < array.size(); i++) { + res.getCategory().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; if (json.has("code")) res.setCode(parseCodeableConcept(getJObject(json, "code"))); if (json.has("studyUid")) - res.setStudyUidElement(parseOid(json.get("studyUid").getAsString())); + res.setStudyUidElement(parseId(json.get("studyUid").getAsString())); if (json.has("_studyUid")) parseElementProperties(getJObject(json, "_studyUid"), res.getStudyUidElement()); if (json.has("derivedFrom")) { @@ -16757,23 +16517,27 @@ public class JsonParser extends JsonParserBase { } }; if (json.has("seriesUid")) - res.setSeriesUidElement(parseOid(json.get("seriesUid").getAsString())); + res.setSeriesUidElement(parseId(json.get("seriesUid").getAsString())); if (json.has("_seriesUid")) parseElementProperties(getJObject(json, "_seriesUid"), res.getSeriesUidElement()); if (json.has("frameOfReferenceUid")) - res.setFrameOfReferenceUidElement(parseOid(json.get("frameOfReferenceUid").getAsString())); + res.setFrameOfReferenceUidElement(parseId(json.get("frameOfReferenceUid").getAsString())); if (json.has("_frameOfReferenceUid")) parseElementProperties(getJObject(json, "_frameOfReferenceUid"), res.getFrameOfReferenceUidElement()); if (json.has("bodySite")) - res.setBodySite(parseCoding(getJObject(json, "bodySite"))); + res.setBodySite(parseCodeableReference(getJObject(json, "bodySite"))); if (json.has("instance")) { JsonArray array = getJArray(json, "instance"); for (int i = 0; i < array.size(); i++) { res.getInstance().add(parseImagingSelectionInstanceComponent(array.get(i).getAsJsonObject())); } }; - if (json.has("imageRegion")) - res.setImageRegion(parseImagingSelectionImageRegionComponent(getJObject(json, "imageRegion"))); + if (json.has("imageRegion")) { + JsonArray array = getJArray(json, "imageRegion"); + for (int i = 0; i < array.size(); i++) { + res.getImageRegion().add(parseImagingSelectionImageRegionComponent(array.get(i).getAsJsonObject())); + } + }; } protected ImagingSelection.ImagingSelectionPerformerComponent parseImagingSelectionPerformerComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -16799,42 +16563,69 @@ public class JsonParser extends JsonParserBase { protected void parseImagingSelectionInstanceComponentProperties(JsonObject json, ImagingSelection.ImagingSelectionInstanceComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("uid")) - res.setUidElement(parseOid(json.get("uid").getAsString())); + res.setUidElement(parseId(json.get("uid").getAsString())); if (json.has("_uid")) parseElementProperties(getJObject(json, "_uid"), res.getUidElement()); if (json.has("sopClass")) res.setSopClass(parseCoding(getJObject(json, "sopClass"))); - if (json.has("frameList")) - res.setFrameListElement(parseString(json.get("frameList").getAsString())); - if (json.has("_frameList")) - parseElementProperties(getJObject(json, "_frameList"), res.getFrameListElement()); - if (json.has("observationUid")) { - JsonArray array = getJArray(json, "observationUid"); + if (json.has("subset")) { + JsonArray array = getJArray(json, "subset"); for (int i = 0; i < array.size(); i++) { if (array.get(i).isJsonNull()) { - res.getObservationUid().add(new OidType()); + res.getSubset().add(new StringType()); } else {; - res.getObservationUid().add(parseOid(array.get(i).getAsString())); + res.getSubset().add(parseString(array.get(i).getAsString())); } } }; - if (json.has("_observationUid")) { - JsonArray array = getJArray(json, "_observationUid"); + if (json.has("_subset")) { + JsonArray array = getJArray(json, "_subset"); for (int i = 0; i < array.size(); i++) { - if (i == res.getObservationUid().size()) - res.getObservationUid().add(parseOid(null)); + if (i == res.getSubset().size()) + res.getSubset().add(parseString(null)); if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getObservationUid().get(i)); + parseElementProperties(array.get(i).getAsJsonObject(), res.getSubset().get(i)); + } + }; + if (json.has("imageRegion")) { + JsonArray array = getJArray(json, "imageRegion"); + for (int i = 0; i < array.size(); i++) { + res.getImageRegion().add(parseImagingSelectionInstanceImageRegionComponent(array.get(i).getAsJsonObject())); + } + }; + } + + protected ImagingSelection.ImagingSelectionInstanceImageRegionComponent parseImagingSelectionInstanceImageRegionComponent(JsonObject json) throws IOException, FHIRFormatError { + ImagingSelection.ImagingSelectionInstanceImageRegionComponent res = new ImagingSelection.ImagingSelectionInstanceImageRegionComponent(); + parseImagingSelectionInstanceImageRegionComponentProperties(json, res); + return res; + } + + protected void parseImagingSelectionInstanceImageRegionComponentProperties(JsonObject json, ImagingSelection.ImagingSelectionInstanceImageRegionComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("regionType")) + res.setRegionTypeElement(parseEnumeration(json.get("regionType").getAsString(), ImagingSelection.ImagingSelection2DGraphicType.NULL, new ImagingSelection.ImagingSelection2DGraphicTypeEnumFactory())); + if (json.has("_regionType")) + parseElementProperties(getJObject(json, "_regionType"), res.getRegionTypeElement()); + if (json.has("coordinate")) { + JsonArray array = getJArray(json, "coordinate"); + for (int i = 0; i < array.size(); i++) { + if (array.get(i).isJsonNull()) { + res.getCoordinate().add(new DecimalType()); + } else {; + res.getCoordinate().add(parseDecimal(array.get(i).getAsBigDecimal())); + } + } + }; + if (json.has("_coordinate")) { + JsonArray array = getJArray(json, "_coordinate"); + for (int i = 0; i < array.size(); i++) { + if (i == res.getCoordinate().size()) + res.getCoordinate().add(parseDecimal(null)); + if (array.get(i) instanceof JsonObject) + parseElementProperties(array.get(i).getAsJsonObject(), res.getCoordinate().get(i)); } }; - if (json.has("segmentList")) - res.setSegmentListElement(parseString(json.get("segmentList").getAsString())); - if (json.has("_segmentList")) - parseElementProperties(getJObject(json, "_segmentList"), res.getSegmentListElement()); - if (json.has("roiList")) - res.setRoiListElement(parseString(json.get("roiList").getAsString())); - if (json.has("_roiList")) - parseElementProperties(getJObject(json, "_roiList"), res.getRoiListElement()); } protected ImagingSelection.ImagingSelectionImageRegionComponent parseImagingSelectionImageRegionComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -16846,30 +16637,26 @@ public class JsonParser extends JsonParserBase { protected void parseImagingSelectionImageRegionComponentProperties(JsonObject json, ImagingSelection.ImagingSelectionImageRegionComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("regionType")) - res.setRegionTypeElement(parseEnumeration(json.get("regionType").getAsString(), ImagingSelection.ImagingSelectionGraphicType.NULL, new ImagingSelection.ImagingSelectionGraphicTypeEnumFactory())); + res.setRegionTypeElement(parseEnumeration(json.get("regionType").getAsString(), ImagingSelection.ImagingSelection3DGraphicType.NULL, new ImagingSelection.ImagingSelection3DGraphicTypeEnumFactory())); if (json.has("_regionType")) parseElementProperties(getJObject(json, "_regionType"), res.getRegionTypeElement()); - if (json.has("coordinateType")) - res.setCoordinateTypeElement(parseEnumeration(json.get("coordinateType").getAsString(), ImagingSelection.ImagingSelectionCoordinateType.NULL, new ImagingSelection.ImagingSelectionCoordinateTypeEnumFactory())); - if (json.has("_coordinateType")) - parseElementProperties(getJObject(json, "_coordinateType"), res.getCoordinateTypeElement()); - if (json.has("coordinates")) { - JsonArray array = getJArray(json, "coordinates"); + if (json.has("coordinate")) { + JsonArray array = getJArray(json, "coordinate"); for (int i = 0; i < array.size(); i++) { if (array.get(i).isJsonNull()) { - res.getCoordinates().add(new DecimalType()); + res.getCoordinate().add(new DecimalType()); } else {; - res.getCoordinates().add(parseDecimal(array.get(i).getAsBigDecimal())); + res.getCoordinate().add(parseDecimal(array.get(i).getAsBigDecimal())); } } }; - if (json.has("_coordinates")) { - JsonArray array = getJArray(json, "_coordinates"); + if (json.has("_coordinate")) { + JsonArray array = getJArray(json, "_coordinate"); for (int i = 0; i < array.size(); i++) { - if (i == res.getCoordinates().size()) - res.getCoordinates().add(parseDecimal(null)); + if (i == res.getCoordinate().size()) + res.getCoordinate().add(parseDecimal(null)); if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getCoordinates().get(i)); + parseElementProperties(array.get(i).getAsJsonObject(), res.getCoordinate().get(i)); } }; } @@ -16895,7 +16682,7 @@ public class JsonParser extends JsonParserBase { if (json.has("modality")) { JsonArray array = getJArray(json, "modality"); for (int i = 0; i < array.size(); i++) { - res.getModality().add(parseCoding(array.get(i).getAsJsonObject())); + res.getModality().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; if (json.has("subject")) @@ -16983,7 +16770,7 @@ public class JsonParser extends JsonParserBase { if (json.has("_number")) parseElementProperties(getJObject(json, "_number"), res.getNumberElement()); if (json.has("modality")) - res.setModality(parseCoding(getJObject(json, "modality"))); + res.setModality(parseCodeableConcept(getJObject(json, "modality"))); if (json.has("description")) res.setDescriptionElement(parseString(json.get("description").getAsString())); if (json.has("_description")) @@ -16999,9 +16786,9 @@ public class JsonParser extends JsonParserBase { } }; if (json.has("bodySite")) - res.setBodySite(parseCoding(getJObject(json, "bodySite"))); + res.setBodySite(parseCodeableReference(getJObject(json, "bodySite"))); if (json.has("laterality")) - res.setLaterality(parseCoding(getJObject(json, "laterality"))); + res.setLaterality(parseCodeableConcept(getJObject(json, "laterality"))); if (json.has("specimen")) { JsonArray array = getJArray(json, "specimen"); for (int i = 0; i < array.size(); i++) { @@ -17147,17 +16934,12 @@ public class JsonParser extends JsonParserBase { DataType occurrence = parseType("occurrence", json); if (occurrence != null) res.setOccurrence(occurrence); - if (json.has("recorded")) - res.setRecordedElement(parseDateTime(json.get("recorded").getAsString())); - if (json.has("_recorded")) - parseElementProperties(getJObject(json, "_recorded"), res.getRecordedElement()); if (json.has("primarySource")) res.setPrimarySourceElement(parseBoolean(json.get("primarySource").getAsBoolean())); if (json.has("_primarySource")) parseElementProperties(getJObject(json, "_primarySource"), res.getPrimarySourceElement()); - DataType informationSource = parseType("informationSource", json); - if (informationSource != null) - res.setInformationSource(informationSource); + if (json.has("informationSource")) + res.setInformationSource(parseCodeableReference(getJObject(json, "informationSource"))); if (json.has("location")) res.setLocation(parseReference(getJObject(json, "location"))); if (json.has("site")) @@ -17274,8 +17056,8 @@ public class JsonParser extends JsonParserBase { res.setDateElement(parseDateTime(json.get("date").getAsString())); if (json.has("_date")) parseElementProperties(getJObject(json, "_date"), res.getDateElement()); - if (json.has("detail")) - res.setDetail(parseReference(getJObject(json, "detail"))); + if (json.has("manifestation")) + res.setManifestation(parseCodeableReference(getJObject(json, "manifestation"))); if (json.has("reported")) res.setReportedElement(parseBoolean(json.get("reported").getAsBoolean())); if (json.has("_reported")) @@ -17722,7 +17504,7 @@ public class JsonParser extends JsonParserBase { if (json.has("_name")) parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("description")) - res.setDescriptionElement(parseString(json.get("description").getAsString())); + res.setDescriptionElement(parseMarkdown(json.get("description").getAsString())); if (json.has("_description")) parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); } @@ -17761,7 +17543,7 @@ public class JsonParser extends JsonParserBase { if (json.has("_name")) parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("description")) - res.setDescriptionElement(parseString(json.get("description").getAsString())); + res.setDescriptionElement(parseMarkdown(json.get("description").getAsString())); if (json.has("_description")) parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); DataType example = parseType("example", json); @@ -18013,7 +17795,9 @@ public class JsonParser extends JsonParserBase { protected void parseIngredientManufacturerComponentProperties(JsonObject json, Ingredient.IngredientManufacturerComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("role")) - res.setRole(parseCoding(getJObject(json, "role"))); + res.setRoleElement(parseEnumeration(json.get("role").getAsString(), Ingredient.IngredientManufacturerRole.NULL, new Ingredient.IngredientManufacturerRoleEnumFactory())); + if (json.has("_role")) + parseElementProperties(getJObject(json, "_role"), res.getRoleElement()); if (json.has("manufacturer")) res.setManufacturer(parseReference(getJObject(json, "manufacturer"))); } @@ -18047,17 +17831,17 @@ public class JsonParser extends JsonParserBase { DataType presentation = parseType("presentation", json); if (presentation != null) res.setPresentation(presentation); - if (json.has("presentationText")) - res.setPresentationTextElement(parseString(json.get("presentationText").getAsString())); - if (json.has("_presentationText")) - parseElementProperties(getJObject(json, "_presentationText"), res.getPresentationTextElement()); + if (json.has("textPresentation")) + res.setTextPresentationElement(parseString(json.get("textPresentation").getAsString())); + if (json.has("_textPresentation")) + parseElementProperties(getJObject(json, "_textPresentation"), res.getTextPresentationElement()); DataType concentration = parseType("concentration", json); if (concentration != null) res.setConcentration(concentration); - if (json.has("concentrationText")) - res.setConcentrationTextElement(parseString(json.get("concentrationText").getAsString())); - if (json.has("_concentrationText")) - parseElementProperties(getJObject(json, "_concentrationText"), res.getConcentrationTextElement()); + if (json.has("textConcentration")) + res.setTextConcentrationElement(parseString(json.get("textConcentration").getAsString())); + if (json.has("_textConcentration")) + parseElementProperties(getJObject(json, "_textConcentration"), res.getTextConcentrationElement()); if (json.has("basis")) res.setBasis(parseCodeableConcept(getJObject(json, "basis"))); if (json.has("measurementPoint")) @@ -18165,7 +17949,7 @@ public class JsonParser extends JsonParserBase { if (json.has("contact")) { JsonArray array = getJArray(json, "contact"); for (int i = 0; i < array.size(); i++) { - res.getContact().add(parseInsurancePlanContactComponent(array.get(i).getAsJsonObject())); + res.getContact().add(parseExtendedContactDetail(array.get(i).getAsJsonObject())); } }; if (json.has("endpoint")) { @@ -18194,28 +17978,6 @@ public class JsonParser extends JsonParserBase { }; } - protected InsurancePlan.InsurancePlanContactComponent parseInsurancePlanContactComponent(JsonObject json) throws IOException, FHIRFormatError { - InsurancePlan.InsurancePlanContactComponent res = new InsurancePlan.InsurancePlanContactComponent(); - parseInsurancePlanContactComponentProperties(json, res); - return res; - } - - protected void parseInsurancePlanContactComponentProperties(JsonObject json, InsurancePlan.InsurancePlanContactComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("purpose")) - res.setPurpose(parseCodeableConcept(getJObject(json, "purpose"))); - if (json.has("name")) - res.setName(parseHumanName(getJObject(json, "name"))); - if (json.has("telecom")) { - JsonArray array = getJArray(json, "telecom"); - for (int i = 0; i < array.size(); i++) { - res.getTelecom().add(parseContactPoint(array.get(i).getAsJsonObject())); - } - }; - if (json.has("address")) - res.setAddress(parseAddress(getJObject(json, "address"))); - } - protected InsurancePlan.InsurancePlanCoverageComponent parseInsurancePlanCoverageComponent(JsonObject json) throws IOException, FHIRFormatError { InsurancePlan.InsurancePlanCoverageComponent res = new InsurancePlan.InsurancePlanCoverageComponent(); parseInsurancePlanCoverageComponentProperties(json, res); @@ -18955,6 +18717,12 @@ public class JsonParser extends JsonParserBase { res.getType().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; + if (json.has("contact")) { + JsonArray array = getJArray(json, "contact"); + for (int i = 0; i < array.size(); i++) { + res.getContact().add(parseExtendedContactDetail(array.get(i).getAsJsonObject())); + } + }; if (json.has("telecom")) { JsonArray array = getJArray(json, "telecom"); for (int i = 0; i < array.size(); i++) { @@ -19830,6 +19598,16 @@ public class JsonParser extends JsonParserBase { res.setRecordedElement(parseDateTime(json.get("recorded").getAsString())); if (json.has("_recorded")) parseElementProperties(getJObject(json, "_recorded"), res.getRecordedElement()); + if (json.has("isSubPotent")) + res.setIsSubPotentElement(parseBoolean(json.get("isSubPotent").getAsBoolean())); + if (json.has("_isSubPotent")) + parseElementProperties(getJObject(json, "_isSubPotent"), res.getIsSubPotentElement()); + if (json.has("subPotentReason")) { + JsonArray array = getJArray(json, "subPotentReason"); + for (int i = 0; i < array.size(); i++) { + res.getSubPotentReason().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; if (json.has("performer")) { JsonArray array = getJArray(json, "performer"); for (int i = 0; i < array.size(); i++) { @@ -19935,8 +19713,8 @@ public class JsonParser extends JsonParserBase { res.setStatusElement(parseEnumeration(json.get("status").getAsString(), MedicationDispense.MedicationDispenseStatusCodes.NULL, new MedicationDispense.MedicationDispenseStatusCodesEnumFactory())); if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); - if (json.has("statusReason")) - res.setStatusReason(parseCodeableReference(getJObject(json, "statusReason"))); + if (json.has("notPerformedReason")) + res.setNotPerformedReason(parseCodeableReference(getJObject(json, "notPerformedReason"))); if (json.has("statusChanged")) res.setStatusChangedElement(parseDateTime(json.get("statusChanged").getAsString())); if (json.has("_statusChanged")) @@ -20017,12 +19795,6 @@ public class JsonParser extends JsonParserBase { }; if (json.has("substitution")) res.setSubstitution(parseMedicationDispenseSubstitutionComponent(getJObject(json, "substitution"))); - if (json.has("detectedIssue")) { - JsonArray array = getJArray(json, "detectedIssue"); - for (int i = 0; i < array.size(); i++) { - res.getDetectedIssue().add(parseReference(array.get(i).getAsJsonObject())); - } - }; if (json.has("eventHistory")) { JsonArray array = getJArray(json, "eventHistory"); for (int i = 0; i < array.size(); i++) { @@ -20180,6 +19952,12 @@ public class JsonParser extends JsonParserBase { res.getClinicalUseIssue().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("storageGuideline")) { + JsonArray array = getJArray(json, "storageGuideline"); + for (int i = 0; i < array.size(); i++) { + res.getStorageGuideline().add(parseMedicationKnowledgeStorageGuidelineComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("regulatory")) { JsonArray array = getJArray(json, "regulatory"); for (int i = 0; i < array.size(); i++) { @@ -20383,6 +20161,49 @@ public class JsonParser extends JsonParserBase { res.setPackagedProduct(parseReference(getJObject(json, "packagedProduct"))); } + protected MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent parseMedicationKnowledgeStorageGuidelineComponent(JsonObject json) throws IOException, FHIRFormatError { + MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent res = new MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent(); + parseMedicationKnowledgeStorageGuidelineComponentProperties(json, res); + return res; + } + + protected void parseMedicationKnowledgeStorageGuidelineComponentProperties(JsonObject json, MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("reference")) + res.setReferenceElement(parseUri(json.get("reference").getAsString())); + if (json.has("_reference")) + parseElementProperties(getJObject(json, "_reference"), res.getReferenceElement()); + if (json.has("note")) { + JsonArray array = getJArray(json, "note"); + for (int i = 0; i < array.size(); i++) { + res.getNote().add(parseAnnotation(array.get(i).getAsJsonObject())); + } + }; + if (json.has("stabilityDuration")) + res.setStabilityDuration(parseDuration(getJObject(json, "stabilityDuration"))); + if (json.has("environmentalSetting")) { + JsonArray array = getJArray(json, "environmentalSetting"); + for (int i = 0; i < array.size(); i++) { + res.getEnvironmentalSetting().add(parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(array.get(i).getAsJsonObject())); + } + }; + } + + protected MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(JsonObject json) throws IOException, FHIRFormatError { + MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent res = new MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(); + parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentProperties(json, res); + return res; + } + + protected void parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentProperties(JsonObject json, MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("type")) + res.setType(parseCodeableConcept(getJObject(json, "type"))); + DataType value = parseType("value", json); + if (value != null) + res.setValue(value); + } + protected MedicationKnowledge.MedicationKnowledgeRegulatoryComponent parseMedicationKnowledgeRegulatoryComponent(JsonObject json) throws IOException, FHIRFormatError { MedicationKnowledge.MedicationKnowledgeRegulatoryComponent res = new MedicationKnowledge.MedicationKnowledgeRegulatoryComponent(); parseMedicationKnowledgeRegulatoryComponentProperties(json, res); @@ -20601,8 +20422,12 @@ public class JsonParser extends JsonParserBase { res.setMedication(parseCodeableReference(getJObject(json, "medication"))); if (json.has("subject")) res.setSubject(parseReference(getJObject(json, "subject"))); - if (json.has("informationSource")) - res.setInformationSource(parseReference(getJObject(json, "informationSource"))); + if (json.has("informationSource")) { + JsonArray array = getJArray(json, "informationSource"); + for (int i = 0; i < array.size(); i++) { + res.getInformationSource().add(parseReference(array.get(i).getAsJsonObject())); + } + }; if (json.has("encounter")) res.setEncounter(parseReference(getJObject(json, "encounter"))); if (json.has("supportingInformation")) { @@ -20623,8 +20448,14 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_reported"), res.getReportedElement()); if (json.has("performerType")) res.setPerformerType(parseCodeableConcept(getJObject(json, "performerType"))); - if (json.has("performer")) - res.setPerformer(parseReference(getJObject(json, "performer"))); + if (json.has("performer")) { + JsonArray array = getJArray(json, "performer"); + for (int i = 0; i < array.size(); i++) { + res.getPerformer().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("device")) + res.setDevice(parseCodeableReference(getJObject(json, "device"))); if (json.has("recorder")) res.setRecorder(parseReference(getJObject(json, "recorder"))); if (json.has("reason")) { @@ -20653,12 +20484,6 @@ public class JsonParser extends JsonParserBase { res.setDispenseRequest(parseMedicationRequestDispenseRequestComponent(getJObject(json, "dispenseRequest"))); if (json.has("substitution")) res.setSubstitution(parseMedicationRequestSubstitutionComponent(getJObject(json, "substitution"))); - if (json.has("detectedIssue")) { - JsonArray array = getJArray(json, "detectedIssue"); - for (int i = 0; i < array.size(); i++) { - res.getDetectedIssue().add(parseReference(array.get(i).getAsJsonObject())); - } - }; if (json.has("eventHistory")) { JsonArray array = getJArray(json, "eventHistory"); for (int i = 0; i < array.size(); i++) { @@ -20680,9 +20505,7 @@ public class JsonParser extends JsonParserBase { if (json.has("_renderedDosageInstruction")) parseElementProperties(getJObject(json, "_renderedDosageInstruction"), res.getRenderedDosageInstructionElement()); if (json.has("effectiveDosePeriod")) - res.setEffectiveDosePeriodElement(parseDateTime(json.get("effectiveDosePeriod").getAsString())); - if (json.has("_effectiveDosePeriod")) - parseElementProperties(getJObject(json, "_effectiveDosePeriod"), res.getEffectiveDosePeriodElement()); + res.setEffectiveDosePeriod(parsePeriod(getJObject(json, "effectiveDosePeriod"))); if (json.has("dosageInstruction")) { JsonArray array = getJArray(json, "dosageInstruction"); for (int i = 0; i < array.size(); i++) { @@ -20768,6 +20591,12 @@ public class JsonParser extends JsonParserBase { res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); } }; + if (json.has("partOf")) { + JsonArray array = getJArray(json, "partOf"); + for (int i = 0; i < array.size(); i++) { + res.getPartOf().add(parseReference(array.get(i).getAsJsonObject())); + } + }; if (json.has("status")) res.setStatusElement(parseEnumeration(json.get("status").getAsString(), MedicationUsage.MedicationUsageStatusCodes.NULL, new MedicationUsage.MedicationUsageStatusCodesEnumFactory())); if (json.has("_status")) @@ -20791,8 +20620,12 @@ public class JsonParser extends JsonParserBase { res.setDateAssertedElement(parseDateTime(json.get("dateAsserted").getAsString())); if (json.has("_dateAsserted")) parseElementProperties(getJObject(json, "_dateAsserted"), res.getDateAssertedElement()); - if (json.has("informationSource")) - res.setInformationSource(parseReference(getJObject(json, "informationSource"))); + if (json.has("informationSource")) { + JsonArray array = getJArray(json, "informationSource"); + for (int i = 0; i < array.size(); i++) { + res.getInformationSource().add(parseReference(array.get(i).getAsJsonObject())); + } + }; if (json.has("derivedFrom")) { JsonArray array = getJArray(json, "derivedFrom"); for (int i = 0; i < array.size(); i++) { @@ -20811,6 +20644,12 @@ public class JsonParser extends JsonParserBase { res.getNote().add(parseAnnotation(array.get(i).getAsJsonObject())); } }; + if (json.has("relatedClinicalInformation")) { + JsonArray array = getJArray(json, "relatedClinicalInformation"); + for (int i = 0; i < array.size(); i++) { + res.getRelatedClinicalInformation().add(parseReference(array.get(i).getAsJsonObject())); + } + }; if (json.has("renderedDosageInstruction")) res.setRenderedDosageInstructionElement(parseString(json.get("renderedDosageInstruction").getAsString())); if (json.has("_renderedDosageInstruction")) @@ -20913,6 +20752,12 @@ public class JsonParser extends JsonParserBase { res.getPackagedMedicinalProduct().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; + if (json.has("comprisedOf")) { + JsonArray array = getJArray(json, "comprisedOf"); + for (int i = 0; i < array.size(); i++) { + res.getComprisedOf().add(parseReference(array.get(i).getAsJsonObject())); + } + }; if (json.has("ingredient")) { JsonArray array = getJArray(json, "ingredient"); for (int i = 0; i < array.size(); i++) { @@ -21247,25 +21092,10 @@ public class JsonParser extends JsonParserBase { res.getAllowedResponse().add(parseMessageDefinitionAllowedResponseComponent(array.get(i).getAsJsonObject())); } }; - if (json.has("graph")) { - JsonArray array = getJArray(json, "graph"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getGraph().add(new CanonicalType()); - } else {; - res.getGraph().add(parseCanonical(array.get(i).getAsString())); - } - } - }; - if (json.has("_graph")) { - JsonArray array = getJArray(json, "_graph"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getGraph().size()) - res.getGraph().add(parseCanonical(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getGraph().get(i)); - } - }; + if (json.has("graph")) + res.setGraphElement(parseCanonical(json.get("graph").getAsString())); + if (json.has("_graph")) + parseElementProperties(getJObject(json, "_graph"), res.getGraphElement()); } protected MessageDefinition.MessageDefinitionFocusComponent parseMessageDefinitionFocusComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -21414,9 +21244,7 @@ public class JsonParser extends JsonParserBase { protected void parseMessageHeaderResponseComponentProperties(JsonObject json, MessageHeader.MessageHeaderResponseComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("identifier")) - res.setIdentifierElement(parseId(json.get("identifier").getAsString())); - if (json.has("_identifier")) - parseElementProperties(getJObject(json, "_identifier"), res.getIdentifierElement()); + res.setIdentifier(parseIdentifier(getJObject(json, "identifier"))); if (json.has("code")) res.setCodeElement(parseEnumeration(json.get("code").getAsString(), MessageHeader.ResponseType.NULL, new MessageHeader.ResponseTypeEnumFactory())); if (json.has("_code")) @@ -21443,10 +21271,6 @@ public class JsonParser extends JsonParserBase { res.setTypeElement(parseEnumeration(json.get("type").getAsString(), MolecularSequence.SequenceType.NULL, new MolecularSequence.SequenceTypeEnumFactory())); if (json.has("_type")) parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); - if (json.has("coordinateSystem")) - res.setCoordinateSystemElement(parseInteger(json.get("coordinateSystem").getAsLong())); - if (json.has("_coordinateSystem")) - parseElementProperties(getJObject(json, "_coordinateSystem"), res.getCoordinateSystemElement()); if (json.has("patient")) res.setPatient(parseReference(getJObject(json, "patient"))); if (json.has("specimen")) @@ -21455,80 +21279,59 @@ public class JsonParser extends JsonParserBase { res.setDevice(parseReference(getJObject(json, "device"))); if (json.has("performer")) res.setPerformer(parseReference(getJObject(json, "performer"))); - if (json.has("quantity")) - res.setQuantity(parseQuantity(getJObject(json, "quantity"))); - if (json.has("referenceSeq")) - res.setReferenceSeq(parseMolecularSequenceReferenceSeqComponent(getJObject(json, "referenceSeq"))); - if (json.has("variant")) { - JsonArray array = getJArray(json, "variant"); + if (json.has("literal")) + res.setLiteralElement(parseString(json.get("literal").getAsString())); + if (json.has("_literal")) + parseElementProperties(getJObject(json, "_literal"), res.getLiteralElement()); + if (json.has("formatted")) { + JsonArray array = getJArray(json, "formatted"); for (int i = 0; i < array.size(); i++) { - res.getVariant().add(parseMolecularSequenceVariantComponent(array.get(i).getAsJsonObject())); + res.getFormatted().add(parseAttachment(array.get(i).getAsJsonObject())); } }; - if (json.has("observedSeq")) - res.setObservedSeqElement(parseString(json.get("observedSeq").getAsString())); - if (json.has("_observedSeq")) - parseElementProperties(getJObject(json, "_observedSeq"), res.getObservedSeqElement()); - if (json.has("quality")) { - JsonArray array = getJArray(json, "quality"); + if (json.has("relative")) { + JsonArray array = getJArray(json, "relative"); for (int i = 0; i < array.size(); i++) { - res.getQuality().add(parseMolecularSequenceQualityComponent(array.get(i).getAsJsonObject())); + res.getRelative().add(parseMolecularSequenceRelativeComponent(array.get(i).getAsJsonObject())); } }; - if (json.has("readCoverage")) - res.setReadCoverageElement(parseInteger(json.get("readCoverage").getAsLong())); - if (json.has("_readCoverage")) - parseElementProperties(getJObject(json, "_readCoverage"), res.getReadCoverageElement()); - if (json.has("repository")) { - JsonArray array = getJArray(json, "repository"); - for (int i = 0; i < array.size(); i++) { - res.getRepository().add(parseMolecularSequenceRepositoryComponent(array.get(i).getAsJsonObject())); } - }; - if (json.has("pointer")) { - JsonArray array = getJArray(json, "pointer"); - for (int i = 0; i < array.size(); i++) { - res.getPointer().add(parseReference(array.get(i).getAsJsonObject())); + + protected MolecularSequence.MolecularSequenceRelativeComponent parseMolecularSequenceRelativeComponent(JsonObject json) throws IOException, FHIRFormatError { + MolecularSequence.MolecularSequenceRelativeComponent res = new MolecularSequence.MolecularSequenceRelativeComponent(); + parseMolecularSequenceRelativeComponentProperties(json, res); + return res; } - }; - if (json.has("structureVariant")) { - JsonArray array = getJArray(json, "structureVariant"); + + protected void parseMolecularSequenceRelativeComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceRelativeComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("coordinateSystem")) + res.setCoordinateSystem(parseCodeableConcept(getJObject(json, "coordinateSystem"))); + if (json.has("reference")) + res.setReference(parseMolecularSequenceRelativeReferenceComponent(getJObject(json, "reference"))); + if (json.has("edit")) { + JsonArray array = getJArray(json, "edit"); for (int i = 0; i < array.size(); i++) { - res.getStructureVariant().add(parseMolecularSequenceStructureVariantComponent(array.get(i).getAsJsonObject())); + res.getEdit().add(parseMolecularSequenceRelativeEditComponent(array.get(i).getAsJsonObject())); } }; } - protected MolecularSequence.MolecularSequenceReferenceSeqComponent parseMolecularSequenceReferenceSeqComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceReferenceSeqComponent res = new MolecularSequence.MolecularSequenceReferenceSeqComponent(); - parseMolecularSequenceReferenceSeqComponentProperties(json, res); + protected MolecularSequence.MolecularSequenceRelativeReferenceComponent parseMolecularSequenceRelativeReferenceComponent(JsonObject json) throws IOException, FHIRFormatError { + MolecularSequence.MolecularSequenceRelativeReferenceComponent res = new MolecularSequence.MolecularSequenceRelativeReferenceComponent(); + parseMolecularSequenceRelativeReferenceComponentProperties(json, res); return res; } - protected void parseMolecularSequenceReferenceSeqComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceReferenceSeqComponent res) throws IOException, FHIRFormatError { + protected void parseMolecularSequenceRelativeReferenceComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceRelativeReferenceComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); + if (json.has("referenceSequenceAssembly")) + res.setReferenceSequenceAssembly(parseCodeableConcept(getJObject(json, "referenceSequenceAssembly"))); if (json.has("chromosome")) res.setChromosome(parseCodeableConcept(getJObject(json, "chromosome"))); - if (json.has("genomeBuild")) - res.setGenomeBuildElement(parseString(json.get("genomeBuild").getAsString())); - if (json.has("_genomeBuild")) - parseElementProperties(getJObject(json, "_genomeBuild"), res.getGenomeBuildElement()); - if (json.has("orientation")) - res.setOrientationElement(parseEnumeration(json.get("orientation").getAsString(), MolecularSequence.OrientationType.NULL, new MolecularSequence.OrientationTypeEnumFactory())); - if (json.has("_orientation")) - parseElementProperties(getJObject(json, "_orientation"), res.getOrientationElement()); - if (json.has("referenceSeqId")) - res.setReferenceSeqId(parseCodeableConcept(getJObject(json, "referenceSeqId"))); - if (json.has("referenceSeqPointer")) - res.setReferenceSeqPointer(parseReference(getJObject(json, "referenceSeqPointer"))); - if (json.has("referenceSeqString")) - res.setReferenceSeqStringElement(parseString(json.get("referenceSeqString").getAsString())); - if (json.has("_referenceSeqString")) - parseElementProperties(getJObject(json, "_referenceSeqString"), res.getReferenceSeqStringElement()); - if (json.has("strand")) - res.setStrandElement(parseEnumeration(json.get("strand").getAsString(), MolecularSequence.StrandType.NULL, new MolecularSequence.StrandTypeEnumFactory())); - if (json.has("_strand")) - parseElementProperties(getJObject(json, "_strand"), res.getStrandElement()); + DataType referenceSequence = parseType("referenceSequence", json); + if (referenceSequence != null) + res.setReferenceSequence(referenceSequence); if (json.has("windowStart")) res.setWindowStartElement(parseInteger(json.get("windowStart").getAsLong())); if (json.has("_windowStart")) @@ -21537,15 +21340,23 @@ public class JsonParser extends JsonParserBase { res.setWindowEndElement(parseInteger(json.get("windowEnd").getAsLong())); if (json.has("_windowEnd")) parseElementProperties(getJObject(json, "_windowEnd"), res.getWindowEndElement()); + if (json.has("orientation")) + res.setOrientationElement(parseEnumeration(json.get("orientation").getAsString(), MolecularSequence.OrientationType.NULL, new MolecularSequence.OrientationTypeEnumFactory())); + if (json.has("_orientation")) + parseElementProperties(getJObject(json, "_orientation"), res.getOrientationElement()); + if (json.has("strand")) + res.setStrandElement(parseEnumeration(json.get("strand").getAsString(), MolecularSequence.StrandType.NULL, new MolecularSequence.StrandTypeEnumFactory())); + if (json.has("_strand")) + parseElementProperties(getJObject(json, "_strand"), res.getStrandElement()); } - protected MolecularSequence.MolecularSequenceVariantComponent parseMolecularSequenceVariantComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceVariantComponent res = new MolecularSequence.MolecularSequenceVariantComponent(); - parseMolecularSequenceVariantComponentProperties(json, res); + protected MolecularSequence.MolecularSequenceRelativeEditComponent parseMolecularSequenceRelativeEditComponent(JsonObject json) throws IOException, FHIRFormatError { + MolecularSequence.MolecularSequenceRelativeEditComponent res = new MolecularSequence.MolecularSequenceRelativeEditComponent(); + parseMolecularSequenceRelativeEditComponentProperties(json, res); return res; } - protected void parseMolecularSequenceVariantComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceVariantComponent res) throws IOException, FHIRFormatError { + protected void parseMolecularSequenceRelativeEditComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceRelativeEditComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("start")) res.setStartElement(parseInteger(json.get("start").getAsLong())); @@ -21563,311 +21374,6 @@ public class JsonParser extends JsonParserBase { res.setReferenceAlleleElement(parseString(json.get("referenceAllele").getAsString())); if (json.has("_referenceAllele")) parseElementProperties(getJObject(json, "_referenceAllele"), res.getReferenceAlleleElement()); - if (json.has("cigar")) - res.setCigarElement(parseString(json.get("cigar").getAsString())); - if (json.has("_cigar")) - parseElementProperties(getJObject(json, "_cigar"), res.getCigarElement()); - if (json.has("variantPointer")) - res.setVariantPointer(parseReference(getJObject(json, "variantPointer"))); - } - - protected MolecularSequence.MolecularSequenceQualityComponent parseMolecularSequenceQualityComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceQualityComponent res = new MolecularSequence.MolecularSequenceQualityComponent(); - parseMolecularSequenceQualityComponentProperties(json, res); - return res; - } - - protected void parseMolecularSequenceQualityComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceQualityComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("type")) - res.setTypeElement(parseEnumeration(json.get("type").getAsString(), MolecularSequence.QualityType.NULL, new MolecularSequence.QualityTypeEnumFactory())); - if (json.has("_type")) - parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); - if (json.has("standardSequence")) - res.setStandardSequence(parseCodeableConcept(getJObject(json, "standardSequence"))); - if (json.has("start")) - res.setStartElement(parseInteger(json.get("start").getAsLong())); - if (json.has("_start")) - parseElementProperties(getJObject(json, "_start"), res.getStartElement()); - if (json.has("end")) - res.setEndElement(parseInteger(json.get("end").getAsLong())); - if (json.has("_end")) - parseElementProperties(getJObject(json, "_end"), res.getEndElement()); - if (json.has("score")) - res.setScore(parseQuantity(getJObject(json, "score"))); - if (json.has("method")) - res.setMethod(parseCodeableConcept(getJObject(json, "method"))); - if (json.has("truthTP")) - res.setTruthTPElement(parseDecimal(json.get("truthTP").getAsBigDecimal())); - if (json.has("_truthTP")) - parseElementProperties(getJObject(json, "_truthTP"), res.getTruthTPElement()); - if (json.has("queryTP")) - res.setQueryTPElement(parseDecimal(json.get("queryTP").getAsBigDecimal())); - if (json.has("_queryTP")) - parseElementProperties(getJObject(json, "_queryTP"), res.getQueryTPElement()); - if (json.has("truthFN")) - res.setTruthFNElement(parseDecimal(json.get("truthFN").getAsBigDecimal())); - if (json.has("_truthFN")) - parseElementProperties(getJObject(json, "_truthFN"), res.getTruthFNElement()); - if (json.has("queryFP")) - res.setQueryFPElement(parseDecimal(json.get("queryFP").getAsBigDecimal())); - if (json.has("_queryFP")) - parseElementProperties(getJObject(json, "_queryFP"), res.getQueryFPElement()); - if (json.has("gtFP")) - res.setGtFPElement(parseDecimal(json.get("gtFP").getAsBigDecimal())); - if (json.has("_gtFP")) - parseElementProperties(getJObject(json, "_gtFP"), res.getGtFPElement()); - if (json.has("precision")) - res.setPrecisionElement(parseDecimal(json.get("precision").getAsBigDecimal())); - if (json.has("_precision")) - parseElementProperties(getJObject(json, "_precision"), res.getPrecisionElement()); - if (json.has("recall")) - res.setRecallElement(parseDecimal(json.get("recall").getAsBigDecimal())); - if (json.has("_recall")) - parseElementProperties(getJObject(json, "_recall"), res.getRecallElement()); - if (json.has("fScore")) - res.setFScoreElement(parseDecimal(json.get("fScore").getAsBigDecimal())); - if (json.has("_fScore")) - parseElementProperties(getJObject(json, "_fScore"), res.getFScoreElement()); - if (json.has("roc")) - res.setRoc(parseMolecularSequenceQualityRocComponent(getJObject(json, "roc"))); - } - - protected MolecularSequence.MolecularSequenceQualityRocComponent parseMolecularSequenceQualityRocComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceQualityRocComponent res = new MolecularSequence.MolecularSequenceQualityRocComponent(); - parseMolecularSequenceQualityRocComponentProperties(json, res); - return res; - } - - protected void parseMolecularSequenceQualityRocComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceQualityRocComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("score")) { - JsonArray array = getJArray(json, "score"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getScore().add(new IntegerType()); - } else {; - res.getScore().add(parseInteger(array.get(i).getAsLong())); - } - } - }; - if (json.has("_score")) { - JsonArray array = getJArray(json, "_score"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getScore().size()) - res.getScore().add(parseInteger(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getScore().get(i)); - } - }; - if (json.has("numTP")) { - JsonArray array = getJArray(json, "numTP"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getNumTP().add(new IntegerType()); - } else {; - res.getNumTP().add(parseInteger(array.get(i).getAsLong())); - } - } - }; - if (json.has("_numTP")) { - JsonArray array = getJArray(json, "_numTP"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getNumTP().size()) - res.getNumTP().add(parseInteger(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getNumTP().get(i)); - } - }; - if (json.has("numFP")) { - JsonArray array = getJArray(json, "numFP"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getNumFP().add(new IntegerType()); - } else {; - res.getNumFP().add(parseInteger(array.get(i).getAsLong())); - } - } - }; - if (json.has("_numFP")) { - JsonArray array = getJArray(json, "_numFP"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getNumFP().size()) - res.getNumFP().add(parseInteger(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getNumFP().get(i)); - } - }; - if (json.has("numFN")) { - JsonArray array = getJArray(json, "numFN"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getNumFN().add(new IntegerType()); - } else {; - res.getNumFN().add(parseInteger(array.get(i).getAsLong())); - } - } - }; - if (json.has("_numFN")) { - JsonArray array = getJArray(json, "_numFN"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getNumFN().size()) - res.getNumFN().add(parseInteger(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getNumFN().get(i)); - } - }; - if (json.has("precision")) { - JsonArray array = getJArray(json, "precision"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getPrecision().add(new DecimalType()); - } else {; - res.getPrecision().add(parseDecimal(array.get(i).getAsBigDecimal())); - } - } - }; - if (json.has("_precision")) { - JsonArray array = getJArray(json, "_precision"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getPrecision().size()) - res.getPrecision().add(parseDecimal(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getPrecision().get(i)); - } - }; - if (json.has("sensitivity")) { - JsonArray array = getJArray(json, "sensitivity"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getSensitivity().add(new DecimalType()); - } else {; - res.getSensitivity().add(parseDecimal(array.get(i).getAsBigDecimal())); - } - } - }; - if (json.has("_sensitivity")) { - JsonArray array = getJArray(json, "_sensitivity"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getSensitivity().size()) - res.getSensitivity().add(parseDecimal(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getSensitivity().get(i)); - } - }; - if (json.has("fMeasure")) { - JsonArray array = getJArray(json, "fMeasure"); - for (int i = 0; i < array.size(); i++) { - if (array.get(i).isJsonNull()) { - res.getFMeasure().add(new DecimalType()); - } else {; - res.getFMeasure().add(parseDecimal(array.get(i).getAsBigDecimal())); - } - } - }; - if (json.has("_fMeasure")) { - JsonArray array = getJArray(json, "_fMeasure"); - for (int i = 0; i < array.size(); i++) { - if (i == res.getFMeasure().size()) - res.getFMeasure().add(parseDecimal(null)); - if (array.get(i) instanceof JsonObject) - parseElementProperties(array.get(i).getAsJsonObject(), res.getFMeasure().get(i)); - } - }; - } - - protected MolecularSequence.MolecularSequenceRepositoryComponent parseMolecularSequenceRepositoryComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceRepositoryComponent res = new MolecularSequence.MolecularSequenceRepositoryComponent(); - parseMolecularSequenceRepositoryComponentProperties(json, res); - return res; - } - - protected void parseMolecularSequenceRepositoryComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceRepositoryComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("type")) - res.setTypeElement(parseEnumeration(json.get("type").getAsString(), MolecularSequence.RepositoryType.NULL, new MolecularSequence.RepositoryTypeEnumFactory())); - if (json.has("_type")) - parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); - if (json.has("url")) - res.setUrlElement(parseUri(json.get("url").getAsString())); - if (json.has("_url")) - parseElementProperties(getJObject(json, "_url"), res.getUrlElement()); - if (json.has("name")) - res.setNameElement(parseString(json.get("name").getAsString())); - if (json.has("_name")) - parseElementProperties(getJObject(json, "_name"), res.getNameElement()); - if (json.has("datasetId")) - res.setDatasetIdElement(parseString(json.get("datasetId").getAsString())); - if (json.has("_datasetId")) - parseElementProperties(getJObject(json, "_datasetId"), res.getDatasetIdElement()); - if (json.has("variantsetId")) - res.setVariantsetIdElement(parseString(json.get("variantsetId").getAsString())); - if (json.has("_variantsetId")) - parseElementProperties(getJObject(json, "_variantsetId"), res.getVariantsetIdElement()); - if (json.has("readsetId")) - res.setReadsetIdElement(parseString(json.get("readsetId").getAsString())); - if (json.has("_readsetId")) - parseElementProperties(getJObject(json, "_readsetId"), res.getReadsetIdElement()); - } - - protected MolecularSequence.MolecularSequenceStructureVariantComponent parseMolecularSequenceStructureVariantComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceStructureVariantComponent res = new MolecularSequence.MolecularSequenceStructureVariantComponent(); - parseMolecularSequenceStructureVariantComponentProperties(json, res); - return res; - } - - protected void parseMolecularSequenceStructureVariantComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceStructureVariantComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("variantType")) - res.setVariantType(parseCodeableConcept(getJObject(json, "variantType"))); - if (json.has("exact")) - res.setExactElement(parseBoolean(json.get("exact").getAsBoolean())); - if (json.has("_exact")) - parseElementProperties(getJObject(json, "_exact"), res.getExactElement()); - if (json.has("length")) - res.setLengthElement(parseInteger(json.get("length").getAsLong())); - if (json.has("_length")) - parseElementProperties(getJObject(json, "_length"), res.getLengthElement()); - if (json.has("outer")) - res.setOuter(parseMolecularSequenceStructureVariantOuterComponent(getJObject(json, "outer"))); - if (json.has("inner")) - res.setInner(parseMolecularSequenceStructureVariantInnerComponent(getJObject(json, "inner"))); - } - - protected MolecularSequence.MolecularSequenceStructureVariantOuterComponent parseMolecularSequenceStructureVariantOuterComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceStructureVariantOuterComponent res = new MolecularSequence.MolecularSequenceStructureVariantOuterComponent(); - parseMolecularSequenceStructureVariantOuterComponentProperties(json, res); - return res; - } - - protected void parseMolecularSequenceStructureVariantOuterComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceStructureVariantOuterComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("start")) - res.setStartElement(parseInteger(json.get("start").getAsLong())); - if (json.has("_start")) - parseElementProperties(getJObject(json, "_start"), res.getStartElement()); - if (json.has("end")) - res.setEndElement(parseInteger(json.get("end").getAsLong())); - if (json.has("_end")) - parseElementProperties(getJObject(json, "_end"), res.getEndElement()); - } - - protected MolecularSequence.MolecularSequenceStructureVariantInnerComponent parseMolecularSequenceStructureVariantInnerComponent(JsonObject json) throws IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceStructureVariantInnerComponent res = new MolecularSequence.MolecularSequenceStructureVariantInnerComponent(); - parseMolecularSequenceStructureVariantInnerComponentProperties(json, res); - return res; - } - - protected void parseMolecularSequenceStructureVariantInnerComponentProperties(JsonObject json, MolecularSequence.MolecularSequenceStructureVariantInnerComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("start")) - res.setStartElement(parseInteger(json.get("start").getAsLong())); - if (json.has("_start")) - parseElementProperties(getJObject(json, "_start"), res.getStartElement()); - if (json.has("end")) - res.setEndElement(parseInteger(json.get("end").getAsLong())); - if (json.has("_end")) - parseElementProperties(getJObject(json, "_end"), res.getEndElement()); } protected NamingSystem parseNamingSystem(JsonObject json) throws IOException, FHIRFormatError { @@ -21877,7 +21383,7 @@ public class JsonParser extends JsonParserBase { } protected void parseNamingSystemProperties(JsonObject json, NamingSystem res) throws IOException, FHIRFormatError { - parseCanonicalResourceProperties(json, res); + parseMetadataResourceProperties(json, res); if (json.has("url")) res.setUrlElement(parseUri(json.get("url").getAsString())); if (json.has("_url")) @@ -22454,6 +21960,8 @@ public class JsonParser extends JsonParserBase { protected void parseNutritionProductProperties(JsonObject json, NutritionProduct res) throws IOException, FHIRFormatError { parseDomainResourceProperties(json, res); + if (json.has("code")) + res.setCode(parseCodeableConcept(getJObject(json, "code"))); if (json.has("status")) res.setStatusElement(parseEnumeration(json.get("status").getAsString(), NutritionProduct.NutritionProductStatus.NULL, new NutritionProduct.NutritionProductStatusEnumFactory())); if (json.has("_status")) @@ -22464,8 +21972,6 @@ public class JsonParser extends JsonParserBase { res.getCategory().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; - if (json.has("code")) - res.setCode(parseCodeableConcept(getJObject(json, "code"))); if (json.has("manufacturer")) { JsonArray array = getJArray(json, "manufacturer"); for (int i = 0; i < array.size(); i++) { @@ -22490,14 +21996,18 @@ public class JsonParser extends JsonParserBase { res.getKnownAllergen().add(parseCodeableReference(array.get(i).getAsJsonObject())); } }; - if (json.has("productCharacteristic")) { - JsonArray array = getJArray(json, "productCharacteristic"); + if (json.has("characteristic")) { + JsonArray array = getJArray(json, "characteristic"); for (int i = 0; i < array.size(); i++) { - res.getProductCharacteristic().add(parseNutritionProductProductCharacteristicComponent(array.get(i).getAsJsonObject())); + res.getCharacteristic().add(parseNutritionProductCharacteristicComponent(array.get(i).getAsJsonObject())); + } + }; + if (json.has("instance")) { + JsonArray array = getJArray(json, "instance"); + for (int i = 0; i < array.size(); i++) { + res.getInstance().add(parseNutritionProductInstanceComponent(array.get(i).getAsJsonObject())); } }; - if (json.has("instance")) - res.setInstance(parseNutritionProductInstanceComponent(getJObject(json, "instance"))); if (json.has("note")) { JsonArray array = getJArray(json, "note"); for (int i = 0; i < array.size(); i++) { @@ -22542,13 +22052,13 @@ public class JsonParser extends JsonParserBase { }; } - protected NutritionProduct.NutritionProductProductCharacteristicComponent parseNutritionProductProductCharacteristicComponent(JsonObject json) throws IOException, FHIRFormatError { - NutritionProduct.NutritionProductProductCharacteristicComponent res = new NutritionProduct.NutritionProductProductCharacteristicComponent(); - parseNutritionProductProductCharacteristicComponentProperties(json, res); + protected NutritionProduct.NutritionProductCharacteristicComponent parseNutritionProductCharacteristicComponent(JsonObject json) throws IOException, FHIRFormatError { + NutritionProduct.NutritionProductCharacteristicComponent res = new NutritionProduct.NutritionProductCharacteristicComponent(); + parseNutritionProductCharacteristicComponentProperties(json, res); return res; } - protected void parseNutritionProductProductCharacteristicComponentProperties(JsonObject json, NutritionProduct.NutritionProductProductCharacteristicComponent res) throws IOException, FHIRFormatError { + protected void parseNutritionProductCharacteristicComponentProperties(JsonObject json, NutritionProduct.NutritionProductCharacteristicComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("type")) res.setType(parseCodeableConcept(getJObject(json, "type"))); @@ -22573,6 +22083,10 @@ public class JsonParser extends JsonParserBase { res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); } }; + if (json.has("name")) + res.setNameElement(parseString(json.get("name").getAsString())); + if (json.has("_name")) + parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("lotNumber")) res.setLotNumberElement(parseString(json.get("lotNumber").getAsString())); if (json.has("_lotNumber")) @@ -22585,8 +22099,8 @@ public class JsonParser extends JsonParserBase { res.setUseByElement(parseDateTime(json.get("useBy").getAsString())); if (json.has("_useBy")) parseElementProperties(getJObject(json, "_useBy"), res.getUseByElement()); - if (json.has("biologicalSource")) - res.setBiologicalSource(parseIdentifier(getJObject(json, "biologicalSource"))); + if (json.has("biologicalSourceEvent")) + res.setBiologicalSourceEvent(parseIdentifier(getJObject(json, "biologicalSourceEvent"))); } protected Observation parseObservation(JsonObject json) throws IOException, FHIRFormatError { @@ -22612,6 +22126,12 @@ public class JsonParser extends JsonParserBase { res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("triggeredBy")) { + JsonArray array = getJArray(json, "triggeredBy"); + for (int i = 0; i < array.size(); i++) { + res.getTriggeredBy().add(parseObservationTriggeredByComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("partOf")) { JsonArray array = getJArray(json, "partOf"); for (int i = 0; i < array.size(); i++) { @@ -22672,6 +22192,8 @@ public class JsonParser extends JsonParserBase { }; if (json.has("bodySite")) res.setBodySite(parseCodeableConcept(getJObject(json, "bodySite"))); + if (json.has("bodyStructure")) + res.setBodyStructure(parseReference(getJObject(json, "bodyStructure"))); if (json.has("method")) res.setMethod(parseCodeableConcept(getJObject(json, "method"))); if (json.has("specimen")) @@ -22704,6 +22226,26 @@ public class JsonParser extends JsonParserBase { }; } + protected Observation.ObservationTriggeredByComponent parseObservationTriggeredByComponent(JsonObject json) throws IOException, FHIRFormatError { + Observation.ObservationTriggeredByComponent res = new Observation.ObservationTriggeredByComponent(); + parseObservationTriggeredByComponentProperties(json, res); + return res; + } + + protected void parseObservationTriggeredByComponentProperties(JsonObject json, Observation.ObservationTriggeredByComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("observation")) + res.setObservation(parseReference(getJObject(json, "observation"))); + if (json.has("type")) + res.setTypeElement(parseEnumeration(json.get("type").getAsString(), Observation.TriggeredBytype.NULL, new Observation.TriggeredBytypeEnumFactory())); + if (json.has("_type")) + parseElementProperties(getJObject(json, "_type"), res.getTypeElement()); + if (json.has("reason")) + res.setReasonElement(parseString(json.get("reason").getAsString())); + if (json.has("_reason")) + parseElementProperties(getJObject(json, "_reason"), res.getReasonElement()); + } + protected Observation.ObservationReferenceRangeComponent parseObservationReferenceRangeComponent(JsonObject json) throws IOException, FHIRFormatError { Observation.ObservationReferenceRangeComponent res = new Observation.ObservationReferenceRangeComponent(); parseObservationReferenceRangeComponentProperties(json, res); @@ -22716,6 +22258,8 @@ public class JsonParser extends JsonParserBase { res.setLow(parseQuantity(getJObject(json, "low"))); if (json.has("high")) res.setHigh(parseQuantity(getJObject(json, "high"))); + if (json.has("normalValue")) + res.setNormalValue(parseCodeableConcept(getJObject(json, "normalValue"))); if (json.has("type")) res.setType(parseCodeableConcept(getJObject(json, "type"))); if (json.has("appliesTo")) { @@ -23477,6 +23021,16 @@ public class JsonParser extends JsonParserBase { parseElementProperties(array.get(i).getAsJsonObject(), res.getAlias().get(i)); } }; + if (json.has("description")) + res.setDescriptionElement(parseString(json.get("description").getAsString())); + if (json.has("_description")) + parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); + if (json.has("contact")) { + JsonArray array = getJArray(json, "contact"); + for (int i = 0; i < array.size(); i++) { + res.getContact().add(parseExtendedContactDetail(array.get(i).getAsJsonObject())); + } + }; if (json.has("telecom")) { JsonArray array = getJArray(json, "telecom"); for (int i = 0; i < array.size(); i++) { @@ -23491,12 +23045,6 @@ public class JsonParser extends JsonParserBase { }; if (json.has("partOf")) res.setPartOf(parseReference(getJObject(json, "partOf"))); - if (json.has("contact")) { - JsonArray array = getJArray(json, "contact"); - for (int i = 0; i < array.size(); i++) { - res.getContact().add(parseOrganizationContactComponent(array.get(i).getAsJsonObject())); - } - }; if (json.has("endpoint")) { JsonArray array = getJArray(json, "endpoint"); for (int i = 0; i < array.size(); i++) { @@ -23505,28 +23053,6 @@ public class JsonParser extends JsonParserBase { }; } - protected Organization.OrganizationContactComponent parseOrganizationContactComponent(JsonObject json) throws IOException, FHIRFormatError { - Organization.OrganizationContactComponent res = new Organization.OrganizationContactComponent(); - parseOrganizationContactComponentProperties(json, res); - return res; - } - - protected void parseOrganizationContactComponentProperties(JsonObject json, Organization.OrganizationContactComponent res) throws IOException, FHIRFormatError { - parseBackboneElementProperties(json, res); - if (json.has("purpose")) - res.setPurpose(parseCodeableConcept(getJObject(json, "purpose"))); - if (json.has("name")) - res.setName(parseHumanName(getJObject(json, "name"))); - if (json.has("telecom")) { - JsonArray array = getJArray(json, "telecom"); - for (int i = 0; i < array.size(); i++) { - res.getTelecom().add(parseContactPoint(array.get(i).getAsJsonObject())); - } - }; - if (json.has("address")) - res.setAddress(parseAddress(getJObject(json, "address"))); - } - protected OrganizationAffiliation parseOrganizationAffiliation(JsonObject json) throws IOException, FHIRFormatError { OrganizationAffiliation res = new OrganizationAffiliation(); parseOrganizationAffiliationProperties(json, res); @@ -23671,8 +23197,8 @@ public class JsonParser extends JsonParserBase { res.getAttachedDocument().add(parseReference(array.get(i).getAsJsonObject())); } }; - if (json.has("package")) - res.setPackage(parsePackagedProductDefinitionPackageComponent(getJObject(json, "package"))); + if (json.has("packaging")) + res.setPackaging(parsePackagedProductDefinitionPackagingComponent(getJObject(json, "packaging"))); } protected PackagedProductDefinition.PackagedProductDefinitionLegalStatusOfSupplyComponent parsePackagedProductDefinitionLegalStatusOfSupplyComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -23689,13 +23215,13 @@ public class JsonParser extends JsonParserBase { res.setJurisdiction(parseCodeableConcept(getJObject(json, "jurisdiction"))); } - protected PackagedProductDefinition.PackagedProductDefinitionPackageComponent parsePackagedProductDefinitionPackageComponent(JsonObject json) throws IOException, FHIRFormatError { - PackagedProductDefinition.PackagedProductDefinitionPackageComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackageComponent(); - parsePackagedProductDefinitionPackageComponentProperties(json, res); + protected PackagedProductDefinition.PackagedProductDefinitionPackagingComponent parsePackagedProductDefinitionPackagingComponent(JsonObject json) throws IOException, FHIRFormatError { + PackagedProductDefinition.PackagedProductDefinitionPackagingComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagingComponent(); + parsePackagedProductDefinitionPackagingComponentProperties(json, res); return res; } - protected void parsePackagedProductDefinitionPackageComponentProperties(JsonObject json, PackagedProductDefinition.PackagedProductDefinitionPackageComponent res) throws IOException, FHIRFormatError { + protected void parsePackagedProductDefinitionPackagingComponentProperties(JsonObject json, PackagedProductDefinition.PackagedProductDefinitionPackagingComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("identifier")) { JsonArray array = getJArray(json, "identifier"); @@ -23736,30 +23262,30 @@ public class JsonParser extends JsonParserBase { if (json.has("property")) { JsonArray array = getJArray(json, "property"); for (int i = 0; i < array.size(); i++) { - res.getProperty().add(parsePackagedProductDefinitionPackagePropertyComponent(array.get(i).getAsJsonObject())); + res.getProperty().add(parsePackagedProductDefinitionPackagingPropertyComponent(array.get(i).getAsJsonObject())); } }; if (json.has("containedItem")) { JsonArray array = getJArray(json, "containedItem"); for (int i = 0; i < array.size(); i++) { - res.getContainedItem().add(parsePackagedProductDefinitionPackageContainedItemComponent(array.get(i).getAsJsonObject())); + res.getContainedItem().add(parsePackagedProductDefinitionPackagingContainedItemComponent(array.get(i).getAsJsonObject())); } }; - if (json.has("package")) { - JsonArray array = getJArray(json, "package"); + if (json.has("packaging")) { + JsonArray array = getJArray(json, "packaging"); for (int i = 0; i < array.size(); i++) { - res.getPackage().add(parsePackagedProductDefinitionPackageComponent(array.get(i).getAsJsonObject())); + res.getPackaging().add(parsePackagedProductDefinitionPackagingComponent(array.get(i).getAsJsonObject())); } }; } - protected PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent parsePackagedProductDefinitionPackagePropertyComponent(JsonObject json) throws IOException, FHIRFormatError { - PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent(); - parsePackagedProductDefinitionPackagePropertyComponentProperties(json, res); + protected PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent parsePackagedProductDefinitionPackagingPropertyComponent(JsonObject json) throws IOException, FHIRFormatError { + PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent(); + parsePackagedProductDefinitionPackagingPropertyComponentProperties(json, res); return res; } - protected void parsePackagedProductDefinitionPackagePropertyComponentProperties(JsonObject json, PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent res) throws IOException, FHIRFormatError { + protected void parsePackagedProductDefinitionPackagingPropertyComponentProperties(JsonObject json, PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("type")) res.setType(parseCodeableConcept(getJObject(json, "type"))); @@ -23768,13 +23294,13 @@ public class JsonParser extends JsonParserBase { res.setValue(value); } - protected PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent parsePackagedProductDefinitionPackageContainedItemComponent(JsonObject json) throws IOException, FHIRFormatError { - PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent(); - parsePackagedProductDefinitionPackageContainedItemComponentProperties(json, res); + protected PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent parsePackagedProductDefinitionPackagingContainedItemComponent(JsonObject json) throws IOException, FHIRFormatError { + PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent(); + parsePackagedProductDefinitionPackagingContainedItemComponentProperties(json, res); return res; } - protected void parsePackagedProductDefinitionPackageContainedItemComponentProperties(JsonObject json, PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent res) throws IOException, FHIRFormatError { + protected void parsePackagedProductDefinitionPackagingContainedItemComponentProperties(JsonObject json, PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); if (json.has("item")) res.setItem(parseCodeableReference(getJObject(json, "item"))); @@ -25024,6 +24550,12 @@ public class JsonParser extends JsonParserBase { res.getHealthcareService().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("contact")) { + JsonArray array = getJArray(json, "contact"); + for (int i = 0; i < array.size(); i++) { + res.getContact().add(parseExtendedContactDetail(array.get(i).getAsJsonObject())); + } + }; if (json.has("telecom")) { JsonArray array = getJArray(json, "telecom"); for (int i = 0; i < array.size(); i++) { @@ -25363,6 +24895,8 @@ public class JsonParser extends JsonParserBase { res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("patient")) + res.setPatient(parseReference(getJObject(json, "patient"))); if (json.has("encounter")) res.setEncounter(parseReference(getJObject(json, "encounter"))); if (json.has("agent")) { @@ -26528,6 +26062,12 @@ public class JsonParser extends JsonParserBase { parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("role")) res.setRole(parseCodeableConcept(getJObject(json, "role"))); + if (json.has("period")) { + JsonArray array = getJArray(json, "period"); + for (int i = 0; i < array.size(); i++) { + res.getPeriod().add(parsePeriod(array.get(i).getAsJsonObject())); + } + }; if (json.has("classifier")) { JsonArray array = getJArray(json, "classifier"); for (int i = 0; i < array.size(); i++) { @@ -26663,8 +26203,8 @@ public class JsonParser extends JsonParserBase { protected void parseResearchStudyWebLocationComponentProperties(JsonObject json, ResearchStudy.ResearchStudyWebLocationComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("type")) - res.setType(parseCodeableConcept(getJObject(json, "type"))); + if (json.has("classifier")) + res.setClassifier(parseCodeableConcept(getJObject(json, "classifier"))); if (json.has("url")) res.setUrlElement(parseUri(json.get("url").getAsString())); if (json.has("_url")) @@ -26861,7 +26401,7 @@ public class JsonParser extends JsonParserBase { if (json.has("serviceType")) { JsonArray array = getJArray(json, "serviceType"); for (int i = 0; i < array.size(); i++) { - res.getServiceType().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + res.getServiceType().add(parseCodeableReference(array.get(i).getAsJsonObject())); } }; if (json.has("specialty")) { @@ -26904,6 +26444,10 @@ public class JsonParser extends JsonParserBase { res.setNameElement(parseString(json.get("name").getAsString())); if (json.has("_name")) parseElementProperties(getJObject(json, "_name"), res.getNameElement()); + if (json.has("title")) + res.setTitleElement(parseString(json.get("title").getAsString())); + if (json.has("_title")) + parseElementProperties(getJObject(json, "_title"), res.getTitleElement()); if (json.has("derivedFrom")) res.setDerivedFromElement(parseCanonical(json.get("derivedFrom").getAsString())); if (json.has("_derivedFrom")) @@ -27200,6 +26744,12 @@ public class JsonParser extends JsonParserBase { res.setQuantity(quantity); if (json.has("subject")) res.setSubject(parseReference(getJObject(json, "subject"))); + if (json.has("focus")) { + JsonArray array = getJArray(json, "focus"); + for (int i = 0; i < array.size(); i++) { + res.getFocus().add(parseReference(array.get(i).getAsJsonObject())); + } + }; if (json.has("encounter")) res.setEncounter(parseReference(getJObject(json, "encounter"))); DataType occurrence = parseType("occurrence", json); @@ -27258,6 +26808,8 @@ public class JsonParser extends JsonParserBase { res.getBodySite().add(parseCodeableConcept(array.get(i).getAsJsonObject())); } }; + if (json.has("bodyStructure")) + res.setBodyStructure(parseReference(getJObject(json, "bodyStructure"))); if (json.has("note")) { JsonArray array = getJArray(json, "note"); for (int i = 0; i < array.size(); i++) { @@ -27299,7 +26851,7 @@ public class JsonParser extends JsonParserBase { if (json.has("serviceType")) { JsonArray array = getJArray(json, "serviceType"); for (int i = 0; i < array.size(); i++) { - res.getServiceType().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + res.getServiceType().add(parseCodeableReference(array.get(i).getAsJsonObject())); } }; if (json.has("specialty")) { @@ -27378,6 +26930,12 @@ public class JsonParser extends JsonParserBase { res.getRequest().add(parseReference(array.get(i).getAsJsonObject())); } }; + if (json.has("feature")) { + JsonArray array = getJArray(json, "feature"); + for (int i = 0; i < array.size(); i++) { + res.getFeature().add(parseSpecimenFeatureComponent(array.get(i).getAsJsonObject())); + } + }; if (json.has("collection")) res.setCollection(parseSpecimenCollectionComponent(getJObject(json, "collection"))); if (json.has("processing")) { @@ -27406,6 +26964,22 @@ public class JsonParser extends JsonParserBase { }; } + protected Specimen.SpecimenFeatureComponent parseSpecimenFeatureComponent(JsonObject json) throws IOException, FHIRFormatError { + Specimen.SpecimenFeatureComponent res = new Specimen.SpecimenFeatureComponent(); + parseSpecimenFeatureComponentProperties(json, res); + return res; + } + + protected void parseSpecimenFeatureComponentProperties(JsonObject json, Specimen.SpecimenFeatureComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("type")) + res.setType(parseCodeableConcept(getJObject(json, "type"))); + if (json.has("description")) + res.setDescriptionElement(parseString(json.get("description").getAsString())); + if (json.has("_description")) + parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); + } + protected Specimen.SpecimenCollectionComponent parseSpecimenCollectionComponent(JsonObject json) throws IOException, FHIRFormatError { Specimen.SpecimenCollectionComponent res = new Specimen.SpecimenCollectionComponent(); parseSpecimenCollectionComponentProperties(json, res); @@ -27469,27 +27043,12 @@ public class JsonParser extends JsonParserBase { protected void parseSpecimenContainerComponentProperties(JsonObject json, Specimen.SpecimenContainerComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("identifier")) { - JsonArray array = getJArray(json, "identifier"); - for (int i = 0; i < array.size(); i++) { - res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); - } - }; - if (json.has("description")) - res.setDescriptionElement(parseString(json.get("description").getAsString())); - if (json.has("_description")) - parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); + if (json.has("device")) + res.setDevice(parseReference(getJObject(json, "device"))); if (json.has("location")) res.setLocation(parseReference(getJObject(json, "location"))); - if (json.has("type")) - res.setType(parseCodeableConcept(getJObject(json, "type"))); - if (json.has("capacity")) - res.setCapacity(parseQuantity(getJObject(json, "capacity"))); if (json.has("specimenQuantity")) res.setSpecimenQuantity(parseQuantity(getJObject(json, "specimenQuantity"))); - DataType additive = parseType("additive", json); - if (additive != null) - res.setAdditive(additive); } protected SpecimenDefinition parseSpecimenDefinition(JsonObject json) throws IOException, FHIRFormatError { @@ -28374,7 +27933,7 @@ public class JsonParser extends JsonParserBase { if (json.has("_name")) parseElementProperties(getJObject(json, "_name"), res.getNameElement()); if (json.has("status")) - res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.SubscriptionState.NULL, new Enumerations.SubscriptionStateEnumFactory())); + res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.SubscriptionStatusCodes.NULL, new Enumerations.SubscriptionStatusCodesEnumFactory())); if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); if (json.has("topic")) @@ -28442,10 +28001,6 @@ public class JsonParser extends JsonParserBase { res.setContentElement(parseEnumeration(json.get("content").getAsString(), Subscription.SubscriptionPayloadContent.NULL, new Subscription.SubscriptionPayloadContentEnumFactory())); if (json.has("_content")) parseElementProperties(getJObject(json, "_content"), res.getContentElement()); - if (json.has("notificationUrlLocation")) - res.setNotificationUrlLocationElement(parseEnumeration(json.get("notificationUrlLocation").getAsString(), Subscription.SubscriptionUrlLocation.NULL, new Subscription.SubscriptionUrlLocationEnumFactory())); - if (json.has("_notificationUrlLocation")) - parseElementProperties(getJObject(json, "_notificationUrlLocation"), res.getNotificationUrlLocationElement()); if (json.has("maxCount")) res.setMaxCountElement(parsePositiveInt(json.get("maxCount").getAsString())); if (json.has("_maxCount")) @@ -28464,14 +28019,14 @@ public class JsonParser extends JsonParserBase { res.setResourceTypeElement(parseUri(json.get("resourceType").getAsString())); if (json.has("_resourceType")) parseElementProperties(getJObject(json, "_resourceType"), res.getResourceTypeElement()); - if (json.has("searchParamName")) - res.setSearchParamNameElement(parseString(json.get("searchParamName").getAsString())); - if (json.has("_searchParamName")) - parseElementProperties(getJObject(json, "_searchParamName"), res.getSearchParamNameElement()); - if (json.has("searchModifier")) - res.setSearchModifierElement(parseEnumeration(json.get("searchModifier").getAsString(), Enumerations.SubscriptionSearchModifier.NULL, new Enumerations.SubscriptionSearchModifierEnumFactory())); - if (json.has("_searchModifier")) - parseElementProperties(getJObject(json, "_searchModifier"), res.getSearchModifierElement()); + if (json.has("filterParameter")) + res.setFilterParameterElement(parseString(json.get("filterParameter").getAsString())); + if (json.has("_filterParameter")) + parseElementProperties(getJObject(json, "_filterParameter"), res.getFilterParameterElement()); + if (json.has("modifier")) + res.setModifierElement(parseEnumeration(json.get("modifier").getAsString(), Enumerations.SubscriptionSearchModifier.NULL, new Enumerations.SubscriptionSearchModifierEnumFactory())); + if (json.has("_modifier")) + parseElementProperties(getJObject(json, "_modifier"), res.getModifierElement()); if (json.has("value")) res.setValueElement(parseString(json.get("value").getAsString())); if (json.has("_value")) @@ -28487,7 +28042,7 @@ public class JsonParser extends JsonParserBase { protected void parseSubscriptionStatusProperties(JsonObject json, SubscriptionStatus res) throws IOException, FHIRFormatError { parseDomainResourceProperties(json, res); if (json.has("status")) - res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.SubscriptionState.NULL, new Enumerations.SubscriptionStateEnumFactory())); + res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Enumerations.SubscriptionStatusCodes.NULL, new Enumerations.SubscriptionStatusCodesEnumFactory())); if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); if (json.has("type")) @@ -28498,10 +28053,6 @@ public class JsonParser extends JsonParserBase { res.setEventsSinceSubscriptionStartElement(parseInteger64(json.get("eventsSinceSubscriptionStart").getAsLong())); if (json.has("_eventsSinceSubscriptionStart")) parseElementProperties(getJObject(json, "_eventsSinceSubscriptionStart"), res.getEventsSinceSubscriptionStartElement()); - if (json.has("eventsInNotification")) - res.setEventsInNotificationElement(parseInteger(json.get("eventsInNotification").getAsLong())); - if (json.has("_eventsInNotification")) - parseElementProperties(getJObject(json, "_eventsInNotification"), res.getEventsInNotificationElement()); if (json.has("notificationEvent")) { JsonArray array = getJArray(json, "notificationEvent"); for (int i = 0; i < array.size(); i++) { @@ -28555,7 +28106,7 @@ public class JsonParser extends JsonParserBase { } protected void parseSubscriptionTopicProperties(JsonObject json, SubscriptionTopic res) throws IOException, FHIRFormatError { - parseDomainResourceProperties(json, res); + parseCanonicalResourceProperties(json, res); if (json.has("url")) res.setUrlElement(parseUri(json.get("url").getAsString())); if (json.has("_url")) @@ -28788,6 +28339,10 @@ public class JsonParser extends JsonParserBase { res.setFilterParameterElement(parseString(json.get("filterParameter").getAsString())); if (json.has("_filterParameter")) parseElementProperties(getJObject(json, "_filterParameter"), res.getFilterParameterElement()); + if (json.has("filterDefinition")) + res.setFilterDefinitionElement(parseUri(json.get("filterDefinition").getAsString())); + if (json.has("_filterDefinition")) + parseElementProperties(getJObject(json, "_filterDefinition"), res.getFilterDefinitionElement()); if (json.has("modifier")) { JsonArray array = getJArray(json, "modifier"); for (int i = 0; i < array.size(); i++) { @@ -29063,8 +28618,8 @@ public class JsonParser extends JsonParserBase { DataType amount = parseType("amount", json); if (amount != null) res.setAmount(amount); - if (json.has("amountType")) - res.setAmountType(parseCodeableConcept(getJObject(json, "amountType"))); + if (json.has("measurementType")) + res.setMeasurementType(parseCodeableConcept(getJObject(json, "measurementType"))); } protected SubstanceDefinition.SubstanceDefinitionPropertyComponent parseSubstanceDefinitionPropertyComponent(JsonObject json) throws IOException, FHIRFormatError { @@ -29292,10 +28847,10 @@ public class JsonParser extends JsonParserBase { DataType amount = parseType("amount", json); if (amount != null) res.setAmount(amount); - if (json.has("amountRatioHighLimit")) - res.setAmountRatioHighLimit(parseRatio(getJObject(json, "amountRatioHighLimit"))); - if (json.has("amountType")) - res.setAmountType(parseCodeableConcept(getJObject(json, "amountType"))); + if (json.has("ratioHighLimitAmount")) + res.setRatioHighLimitAmount(parseRatio(getJObject(json, "ratioHighLimitAmount"))); + if (json.has("comparator")) + res.setComparator(parseCodeableConcept(getJObject(json, "comparator"))); if (json.has("source")) { JsonArray array = getJArray(json, "source"); for (int i = 0; i < array.size(); i++) { @@ -30708,7 +30263,9 @@ public class JsonParser extends JsonParserBase { if (json.has("_status")) parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); if (json.has("testScript")) - res.setTestScript(parseReference(getJObject(json, "testScript"))); + res.setTestScriptElement(parseCanonical(json.get("testScript").getAsString())); + if (json.has("_testScript")) + parseElementProperties(getJObject(json, "_testScript"), res.getTestScriptElement()); if (json.has("result")) res.setResultElement(parseEnumeration(json.get("result").getAsString(), TestReport.TestReportResult.NULL, new TestReport.TestReportResultEnumFactory())); if (json.has("_result")) @@ -31292,7 +30849,7 @@ public class JsonParser extends JsonParserBase { if (json.has("type")) res.setType(parseCoding(getJObject(json, "type"))); if (json.has("resource")) - res.setResourceElement(parseEnumeration(json.get("resource").getAsString(), TestScript.FHIRDefinedType.NULL, new TestScript.FHIRDefinedTypeEnumFactory())); + res.setResourceElement(parseUri(json.get("resource").getAsString())); if (json.has("_resource")) parseElementProperties(getJObject(json, "_resource"), res.getResourceElement()); if (json.has("label")) @@ -31545,6 +31102,188 @@ public class JsonParser extends JsonParserBase { res.setOperation(parseTestScriptSetupActionOperationComponent(getJObject(json, "operation"))); } + protected Transport parseTransport(JsonObject json) throws IOException, FHIRFormatError { + Transport res = new Transport(); + parseTransportProperties(json, res); + return res; + } + + protected void parseTransportProperties(JsonObject json, Transport res) throws IOException, FHIRFormatError { + parseDomainResourceProperties(json, res); + if (json.has("identifier")) { + JsonArray array = getJArray(json, "identifier"); + for (int i = 0; i < array.size(); i++) { + res.getIdentifier().add(parseIdentifier(array.get(i).getAsJsonObject())); + } + }; + if (json.has("instantiatesCanonical")) + res.setInstantiatesCanonicalElement(parseCanonical(json.get("instantiatesCanonical").getAsString())); + if (json.has("_instantiatesCanonical")) + parseElementProperties(getJObject(json, "_instantiatesCanonical"), res.getInstantiatesCanonicalElement()); + if (json.has("instantiatesUri")) + res.setInstantiatesUriElement(parseUri(json.get("instantiatesUri").getAsString())); + if (json.has("_instantiatesUri")) + parseElementProperties(getJObject(json, "_instantiatesUri"), res.getInstantiatesUriElement()); + if (json.has("basedOn")) { + JsonArray array = getJArray(json, "basedOn"); + for (int i = 0; i < array.size(); i++) { + res.getBasedOn().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("groupIdentifier")) + res.setGroupIdentifier(parseIdentifier(getJObject(json, "groupIdentifier"))); + if (json.has("partOf")) { + JsonArray array = getJArray(json, "partOf"); + for (int i = 0; i < array.size(); i++) { + res.getPartOf().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("status")) + res.setStatusElement(parseEnumeration(json.get("status").getAsString(), Transport.TransportStatus.NULL, new Transport.TransportStatusEnumFactory())); + if (json.has("_status")) + parseElementProperties(getJObject(json, "_status"), res.getStatusElement()); + if (json.has("statusReason")) + res.setStatusReason(parseCodeableConcept(getJObject(json, "statusReason"))); + if (json.has("intent")) + res.setIntentElement(parseEnumeration(json.get("intent").getAsString(), Transport.TransportIntent.NULL, new Transport.TransportIntentEnumFactory())); + if (json.has("_intent")) + parseElementProperties(getJObject(json, "_intent"), res.getIntentElement()); + if (json.has("priority")) + res.setPriorityElement(parseEnumeration(json.get("priority").getAsString(), Enumerations.RequestPriority.NULL, new Enumerations.RequestPriorityEnumFactory())); + if (json.has("_priority")) + parseElementProperties(getJObject(json, "_priority"), res.getPriorityElement()); + if (json.has("code")) + res.setCode(parseCodeableConcept(getJObject(json, "code"))); + if (json.has("description")) + res.setDescriptionElement(parseString(json.get("description").getAsString())); + if (json.has("_description")) + parseElementProperties(getJObject(json, "_description"), res.getDescriptionElement()); + if (json.has("focus")) + res.setFocus(parseReference(getJObject(json, "focus"))); + if (json.has("for")) + res.setFor(parseReference(getJObject(json, "for"))); + if (json.has("encounter")) + res.setEncounter(parseReference(getJObject(json, "encounter"))); + if (json.has("completionTime")) + res.setCompletionTimeElement(parseDateTime(json.get("completionTime").getAsString())); + if (json.has("_completionTime")) + parseElementProperties(getJObject(json, "_completionTime"), res.getCompletionTimeElement()); + if (json.has("authoredOn")) + res.setAuthoredOnElement(parseDateTime(json.get("authoredOn").getAsString())); + if (json.has("_authoredOn")) + parseElementProperties(getJObject(json, "_authoredOn"), res.getAuthoredOnElement()); + if (json.has("lastModified")) + res.setLastModifiedElement(parseDateTime(json.get("lastModified").getAsString())); + if (json.has("_lastModified")) + parseElementProperties(getJObject(json, "_lastModified"), res.getLastModifiedElement()); + if (json.has("requester")) + res.setRequester(parseReference(getJObject(json, "requester"))); + if (json.has("performerType")) { + JsonArray array = getJArray(json, "performerType"); + for (int i = 0; i < array.size(); i++) { + res.getPerformerType().add(parseCodeableConcept(array.get(i).getAsJsonObject())); + } + }; + if (json.has("owner")) + res.setOwner(parseReference(getJObject(json, "owner"))); + if (json.has("location")) + res.setLocation(parseReference(getJObject(json, "location"))); + if (json.has("reasonCode")) + res.setReasonCode(parseCodeableConcept(getJObject(json, "reasonCode"))); + if (json.has("reasonReference")) + res.setReasonReference(parseReference(getJObject(json, "reasonReference"))); + if (json.has("insurance")) { + JsonArray array = getJArray(json, "insurance"); + for (int i = 0; i < array.size(); i++) { + res.getInsurance().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("note")) { + JsonArray array = getJArray(json, "note"); + for (int i = 0; i < array.size(); i++) { + res.getNote().add(parseAnnotation(array.get(i).getAsJsonObject())); + } + }; + if (json.has("relevantHistory")) { + JsonArray array = getJArray(json, "relevantHistory"); + for (int i = 0; i < array.size(); i++) { + res.getRelevantHistory().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + if (json.has("restriction")) + res.setRestriction(parseTransportRestrictionComponent(getJObject(json, "restriction"))); + if (json.has("input")) { + JsonArray array = getJArray(json, "input"); + for (int i = 0; i < array.size(); i++) { + res.getInput().add(parseTransportParameterComponent(array.get(i).getAsJsonObject())); + } + }; + if (json.has("output")) { + JsonArray array = getJArray(json, "output"); + for (int i = 0; i < array.size(); i++) { + res.getOutput().add(parseTransportOutputComponent(array.get(i).getAsJsonObject())); + } + }; + if (json.has("requestedLocation")) + res.setRequestedLocation(parseReference(getJObject(json, "requestedLocation"))); + if (json.has("currentLocation")) + res.setCurrentLocation(parseReference(getJObject(json, "currentLocation"))); + if (json.has("history")) + res.setHistory(parseReference(getJObject(json, "history"))); + } + + protected Transport.TransportRestrictionComponent parseTransportRestrictionComponent(JsonObject json) throws IOException, FHIRFormatError { + Transport.TransportRestrictionComponent res = new Transport.TransportRestrictionComponent(); + parseTransportRestrictionComponentProperties(json, res); + return res; + } + + protected void parseTransportRestrictionComponentProperties(JsonObject json, Transport.TransportRestrictionComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("repetitions")) + res.setRepetitionsElement(parsePositiveInt(json.get("repetitions").getAsString())); + if (json.has("_repetitions")) + parseElementProperties(getJObject(json, "_repetitions"), res.getRepetitionsElement()); + if (json.has("period")) + res.setPeriod(parsePeriod(getJObject(json, "period"))); + if (json.has("recipient")) { + JsonArray array = getJArray(json, "recipient"); + for (int i = 0; i < array.size(); i++) { + res.getRecipient().add(parseReference(array.get(i).getAsJsonObject())); + } + }; + } + + protected Transport.ParameterComponent parseTransportParameterComponent(JsonObject json) throws IOException, FHIRFormatError { + Transport.ParameterComponent res = new Transport.ParameterComponent(); + parseTransportParameterComponentProperties(json, res); + return res; + } + + protected void parseTransportParameterComponentProperties(JsonObject json, Transport.ParameterComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("type")) + res.setType(parseCodeableConcept(getJObject(json, "type"))); + DataType value = parseType("value", json); + if (value != null) + res.setValue(value); + } + + protected Transport.TransportOutputComponent parseTransportOutputComponent(JsonObject json) throws IOException, FHIRFormatError { + Transport.TransportOutputComponent res = new Transport.TransportOutputComponent(); + parseTransportOutputComponentProperties(json, res); + return res; + } + + protected void parseTransportOutputComponentProperties(JsonObject json, Transport.TransportOutputComponent res) throws IOException, FHIRFormatError { + parseBackboneElementProperties(json, res); + if (json.has("type")) + res.setType(parseCodeableConcept(getJObject(json, "type"))); + DataType value = parseType("value", json); + if (value != null) + res.setValue(value); + } + protected ValueSet parseValueSet(JsonObject json) throws IOException, FHIRFormatError { ValueSet res = new ValueSet(); parseValueSetProperties(json, res); @@ -31957,10 +31696,6 @@ public class JsonParser extends JsonParserBase { protected void parseValueSetScopeComponentProperties(JsonObject json, ValueSet.ValueSetScopeComponent res) throws IOException, FHIRFormatError { parseBackboneElementProperties(json, res); - if (json.has("focus")) - res.setFocusElement(parseString(json.get("focus").getAsString())); - if (json.has("_focus")) - parseElementProperties(getJObject(json, "_focus"), res.getFocusElement()); if (json.has("inclusionCriteria")) res.setInclusionCriteriaElement(parseString(json.get("inclusionCriteria").getAsString())); if (json.has("_inclusionCriteria")) @@ -32322,8 +32057,6 @@ public class JsonParser extends JsonParserBase { return parseClinicalImpression(json); } else if (t.equals("ClinicalUseDefinition")) { return parseClinicalUseDefinition(json); - } else if (t.equals("ClinicalUseIssue")) { - return parseClinicalUseIssue(json); } else if (t.equals("CodeSystem")) { return parseCodeSystem(json); } else if (t.equals("Communication")) { @@ -32336,8 +32069,6 @@ public class JsonParser extends JsonParserBase { return parseComposition(json); } else if (t.equals("ConceptMap")) { return parseConceptMap(json); - } else if (t.equals("ConceptMap2")) { - return parseConceptMap2(json); } else if (t.equals("Condition")) { return parseCondition(json); } else if (t.equals("ConditionDefinition")) { @@ -32398,6 +32129,8 @@ public class JsonParser extends JsonParserBase { return parseFamilyMemberHistory(json); } else if (t.equals("Flag")) { return parseFlag(json); + } else if (t.equals("FormularyItem")) { + return parseFormularyItem(json); } else if (t.equals("Goal")) { return parseGoal(json); } else if (t.equals("GraphDefinition")) { @@ -32570,6 +32303,8 @@ public class JsonParser extends JsonParserBase { return parseTestReport(json); } else if (t.equals("TestScript")) { return parseTestScript(json); + } else if (t.equals("Transport")) { + return parseTransport(json); } else if (t.equals("ValueSet")) { return parseValueSet(json); } else if (t.equals("VerificationResult")) { @@ -32736,6 +32471,8 @@ public class JsonParser extends JsonParserBase { return parseElementDefinition(getJObject(json, prefix+"ElementDefinition")); } else if (json.has(prefix+"Expression")) { return parseExpression(getJObject(json, prefix+"Expression")); + } else if (json.has(prefix+"ExtendedContactDetail")) { + return parseExtendedContactDetail(getJObject(json, prefix+"ExtendedContactDetail")); } else if (json.has(prefix+"Extension")) { return parseExtension(getJObject(json, prefix+"Extension")); } else if (json.has(prefix+"HumanName")) { @@ -32756,8 +32493,6 @@ public class JsonParser extends JsonParserBase { return parsePeriod(getJObject(json, prefix+"Period")); } else if (json.has(prefix+"Population")) { return parsePopulation(getJObject(json, prefix+"Population")); - } else if (json.has(prefix+"ProdCharacteristic")) { - return parseProdCharacteristic(getJObject(json, prefix+"ProdCharacteristic")); } else if (json.has(prefix+"ProductShelfLife")) { return parseProductShelfLife(getJObject(json, prefix+"ProductShelfLife")); } else if (json.has(prefix+"Quantity")) { @@ -32829,6 +32564,8 @@ public class JsonParser extends JsonParserBase { return parseElementDefinition(json); } else if (type.equals("Expression")) { return parseExpression(json); + } else if (type.equals("ExtendedContactDetail")) { + return parseExtendedContactDetail(json); } else if (type.equals("Extension")) { return parseExtension(json); } else if (type.equals("HumanName")) { @@ -32849,8 +32586,6 @@ public class JsonParser extends JsonParserBase { return parsePeriod(json); } else if (type.equals("Population")) { return parsePopulation(json); - } else if (type.equals("ProdCharacteristic")) { - return parseProdCharacteristic(json); } else if (type.equals("ProductShelfLife")) { return parseProductShelfLife(json); } else if (type.equals("Quantity")) { @@ -32933,6 +32668,9 @@ public class JsonParser extends JsonParserBase { if (json.has(prefix+"Expression")) { return true; }; + if (json.has(prefix+"ExtendedContactDetail")) { + return true; + }; if (json.has(prefix+"Extension")) { return true; }; @@ -32963,9 +32701,6 @@ public class JsonParser extends JsonParserBase { if (json.has(prefix+"Population")) { return true; }; - if (json.has(prefix+"ProdCharacteristic")) { - return true; - }; if (json.has(prefix+"ProductShelfLife")) { return true; }; @@ -33077,9 +32812,6 @@ public class JsonParser extends JsonParserBase { if (json.has(prefix+"ClinicalUseDefinition")) { return true; }; - if (json.has(prefix+"ClinicalUseIssue")) { - return true; - }; if (json.has(prefix+"CodeSystem")) { return true; }; @@ -33098,9 +32830,6 @@ public class JsonParser extends JsonParserBase { if (json.has(prefix+"ConceptMap")) { return true; }; - if (json.has(prefix+"ConceptMap2")) { - return true; - }; if (json.has(prefix+"Condition")) { return true; }; @@ -33191,6 +32920,9 @@ public class JsonParser extends JsonParserBase { if (json.has(prefix+"Flag")) { return true; }; + if (json.has(prefix+"FormularyItem")) { + return true; + }; if (json.has(prefix+"Goal")) { return true; }; @@ -33449,6 +33181,9 @@ public class JsonParser extends JsonParserBase { if (json.has(prefix+"TestScript")) { return true; }; + if (json.has(prefix+"Transport")) { + return true; + }; if (json.has(prefix+"ValueSet")) { return true; }; @@ -33632,6 +33367,25 @@ public class JsonParser extends JsonParserBase { writeNull(name); } + protected void composeIdCore(String name, IdType value, boolean inArray) throws IOException { + if (value != null && value.hasValue()) { + prop(name, toString(value.getValue())); + } + else if (inArray) + writeNull(name); + } + + protected void composeIdExtras(String name, IdType value, boolean inArray) throws IOException { + if (value != null && (!Utilities.noString(value.getId()) || ExtensionHelper.hasExtensions(value) || makeComments(value))) { + open(inArray ? null : "_"+name); + composeElementProperties(value); + close(); + } + else if (inArray) + writeNull(name); + } + + protected void composeOidCore(String name, OidType value, boolean inArray) throws IOException { if (value != null && value.hasValue()) { prop(name, toString(value.getValue())); @@ -33830,23 +33584,6 @@ public class JsonParser extends JsonParserBase { writeNull(name); } - protected void composeIdCore(String name, IdType value, boolean inArray) throws IOException { - if (value != null && value.hasValue()) { - prop(name, toString(value.getValue())); - } - else if (inArray) - writeNull(name); - } - - protected void composeIdExtras(String name, IdType value, boolean inArray) throws IOException { - if (value != null && (!Utilities.noString(value.getId()) || ExtensionHelper.hasExtensions(value) || makeComments(value))) { - open(inArray ? null : "_"+name); - composeElementProperties(value); - close(); - } - else if (inArray) - writeNull(name); - } protected void composePositiveIntCore(String name, PositiveIntType value, boolean inArray) throws IOException { if (value != null && value.hasValue()) { @@ -33909,7 +33646,6 @@ public class JsonParser extends JsonParserBase { } protected void composeElementProperties(Element element) throws IOException { - composeBaseProperties(element); if (element.hasIdElement()) { composeStringCore("id", element.getIdElement(), false); composeStringExtras("id", element.getIdElement(), false); @@ -34430,9 +34166,16 @@ public class JsonParser extends JsonParserBase { if (element.hasTiming()) { composeTiming("timing", element.getTiming()); } - if (element.hasAsNeeded()) { - composeType("asNeeded", element.getAsNeeded()); + if (element.hasAsNeededElement()) { + composeBooleanCore("asNeeded", element.getAsNeededElement(), false); + composeBooleanExtras("asNeeded", element.getAsNeededElement(), false); } + if (element.hasAsNeededFor()) { + openArray("asNeededFor"); + for (CodeableConcept e : element.getAsNeededFor()) + composeCodeableConcept(null, e); + closeArray(); + }; if (element.hasSite()) { composeCodeableConcept("site", element.getSite()); } @@ -34449,8 +34192,11 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasMaxDosePerPeriod()) { - composeRatio("maxDosePerPeriod", element.getMaxDosePerPeriod()); - } + openArray("maxDosePerPeriod"); + for (Ratio e : element.getMaxDosePerPeriod()) + composeRatio(null, e); + closeArray(); + }; if (element.hasMaxDosePerAdministration()) { composeQuantity("maxDosePerAdministration", element.getMaxDosePerAdministration()); } @@ -34947,6 +34693,39 @@ public class JsonParser extends JsonParserBase { } } + protected void composeExtendedContactDetail(String name, ExtendedContactDetail element) throws IOException { + if (element != null) { + open(name); + composeExtendedContactDetailProperties(element); + close(); + } + } + + protected void composeExtendedContactDetailProperties(ExtendedContactDetail element) throws IOException { + composeDataTypeProperties(element); + if (element.hasPurpose()) { + composeCodeableConcept("purpose", element.getPurpose()); + } + if (element.hasName()) { + composeHumanName("name", element.getName()); + } + if (element.hasTelecom()) { + openArray("telecom"); + for (ContactPoint e : element.getTelecom()) + composeContactPoint(null, e); + closeArray(); + }; + if (element.hasAddress()) { + composeAddress("address", element.getAddress()); + } + if (element.hasOrganization()) { + composeReference("organization", element.getOrganization()); + } + if (element.hasPeriod()) { + composePeriod("period", element.getPeriod()); + } + } + protected void composeExtension(String name, Extension element) throws IOException { if (element != null) { open(name); @@ -35273,77 +35052,6 @@ public class JsonParser extends JsonParserBase { } } - protected void composeProdCharacteristic(String name, ProdCharacteristic element) throws IOException { - if (element != null) { - open(name); - composeProdCharacteristicProperties(element); - close(); - } - } - - protected void composeProdCharacteristicProperties(ProdCharacteristic element) throws IOException { - composeBackboneTypeProperties(element); - if (element.hasHeight()) { - composeQuantity("height", element.getHeight()); - } - if (element.hasWidth()) { - composeQuantity("width", element.getWidth()); - } - if (element.hasDepth()) { - composeQuantity("depth", element.getDepth()); - } - if (element.hasWeight()) { - composeQuantity("weight", element.getWeight()); - } - if (element.hasNominalVolume()) { - composeQuantity("nominalVolume", element.getNominalVolume()); - } - if (element.hasExternalDiameter()) { - composeQuantity("externalDiameter", element.getExternalDiameter()); - } - if (element.hasShapeElement()) { - composeStringCore("shape", element.getShapeElement(), false); - composeStringExtras("shape", element.getShapeElement(), false); - } - if (element.hasColor()) { - if (anyHasValue(element.getColor())) { - openArray("color"); - for (StringType e : element.getColor()) - composeStringCore(null, e, e != element.getColor().get(element.getColor().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getColor())) { - openArray("_color"); - for (StringType e : element.getColor()) - composeStringExtras(null, e, true); - closeArray(); - } - }; - if (element.hasImprint()) { - if (anyHasValue(element.getImprint())) { - openArray("imprint"); - for (StringType e : element.getImprint()) - composeStringCore(null, e, e != element.getImprint().get(element.getImprint().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getImprint())) { - openArray("_imprint"); - for (StringType e : element.getImprint()) - composeStringExtras(null, e, true); - closeArray(); - } - }; - if (element.hasImage()) { - openArray("image"); - for (Attachment e : element.getImage()) - composeAttachment(null, e); - closeArray(); - }; - if (element.hasScoring()) { - composeCodeableConcept("scoring", element.getScoring()); - } - } - protected void composeProductShelfLife(String name, ProductShelfLife element) throws IOException { if (element != null) { open(name); @@ -36456,6 +36164,10 @@ public class JsonParser extends JsonParserBase { composeAdverseEventParticipantComponent(null, e); closeArray(); }; + if (element.hasExpectedInResearchStudyElement()) { + composeBooleanCore("expectedInResearchStudy", element.getExpectedInResearchStudyElement(), false); + composeBooleanExtras("expectedInResearchStudy", element.getExpectedInResearchStudyElement(), false); + } if (element.hasSuspectEntity()) { openArray("suspectEntity"); for (AdverseEvent.AdverseEventSuspectEntityComponent e : element.getSuspectEntity()) @@ -36668,12 +36380,12 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("recordedDate", element.getRecordedDateElement(), false); composeDateTimeExtras("recordedDate", element.getRecordedDateElement(), false); } - if (element.hasRecorder()) { - composeReference("recorder", element.getRecorder()); - } - if (element.hasAsserter()) { - composeReference("asserter", element.getAsserter()); - } + if (element.hasParticipant()) { + openArray("participant"); + for (AllergyIntolerance.AllergyIntoleranceParticipantComponent e : element.getParticipant()) + composeAllergyIntoleranceParticipantComponent(null, e); + closeArray(); + }; if (element.hasLastOccurrenceElement()) { composeDateTimeCore("lastOccurrence", element.getLastOccurrenceElement(), false); composeDateTimeExtras("lastOccurrence", element.getLastOccurrenceElement(), false); @@ -36692,6 +36404,24 @@ public class JsonParser extends JsonParserBase { }; } + protected void composeAllergyIntoleranceParticipantComponent(String name, AllergyIntolerance.AllergyIntoleranceParticipantComponent element) throws IOException { + if (element != null) { + open(name); + composeAllergyIntoleranceParticipantComponentProperties(element); + close(); + } + } + + protected void composeAllergyIntoleranceParticipantComponentProperties(AllergyIntolerance.AllergyIntoleranceParticipantComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasFunction()) { + composeCodeableConcept("function", element.getFunction()); + } + if (element.hasActor()) { + composeReference("actor", element.getActor()); + } + } + protected void composeAllergyIntoleranceReactionComponent(String name, AllergyIntolerance.AllergyIntoleranceReactionComponent element) throws IOException { if (element != null) { open(name); @@ -36764,8 +36494,8 @@ public class JsonParser extends JsonParserBase { }; if (element.hasServiceType()) { openArray("serviceType"); - for (CodeableConcept e : element.getServiceType()) - composeCodeableConcept(null, e); + for (CodeableReference e : element.getServiceType()) + composeCodeableReference(null, e); closeArray(); }; if (element.hasSpecialty()) { @@ -36950,7 +36680,7 @@ public class JsonParser extends JsonParserBase { } protected void composeArtifactAssessmentProperties(ArtifactAssessment element) throws IOException { - composeMetadataResourceProperties(element); + composeDomainResourceProperties(element); if (element.hasIdentifier()) { openArray("identifier"); for (Identifier e : element.getIdentifier()) @@ -37105,6 +36835,9 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; + if (element.hasPatient()) { + composeReference("patient", element.getPatient()); + } if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -37304,8 +37037,8 @@ public class JsonParser extends JsonParserBase { composeReference("subject", element.getSubject()); } if (element.hasCreatedElement()) { - composeDateCore("created", element.getCreatedElement(), false); - composeDateExtras("created", element.getCreatedElement(), false); + composeDateTimeCore("created", element.getCreatedElement(), false); + composeDateTimeExtras("created", element.getCreatedElement(), false); } if (element.hasAuthor()) { composeReference("author", element.getAuthor()); @@ -37343,12 +37076,11 @@ public class JsonParser extends JsonParserBase { protected void composeBiologicallyDerivedProductProperties(BiologicallyDerivedProduct element) throws IOException { composeDomainResourceProperties(element); - if (element.hasProductCategoryElement()) { - composeEnumerationCore("productCategory", element.getProductCategoryElement(), new BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory(), false); - composeEnumerationExtras("productCategory", element.getProductCategoryElement(), new BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory(), false); + if (element.hasProductCategory()) { + composeCoding("productCategory", element.getProductCategory()); } if (element.hasProductCode()) { - composeCodeableConcept("productCode", element.getProductCode()); + composeCoding("productCode", element.getProductCode()); } if (element.hasParent()) { openArray("parent"); @@ -37368,8 +37100,8 @@ public class JsonParser extends JsonParserBase { composeIdentifier(null, e); closeArray(); }; - if (element.hasBiologicalSource()) { - composeIdentifier("biologicalSource", element.getBiologicalSource()); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier("biologicalSourceEvent", element.getBiologicalSourceEvent()); } if (element.hasProcessingFacility()) { openArray("processingFacility"); @@ -37381,9 +37113,8 @@ public class JsonParser extends JsonParserBase { composeStringCore("division", element.getDivisionElement(), false); composeStringExtras("division", element.getDivisionElement(), false); } - if (element.hasStatusElement()) { - composeEnumerationCore("status", element.getStatusElement(), new BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory(), false); - composeEnumerationExtras("status", element.getStatusElement(), new BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory(), false); + if (element.hasProductStatus()) { + composeCoding("productStatus", element.getProductStatus()); } if (element.hasExpirationDateElement()) { composeDateTimeCore("expirationDate", element.getExpirationDateElement(), false); @@ -37435,7 +37166,7 @@ public class JsonParser extends JsonParserBase { protected void composeBiologicallyDerivedProductPropertyComponentProperties(BiologicallyDerivedProduct.BiologicallyDerivedProductPropertyComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasType()) { - composeCodeableConcept("type", element.getType()); + composeCoding("type", element.getType()); } if (element.hasValue()) { composeType("value", element.getValue()); @@ -37464,9 +37195,6 @@ public class JsonParser extends JsonParserBase { if (element.hasMorphology()) { composeCodeableConcept("morphology", element.getMorphology()); } - if (element.hasLocation()) { - composeCodeableConcept("location", element.getLocation()); - } if (element.hasIncludedStructure()) { openArray("includedStructure"); for (BodyStructure.BodyStructureIncludedStructureComponent e : element.getIncludedStructure()) @@ -38916,8 +38644,8 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("created", element.getCreatedElement(), false); composeDateTimeExtras("created", element.getCreatedElement(), false); } - if (element.hasAuthor()) { - composeReference("author", element.getAuthor()); + if (element.hasCustodian()) { + composeReference("custodian", element.getCustodian()); } if (element.hasContributor()) { openArray("contributor"); @@ -39837,8 +39565,8 @@ public class JsonParser extends JsonParserBase { } if (element.hasRelatesTo()) { openArray("relatesTo"); - for (RelatedArtifact e : element.getRelatesTo()) - composeRelatedArtifact(null, e); + for (Citation.CitationCitedArtifactRelatesToComponent e : element.getRelatesTo()) + composeCitationCitedArtifactRelatesToComponent(null, e); closeArray(); }; if (element.hasPublicationForm()) { @@ -39984,6 +39712,50 @@ public class JsonParser extends JsonParserBase { } } + protected void composeCitationCitedArtifactRelatesToComponent(String name, Citation.CitationCitedArtifactRelatesToComponent element) throws IOException { + if (element != null) { + open(name); + composeCitationCitedArtifactRelatesToComponentProperties(element); + close(); + } + } + + protected void composeCitationCitedArtifactRelatesToComponentProperties(Citation.CitationCitedArtifactRelatesToComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasTypeElement()) { + composeEnumerationCore("type", element.getTypeElement(), new Citation.RelatedArtifactTypeExpandedEnumFactory(), false); + composeEnumerationExtras("type", element.getTypeElement(), new Citation.RelatedArtifactTypeExpandedEnumFactory(), false); + } + if (element.hasClassifier()) { + openArray("classifier"); + for (CodeableConcept e : element.getClassifier()) + composeCodeableConcept(null, e); + closeArray(); + }; + if (element.hasLabelElement()) { + composeStringCore("label", element.getLabelElement(), false); + composeStringExtras("label", element.getLabelElement(), false); + } + if (element.hasDisplayElement()) { + composeStringCore("display", element.getDisplayElement(), false); + composeStringExtras("display", element.getDisplayElement(), false); + } + if (element.hasCitationElement()) { + composeMarkdownCore("citation", element.getCitationElement(), false); + composeMarkdownExtras("citation", element.getCitationElement(), false); + } + if (element.hasDocument()) { + composeAttachment("document", element.getDocument()); + } + if (element.hasResourceElement()) { + composeCanonicalCore("resource", element.getResourceElement(), false); + composeCanonicalExtras("resource", element.getResourceElement(), false); + } + if (element.hasResourceReference()) { + composeReference("resourceReference", element.getResourceReference()); + } + } + protected void composeCitationCitedArtifactPublicationFormComponent(String name, Citation.CitationCitedArtifactPublicationFormComponent element) throws IOException { if (element != null) { open(name); @@ -40175,38 +39947,12 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; - if (element.hasWhoClassified()) { - composeCitationCitedArtifactClassificationWhoClassifiedComponent("whoClassified", element.getWhoClassified()); - } - } - - protected void composeCitationCitedArtifactClassificationWhoClassifiedComponent(String name, Citation.CitationCitedArtifactClassificationWhoClassifiedComponent element) throws IOException { - if (element != null) { - open(name); - composeCitationCitedArtifactClassificationWhoClassifiedComponentProperties(element); - close(); - } - } - - protected void composeCitationCitedArtifactClassificationWhoClassifiedComponentProperties(Citation.CitationCitedArtifactClassificationWhoClassifiedComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasPerson()) { - composeReference("person", element.getPerson()); - } - if (element.hasOrganization()) { - composeReference("organization", element.getOrganization()); - } - if (element.hasPublisher()) { - composeReference("publisher", element.getPublisher()); - } - if (element.hasClassifierCopyrightElement()) { - composeStringCore("classifierCopyright", element.getClassifierCopyrightElement(), false); - composeStringExtras("classifierCopyright", element.getClassifierCopyrightElement(), false); - } - if (element.hasFreeToShareElement()) { - composeBooleanCore("freeToShare", element.getFreeToShareElement(), false); - composeBooleanExtras("freeToShare", element.getFreeToShareElement(), false); - } + if (element.hasArtifactAssessment()) { + openArray("artifactAssessment"); + for (Reference e : element.getArtifactAssessment()) + composeReference(null, e); + closeArray(); + }; } protected void composeCitationCitedArtifactContributorshipComponent(String name, Citation.CitationCitedArtifactContributorshipComponent element) throws IOException { @@ -40231,8 +39977,8 @@ public class JsonParser extends JsonParserBase { }; if (element.hasSummary()) { openArray("summary"); - for (Citation.CitationCitedArtifactContributorshipSummaryComponent e : element.getSummary()) - composeCitationCitedArtifactContributorshipSummaryComponent(null, e); + for (Citation.ContributorshipSummaryComponent e : element.getSummary()) + composeContributorshipSummaryComponent(null, e); closeArray(); }; } @@ -40247,39 +39993,17 @@ public class JsonParser extends JsonParserBase { protected void composeCitationCitedArtifactContributorshipEntryComponentProperties(Citation.CitationCitedArtifactContributorshipEntryComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasName()) { - composeHumanName("name", element.getName()); + if (element.hasContributor()) { + composeReference("contributor", element.getContributor()); } - if (element.hasInitialsElement()) { - composeStringCore("initials", element.getInitialsElement(), false); - composeStringExtras("initials", element.getInitialsElement(), false); + if (element.hasForenameInitialsElement()) { + composeStringCore("forenameInitials", element.getForenameInitialsElement(), false); + composeStringExtras("forenameInitials", element.getForenameInitialsElement(), false); } - if (element.hasCollectiveNameElement()) { - composeStringCore("collectiveName", element.getCollectiveNameElement(), false); - composeStringExtras("collectiveName", element.getCollectiveNameElement(), false); - } - if (element.hasIdentifier()) { - openArray("identifier"); - for (Identifier e : element.getIdentifier()) - composeIdentifier(null, e); - closeArray(); - }; - if (element.hasAffiliationInfo()) { - openArray("affiliationInfo"); - for (Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent e : element.getAffiliationInfo()) - composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(null, e); - closeArray(); - }; - if (element.hasAddress()) { - openArray("address"); - for (Address e : element.getAddress()) - composeAddress(null, e); - closeArray(); - }; - if (element.hasTelecom()) { - openArray("telecom"); - for (ContactPoint e : element.getTelecom()) - composeContactPoint(null, e); + if (element.hasAffiliation()) { + openArray("affiliation"); + for (Reference e : element.getAffiliation()) + composeReference(null, e); closeArray(); }; if (element.hasContributionType()) { @@ -40307,32 +40031,6 @@ public class JsonParser extends JsonParserBase { } } - protected void composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(String name, Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent element) throws IOException { - if (element != null) { - open(name); - composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponentProperties(element); - close(); - } - } - - protected void composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponentProperties(Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasAffiliationElement()) { - composeStringCore("affiliation", element.getAffiliationElement(), false); - composeStringExtras("affiliation", element.getAffiliationElement(), false); - } - if (element.hasRoleElement()) { - composeStringCore("role", element.getRoleElement(), false); - composeStringExtras("role", element.getRoleElement(), false); - } - if (element.hasIdentifier()) { - openArray("identifier"); - for (Identifier e : element.getIdentifier()) - composeIdentifier(null, e); - closeArray(); - }; - } - protected void composeCitationCitedArtifactContributorshipEntryContributionInstanceComponent(String name, Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent element) throws IOException { if (element != null) { open(name); @@ -40352,15 +40050,15 @@ public class JsonParser extends JsonParserBase { } } - protected void composeCitationCitedArtifactContributorshipSummaryComponent(String name, Citation.CitationCitedArtifactContributorshipSummaryComponent element) throws IOException { + protected void composeContributorshipSummaryComponent(String name, Citation.ContributorshipSummaryComponent element) throws IOException { if (element != null) { open(name); - composeCitationCitedArtifactContributorshipSummaryComponentProperties(element); + composeContributorshipSummaryComponentProperties(element); close(); } } - protected void composeCitationCitedArtifactContributorshipSummaryComponentProperties(Citation.CitationCitedArtifactContributorshipSummaryComponent element) throws IOException { + protected void composeContributorshipSummaryComponentProperties(Citation.ContributorshipSummaryComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasType()) { composeCodeableConcept("type", element.getType()); @@ -41769,8 +41467,8 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasTypeElement()) { - composeEnumerationCore("type", element.getTypeElement(), new Enumerations.ClinicalUseIssueTypeEnumFactory(), false); - composeEnumerationExtras("type", element.getTypeElement(), new Enumerations.ClinicalUseIssueTypeEnumFactory(), false); + composeEnumerationCore("type", element.getTypeElement(), new ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory(), false); + composeEnumerationExtras("type", element.getTypeElement(), new ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory(), false); } if (element.hasCategory()) { openArray("category"); @@ -41890,7 +41588,7 @@ public class JsonParser extends JsonParserBase { composeCodeableReference("intendedEffect", element.getIntendedEffect()); } if (element.hasDuration()) { - composeQuantity("duration", element.getDuration()); + composeType("duration", element.getDuration()); } if (element.hasUndesirableEffect()) { openArray("undesirableEffect"); @@ -41994,229 +41692,6 @@ public class JsonParser extends JsonParserBase { } } - protected void composeClinicalUseIssue(String name, ClinicalUseIssue element) throws IOException { - if (element != null) { - prop("resourceType", name); - composeClinicalUseIssueProperties(element); - } - } - - protected void composeClinicalUseIssueProperties(ClinicalUseIssue element) throws IOException { - composeDomainResourceProperties(element); - if (element.hasIdentifier()) { - openArray("identifier"); - for (Identifier e : element.getIdentifier()) - composeIdentifier(null, e); - closeArray(); - }; - if (element.hasTypeElement()) { - composeEnumerationCore("type", element.getTypeElement(), new Enumerations.ClinicalUseIssueTypeEnumFactory(), false); - composeEnumerationExtras("type", element.getTypeElement(), new Enumerations.ClinicalUseIssueTypeEnumFactory(), false); - } - if (element.hasCategory()) { - openArray("category"); - for (CodeableConcept e : element.getCategory()) - composeCodeableConcept(null, e); - closeArray(); - }; - if (element.hasSubject()) { - openArray("subject"); - for (Reference e : element.getSubject()) - composeReference(null, e); - closeArray(); - }; - if (element.hasStatus()) { - composeCodeableConcept("status", element.getStatus()); - } - if (element.hasDescriptionElement()) { - composeMarkdownCore("description", element.getDescriptionElement(), false); - composeMarkdownExtras("description", element.getDescriptionElement(), false); - } - if (element.hasContraindication()) { - composeClinicalUseIssueContraindicationComponent("contraindication", element.getContraindication()); - } - if (element.hasIndication()) { - composeClinicalUseIssueIndicationComponent("indication", element.getIndication()); - } - if (element.hasInteraction()) { - composeClinicalUseIssueInteractionComponent("interaction", element.getInteraction()); - } - if (element.hasPopulation()) { - openArray("population"); - for (Population e : element.getPopulation()) - composePopulation(null, e); - closeArray(); - }; - if (element.hasUndesirableEffect()) { - composeClinicalUseIssueUndesirableEffectComponent("undesirableEffect", element.getUndesirableEffect()); - } - } - - protected void composeClinicalUseIssueContraindicationComponent(String name, ClinicalUseIssue.ClinicalUseIssueContraindicationComponent element) throws IOException { - if (element != null) { - open(name); - composeClinicalUseIssueContraindicationComponentProperties(element); - close(); - } - } - - protected void composeClinicalUseIssueContraindicationComponentProperties(ClinicalUseIssue.ClinicalUseIssueContraindicationComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasDiseaseSymptomProcedure()) { - composeCodeableReference("diseaseSymptomProcedure", element.getDiseaseSymptomProcedure()); - } - if (element.hasDiseaseStatus()) { - composeCodeableReference("diseaseStatus", element.getDiseaseStatus()); - } - if (element.hasComorbidity()) { - openArray("comorbidity"); - for (CodeableReference e : element.getComorbidity()) - composeCodeableReference(null, e); - closeArray(); - }; - if (element.hasIndication()) { - openArray("indication"); - for (Reference e : element.getIndication()) - composeReference(null, e); - closeArray(); - }; - if (element.hasOtherTherapy()) { - openArray("otherTherapy"); - for (ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent e : element.getOtherTherapy()) - composeClinicalUseIssueContraindicationOtherTherapyComponent(null, e); - closeArray(); - }; - } - - protected void composeClinicalUseIssueContraindicationOtherTherapyComponent(String name, ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent element) throws IOException { - if (element != null) { - open(name); - composeClinicalUseIssueContraindicationOtherTherapyComponentProperties(element); - close(); - } - } - - protected void composeClinicalUseIssueContraindicationOtherTherapyComponentProperties(ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasRelationshipType()) { - composeCodeableConcept("relationshipType", element.getRelationshipType()); - } - if (element.hasTherapy()) { - composeCodeableReference("therapy", element.getTherapy()); - } - } - - protected void composeClinicalUseIssueIndicationComponent(String name, ClinicalUseIssue.ClinicalUseIssueIndicationComponent element) throws IOException { - if (element != null) { - open(name); - composeClinicalUseIssueIndicationComponentProperties(element); - close(); - } - } - - protected void composeClinicalUseIssueIndicationComponentProperties(ClinicalUseIssue.ClinicalUseIssueIndicationComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasDiseaseSymptomProcedure()) { - composeCodeableReference("diseaseSymptomProcedure", element.getDiseaseSymptomProcedure()); - } - if (element.hasDiseaseStatus()) { - composeCodeableReference("diseaseStatus", element.getDiseaseStatus()); - } - if (element.hasComorbidity()) { - openArray("comorbidity"); - for (CodeableReference e : element.getComorbidity()) - composeCodeableReference(null, e); - closeArray(); - }; - if (element.hasIntendedEffect()) { - composeCodeableReference("intendedEffect", element.getIntendedEffect()); - } - if (element.hasDuration()) { - composeQuantity("duration", element.getDuration()); - } - if (element.hasUndesirableEffect()) { - openArray("undesirableEffect"); - for (Reference e : element.getUndesirableEffect()) - composeReference(null, e); - closeArray(); - }; - if (element.hasOtherTherapy()) { - openArray("otherTherapy"); - for (ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent e : element.getOtherTherapy()) - composeClinicalUseIssueContraindicationOtherTherapyComponent(null, e); - closeArray(); - }; - } - - protected void composeClinicalUseIssueInteractionComponent(String name, ClinicalUseIssue.ClinicalUseIssueInteractionComponent element) throws IOException { - if (element != null) { - open(name); - composeClinicalUseIssueInteractionComponentProperties(element); - close(); - } - } - - protected void composeClinicalUseIssueInteractionComponentProperties(ClinicalUseIssue.ClinicalUseIssueInteractionComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasInteractant()) { - openArray("interactant"); - for (ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent e : element.getInteractant()) - composeClinicalUseIssueInteractionInteractantComponent(null, e); - closeArray(); - }; - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); - } - if (element.hasEffect()) { - composeCodeableReference("effect", element.getEffect()); - } - if (element.hasIncidence()) { - composeCodeableConcept("incidence", element.getIncidence()); - } - if (element.hasManagement()) { - openArray("management"); - for (CodeableConcept e : element.getManagement()) - composeCodeableConcept(null, e); - closeArray(); - }; - } - - protected void composeClinicalUseIssueInteractionInteractantComponent(String name, ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent element) throws IOException { - if (element != null) { - open(name); - composeClinicalUseIssueInteractionInteractantComponentProperties(element); - close(); - } - } - - protected void composeClinicalUseIssueInteractionInteractantComponentProperties(ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasItem()) { - composeType("item", element.getItem()); - } - } - - protected void composeClinicalUseIssueUndesirableEffectComponent(String name, ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent element) throws IOException { - if (element != null) { - open(name); - composeClinicalUseIssueUndesirableEffectComponentProperties(element); - close(); - } - } - - protected void composeClinicalUseIssueUndesirableEffectComponentProperties(ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasSymptomConditionEffect()) { - composeCodeableReference("symptomConditionEffect", element.getSymptomConditionEffect()); - } - if (element.hasClassification()) { - composeCodeableConcept("classification", element.getClassification()); - } - if (element.hasFrequencyOfOccurrence()) { - composeCodeableConcept("frequencyOfOccurrence", element.getFrequencyOfOccurrence()); - } - } - protected void composeCodeSystem(String name, CodeSystem element) throws IOException { if (element != null) { prop("resourceType", name); @@ -42891,9 +42366,17 @@ public class JsonParser extends JsonParserBase { protected void composeCompositionProperties(Composition element) throws IOException { composeDomainResourceProperties(element); + if (element.hasUrlElement()) { + composeUriCore("url", element.getUrlElement(), false); + composeUriExtras("url", element.getUrlElement(), false); + } if (element.hasIdentifier()) { composeIdentifier("identifier", element.getIdentifier()); } + if (element.hasVersionElement()) { + composeStringCore("version", element.getVersionElement(), false); + composeStringExtras("version", element.getVersionElement(), false); + } if (element.hasStatusElement()) { composeEnumerationCore("status", element.getStatusElement(), new Enumerations.CompositionStatusEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.CompositionStatusEnumFactory(), false); @@ -42917,16 +42400,32 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("date", element.getDateElement(), false); composeDateTimeExtras("date", element.getDateElement(), false); } + if (element.hasUseContext()) { + openArray("useContext"); + for (UsageContext e : element.getUseContext()) + composeUsageContext(null, e); + closeArray(); + }; if (element.hasAuthor()) { openArray("author"); for (Reference e : element.getAuthor()) composeReference(null, e); closeArray(); }; + if (element.hasNameElement()) { + composeStringCore("name", element.getNameElement(), false); + composeStringExtras("name", element.getNameElement(), false); + } if (element.hasTitleElement()) { composeStringCore("title", element.getTitleElement(), false); composeStringExtras("title", element.getTitleElement(), false); } + if (element.hasNote()) { + openArray("note"); + for (Annotation e : element.getNote()) + composeAnnotation(null, e); + closeArray(); + }; if (element.hasConfidentialityElement()) { composeCodeCore("confidentiality", element.getConfidentialityElement(), false); composeCodeExtras("confidentiality", element.getConfidentialityElement(), false); @@ -43070,7 +42569,7 @@ public class JsonParser extends JsonParserBase { } protected void composeConceptMapProperties(ConceptMap element) throws IOException { - composeCanonicalResourceProperties(element); + composeMetadataResourceProperties(element); if (element.hasUrlElement()) { composeUriCore("url", element.getUrlElement(), false); composeUriExtras("url", element.getUrlElement(), false); @@ -43139,11 +42638,11 @@ public class JsonParser extends JsonParserBase { composeMarkdownCore("copyright", element.getCopyrightElement(), false); composeMarkdownExtras("copyright", element.getCopyrightElement(), false); } - if (element.hasSource()) { - composeType("source", element.getSource()); + if (element.hasSourceScope()) { + composeType("sourceScope", element.getSourceScope()); } - if (element.hasTarget()) { - composeType("target", element.getTarget()); + if (element.hasTargetScope()) { + composeType("targetScope", element.getTargetScope()); } if (element.hasGroup()) { openArray("group"); @@ -43200,6 +42699,10 @@ public class JsonParser extends JsonParserBase { composeStringCore("display", element.getDisplayElement(), false); composeStringExtras("display", element.getDisplayElement(), false); } + if (element.hasValueSetElement()) { + composeCanonicalCore("valueSet", element.getValueSetElement(), false); + composeCanonicalExtras("valueSet", element.getValueSetElement(), false); + } if (element.hasNoMapElement()) { composeBooleanCore("noMap", element.getNoMapElement(), false); composeBooleanExtras("noMap", element.getNoMapElement(), false); @@ -43230,6 +42733,10 @@ public class JsonParser extends JsonParserBase { composeStringCore("display", element.getDisplayElement(), false); composeStringExtras("display", element.getDisplayElement(), false); } + if (element.hasValueSetElement()) { + composeCanonicalCore("valueSet", element.getValueSetElement(), false); + composeCanonicalExtras("valueSet", element.getValueSetElement(), false); + } if (element.hasRelationshipElement()) { composeEnumerationCore("relationship", element.getRelationshipElement(), new Enumerations.ConceptMapRelationshipEnumFactory(), false); composeEnumerationExtras("relationship", element.getRelationshipElement(), new Enumerations.ConceptMapRelationshipEnumFactory(), false); @@ -43266,17 +42773,12 @@ public class JsonParser extends JsonParserBase { composeUriCore("property", element.getPropertyElement(), false); composeUriExtras("property", element.getPropertyElement(), false); } - if (element.hasSystemElement()) { - composeCanonicalCore("system", element.getSystemElement(), false); - composeCanonicalExtras("system", element.getSystemElement(), false); + if (element.hasValue()) { + composeType("value", element.getValue()); } - if (element.hasValueElement()) { - composeStringCore("value", element.getValueElement(), false); - composeStringExtras("value", element.getValueElement(), false); - } - if (element.hasDisplayElement()) { - composeStringCore("display", element.getDisplayElement(), false); - composeStringExtras("display", element.getDisplayElement(), false); + if (element.hasValueSetElement()) { + composeCanonicalCore("valueSet", element.getValueSetElement(), false); + composeCanonicalExtras("valueSet", element.getValueSetElement(), false); } } @@ -43291,187 +42793,9 @@ public class JsonParser extends JsonParserBase { protected void composeConceptMapGroupUnmappedComponentProperties(ConceptMap.ConceptMapGroupUnmappedComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasModeElement()) { - composeEnumerationCore("mode", element.getModeElement(), new Enumerations.ConceptMapGroupUnmappedModeEnumFactory(), false); - composeEnumerationExtras("mode", element.getModeElement(), new Enumerations.ConceptMapGroupUnmappedModeEnumFactory(), false); + composeEnumerationCore("mode", element.getModeElement(), new ConceptMap.ConceptMapGroupUnmappedModeEnumFactory(), false); + composeEnumerationExtras("mode", element.getModeElement(), new ConceptMap.ConceptMapGroupUnmappedModeEnumFactory(), false); } - if (element.hasCodeElement()) { - composeCodeCore("code", element.getCodeElement(), false); - composeCodeExtras("code", element.getCodeElement(), false); - } - if (element.hasDisplayElement()) { - composeStringCore("display", element.getDisplayElement(), false); - composeStringExtras("display", element.getDisplayElement(), false); - } - if (element.hasUrlElement()) { - composeCanonicalCore("url", element.getUrlElement(), false); - composeCanonicalExtras("url", element.getUrlElement(), false); - } - } - - protected void composeConceptMap2(String name, ConceptMap2 element) throws IOException { - if (element != null) { - prop("resourceType", name); - composeConceptMap2Properties(element); - } - } - - protected void composeConceptMap2Properties(ConceptMap2 element) throws IOException { - composeCanonicalResourceProperties(element); - if (element.hasUrlElement()) { - composeUriCore("url", element.getUrlElement(), false); - composeUriExtras("url", element.getUrlElement(), false); - } - if (element.hasIdentifier()) { - openArray("identifier"); - for (Identifier e : element.getIdentifier()) - composeIdentifier(null, e); - closeArray(); - }; - if (element.hasVersionElement()) { - composeStringCore("version", element.getVersionElement(), false); - composeStringExtras("version", element.getVersionElement(), false); - } - if (element.hasNameElement()) { - composeStringCore("name", element.getNameElement(), false); - composeStringExtras("name", element.getNameElement(), false); - } - if (element.hasTitleElement()) { - composeStringCore("title", element.getTitleElement(), false); - composeStringExtras("title", element.getTitleElement(), false); - } - if (element.hasStatusElement()) { - composeEnumerationCore("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory(), false); - composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory(), false); - } - if (element.hasExperimentalElement()) { - composeBooleanCore("experimental", element.getExperimentalElement(), false); - composeBooleanExtras("experimental", element.getExperimentalElement(), false); - } - if (element.hasDateElement()) { - composeDateTimeCore("date", element.getDateElement(), false); - composeDateTimeExtras("date", element.getDateElement(), false); - } - if (element.hasPublisherElement()) { - composeStringCore("publisher", element.getPublisherElement(), false); - composeStringExtras("publisher", element.getPublisherElement(), false); - } - if (element.hasContact()) { - openArray("contact"); - for (ContactDetail e : element.getContact()) - composeContactDetail(null, e); - closeArray(); - }; - if (element.hasDescriptionElement()) { - composeMarkdownCore("description", element.getDescriptionElement(), false); - composeMarkdownExtras("description", element.getDescriptionElement(), false); - } - if (element.hasUseContext()) { - openArray("useContext"); - for (UsageContext e : element.getUseContext()) - composeUsageContext(null, e); - closeArray(); - }; - if (element.hasJurisdiction()) { - openArray("jurisdiction"); - for (CodeableConcept e : element.getJurisdiction()) - composeCodeableConcept(null, e); - closeArray(); - }; - if (element.hasPurposeElement()) { - composeMarkdownCore("purpose", element.getPurposeElement(), false); - composeMarkdownExtras("purpose", element.getPurposeElement(), false); - } - if (element.hasCopyrightElement()) { - composeMarkdownCore("copyright", element.getCopyrightElement(), false); - composeMarkdownExtras("copyright", element.getCopyrightElement(), false); - } - if (element.hasSource()) { - composeType("source", element.getSource()); - } - if (element.hasTarget()) { - composeType("target", element.getTarget()); - } - if (element.hasGroup()) { - openArray("group"); - for (ConceptMap2.ConceptMap2GroupComponent e : element.getGroup()) - composeConceptMap2GroupComponent(null, e); - closeArray(); - }; - } - - protected void composeConceptMap2GroupComponent(String name, ConceptMap2.ConceptMap2GroupComponent element) throws IOException { - if (element != null) { - open(name); - composeConceptMap2GroupComponentProperties(element); - close(); - } - } - - protected void composeConceptMap2GroupComponentProperties(ConceptMap2.ConceptMap2GroupComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasSourceElement()) { - composeCanonicalCore("source", element.getSourceElement(), false); - composeCanonicalExtras("source", element.getSourceElement(), false); - } - if (element.hasTargetElement()) { - composeCanonicalCore("target", element.getTargetElement(), false); - composeCanonicalExtras("target", element.getTargetElement(), false); - } - if (element.hasElement()) { - openArray("element"); - for (ConceptMap2.SourceElementComponent e : element.getElement()) - composeSourceElementComponent(null, e); - closeArray(); - }; - if (element.hasUnmapped()) { - composeConceptMap2GroupUnmappedComponent("unmapped", element.getUnmapped()); - } - } - - protected void composeSourceElementComponent(String name, ConceptMap2.SourceElementComponent element) throws IOException { - if (element != null) { - open(name); - composeSourceElementComponentProperties(element); - close(); - } - } - - protected void composeSourceElementComponentProperties(ConceptMap2.SourceElementComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasCodeElement()) { - composeCodeCore("code", element.getCodeElement(), false); - composeCodeExtras("code", element.getCodeElement(), false); - } - if (element.hasDisplayElement()) { - composeStringCore("display", element.getDisplayElement(), false); - composeStringExtras("display", element.getDisplayElement(), false); - } - if (element.hasValueSetElement()) { - composeCanonicalCore("valueSet", element.getValueSetElement(), false); - composeCanonicalExtras("valueSet", element.getValueSetElement(), false); - } - if (element.hasNoMapElement()) { - composeBooleanCore("noMap", element.getNoMapElement(), false); - composeBooleanExtras("noMap", element.getNoMapElement(), false); - } - if (element.hasTarget()) { - openArray("target"); - for (ConceptMap2.TargetElementComponent e : element.getTarget()) - composeTargetElementComponent(null, e); - closeArray(); - }; - } - - protected void composeTargetElementComponent(String name, ConceptMap2.TargetElementComponent element) throws IOException { - if (element != null) { - open(name); - composeTargetElementComponentProperties(element); - close(); - } - } - - protected void composeTargetElementComponentProperties(ConceptMap2.TargetElementComponent element) throws IOException { - composeBackboneElementProperties(element); if (element.hasCodeElement()) { composeCodeCore("code", element.getCodeElement(), false); composeCodeExtras("code", element.getCodeElement(), false); @@ -43488,72 +42812,9 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("relationship", element.getRelationshipElement(), new Enumerations.ConceptMapRelationshipEnumFactory(), false); composeEnumerationExtras("relationship", element.getRelationshipElement(), new Enumerations.ConceptMapRelationshipEnumFactory(), false); } - if (element.hasCommentElement()) { - composeStringCore("comment", element.getCommentElement(), false); - composeStringExtras("comment", element.getCommentElement(), false); - } - if (element.hasDependsOn()) { - openArray("dependsOn"); - for (ConceptMap2.OtherElementComponent e : element.getDependsOn()) - composeOtherElementComponent(null, e); - closeArray(); - }; - if (element.hasProduct()) { - openArray("product"); - for (ConceptMap2.OtherElementComponent e : element.getProduct()) - composeOtherElementComponent(null, e); - closeArray(); - }; - } - - protected void composeOtherElementComponent(String name, ConceptMap2.OtherElementComponent element) throws IOException { - if (element != null) { - open(name); - composeOtherElementComponentProperties(element); - close(); - } - } - - protected void composeOtherElementComponentProperties(ConceptMap2.OtherElementComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasPropertyElement()) { - composeUriCore("property", element.getPropertyElement(), false); - composeUriExtras("property", element.getPropertyElement(), false); - } - if (element.hasValue()) { - composeType("value", element.getValue()); - } - } - - protected void composeConceptMap2GroupUnmappedComponent(String name, ConceptMap2.ConceptMap2GroupUnmappedComponent element) throws IOException { - if (element != null) { - open(name); - composeConceptMap2GroupUnmappedComponentProperties(element); - close(); - } - } - - protected void composeConceptMap2GroupUnmappedComponentProperties(ConceptMap2.ConceptMap2GroupUnmappedComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasModeElement()) { - composeEnumerationCore("mode", element.getModeElement(), new Enumerations.ConceptMapGroupUnmappedModeEnumFactory(), false); - composeEnumerationExtras("mode", element.getModeElement(), new Enumerations.ConceptMapGroupUnmappedModeEnumFactory(), false); - } - if (element.hasCodeElement()) { - composeCodeCore("code", element.getCodeElement(), false); - composeCodeExtras("code", element.getCodeElement(), false); - } - if (element.hasDisplayElement()) { - composeStringCore("display", element.getDisplayElement(), false); - composeStringExtras("display", element.getDisplayElement(), false); - } - if (element.hasValueSetElement()) { - composeCanonicalCore("valueSet", element.getValueSetElement(), false); - composeCanonicalExtras("valueSet", element.getValueSetElement(), false); - } - if (element.hasUrlElement()) { - composeCanonicalCore("url", element.getUrlElement(), false); - composeCanonicalExtras("url", element.getUrlElement(), false); + if (element.hasOtherMapElement()) { + composeCanonicalCore("otherMap", element.getOtherMapElement(), false); + composeCanonicalExtras("otherMap", element.getOtherMapElement(), false); } } @@ -43612,12 +42873,12 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("recordedDate", element.getRecordedDateElement(), false); composeDateTimeExtras("recordedDate", element.getRecordedDateElement(), false); } - if (element.hasRecorder()) { - composeReference("recorder", element.getRecorder()); - } - if (element.hasAsserter()) { - composeReference("asserter", element.getAsserter()); - } + if (element.hasParticipant()) { + openArray("participant"); + for (Condition.ConditionParticipantComponent e : element.getParticipant()) + composeConditionParticipantComponent(null, e); + closeArray(); + }; if (element.hasStage()) { openArray("stage"); for (Condition.ConditionStageComponent e : element.getStage()) @@ -43626,8 +42887,8 @@ public class JsonParser extends JsonParserBase { }; if (element.hasEvidence()) { openArray("evidence"); - for (Condition.ConditionEvidenceComponent e : element.getEvidence()) - composeConditionEvidenceComponent(null, e); + for (CodeableReference e : element.getEvidence()) + composeCodeableReference(null, e); closeArray(); }; if (element.hasNote()) { @@ -43638,6 +42899,24 @@ public class JsonParser extends JsonParserBase { }; } + protected void composeConditionParticipantComponent(String name, Condition.ConditionParticipantComponent element) throws IOException { + if (element != null) { + open(name); + composeConditionParticipantComponentProperties(element); + close(); + } + } + + protected void composeConditionParticipantComponentProperties(Condition.ConditionParticipantComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasFunction()) { + composeCodeableConcept("function", element.getFunction()); + } + if (element.hasActor()) { + composeReference("actor", element.getActor()); + } + } + protected void composeConditionStageComponent(String name, Condition.ConditionStageComponent element) throws IOException { if (element != null) { open(name); @@ -43662,30 +42941,6 @@ public class JsonParser extends JsonParserBase { } } - protected void composeConditionEvidenceComponent(String name, Condition.ConditionEvidenceComponent element) throws IOException { - if (element != null) { - open(name); - composeConditionEvidenceComponentProperties(element); - close(); - } - } - - protected void composeConditionEvidenceComponentProperties(Condition.ConditionEvidenceComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasCode()) { - openArray("code"); - for (CodeableConcept e : element.getCode()) - composeCodeableConcept(null, e); - closeArray(); - }; - if (element.hasDetail()) { - openArray("detail"); - for (Reference e : element.getDetail()) - composeReference(null, e); - closeArray(); - }; - } - protected void composeConditionDefinition(String name, ConditionDefinition element) throws IOException { if (element != null) { prop("resourceType", name); @@ -43998,15 +43253,21 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; - if (element.hasPolicy()) { - openArray("policy"); - for (Consent.ConsentPolicyComponent e : element.getPolicy()) - composeConsentPolicyComponent(null, e); + if (element.hasRegulatoryBasis()) { + openArray("regulatoryBasis"); + for (CodeableConcept e : element.getRegulatoryBasis()) + composeCodeableConcept(null, e); closeArray(); }; - if (element.hasPolicyRule()) { - composeCodeableConcept("policyRule", element.getPolicyRule()); + if (element.hasPolicyBasis()) { + composeConsentPolicyBasisComponent("policyBasis", element.getPolicyBasis()); } + if (element.hasPolicyText()) { + openArray("policyText"); + for (Reference e : element.getPolicyText()) + composeReference(null, e); + closeArray(); + }; if (element.hasVerification()) { openArray("verification"); for (Consent.ConsentVerificationComponent e : element.getVerification()) @@ -44018,23 +43279,22 @@ public class JsonParser extends JsonParserBase { } } - protected void composeConsentPolicyComponent(String name, Consent.ConsentPolicyComponent element) throws IOException { + protected void composeConsentPolicyBasisComponent(String name, Consent.ConsentPolicyBasisComponent element) throws IOException { if (element != null) { open(name); - composeConsentPolicyComponentProperties(element); + composeConsentPolicyBasisComponentProperties(element); close(); } } - protected void composeConsentPolicyComponentProperties(Consent.ConsentPolicyComponent element) throws IOException { + protected void composeConsentPolicyBasisComponentProperties(Consent.ConsentPolicyBasisComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasAuthorityElement()) { - composeUriCore("authority", element.getAuthorityElement(), false); - composeUriExtras("authority", element.getAuthorityElement(), false); + if (element.hasReference()) { + composeReference("reference", element.getReference()); } - if (element.hasUriElement()) { - composeUriCore("uri", element.getUriElement(), false); - composeUriExtras("uri", element.getUriElement(), false); + if (element.hasUrlElement()) { + composeUrlCore("url", element.getUrlElement(), false); + composeUrlExtras("url", element.getUrlElement(), false); } } @@ -45763,8 +45023,8 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; - if (element.hasBiologicalSource()) { - composeIdentifier("biologicalSource", element.getBiologicalSource()); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier("biologicalSourceEvent", element.getBiologicalSourceEvent()); } if (element.hasManufacturerElement()) { composeStringCore("manufacturer", element.getManufacturerElement(), false); @@ -45812,6 +45072,12 @@ public class JsonParser extends JsonParserBase { composeDeviceVersionComponent(null, e); closeArray(); }; + if (element.hasSpecialization()) { + openArray("specialization"); + for (Device.DeviceSpecializationComponent e : element.getSpecialization()) + composeDeviceSpecializationComponent(null, e); + closeArray(); + }; if (element.hasProperty()) { openArray("property"); for (Device.DevicePropertyComponent e : element.getProperty()) @@ -45821,12 +45087,18 @@ public class JsonParser extends JsonParserBase { if (element.hasSubject()) { composeReference("subject", element.getSubject()); } - if (element.hasOperationalStatus()) { - composeDeviceOperationalStatusComponent("operationalStatus", element.getOperationalStatus()); - } - if (element.hasAssociationStatus()) { - composeDeviceAssociationStatusComponent("associationStatus", element.getAssociationStatus()); - } + if (element.hasOperationalState()) { + openArray("operationalState"); + for (Device.DeviceOperationalStateComponent e : element.getOperationalState()) + composeDeviceOperationalStateComponent(null, e); + closeArray(); + }; + if (element.hasAssociation()) { + openArray("association"); + for (Device.DeviceAssociationComponent e : element.getAssociation()) + composeDeviceAssociationComponent(null, e); + closeArray(); + }; if (element.hasOwner()) { composeReference("owner", element.getOwner()); } @@ -45944,12 +45216,38 @@ public class JsonParser extends JsonParserBase { if (element.hasComponent()) { composeIdentifier("component", element.getComponent()); } + if (element.hasInstallDateElement()) { + composeDateTimeCore("installDate", element.getInstallDateElement(), false); + composeDateTimeExtras("installDate", element.getInstallDateElement(), false); + } if (element.hasValueElement()) { composeStringCore("value", element.getValueElement(), false); composeStringExtras("value", element.getValueElement(), false); } } + protected void composeDeviceSpecializationComponent(String name, Device.DeviceSpecializationComponent element) throws IOException { + if (element != null) { + open(name); + composeDeviceSpecializationComponentProperties(element); + close(); + } + } + + protected void composeDeviceSpecializationComponentProperties(Device.DeviceSpecializationComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasSystemType()) { + composeCodeableConcept("systemType", element.getSystemType()); + } + if (element.hasVersionElement()) { + composeStringCore("version", element.getVersionElement(), false); + composeStringExtras("version", element.getVersionElement(), false); + } + if (element.hasCategory()) { + composeCoding("category", element.getCategory()); + } + } + protected void composeDevicePropertyComponent(String name, Device.DevicePropertyComponent element) throws IOException { if (element != null) { open(name); @@ -45968,46 +45266,67 @@ public class JsonParser extends JsonParserBase { } } - protected void composeDeviceOperationalStatusComponent(String name, Device.DeviceOperationalStatusComponent element) throws IOException { + protected void composeDeviceOperationalStateComponent(String name, Device.DeviceOperationalStateComponent element) throws IOException { if (element != null) { open(name); - composeDeviceOperationalStatusComponentProperties(element); + composeDeviceOperationalStateComponentProperties(element); close(); } } - protected void composeDeviceOperationalStatusComponentProperties(Device.DeviceOperationalStatusComponent element) throws IOException { + protected void composeDeviceOperationalStateComponentProperties(Device.DeviceOperationalStateComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasValue()) { - composeCodeableConcept("value", element.getValue()); + if (element.hasStatus()) { + composeCodeableConcept("status", element.getStatus()); } - if (element.hasReason()) { - openArray("reason"); - for (CodeableConcept e : element.getReason()) + if (element.hasStatusReason()) { + openArray("statusReason"); + for (CodeableConcept e : element.getStatusReason()) composeCodeableConcept(null, e); closeArray(); }; + if (element.hasOperator()) { + openArray("operator"); + for (Reference e : element.getOperator()) + composeReference(null, e); + closeArray(); + }; + if (element.hasMode()) { + composeCodeableConcept("mode", element.getMode()); + } + if (element.hasCycle()) { + composeCount("cycle", element.getCycle()); + } + if (element.hasDuration()) { + composeCodeableConcept("duration", element.getDuration()); + } } - protected void composeDeviceAssociationStatusComponent(String name, Device.DeviceAssociationStatusComponent element) throws IOException { + protected void composeDeviceAssociationComponent(String name, Device.DeviceAssociationComponent element) throws IOException { if (element != null) { open(name); - composeDeviceAssociationStatusComponentProperties(element); + composeDeviceAssociationComponentProperties(element); close(); } } - protected void composeDeviceAssociationStatusComponentProperties(Device.DeviceAssociationStatusComponent element) throws IOException { + protected void composeDeviceAssociationComponentProperties(Device.DeviceAssociationComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasValue()) { - composeCodeableConcept("value", element.getValue()); + if (element.hasStatus()) { + composeCodeableConcept("status", element.getStatus()); } - if (element.hasReason()) { - openArray("reason"); - for (CodeableConcept e : element.getReason()) + if (element.hasStatusReason()) { + openArray("statusReason"); + for (CodeableConcept e : element.getStatusReason()) composeCodeableConcept(null, e); closeArray(); }; + if (element.hasHumanSubject()) { + composeReference("humanSubject", element.getHumanSubject()); + } + if (element.hasBodyStructure()) { + composeCodeableReference("bodyStructure", element.getBodyStructure()); + } } protected void composeDeviceLinkComponent(String name, Device.DeviceLinkComponent element) throws IOException { @@ -46058,7 +45377,7 @@ public class JsonParser extends JsonParserBase { composeStringExtras("partNumber", element.getPartNumberElement(), false); } if (element.hasManufacturer()) { - composeType("manufacturer", element.getManufacturer()); + composeReference("manufacturer", element.getManufacturer()); } if (element.hasDeviceName()) { openArray("deviceName"); @@ -46818,9 +46137,9 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; - if (element.hasPriorRequest()) { - openArray("priorRequest"); - for (Reference e : element.getPriorRequest()) + if (element.hasReplaces()) { + openArray("replaces"); + for (Reference e : element.getReplaces()) composeReference(null, e); closeArray(); }; @@ -46987,6 +46306,9 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; + if (element.hasAdherence()) { + composeDeviceUsageAdherenceComponent("adherence", element.getAdherence()); + } if (element.hasInformationSource()) { composeReference("informationSource", element.getInformationSource()); } @@ -47010,6 +46332,27 @@ public class JsonParser extends JsonParserBase { }; } + protected void composeDeviceUsageAdherenceComponent(String name, DeviceUsage.DeviceUsageAdherenceComponent element) throws IOException { + if (element != null) { + open(name); + composeDeviceUsageAdherenceComponentProperties(element); + close(); + } + } + + protected void composeDeviceUsageAdherenceComponentProperties(DeviceUsage.DeviceUsageAdherenceComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } + if (element.hasReason()) { + openArray("reason"); + for (CodeableConcept e : element.getReason()) + composeCodeableConcept(null, e); + closeArray(); + }; + } + protected void composeDiagnosticReport(String name, DiagnosticReport element) throws IOException { if (element != null) { prop("resourceType", name); @@ -47264,16 +46607,16 @@ public class JsonParser extends JsonParserBase { if (element.hasSubject()) { composeReference("subject", element.getSubject()); } - if (element.hasEncounter()) { - openArray("encounter"); - for (Reference e : element.getEncounter()) + if (element.hasContext()) { + openArray("context"); + for (Reference e : element.getContext()) composeReference(null, e); closeArray(); }; if (element.hasEvent()) { openArray("event"); - for (CodeableConcept e : element.getEvent()) - composeCodeableConcept(null, e); + for (CodeableReference e : element.getEvent()) + composeCodeableReference(null, e); closeArray(); }; if (element.hasFacilityType()) { @@ -47329,12 +46672,6 @@ public class JsonParser extends JsonParserBase { if (element.hasSourcePatientInfo()) { composeReference("sourcePatientInfo", element.getSourcePatientInfo()); } - if (element.hasRelated()) { - openArray("related"); - for (Reference e : element.getRelated()) - composeReference(null, e); - closeArray(); - }; } protected void composeDocumentReferenceAttesterComponent(String name, DocumentReference.DocumentReferenceAttesterComponent element) throws IOException { @@ -47347,9 +46684,8 @@ public class JsonParser extends JsonParserBase { protected void composeDocumentReferenceAttesterComponentProperties(DocumentReference.DocumentReferenceAttesterComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasModeElement()) { - composeEnumerationCore("mode", element.getModeElement(), new DocumentReference.DocumentAttestationModeEnumFactory(), false); - composeEnumerationExtras("mode", element.getModeElement(), new DocumentReference.DocumentAttestationModeEnumFactory(), false); + if (element.hasMode()) { + composeCodeableConcept("mode", element.getMode()); } if (element.hasTimeElement()) { composeDateTimeCore("time", element.getTimeElement(), false); @@ -47391,11 +46727,26 @@ public class JsonParser extends JsonParserBase { if (element.hasAttachment()) { composeAttachment("attachment", element.getAttachment()); } - if (element.hasFormat()) { - composeCoding("format", element.getFormat()); + if (element.hasProfile()) { + openArray("profile"); + for (DocumentReference.DocumentReferenceContentProfileComponent e : element.getProfile()) + composeDocumentReferenceContentProfileComponent(null, e); + closeArray(); + }; } - if (element.hasIdentifier()) { - composeIdentifier("identifier", element.getIdentifier()); + + protected void composeDocumentReferenceContentProfileComponent(String name, DocumentReference.DocumentReferenceContentProfileComponent element) throws IOException { + if (element != null) { + open(name); + composeDocumentReferenceContentProfileComponentProperties(element); + close(); + } + } + + protected void composeDocumentReferenceContentProfileComponentProperties(DocumentReference.DocumentReferenceContentProfileComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasValue()) { + composeType("value", element.getValue()); } } @@ -47425,7 +46776,7 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasClass_()) { - composeCoding("class", element.getClass_()); + composeCodeableConcept("class", element.getClass_()); } if (element.hasClassHistory()) { openArray("classHistory"); @@ -47440,7 +46791,7 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasServiceType()) { - composeCodeableConcept("serviceType", element.getServiceType()); + composeCodeableReference("serviceType", element.getServiceType()); } if (element.hasPriority()) { composeCodeableConcept("priority", element.getPriority()); @@ -47700,8 +47051,11 @@ public class JsonParser extends JsonParserBase { composeEnumerationExtras("status", element.getStatusElement(), new Endpoint.EndpointStatusEnumFactory(), false); } if (element.hasConnectionType()) { - composeCoding("connectionType", element.getConnectionType()); - } + openArray("connectionType"); + for (Coding e : element.getConnectionType()) + composeCoding(null, e); + closeArray(); + }; if (element.hasNameElement()) { composeStringCore("name", element.getNameElement(), false); composeStringExtras("name", element.getNameElement(), false); @@ -48113,6 +47467,10 @@ public class JsonParser extends JsonParserBase { composeStringCore("version", element.getVersionElement(), false); composeStringExtras("version", element.getVersionElement(), false); } + if (element.hasNameElement()) { + composeStringCore("name", element.getNameElement(), false); + composeStringExtras("name", element.getNameElement(), false); + } if (element.hasTitleElement()) { composeStringCore("title", element.getTitleElement(), false); composeStringExtras("title", element.getTitleElement(), false); @@ -48124,6 +47482,10 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory(), false); } + if (element.hasExperimentalElement()) { + composeBooleanCore("experimental", element.getExperimentalElement(), false); + composeBooleanExtras("experimental", element.getExperimentalElement(), false); + } if (element.hasDateElement()) { composeDateTimeCore("date", element.getDateElement(), false); composeDateTimeExtras("date", element.getDateElement(), false); @@ -48796,10 +48158,24 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory(), false); } + if (element.hasExperimentalElement()) { + composeBooleanCore("experimental", element.getExperimentalElement(), false); + composeBooleanExtras("experimental", element.getExperimentalElement(), false); + } if (element.hasDateElement()) { composeDateTimeCore("date", element.getDateElement(), false); composeDateTimeExtras("date", element.getDateElement(), false); } + if (element.hasPublisherElement()) { + composeStringCore("publisher", element.getPublisherElement(), false); + composeStringExtras("publisher", element.getPublisherElement(), false); + } + if (element.hasContact()) { + openArray("contact"); + for (ContactDetail e : element.getContact()) + composeContactDetail(null, e); + closeArray(); + }; if (element.hasDescriptionElement()) { composeMarkdownCore("description", element.getDescriptionElement(), false); composeMarkdownExtras("description", element.getDescriptionElement(), false); @@ -48816,16 +48192,21 @@ public class JsonParser extends JsonParserBase { composeUsageContext(null, e); closeArray(); }; - if (element.hasPublisherElement()) { - composeStringCore("publisher", element.getPublisherElement(), false); - composeStringExtras("publisher", element.getPublisherElement(), false); + if (element.hasCopyrightElement()) { + composeMarkdownCore("copyright", element.getCopyrightElement(), false); + composeMarkdownExtras("copyright", element.getCopyrightElement(), false); + } + if (element.hasApprovalDateElement()) { + composeDateCore("approvalDate", element.getApprovalDateElement(), false); + composeDateExtras("approvalDate", element.getApprovalDateElement(), false); + } + if (element.hasLastReviewDateElement()) { + composeDateCore("lastReviewDate", element.getLastReviewDateElement(), false); + composeDateExtras("lastReviewDate", element.getLastReviewDateElement(), false); + } + if (element.hasEffectivePeriod()) { + composePeriod("effectivePeriod", element.getEffectivePeriod()); } - if (element.hasContact()) { - openArray("contact"); - for (ContactDetail e : element.getContact()) - composeContactDetail(null, e); - closeArray(); - }; if (element.hasAuthor()) { openArray("author"); for (ContactDetail e : element.getAuthor()) @@ -48860,9 +48241,6 @@ public class JsonParser extends JsonParserBase { composeBooleanCore("actual", element.getActualElement(), false); composeBooleanExtras("actual", element.getActualElement(), false); } - if (element.hasCharacteristicCombination()) { - composeEvidenceVariableCharacteristicCombinationComponent("characteristicCombination", element.getCharacteristicCombination()); - } if (element.hasCharacteristic()) { openArray("characteristic"); for (EvidenceVariable.EvidenceVariableCharacteristicComponent e : element.getCharacteristic()) @@ -48881,26 +48259,6 @@ public class JsonParser extends JsonParserBase { }; } - protected void composeEvidenceVariableCharacteristicCombinationComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent element) throws IOException { - if (element != null) { - open(name); - composeEvidenceVariableCharacteristicCombinationComponentProperties(element); - close(); - } - } - - protected void composeEvidenceVariableCharacteristicCombinationComponentProperties(EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasCodeElement()) { - composeEnumerationCore("code", element.getCodeElement(), new EvidenceVariable.CharacteristicCombinationEnumFactory(), false); - composeEnumerationExtras("code", element.getCodeElement(), new EvidenceVariable.CharacteristicCombinationEnumFactory(), false); - } - if (element.hasThresholdElement()) { - composePositiveIntCore("threshold", element.getThresholdElement(), false); - composePositiveIntExtras("threshold", element.getThresholdElement(), false); - } - } - protected void composeEvidenceVariableCharacteristicComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicComponent element) throws IOException { if (element != null) { open(name); @@ -48911,26 +48269,56 @@ public class JsonParser extends JsonParserBase { protected void composeEvidenceVariableCharacteristicComponentProperties(EvidenceVariable.EvidenceVariableCharacteristicComponent element) throws IOException { composeBackboneElementProperties(element); + if (element.hasLinkIdElement()) { + composeIdCore("linkId", element.getLinkIdElement(), false); + composeIdExtras("linkId", element.getLinkIdElement(), false); + } if (element.hasDescriptionElement()) { composeStringCore("description", element.getDescriptionElement(), false); composeStringExtras("description", element.getDescriptionElement(), false); } - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); - } - if (element.hasDefinition()) { - composeType("definition", element.getDefinition()); - } - if (element.hasMethod()) { - composeCodeableConcept("method", element.getMethod()); - } - if (element.hasDevice()) { - composeReference("device", element.getDevice()); - } + if (element.hasNote()) { + openArray("note"); + for (Annotation e : element.getNote()) + composeAnnotation(null, e); + closeArray(); + }; if (element.hasExcludeElement()) { composeBooleanCore("exclude", element.getExcludeElement(), false); composeBooleanExtras("exclude", element.getExcludeElement(), false); } + if (element.hasDefinitionReference()) { + composeReference("definitionReference", element.getDefinitionReference()); + } + if (element.hasDefinitionCanonicalElement()) { + composeCanonicalCore("definitionCanonical", element.getDefinitionCanonicalElement(), false); + composeCanonicalExtras("definitionCanonical", element.getDefinitionCanonicalElement(), false); + } + if (element.hasDefinitionCodeableConcept()) { + composeCodeableConcept("definitionCodeableConcept", element.getDefinitionCodeableConcept()); + } + if (element.hasDefinitionExpression()) { + composeExpression("definitionExpression", element.getDefinitionExpression()); + } + if (element.hasDefinitionIdElement()) { + composeIdCore("definitionId", element.getDefinitionIdElement(), false); + composeIdExtras("definitionId", element.getDefinitionIdElement(), false); + } + if (element.hasDefinitionByTypeAndValue()) { + composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent("definitionByTypeAndValue", element.getDefinitionByTypeAndValue()); + } + if (element.hasDefinitionByCombination()) { + composeEvidenceVariableCharacteristicDefinitionByCombinationComponent("definitionByCombination", element.getDefinitionByCombination()); + } + if (element.hasMethod()) { + openArray("method"); + for (CodeableConcept e : element.getMethod()) + composeCodeableConcept(null, e); + closeArray(); + }; + if (element.hasDevice()) { + composeReference("device", element.getDevice()); + } if (element.hasTimeFromEvent()) { openArray("timeFromEvent"); for (EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent e : element.getTimeFromEvent()) @@ -48943,6 +48331,53 @@ public class JsonParser extends JsonParserBase { } } + protected void composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent element) throws IOException { + if (element != null) { + open(name); + composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentProperties(element); + close(); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentProperties(EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasType()) { + composeType("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } + if (element.hasOffset()) { + composeCodeableConcept("offset", element.getOffset()); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByCombinationComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent element) throws IOException { + if (element != null) { + open(name); + composeEvidenceVariableCharacteristicDefinitionByCombinationComponentProperties(element); + close(); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByCombinationComponentProperties(EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasCodeElement()) { + composeEnumerationCore("code", element.getCodeElement(), new EvidenceVariable.CharacteristicCombinationEnumFactory(), false); + composeEnumerationExtras("code", element.getCodeElement(), new EvidenceVariable.CharacteristicCombinationEnumFactory(), false); + } + if (element.hasThresholdElement()) { + composePositiveIntCore("threshold", element.getThresholdElement(), false); + composePositiveIntExtras("threshold", element.getThresholdElement(), false); + } + if (element.hasCharacteristic()) { + openArray("characteristic"); + for (EvidenceVariable.EvidenceVariableCharacteristicComponent e : element.getCharacteristic()) + composeEvidenceVariableCharacteristicComponent(null, e); + closeArray(); + }; + } + protected void composeEvidenceVariableCharacteristicTimeFromEventComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent element) throws IOException { if (element != null) { open(name); @@ -48957,8 +48392,14 @@ public class JsonParser extends JsonParserBase { composeStringCore("description", element.getDescriptionElement(), false); composeStringExtras("description", element.getDescriptionElement(), false); } + if (element.hasNote()) { + openArray("note"); + for (Annotation e : element.getNote()) + composeAnnotation(null, e); + closeArray(); + }; if (element.hasEvent()) { - composeCodeableConcept("event", element.getEvent()); + composeType("event", element.getEvent()); } if (element.hasQuantity()) { composeQuantity("quantity", element.getQuantity()); @@ -48966,12 +48407,6 @@ public class JsonParser extends JsonParserBase { if (element.hasRange()) { composeRange("range", element.getRange()); } - if (element.hasNote()) { - openArray("note"); - for (Annotation e : element.getNote()) - composeAnnotation(null, e); - closeArray(); - }; } protected void composeEvidenceVariableCategoryComponent(String name, EvidenceVariable.EvidenceVariableCategoryComponent element) throws IOException { @@ -49138,9 +48573,9 @@ public class JsonParser extends JsonParserBase { composeStringCore("resourceId", element.getResourceIdElement(), false); composeStringExtras("resourceId", element.getResourceIdElement(), false); } - if (element.hasResourceTypeElement()) { - composeCodeCore("resourceType", element.getResourceTypeElement(), false); - composeCodeExtras("resourceType", element.getResourceTypeElement(), false); + if (element.hasTypeElement()) { + composeCodeCore("type", element.getTypeElement(), false); + composeCodeExtras("type", element.getTypeElement(), false); } if (element.hasNameElement()) { composeStringCore("name", element.getNameElement(), false); @@ -50698,6 +50133,30 @@ public class JsonParser extends JsonParserBase { } } + protected void composeFormularyItem(String name, FormularyItem element) throws IOException { + if (element != null) { + prop("resourceType", name); + composeFormularyItemProperties(element); + } + } + + protected void composeFormularyItemProperties(FormularyItem element) throws IOException { + composeDomainResourceProperties(element); + if (element.hasIdentifier()) { + openArray("identifier"); + for (Identifier e : element.getIdentifier()) + composeIdentifier(null, e); + closeArray(); + }; + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } + if (element.hasStatusElement()) { + composeEnumerationCore("status", element.getStatusElement(), new FormularyItem.FormularyItemStatusCodesEnumFactory(), false); + composeEnumerationExtras("status", element.getStatusElement(), new FormularyItem.FormularyItemStatusCodesEnumFactory(), false); + } + } + protected void composeGoal(String name, Goal element) throws IOException { if (element != null) { prop("resourceType", name); @@ -51019,6 +50478,10 @@ public class JsonParser extends JsonParserBase { composeStringCore("name", element.getNameElement(), false); composeStringExtras("name", element.getNameElement(), false); } + if (element.hasDescriptionElement()) { + composeMarkdownCore("description", element.getDescriptionElement(), false); + composeMarkdownExtras("description", element.getDescriptionElement(), false); + } if (element.hasQuantityElement()) { composeUnsignedIntCore("quantity", element.getQuantityElement(), false); composeUnsignedIntExtras("quantity", element.getQuantityElement(), false); @@ -51218,6 +50681,12 @@ public class JsonParser extends JsonParserBase { if (element.hasPhoto()) { composeAttachment("photo", element.getPhoto()); } + if (element.hasContact()) { + openArray("contact"); + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail(null, e); + closeArray(); + }; if (element.hasTelecom()) { openArray("telecom"); for (ContactPoint e : element.getTelecom()) @@ -51383,12 +50852,10 @@ public class JsonParser extends JsonParserBase { composeIdentifier(null, e); closeArray(); }; - if (element.hasBasedOn()) { - openArray("basedOn"); - for (Reference e : element.getBasedOn()) - composeReference(null, e); - closeArray(); - }; + if (element.hasStatusElement()) { + composeEnumerationCore("status", element.getStatusElement(), new ImagingSelection.ImagingSelectionStatusEnumFactory(), false); + composeEnumerationExtras("status", element.getStatusElement(), new ImagingSelection.ImagingSelectionStatusEnumFactory(), false); + } if (element.hasSubject()) { composeReference("subject", element.getSubject()); } @@ -51402,12 +50869,24 @@ public class JsonParser extends JsonParserBase { composeImagingSelectionPerformerComponent(null, e); closeArray(); }; + if (element.hasBasedOn()) { + openArray("basedOn"); + for (Reference e : element.getBasedOn()) + composeReference(null, e); + closeArray(); + }; + if (element.hasCategory()) { + openArray("category"); + for (CodeableConcept e : element.getCategory()) + composeCodeableConcept(null, e); + closeArray(); + }; if (element.hasCode()) { composeCodeableConcept("code", element.getCode()); } if (element.hasStudyUidElement()) { - composeOidCore("studyUid", element.getStudyUidElement(), false); - composeOidExtras("studyUid", element.getStudyUidElement(), false); + composeIdCore("studyUid", element.getStudyUidElement(), false); + composeIdExtras("studyUid", element.getStudyUidElement(), false); } if (element.hasDerivedFrom()) { openArray("derivedFrom"); @@ -51422,15 +50901,15 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasSeriesUidElement()) { - composeOidCore("seriesUid", element.getSeriesUidElement(), false); - composeOidExtras("seriesUid", element.getSeriesUidElement(), false); + composeIdCore("seriesUid", element.getSeriesUidElement(), false); + composeIdExtras("seriesUid", element.getSeriesUidElement(), false); } if (element.hasFrameOfReferenceUidElement()) { - composeOidCore("frameOfReferenceUid", element.getFrameOfReferenceUidElement(), false); - composeOidExtras("frameOfReferenceUid", element.getFrameOfReferenceUidElement(), false); + composeIdCore("frameOfReferenceUid", element.getFrameOfReferenceUidElement(), false); + composeIdExtras("frameOfReferenceUid", element.getFrameOfReferenceUidElement(), false); } if (element.hasBodySite()) { - composeCoding("bodySite", element.getBodySite()); + composeCodeableReference("bodySite", element.getBodySite()); } if (element.hasInstance()) { openArray("instance"); @@ -51439,8 +50918,11 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasImageRegion()) { - composeImagingSelectionImageRegionComponent("imageRegion", element.getImageRegion()); - } + openArray("imageRegion"); + for (ImagingSelection.ImagingSelectionImageRegionComponent e : element.getImageRegion()) + composeImagingSelectionImageRegionComponent(null, e); + closeArray(); + }; } protected void composeImagingSelectionPerformerComponent(String name, ImagingSelection.ImagingSelectionPerformerComponent element) throws IOException { @@ -51472,38 +50954,62 @@ public class JsonParser extends JsonParserBase { protected void composeImagingSelectionInstanceComponentProperties(ImagingSelection.ImagingSelectionInstanceComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasUidElement()) { - composeOidCore("uid", element.getUidElement(), false); - composeOidExtras("uid", element.getUidElement(), false); + composeIdCore("uid", element.getUidElement(), false); + composeIdExtras("uid", element.getUidElement(), false); } if (element.hasSopClass()) { composeCoding("sopClass", element.getSopClass()); } - if (element.hasFrameListElement()) { - composeStringCore("frameList", element.getFrameListElement(), false); - composeStringExtras("frameList", element.getFrameListElement(), false); - } - if (element.hasObservationUid()) { - if (anyHasValue(element.getObservationUid())) { - openArray("observationUid"); - for (OidType e : element.getObservationUid()) - composeOidCore(null, e, e != element.getObservationUid().get(element.getObservationUid().size()-1)); + if (element.hasSubset()) { + if (anyHasValue(element.getSubset())) { + openArray("subset"); + for (StringType e : element.getSubset()) + composeStringCore(null, e, e != element.getSubset().get(element.getSubset().size()-1)); closeArray(); } - if (anyHasExtras(element.getObservationUid())) { - openArray("_observationUid"); - for (OidType e : element.getObservationUid()) - composeOidExtras(null, e, true); + if (anyHasExtras(element.getSubset())) { + openArray("_subset"); + for (StringType e : element.getSubset()) + composeStringExtras(null, e, true); closeArray(); } }; - if (element.hasSegmentListElement()) { - composeStringCore("segmentList", element.getSegmentListElement(), false); - composeStringExtras("segmentList", element.getSegmentListElement(), false); + if (element.hasImageRegion()) { + openArray("imageRegion"); + for (ImagingSelection.ImagingSelectionInstanceImageRegionComponent e : element.getImageRegion()) + composeImagingSelectionInstanceImageRegionComponent(null, e); + closeArray(); + }; + } + + protected void composeImagingSelectionInstanceImageRegionComponent(String name, ImagingSelection.ImagingSelectionInstanceImageRegionComponent element) throws IOException { + if (element != null) { + open(name); + composeImagingSelectionInstanceImageRegionComponentProperties(element); + close(); + } } - if (element.hasRoiListElement()) { - composeStringCore("roiList", element.getRoiListElement(), false); - composeStringExtras("roiList", element.getRoiListElement(), false); + + protected void composeImagingSelectionInstanceImageRegionComponentProperties(ImagingSelection.ImagingSelectionInstanceImageRegionComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasRegionTypeElement()) { + composeEnumerationCore("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelection2DGraphicTypeEnumFactory(), false); + composeEnumerationExtras("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelection2DGraphicTypeEnumFactory(), false); } + if (element.hasCoordinate()) { + if (anyHasValue(element.getCoordinate())) { + openArray("coordinate"); + for (DecimalType e : element.getCoordinate()) + composeDecimalCore(null, e, e != element.getCoordinate().get(element.getCoordinate().size()-1)); + closeArray(); + } + if (anyHasExtras(element.getCoordinate())) { + openArray("_coordinate"); + for (DecimalType e : element.getCoordinate()) + composeDecimalExtras(null, e, true); + closeArray(); + } + }; } protected void composeImagingSelectionImageRegionComponent(String name, ImagingSelection.ImagingSelectionImageRegionComponent element) throws IOException { @@ -51517,23 +51023,19 @@ public class JsonParser extends JsonParserBase { protected void composeImagingSelectionImageRegionComponentProperties(ImagingSelection.ImagingSelectionImageRegionComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasRegionTypeElement()) { - composeEnumerationCore("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelectionGraphicTypeEnumFactory(), false); - composeEnumerationExtras("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelectionGraphicTypeEnumFactory(), false); + composeEnumerationCore("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelection3DGraphicTypeEnumFactory(), false); + composeEnumerationExtras("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelection3DGraphicTypeEnumFactory(), false); } - if (element.hasCoordinateTypeElement()) { - composeEnumerationCore("coordinateType", element.getCoordinateTypeElement(), new ImagingSelection.ImagingSelectionCoordinateTypeEnumFactory(), false); - composeEnumerationExtras("coordinateType", element.getCoordinateTypeElement(), new ImagingSelection.ImagingSelectionCoordinateTypeEnumFactory(), false); - } - if (element.hasCoordinates()) { - if (anyHasValue(element.getCoordinates())) { - openArray("coordinates"); - for (DecimalType e : element.getCoordinates()) - composeDecimalCore(null, e, e != element.getCoordinates().get(element.getCoordinates().size()-1)); + if (element.hasCoordinate()) { + if (anyHasValue(element.getCoordinate())) { + openArray("coordinate"); + for (DecimalType e : element.getCoordinate()) + composeDecimalCore(null, e, e != element.getCoordinate().get(element.getCoordinate().size()-1)); closeArray(); - } - if (anyHasExtras(element.getCoordinates())) { - openArray("_coordinates"); - for (DecimalType e : element.getCoordinates()) + } + if (anyHasExtras(element.getCoordinate())) { + openArray("_coordinate"); + for (DecimalType e : element.getCoordinate()) composeDecimalExtras(null, e, true); closeArray(); } @@ -51561,8 +51063,8 @@ public class JsonParser extends JsonParserBase { } if (element.hasModality()) { openArray("modality"); - for (Coding e : element.getModality()) - composeCoding(null, e); + for (CodeableConcept e : element.getModality()) + composeCodeableConcept(null, e); closeArray(); }; if (element.hasSubject()) { @@ -51656,7 +51158,7 @@ public class JsonParser extends JsonParserBase { composeUnsignedIntExtras("number", element.getNumberElement(), false); } if (element.hasModality()) { - composeCoding("modality", element.getModality()); + composeCodeableConcept("modality", element.getModality()); } if (element.hasDescriptionElement()) { composeStringCore("description", element.getDescriptionElement(), false); @@ -51673,10 +51175,10 @@ public class JsonParser extends JsonParserBase { closeArray(); }; if (element.hasBodySite()) { - composeCoding("bodySite", element.getBodySite()); + composeCodeableReference("bodySite", element.getBodySite()); } if (element.hasLaterality()) { - composeCoding("laterality", element.getLaterality()); + composeCodeableConcept("laterality", element.getLaterality()); } if (element.hasSpecimen()) { openArray("specimen"); @@ -51826,16 +51328,12 @@ public class JsonParser extends JsonParserBase { if (element.hasOccurrence()) { composeType("occurrence", element.getOccurrence()); } - if (element.hasRecordedElement()) { - composeDateTimeCore("recorded", element.getRecordedElement(), false); - composeDateTimeExtras("recorded", element.getRecordedElement(), false); - } if (element.hasPrimarySourceElement()) { composeBooleanCore("primarySource", element.getPrimarySourceElement(), false); composeBooleanExtras("primarySource", element.getPrimarySourceElement(), false); } if (element.hasInformationSource()) { - composeType("informationSource", element.getInformationSource()); + composeCodeableReference("informationSource", element.getInformationSource()); } if (element.hasLocation()) { composeReference("location", element.getLocation()); @@ -51966,8 +51464,8 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("date", element.getDateElement(), false); composeDateTimeExtras("date", element.getDateElement(), false); } - if (element.hasDetail()) { - composeReference("detail", element.getDetail()); + if (element.hasManifestation()) { + composeCodeableReference("manifestation", element.getManifestation()); } if (element.hasReportedElement()) { composeBooleanCore("reported", element.getReportedElement(), false); @@ -52428,8 +51926,8 @@ public class JsonParser extends JsonParserBase { composeStringExtras("name", element.getNameElement(), false); } if (element.hasDescriptionElement()) { - composeStringCore("description", element.getDescriptionElement(), false); - composeStringExtras("description", element.getDescriptionElement(), false); + composeMarkdownCore("description", element.getDescriptionElement(), false); + composeMarkdownExtras("description", element.getDescriptionElement(), false); } } @@ -52463,8 +51961,8 @@ public class JsonParser extends JsonParserBase { composeStringExtras("name", element.getNameElement(), false); } if (element.hasDescriptionElement()) { - composeStringCore("description", element.getDescriptionElement(), false); - composeStringExtras("description", element.getDescriptionElement(), false); + composeMarkdownCore("description", element.getDescriptionElement(), false); + composeMarkdownExtras("description", element.getDescriptionElement(), false); } if (element.hasExample()) { composeType("example", element.getExample()); @@ -52719,8 +52217,9 @@ public class JsonParser extends JsonParserBase { protected void composeIngredientManufacturerComponentProperties(Ingredient.IngredientManufacturerComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasRole()) { - composeCoding("role", element.getRole()); + if (element.hasRoleElement()) { + composeEnumerationCore("role", element.getRoleElement(), new Ingredient.IngredientManufacturerRoleEnumFactory(), false); + composeEnumerationExtras("role", element.getRoleElement(), new Ingredient.IngredientManufacturerRoleEnumFactory(), false); } if (element.hasManufacturer()) { composeReference("manufacturer", element.getManufacturer()); @@ -52761,16 +52260,16 @@ public class JsonParser extends JsonParserBase { if (element.hasPresentation()) { composeType("presentation", element.getPresentation()); } - if (element.hasPresentationTextElement()) { - composeStringCore("presentationText", element.getPresentationTextElement(), false); - composeStringExtras("presentationText", element.getPresentationTextElement(), false); + if (element.hasTextPresentationElement()) { + composeStringCore("textPresentation", element.getTextPresentationElement(), false); + composeStringExtras("textPresentation", element.getTextPresentationElement(), false); } if (element.hasConcentration()) { composeType("concentration", element.getConcentration()); } - if (element.hasConcentrationTextElement()) { - composeStringCore("concentrationText", element.getConcentrationTextElement(), false); - composeStringExtras("concentrationText", element.getConcentrationTextElement(), false); + if (element.hasTextConcentrationElement()) { + composeStringCore("textConcentration", element.getTextConcentrationElement(), false); + composeStringExtras("textConcentration", element.getTextConcentrationElement(), false); } if (element.hasBasis()) { composeCodeableConcept("basis", element.getBasis()); @@ -52881,8 +52380,8 @@ public class JsonParser extends JsonParserBase { }; if (element.hasContact()) { openArray("contact"); - for (InsurancePlan.InsurancePlanContactComponent e : element.getContact()) - composeInsurancePlanContactComponent(null, e); + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail(null, e); closeArray(); }; if (element.hasEndpoint()) { @@ -52911,33 +52410,6 @@ public class JsonParser extends JsonParserBase { }; } - protected void composeInsurancePlanContactComponent(String name, InsurancePlan.InsurancePlanContactComponent element) throws IOException { - if (element != null) { - open(name); - composeInsurancePlanContactComponentProperties(element); - close(); - } - } - - protected void composeInsurancePlanContactComponentProperties(InsurancePlan.InsurancePlanContactComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasPurpose()) { - composeCodeableConcept("purpose", element.getPurpose()); - } - if (element.hasName()) { - composeHumanName("name", element.getName()); - } - if (element.hasTelecom()) { - openArray("telecom"); - for (ContactPoint e : element.getTelecom()) - composeContactPoint(null, e); - closeArray(); - }; - if (element.hasAddress()) { - composeAddress("address", element.getAddress()); - } - } - protected void composeInsurancePlanCoverageComponent(String name, InsurancePlan.InsurancePlanCoverageComponent element) throws IOException { if (element != null) { open(name); @@ -53754,6 +53226,12 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; + if (element.hasContact()) { + openArray("contact"); + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail(null, e); + closeArray(); + }; if (element.hasTelecom()) { openArray("telecom"); for (ContactPoint e : element.getTelecom()) @@ -54686,6 +54164,16 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("recorded", element.getRecordedElement(), false); composeDateTimeExtras("recorded", element.getRecordedElement(), false); } + if (element.hasIsSubPotentElement()) { + composeBooleanCore("isSubPotent", element.getIsSubPotentElement(), false); + composeBooleanExtras("isSubPotent", element.getIsSubPotentElement(), false); + } + if (element.hasSubPotentReason()) { + openArray("subPotentReason"); + for (CodeableConcept e : element.getSubPotentReason()) + composeCodeableConcept(null, e); + closeArray(); + }; if (element.hasPerformer()) { openArray("performer"); for (MedicationAdministration.MedicationAdministrationPerformerComponent e : element.getPerformer()) @@ -54804,8 +54292,8 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("status", element.getStatusElement(), new MedicationDispense.MedicationDispenseStatusCodesEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new MedicationDispense.MedicationDispenseStatusCodesEnumFactory(), false); } - if (element.hasStatusReason()) { - composeCodeableReference("statusReason", element.getStatusReason()); + if (element.hasNotPerformedReason()) { + composeCodeableReference("notPerformedReason", element.getNotPerformedReason()); } if (element.hasStatusChangedElement()) { composeDateTimeCore("statusChanged", element.getStatusChangedElement(), false); @@ -54896,12 +54384,6 @@ public class JsonParser extends JsonParserBase { if (element.hasSubstitution()) { composeMedicationDispenseSubstitutionComponent("substitution", element.getSubstitution()); } - if (element.hasDetectedIssue()) { - openArray("detectedIssue"); - for (Reference e : element.getDetectedIssue()) - composeReference(null, e); - closeArray(); - }; if (element.hasEventHistory()) { openArray("eventHistory"); for (Reference e : element.getEventHistory()) @@ -55065,6 +54547,12 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; + if (element.hasStorageGuideline()) { + openArray("storageGuideline"); + for (MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent e : element.getStorageGuideline()) + composeMedicationKnowledgeStorageGuidelineComponent(null, e); + closeArray(); + }; if (element.hasRegulatory()) { openArray("regulatory"); for (MedicationKnowledge.MedicationKnowledgeRegulatoryComponent e : element.getRegulatory()) @@ -55300,6 +54788,55 @@ public class JsonParser extends JsonParserBase { } } + protected void composeMedicationKnowledgeStorageGuidelineComponent(String name, MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent element) throws IOException { + if (element != null) { + open(name); + composeMedicationKnowledgeStorageGuidelineComponentProperties(element); + close(); + } + } + + protected void composeMedicationKnowledgeStorageGuidelineComponentProperties(MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasReferenceElement()) { + composeUriCore("reference", element.getReferenceElement(), false); + composeUriExtras("reference", element.getReferenceElement(), false); + } + if (element.hasNote()) { + openArray("note"); + for (Annotation e : element.getNote()) + composeAnnotation(null, e); + closeArray(); + }; + if (element.hasStabilityDuration()) { + composeDuration("stabilityDuration", element.getStabilityDuration()); + } + if (element.hasEnvironmentalSetting()) { + openArray("environmentalSetting"); + for (MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent e : element.getEnvironmentalSetting()) + composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(null, e); + closeArray(); + }; + } + + protected void composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(String name, MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent element) throws IOException { + if (element != null) { + open(name); + composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentProperties(element); + close(); + } + } + + protected void composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentProperties(MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } + } + protected void composeMedicationKnowledgeRegulatoryComponent(String name, MedicationKnowledge.MedicationKnowledgeRegulatoryComponent element) throws IOException { if (element != null) { open(name); @@ -55536,8 +55073,11 @@ public class JsonParser extends JsonParserBase { composeReference("subject", element.getSubject()); } if (element.hasInformationSource()) { - composeReference("informationSource", element.getInformationSource()); - } + openArray("informationSource"); + for (Reference e : element.getInformationSource()) + composeReference(null, e); + closeArray(); + }; if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -55562,7 +55102,13 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept("performerType", element.getPerformerType()); } if (element.hasPerformer()) { - composeReference("performer", element.getPerformer()); + openArray("performer"); + for (Reference e : element.getPerformer()) + composeReference(null, e); + closeArray(); + }; + if (element.hasDevice()) { + composeCodeableReference("device", element.getDevice()); } if (element.hasRecorder()) { composeReference("recorder", element.getRecorder()); @@ -55597,12 +55143,6 @@ public class JsonParser extends JsonParserBase { if (element.hasSubstitution()) { composeMedicationRequestSubstitutionComponent("substitution", element.getSubstitution()); } - if (element.hasDetectedIssue()) { - openArray("detectedIssue"); - for (Reference e : element.getDetectedIssue()) - composeReference(null, e); - closeArray(); - }; if (element.hasEventHistory()) { openArray("eventHistory"); for (Reference e : element.getEventHistory()) @@ -55625,9 +55165,8 @@ public class JsonParser extends JsonParserBase { composeStringCore("renderedDosageInstruction", element.getRenderedDosageInstructionElement(), false); composeStringExtras("renderedDosageInstruction", element.getRenderedDosageInstructionElement(), false); } - if (element.hasEffectiveDosePeriodElement()) { - composeDateTimeCore("effectiveDosePeriod", element.getEffectiveDosePeriodElement(), false); - composeDateTimeExtras("effectiveDosePeriod", element.getEffectiveDosePeriodElement(), false); + if (element.hasEffectiveDosePeriod()) { + composePeriod("effectiveDosePeriod", element.getEffectiveDosePeriod()); } if (element.hasDosageInstruction()) { openArray("dosageInstruction"); @@ -55731,6 +55270,12 @@ public class JsonParser extends JsonParserBase { composeIdentifier(null, e); closeArray(); }; + if (element.hasPartOf()) { + openArray("partOf"); + for (Reference e : element.getPartOf()) + composeReference(null, e); + closeArray(); + }; if (element.hasStatusElement()) { composeEnumerationCore("status", element.getStatusElement(), new MedicationUsage.MedicationUsageStatusCodesEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new MedicationUsage.MedicationUsageStatusCodesEnumFactory(), false); @@ -55758,8 +55303,11 @@ public class JsonParser extends JsonParserBase { composeDateTimeExtras("dateAsserted", element.getDateAssertedElement(), false); } if (element.hasInformationSource()) { - composeReference("informationSource", element.getInformationSource()); - } + openArray("informationSource"); + for (Reference e : element.getInformationSource()) + composeReference(null, e); + closeArray(); + }; if (element.hasDerivedFrom()) { openArray("derivedFrom"); for (Reference e : element.getDerivedFrom()) @@ -55778,6 +55326,12 @@ public class JsonParser extends JsonParserBase { composeAnnotation(null, e); closeArray(); }; + if (element.hasRelatedClinicalInformation()) { + openArray("relatedClinicalInformation"); + for (Reference e : element.getRelatedClinicalInformation()) + composeReference(null, e); + closeArray(); + }; if (element.hasRenderedDosageInstructionElement()) { composeStringCore("renderedDosageInstruction", element.getRenderedDosageInstructionElement(), false); composeStringExtras("renderedDosageInstruction", element.getRenderedDosageInstructionElement(), false); @@ -55893,6 +55447,12 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; + if (element.hasComprisedOf()) { + openArray("comprisedOf"); + for (Reference e : element.getComprisedOf()) + composeReference(null, e); + closeArray(); + }; if (element.hasIngredient()) { openArray("ingredient"); for (CodeableConcept e : element.getIngredient()) @@ -56245,20 +55805,10 @@ public class JsonParser extends JsonParserBase { composeMessageDefinitionAllowedResponseComponent(null, e); closeArray(); }; - if (element.hasGraph()) { - if (anyHasValue(element.getGraph())) { - openArray("graph"); - for (CanonicalType e : element.getGraph()) - composeCanonicalCore(null, e, e != element.getGraph().get(element.getGraph().size()-1)); - closeArray(); + if (element.hasGraphElement()) { + composeCanonicalCore("graph", element.getGraphElement(), false); + composeCanonicalExtras("graph", element.getGraphElement(), false); } - if (anyHasExtras(element.getGraph())) { - openArray("_graph"); - for (CanonicalType e : element.getGraph()) - composeCanonicalExtras(null, e, true); - closeArray(); - } - }; } protected void composeMessageDefinitionFocusComponent(String name, MessageDefinition.MessageDefinitionFocusComponent element) throws IOException { @@ -56427,9 +55977,8 @@ public class JsonParser extends JsonParserBase { protected void composeMessageHeaderResponseComponentProperties(MessageHeader.MessageHeaderResponseComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasIdentifierElement()) { - composeIdCore("identifier", element.getIdentifierElement(), false); - composeIdExtras("identifier", element.getIdentifierElement(), false); + if (element.hasIdentifier()) { + composeIdentifier("identifier", element.getIdentifier()); } if (element.hasCodeElement()) { composeEnumerationCore("code", element.getCodeElement(), new MessageHeader.ResponseTypeEnumFactory(), false); @@ -56459,10 +56008,6 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("type", element.getTypeElement(), new MolecularSequence.SequenceTypeEnumFactory(), false); composeEnumerationExtras("type", element.getTypeElement(), new MolecularSequence.SequenceTypeEnumFactory(), false); } - if (element.hasCoordinateSystemElement()) { - composeIntegerCore("coordinateSystem", element.getCoordinateSystemElement(), false); - composeIntegerExtras("coordinateSystem", element.getCoordinateSystemElement(), false); - } if (element.hasPatient()) { composeReference("patient", element.getPatient()); } @@ -56475,86 +56020,66 @@ public class JsonParser extends JsonParserBase { if (element.hasPerformer()) { composeReference("performer", element.getPerformer()); } - if (element.hasQuantity()) { - composeQuantity("quantity", element.getQuantity()); + if (element.hasLiteralElement()) { + composeStringCore("literal", element.getLiteralElement(), false); + composeStringExtras("literal", element.getLiteralElement(), false); } - if (element.hasReferenceSeq()) { - composeMolecularSequenceReferenceSeqComponent("referenceSeq", element.getReferenceSeq()); - } - if (element.hasVariant()) { - openArray("variant"); - for (MolecularSequence.MolecularSequenceVariantComponent e : element.getVariant()) - composeMolecularSequenceVariantComponent(null, e); + if (element.hasFormatted()) { + openArray("formatted"); + for (Attachment e : element.getFormatted()) + composeAttachment(null, e); closeArray(); }; - if (element.hasObservedSeqElement()) { - composeStringCore("observedSeq", element.getObservedSeqElement(), false); - composeStringExtras("observedSeq", element.getObservedSeqElement(), false); - } - if (element.hasQuality()) { - openArray("quality"); - for (MolecularSequence.MolecularSequenceQualityComponent e : element.getQuality()) - composeMolecularSequenceQualityComponent(null, e); - closeArray(); - }; - if (element.hasReadCoverageElement()) { - composeIntegerCore("readCoverage", element.getReadCoverageElement(), false); - composeIntegerExtras("readCoverage", element.getReadCoverageElement(), false); - } - if (element.hasRepository()) { - openArray("repository"); - for (MolecularSequence.MolecularSequenceRepositoryComponent e : element.getRepository()) - composeMolecularSequenceRepositoryComponent(null, e); - closeArray(); - }; - if (element.hasPointer()) { - openArray("pointer"); - for (Reference e : element.getPointer()) - composeReference(null, e); - closeArray(); - }; - if (element.hasStructureVariant()) { - openArray("structureVariant"); - for (MolecularSequence.MolecularSequenceStructureVariantComponent e : element.getStructureVariant()) - composeMolecularSequenceStructureVariantComponent(null, e); + if (element.hasRelative()) { + openArray("relative"); + for (MolecularSequence.MolecularSequenceRelativeComponent e : element.getRelative()) + composeMolecularSequenceRelativeComponent(null, e); closeArray(); }; } - protected void composeMolecularSequenceReferenceSeqComponent(String name, MolecularSequence.MolecularSequenceReferenceSeqComponent element) throws IOException { + protected void composeMolecularSequenceRelativeComponent(String name, MolecularSequence.MolecularSequenceRelativeComponent element) throws IOException { if (element != null) { open(name); - composeMolecularSequenceReferenceSeqComponentProperties(element); + composeMolecularSequenceRelativeComponentProperties(element); close(); } } - protected void composeMolecularSequenceReferenceSeqComponentProperties(MolecularSequence.MolecularSequenceReferenceSeqComponent element) throws IOException { + protected void composeMolecularSequenceRelativeComponentProperties(MolecularSequence.MolecularSequenceRelativeComponent element) throws IOException { composeBackboneElementProperties(element); + if (element.hasCoordinateSystem()) { + composeCodeableConcept("coordinateSystem", element.getCoordinateSystem()); + } + if (element.hasReference()) { + composeMolecularSequenceRelativeReferenceComponent("reference", element.getReference()); + } + if (element.hasEdit()) { + openArray("edit"); + for (MolecularSequence.MolecularSequenceRelativeEditComponent e : element.getEdit()) + composeMolecularSequenceRelativeEditComponent(null, e); + closeArray(); + }; + } + + protected void composeMolecularSequenceRelativeReferenceComponent(String name, MolecularSequence.MolecularSequenceRelativeReferenceComponent element) throws IOException { + if (element != null) { + open(name); + composeMolecularSequenceRelativeReferenceComponentProperties(element); + close(); + } + } + + protected void composeMolecularSequenceRelativeReferenceComponentProperties(MolecularSequence.MolecularSequenceRelativeReferenceComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasReferenceSequenceAssembly()) { + composeCodeableConcept("referenceSequenceAssembly", element.getReferenceSequenceAssembly()); + } if (element.hasChromosome()) { composeCodeableConcept("chromosome", element.getChromosome()); } - if (element.hasGenomeBuildElement()) { - composeStringCore("genomeBuild", element.getGenomeBuildElement(), false); - composeStringExtras("genomeBuild", element.getGenomeBuildElement(), false); - } - if (element.hasOrientationElement()) { - composeEnumerationCore("orientation", element.getOrientationElement(), new MolecularSequence.OrientationTypeEnumFactory(), false); - composeEnumerationExtras("orientation", element.getOrientationElement(), new MolecularSequence.OrientationTypeEnumFactory(), false); - } - if (element.hasReferenceSeqId()) { - composeCodeableConcept("referenceSeqId", element.getReferenceSeqId()); - } - if (element.hasReferenceSeqPointer()) { - composeReference("referenceSeqPointer", element.getReferenceSeqPointer()); - } - if (element.hasReferenceSeqStringElement()) { - composeStringCore("referenceSeqString", element.getReferenceSeqStringElement(), false); - composeStringExtras("referenceSeqString", element.getReferenceSeqStringElement(), false); - } - if (element.hasStrandElement()) { - composeEnumerationCore("strand", element.getStrandElement(), new MolecularSequence.StrandTypeEnumFactory(), false); - composeEnumerationExtras("strand", element.getStrandElement(), new MolecularSequence.StrandTypeEnumFactory(), false); + if (element.hasReferenceSequence()) { + composeType("referenceSequence", element.getReferenceSequence()); } if (element.hasWindowStartElement()) { composeIntegerCore("windowStart", element.getWindowStartElement(), false); @@ -56564,17 +56089,25 @@ public class JsonParser extends JsonParserBase { composeIntegerCore("windowEnd", element.getWindowEndElement(), false); composeIntegerExtras("windowEnd", element.getWindowEndElement(), false); } + if (element.hasOrientationElement()) { + composeEnumerationCore("orientation", element.getOrientationElement(), new MolecularSequence.OrientationTypeEnumFactory(), false); + composeEnumerationExtras("orientation", element.getOrientationElement(), new MolecularSequence.OrientationTypeEnumFactory(), false); + } + if (element.hasStrandElement()) { + composeEnumerationCore("strand", element.getStrandElement(), new MolecularSequence.StrandTypeEnumFactory(), false); + composeEnumerationExtras("strand", element.getStrandElement(), new MolecularSequence.StrandTypeEnumFactory(), false); + } } - protected void composeMolecularSequenceVariantComponent(String name, MolecularSequence.MolecularSequenceVariantComponent element) throws IOException { + protected void composeMolecularSequenceRelativeEditComponent(String name, MolecularSequence.MolecularSequenceRelativeEditComponent element) throws IOException { if (element != null) { open(name); - composeMolecularSequenceVariantComponentProperties(element); + composeMolecularSequenceRelativeEditComponentProperties(element); close(); } } - protected void composeMolecularSequenceVariantComponentProperties(MolecularSequence.MolecularSequenceVariantComponent element) throws IOException { + protected void composeMolecularSequenceRelativeEditComponentProperties(MolecularSequence.MolecularSequenceRelativeEditComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasStartElement()) { composeIntegerCore("start", element.getStartElement(), false); @@ -56592,296 +56125,6 @@ public class JsonParser extends JsonParserBase { composeStringCore("referenceAllele", element.getReferenceAlleleElement(), false); composeStringExtras("referenceAllele", element.getReferenceAlleleElement(), false); } - if (element.hasCigarElement()) { - composeStringCore("cigar", element.getCigarElement(), false); - composeStringExtras("cigar", element.getCigarElement(), false); - } - if (element.hasVariantPointer()) { - composeReference("variantPointer", element.getVariantPointer()); - } - } - - protected void composeMolecularSequenceQualityComponent(String name, MolecularSequence.MolecularSequenceQualityComponent element) throws IOException { - if (element != null) { - open(name); - composeMolecularSequenceQualityComponentProperties(element); - close(); - } - } - - protected void composeMolecularSequenceQualityComponentProperties(MolecularSequence.MolecularSequenceQualityComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasTypeElement()) { - composeEnumerationCore("type", element.getTypeElement(), new MolecularSequence.QualityTypeEnumFactory(), false); - composeEnumerationExtras("type", element.getTypeElement(), new MolecularSequence.QualityTypeEnumFactory(), false); - } - if (element.hasStandardSequence()) { - composeCodeableConcept("standardSequence", element.getStandardSequence()); - } - if (element.hasStartElement()) { - composeIntegerCore("start", element.getStartElement(), false); - composeIntegerExtras("start", element.getStartElement(), false); - } - if (element.hasEndElement()) { - composeIntegerCore("end", element.getEndElement(), false); - composeIntegerExtras("end", element.getEndElement(), false); - } - if (element.hasScore()) { - composeQuantity("score", element.getScore()); - } - if (element.hasMethod()) { - composeCodeableConcept("method", element.getMethod()); - } - if (element.hasTruthTPElement()) { - composeDecimalCore("truthTP", element.getTruthTPElement(), false); - composeDecimalExtras("truthTP", element.getTruthTPElement(), false); - } - if (element.hasQueryTPElement()) { - composeDecimalCore("queryTP", element.getQueryTPElement(), false); - composeDecimalExtras("queryTP", element.getQueryTPElement(), false); - } - if (element.hasTruthFNElement()) { - composeDecimalCore("truthFN", element.getTruthFNElement(), false); - composeDecimalExtras("truthFN", element.getTruthFNElement(), false); - } - if (element.hasQueryFPElement()) { - composeDecimalCore("queryFP", element.getQueryFPElement(), false); - composeDecimalExtras("queryFP", element.getQueryFPElement(), false); - } - if (element.hasGtFPElement()) { - composeDecimalCore("gtFP", element.getGtFPElement(), false); - composeDecimalExtras("gtFP", element.getGtFPElement(), false); - } - if (element.hasPrecisionElement()) { - composeDecimalCore("precision", element.getPrecisionElement(), false); - composeDecimalExtras("precision", element.getPrecisionElement(), false); - } - if (element.hasRecallElement()) { - composeDecimalCore("recall", element.getRecallElement(), false); - composeDecimalExtras("recall", element.getRecallElement(), false); - } - if (element.hasFScoreElement()) { - composeDecimalCore("fScore", element.getFScoreElement(), false); - composeDecimalExtras("fScore", element.getFScoreElement(), false); - } - if (element.hasRoc()) { - composeMolecularSequenceQualityRocComponent("roc", element.getRoc()); - } - } - - protected void composeMolecularSequenceQualityRocComponent(String name, MolecularSequence.MolecularSequenceQualityRocComponent element) throws IOException { - if (element != null) { - open(name); - composeMolecularSequenceQualityRocComponentProperties(element); - close(); - } - } - - protected void composeMolecularSequenceQualityRocComponentProperties(MolecularSequence.MolecularSequenceQualityRocComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasScore()) { - if (anyHasValue(element.getScore())) { - openArray("score"); - for (IntegerType e : element.getScore()) - composeIntegerCore(null, e, e != element.getScore().get(element.getScore().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getScore())) { - openArray("_score"); - for (IntegerType e : element.getScore()) - composeIntegerExtras(null, e, true); - closeArray(); - } - }; - if (element.hasNumTP()) { - if (anyHasValue(element.getNumTP())) { - openArray("numTP"); - for (IntegerType e : element.getNumTP()) - composeIntegerCore(null, e, e != element.getNumTP().get(element.getNumTP().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getNumTP())) { - openArray("_numTP"); - for (IntegerType e : element.getNumTP()) - composeIntegerExtras(null, e, true); - closeArray(); - } - }; - if (element.hasNumFP()) { - if (anyHasValue(element.getNumFP())) { - openArray("numFP"); - for (IntegerType e : element.getNumFP()) - composeIntegerCore(null, e, e != element.getNumFP().get(element.getNumFP().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getNumFP())) { - openArray("_numFP"); - for (IntegerType e : element.getNumFP()) - composeIntegerExtras(null, e, true); - closeArray(); - } - }; - if (element.hasNumFN()) { - if (anyHasValue(element.getNumFN())) { - openArray("numFN"); - for (IntegerType e : element.getNumFN()) - composeIntegerCore(null, e, e != element.getNumFN().get(element.getNumFN().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getNumFN())) { - openArray("_numFN"); - for (IntegerType e : element.getNumFN()) - composeIntegerExtras(null, e, true); - closeArray(); - } - }; - if (element.hasPrecision()) { - if (anyHasValue(element.getPrecision())) { - openArray("precision"); - for (DecimalType e : element.getPrecision()) - composeDecimalCore(null, e, e != element.getPrecision().get(element.getPrecision().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getPrecision())) { - openArray("_precision"); - for (DecimalType e : element.getPrecision()) - composeDecimalExtras(null, e, true); - closeArray(); - } - }; - if (element.hasSensitivity()) { - if (anyHasValue(element.getSensitivity())) { - openArray("sensitivity"); - for (DecimalType e : element.getSensitivity()) - composeDecimalCore(null, e, e != element.getSensitivity().get(element.getSensitivity().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getSensitivity())) { - openArray("_sensitivity"); - for (DecimalType e : element.getSensitivity()) - composeDecimalExtras(null, e, true); - closeArray(); - } - }; - if (element.hasFMeasure()) { - if (anyHasValue(element.getFMeasure())) { - openArray("fMeasure"); - for (DecimalType e : element.getFMeasure()) - composeDecimalCore(null, e, e != element.getFMeasure().get(element.getFMeasure().size()-1)); - closeArray(); - } - if (anyHasExtras(element.getFMeasure())) { - openArray("_fMeasure"); - for (DecimalType e : element.getFMeasure()) - composeDecimalExtras(null, e, true); - closeArray(); - } - }; - } - - protected void composeMolecularSequenceRepositoryComponent(String name, MolecularSequence.MolecularSequenceRepositoryComponent element) throws IOException { - if (element != null) { - open(name); - composeMolecularSequenceRepositoryComponentProperties(element); - close(); - } - } - - protected void composeMolecularSequenceRepositoryComponentProperties(MolecularSequence.MolecularSequenceRepositoryComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasTypeElement()) { - composeEnumerationCore("type", element.getTypeElement(), new MolecularSequence.RepositoryTypeEnumFactory(), false); - composeEnumerationExtras("type", element.getTypeElement(), new MolecularSequence.RepositoryTypeEnumFactory(), false); - } - if (element.hasUrlElement()) { - composeUriCore("url", element.getUrlElement(), false); - composeUriExtras("url", element.getUrlElement(), false); - } - if (element.hasNameElement()) { - composeStringCore("name", element.getNameElement(), false); - composeStringExtras("name", element.getNameElement(), false); - } - if (element.hasDatasetIdElement()) { - composeStringCore("datasetId", element.getDatasetIdElement(), false); - composeStringExtras("datasetId", element.getDatasetIdElement(), false); - } - if (element.hasVariantsetIdElement()) { - composeStringCore("variantsetId", element.getVariantsetIdElement(), false); - composeStringExtras("variantsetId", element.getVariantsetIdElement(), false); - } - if (element.hasReadsetIdElement()) { - composeStringCore("readsetId", element.getReadsetIdElement(), false); - composeStringExtras("readsetId", element.getReadsetIdElement(), false); - } - } - - protected void composeMolecularSequenceStructureVariantComponent(String name, MolecularSequence.MolecularSequenceStructureVariantComponent element) throws IOException { - if (element != null) { - open(name); - composeMolecularSequenceStructureVariantComponentProperties(element); - close(); - } - } - - protected void composeMolecularSequenceStructureVariantComponentProperties(MolecularSequence.MolecularSequenceStructureVariantComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasVariantType()) { - composeCodeableConcept("variantType", element.getVariantType()); - } - if (element.hasExactElement()) { - composeBooleanCore("exact", element.getExactElement(), false); - composeBooleanExtras("exact", element.getExactElement(), false); - } - if (element.hasLengthElement()) { - composeIntegerCore("length", element.getLengthElement(), false); - composeIntegerExtras("length", element.getLengthElement(), false); - } - if (element.hasOuter()) { - composeMolecularSequenceStructureVariantOuterComponent("outer", element.getOuter()); - } - if (element.hasInner()) { - composeMolecularSequenceStructureVariantInnerComponent("inner", element.getInner()); - } - } - - protected void composeMolecularSequenceStructureVariantOuterComponent(String name, MolecularSequence.MolecularSequenceStructureVariantOuterComponent element) throws IOException { - if (element != null) { - open(name); - composeMolecularSequenceStructureVariantOuterComponentProperties(element); - close(); - } - } - - protected void composeMolecularSequenceStructureVariantOuterComponentProperties(MolecularSequence.MolecularSequenceStructureVariantOuterComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasStartElement()) { - composeIntegerCore("start", element.getStartElement(), false); - composeIntegerExtras("start", element.getStartElement(), false); - } - if (element.hasEndElement()) { - composeIntegerCore("end", element.getEndElement(), false); - composeIntegerExtras("end", element.getEndElement(), false); - } - } - - protected void composeMolecularSequenceStructureVariantInnerComponent(String name, MolecularSequence.MolecularSequenceStructureVariantInnerComponent element) throws IOException { - if (element != null) { - open(name); - composeMolecularSequenceStructureVariantInnerComponentProperties(element); - close(); - } - } - - protected void composeMolecularSequenceStructureVariantInnerComponentProperties(MolecularSequence.MolecularSequenceStructureVariantInnerComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasStartElement()) { - composeIntegerCore("start", element.getStartElement(), false); - composeIntegerExtras("start", element.getStartElement(), false); - } - if (element.hasEndElement()) { - composeIntegerCore("end", element.getEndElement(), false); - composeIntegerExtras("end", element.getEndElement(), false); - } } protected void composeNamingSystem(String name, NamingSystem element) throws IOException { @@ -56892,7 +56135,7 @@ public class JsonParser extends JsonParserBase { } protected void composeNamingSystemProperties(NamingSystem element) throws IOException { - composeCanonicalResourceProperties(element); + composeMetadataResourceProperties(element); if (element.hasUrlElement()) { composeUriCore("url", element.getUrlElement(), false); composeUriExtras("url", element.getUrlElement(), false); @@ -57501,6 +56744,9 @@ public class JsonParser extends JsonParserBase { protected void composeNutritionProductProperties(NutritionProduct element) throws IOException { composeDomainResourceProperties(element); + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } if (element.hasStatusElement()) { composeEnumerationCore("status", element.getStatusElement(), new NutritionProduct.NutritionProductStatusEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new NutritionProduct.NutritionProductStatusEnumFactory(), false); @@ -57511,9 +56757,6 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; - if (element.hasCode()) { - composeCodeableConcept("code", element.getCode()); - } if (element.hasManufacturer()) { openArray("manufacturer"); for (Reference e : element.getManufacturer()) @@ -57538,15 +56781,18 @@ public class JsonParser extends JsonParserBase { composeCodeableReference(null, e); closeArray(); }; - if (element.hasProductCharacteristic()) { - openArray("productCharacteristic"); - for (NutritionProduct.NutritionProductProductCharacteristicComponent e : element.getProductCharacteristic()) - composeNutritionProductProductCharacteristicComponent(null, e); + if (element.hasCharacteristic()) { + openArray("characteristic"); + for (NutritionProduct.NutritionProductCharacteristicComponent e : element.getCharacteristic()) + composeNutritionProductCharacteristicComponent(null, e); closeArray(); }; if (element.hasInstance()) { - composeNutritionProductInstanceComponent("instance", element.getInstance()); - } + openArray("instance"); + for (NutritionProduct.NutritionProductInstanceComponent e : element.getInstance()) + composeNutritionProductInstanceComponent(null, e); + closeArray(); + }; if (element.hasNote()) { openArray("note"); for (Annotation e : element.getNote()) @@ -57597,15 +56843,15 @@ public class JsonParser extends JsonParserBase { }; } - protected void composeNutritionProductProductCharacteristicComponent(String name, NutritionProduct.NutritionProductProductCharacteristicComponent element) throws IOException { + protected void composeNutritionProductCharacteristicComponent(String name, NutritionProduct.NutritionProductCharacteristicComponent element) throws IOException { if (element != null) { open(name); - composeNutritionProductProductCharacteristicComponentProperties(element); + composeNutritionProductCharacteristicComponentProperties(element); close(); } } - protected void composeNutritionProductProductCharacteristicComponentProperties(NutritionProduct.NutritionProductProductCharacteristicComponent element) throws IOException { + protected void composeNutritionProductCharacteristicComponentProperties(NutritionProduct.NutritionProductCharacteristicComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasType()) { composeCodeableConcept("type", element.getType()); @@ -57634,6 +56880,10 @@ public class JsonParser extends JsonParserBase { composeIdentifier(null, e); closeArray(); }; + if (element.hasNameElement()) { + composeStringCore("name", element.getNameElement(), false); + composeStringExtras("name", element.getNameElement(), false); + } if (element.hasLotNumberElement()) { composeStringCore("lotNumber", element.getLotNumberElement(), false); composeStringExtras("lotNumber", element.getLotNumberElement(), false); @@ -57646,8 +56896,8 @@ public class JsonParser extends JsonParserBase { composeDateTimeCore("useBy", element.getUseByElement(), false); composeDateTimeExtras("useBy", element.getUseByElement(), false); } - if (element.hasBiologicalSource()) { - composeIdentifier("biologicalSource", element.getBiologicalSource()); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier("biologicalSourceEvent", element.getBiologicalSourceEvent()); } } @@ -57675,6 +56925,12 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; + if (element.hasTriggeredBy()) { + openArray("triggeredBy"); + for (Observation.ObservationTriggeredByComponent e : element.getTriggeredBy()) + composeObservationTriggeredByComponent(null, e); + closeArray(); + }; if (element.hasPartOf()) { openArray("partOf"); for (Reference e : element.getPartOf()) @@ -57740,6 +56996,9 @@ public class JsonParser extends JsonParserBase { if (element.hasBodySite()) { composeCodeableConcept("bodySite", element.getBodySite()); } + if (element.hasBodyStructure()) { + composeReference("bodyStructure", element.getBodyStructure()); + } if (element.hasMethod()) { composeCodeableConcept("method", element.getMethod()); } @@ -57775,6 +57034,29 @@ public class JsonParser extends JsonParserBase { }; } + protected void composeObservationTriggeredByComponent(String name, Observation.ObservationTriggeredByComponent element) throws IOException { + if (element != null) { + open(name); + composeObservationTriggeredByComponentProperties(element); + close(); + } + } + + protected void composeObservationTriggeredByComponentProperties(Observation.ObservationTriggeredByComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasObservation()) { + composeReference("observation", element.getObservation()); + } + if (element.hasTypeElement()) { + composeEnumerationCore("type", element.getTypeElement(), new Observation.TriggeredBytypeEnumFactory(), false); + composeEnumerationExtras("type", element.getTypeElement(), new Observation.TriggeredBytypeEnumFactory(), false); + } + if (element.hasReasonElement()) { + composeStringCore("reason", element.getReasonElement(), false); + composeStringExtras("reason", element.getReasonElement(), false); + } + } + protected void composeObservationReferenceRangeComponent(String name, Observation.ObservationReferenceRangeComponent element) throws IOException { if (element != null) { open(name); @@ -57791,6 +57073,9 @@ public class JsonParser extends JsonParserBase { if (element.hasHigh()) { composeQuantity("high", element.getHigh()); } + if (element.hasNormalValue()) { + composeCodeableConcept("normalValue", element.getNormalValue()); + } if (element.hasType()) { composeCodeableConcept("type", element.getType()); } @@ -58542,6 +57827,16 @@ public class JsonParser extends JsonParserBase { closeArray(); } }; + if (element.hasDescriptionElement()) { + composeStringCore("description", element.getDescriptionElement(), false); + composeStringExtras("description", element.getDescriptionElement(), false); + } + if (element.hasContact()) { + openArray("contact"); + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail(null, e); + closeArray(); + }; if (element.hasTelecom()) { openArray("telecom"); for (ContactPoint e : element.getTelecom()) @@ -58557,12 +57852,6 @@ public class JsonParser extends JsonParserBase { if (element.hasPartOf()) { composeReference("partOf", element.getPartOf()); } - if (element.hasContact()) { - openArray("contact"); - for (Organization.OrganizationContactComponent e : element.getContact()) - composeOrganizationContactComponent(null, e); - closeArray(); - }; if (element.hasEndpoint()) { openArray("endpoint"); for (Reference e : element.getEndpoint()) @@ -58571,33 +57860,6 @@ public class JsonParser extends JsonParserBase { }; } - protected void composeOrganizationContactComponent(String name, Organization.OrganizationContactComponent element) throws IOException { - if (element != null) { - open(name); - composeOrganizationContactComponentProperties(element); - close(); - } - } - - protected void composeOrganizationContactComponentProperties(Organization.OrganizationContactComponent element) throws IOException { - composeBackboneElementProperties(element); - if (element.hasPurpose()) { - composeCodeableConcept("purpose", element.getPurpose()); - } - if (element.hasName()) { - composeHumanName("name", element.getName()); - } - if (element.hasTelecom()) { - openArray("telecom"); - for (ContactPoint e : element.getTelecom()) - composeContactPoint(null, e); - closeArray(); - }; - if (element.hasAddress()) { - composeAddress("address", element.getAddress()); - } - } - protected void composeOrganizationAffiliation(String name, OrganizationAffiliation element) throws IOException { if (element != null) { prop("resourceType", name); @@ -58749,8 +58011,8 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; - if (element.hasPackage()) { - composePackagedProductDefinitionPackageComponent("package", element.getPackage()); + if (element.hasPackaging()) { + composePackagedProductDefinitionPackagingComponent("packaging", element.getPackaging()); } } @@ -58772,15 +58034,15 @@ public class JsonParser extends JsonParserBase { } } - protected void composePackagedProductDefinitionPackageComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackageComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagingComponent element) throws IOException { if (element != null) { open(name); - composePackagedProductDefinitionPackageComponentProperties(element); + composePackagedProductDefinitionPackagingComponentProperties(element); close(); } } - protected void composePackagedProductDefinitionPackageComponentProperties(PackagedProductDefinition.PackagedProductDefinitionPackageComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingComponentProperties(PackagedProductDefinition.PackagedProductDefinitionPackagingComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasIdentifier()) { openArray("identifier"); @@ -58821,33 +58083,33 @@ public class JsonParser extends JsonParserBase { }; if (element.hasProperty()) { openArray("property"); - for (PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent e : element.getProperty()) - composePackagedProductDefinitionPackagePropertyComponent(null, e); + for (PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent e : element.getProperty()) + composePackagedProductDefinitionPackagingPropertyComponent(null, e); closeArray(); }; if (element.hasContainedItem()) { openArray("containedItem"); - for (PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent e : element.getContainedItem()) - composePackagedProductDefinitionPackageContainedItemComponent(null, e); + for (PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent e : element.getContainedItem()) + composePackagedProductDefinitionPackagingContainedItemComponent(null, e); closeArray(); }; - if (element.hasPackage()) { - openArray("package"); - for (PackagedProductDefinition.PackagedProductDefinitionPackageComponent e : element.getPackage()) - composePackagedProductDefinitionPackageComponent(null, e); + if (element.hasPackaging()) { + openArray("packaging"); + for (PackagedProductDefinition.PackagedProductDefinitionPackagingComponent e : element.getPackaging()) + composePackagedProductDefinitionPackagingComponent(null, e); closeArray(); }; } - protected void composePackagedProductDefinitionPackagePropertyComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingPropertyComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent element) throws IOException { if (element != null) { open(name); - composePackagedProductDefinitionPackagePropertyComponentProperties(element); + composePackagedProductDefinitionPackagingPropertyComponentProperties(element); close(); } } - protected void composePackagedProductDefinitionPackagePropertyComponentProperties(PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingPropertyComponentProperties(PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasType()) { composeCodeableConcept("type", element.getType()); @@ -58857,15 +58119,15 @@ public class JsonParser extends JsonParserBase { } } - protected void composePackagedProductDefinitionPackageContainedItemComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingContainedItemComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent element) throws IOException { if (element != null) { open(name); - composePackagedProductDefinitionPackageContainedItemComponentProperties(element); + composePackagedProductDefinitionPackagingContainedItemComponentProperties(element); close(); } } - protected void composePackagedProductDefinitionPackageContainedItemComponentProperties(PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingContainedItemComponentProperties(PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent element) throws IOException { composeBackboneElementProperties(element); if (element.hasItem()) { composeCodeableReference("item", element.getItem()); @@ -60224,6 +59486,12 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; + if (element.hasContact()) { + openArray("contact"); + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail(null, e); + closeArray(); + }; if (element.hasTelecom()) { openArray("telecom"); for (ContactPoint e : element.getTelecom()) @@ -60566,6 +59834,9 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; + if (element.hasPatient()) { + composeReference("patient", element.getPatient()); + } if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -61801,6 +61072,12 @@ public class JsonParser extends JsonParserBase { if (element.hasRole()) { composeCodeableConcept("role", element.getRole()); } + if (element.hasPeriod()) { + openArray("period"); + for (Period e : element.getPeriod()) + composePeriod(null, e); + closeArray(); + }; if (element.hasClassifier()) { openArray("classifier"); for (CodeableConcept e : element.getClassifier()) @@ -61957,8 +61234,8 @@ public class JsonParser extends JsonParserBase { protected void composeResearchStudyWebLocationComponentProperties(ResearchStudy.ResearchStudyWebLocationComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); + if (element.hasClassifier()) { + composeCodeableConcept("classifier", element.getClassifier()); } if (element.hasUrlElement()) { composeUriCore("url", element.getUrlElement(), false); @@ -62180,8 +61457,8 @@ public class JsonParser extends JsonParserBase { }; if (element.hasServiceType()) { openArray("serviceType"); - for (CodeableConcept e : element.getServiceType()) - composeCodeableConcept(null, e); + for (CodeableReference e : element.getServiceType()) + composeCodeableReference(null, e); closeArray(); }; if (element.hasSpecialty()) { @@ -62226,6 +61503,10 @@ public class JsonParser extends JsonParserBase { composeStringCore("name", element.getNameElement(), false); composeStringExtras("name", element.getNameElement(), false); } + if (element.hasTitleElement()) { + composeStringCore("title", element.getTitleElement(), false); + composeStringExtras("title", element.getTitleElement(), false); + } if (element.hasDerivedFromElement()) { composeCanonicalCore("derivedFrom", element.getDerivedFromElement(), false); composeCanonicalExtras("derivedFrom", element.getDerivedFromElement(), false); @@ -62489,6 +61770,12 @@ public class JsonParser extends JsonParserBase { if (element.hasSubject()) { composeReference("subject", element.getSubject()); } + if (element.hasFocus()) { + openArray("focus"); + for (Reference e : element.getFocus()) + composeReference(null, e); + closeArray(); + }; if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -62550,6 +61837,9 @@ public class JsonParser extends JsonParserBase { composeCodeableConcept(null, e); closeArray(); }; + if (element.hasBodyStructure()) { + composeReference("bodyStructure", element.getBodyStructure()); + } if (element.hasNote()) { openArray("note"); for (Annotation e : element.getNote()) @@ -62591,8 +61881,8 @@ public class JsonParser extends JsonParserBase { }; if (element.hasServiceType()) { openArray("serviceType"); - for (CodeableConcept e : element.getServiceType()) - composeCodeableConcept(null, e); + for (CodeableReference e : element.getServiceType()) + composeCodeableReference(null, e); closeArray(); }; if (element.hasSpecialty()) { @@ -62676,6 +61966,12 @@ public class JsonParser extends JsonParserBase { composeReference(null, e); closeArray(); }; + if (element.hasFeature()) { + openArray("feature"); + for (Specimen.SpecimenFeatureComponent e : element.getFeature()) + composeSpecimenFeatureComponent(null, e); + closeArray(); + }; if (element.hasCollection()) { composeSpecimenCollectionComponent("collection", element.getCollection()); } @@ -62705,6 +62001,25 @@ public class JsonParser extends JsonParserBase { }; } + protected void composeSpecimenFeatureComponent(String name, Specimen.SpecimenFeatureComponent element) throws IOException { + if (element != null) { + open(name); + composeSpecimenFeatureComponentProperties(element); + close(); + } + } + + protected void composeSpecimenFeatureComponentProperties(Specimen.SpecimenFeatureComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasDescriptionElement()) { + composeStringCore("description", element.getDescriptionElement(), false); + composeStringExtras("description", element.getDescriptionElement(), false); + } + } + protected void composeSpecimenCollectionComponent(String name, Specimen.SpecimenCollectionComponent element) throws IOException { if (element != null) { open(name); @@ -62782,31 +62097,15 @@ public class JsonParser extends JsonParserBase { protected void composeSpecimenContainerComponentProperties(Specimen.SpecimenContainerComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasIdentifier()) { - openArray("identifier"); - for (Identifier e : element.getIdentifier()) - composeIdentifier(null, e); - closeArray(); - }; - if (element.hasDescriptionElement()) { - composeStringCore("description", element.getDescriptionElement(), false); - composeStringExtras("description", element.getDescriptionElement(), false); + if (element.hasDevice()) { + composeReference("device", element.getDevice()); } if (element.hasLocation()) { composeReference("location", element.getLocation()); } - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); - } - if (element.hasCapacity()) { - composeQuantity("capacity", element.getCapacity()); - } if (element.hasSpecimenQuantity()) { composeQuantity("specimenQuantity", element.getSpecimenQuantity()); } - if (element.hasAdditive()) { - composeType("additive", element.getAdditive()); - } } protected void composeSpecimenDefinition(String name, SpecimenDefinition element) throws IOException { @@ -63716,8 +63015,8 @@ public class JsonParser extends JsonParserBase { composeStringExtras("name", element.getNameElement(), false); } if (element.hasStatusElement()) { - composeEnumerationCore("status", element.getStatusElement(), new Enumerations.SubscriptionStateEnumFactory(), false); - composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.SubscriptionStateEnumFactory(), false); + composeEnumerationCore("status", element.getStatusElement(), new Enumerations.SubscriptionStatusCodesEnumFactory(), false); + composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.SubscriptionStatusCodesEnumFactory(), false); } if (element.hasTopicElement()) { composeCanonicalCore("topic", element.getTopicElement(), false); @@ -63780,10 +63079,6 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("content", element.getContentElement(), new Subscription.SubscriptionPayloadContentEnumFactory(), false); composeEnumerationExtras("content", element.getContentElement(), new Subscription.SubscriptionPayloadContentEnumFactory(), false); } - if (element.hasNotificationUrlLocationElement()) { - composeEnumerationCore("notificationUrlLocation", element.getNotificationUrlLocationElement(), new Subscription.SubscriptionUrlLocationEnumFactory(), false); - composeEnumerationExtras("notificationUrlLocation", element.getNotificationUrlLocationElement(), new Subscription.SubscriptionUrlLocationEnumFactory(), false); - } if (element.hasMaxCountElement()) { composePositiveIntCore("maxCount", element.getMaxCountElement(), false); composePositiveIntExtras("maxCount", element.getMaxCountElement(), false); @@ -63804,13 +63099,13 @@ public class JsonParser extends JsonParserBase { composeUriCore("resourceType", element.getResourceTypeElement(), false); composeUriExtras("resourceType", element.getResourceTypeElement(), false); } - if (element.hasSearchParamNameElement()) { - composeStringCore("searchParamName", element.getSearchParamNameElement(), false); - composeStringExtras("searchParamName", element.getSearchParamNameElement(), false); + if (element.hasFilterParameterElement()) { + composeStringCore("filterParameter", element.getFilterParameterElement(), false); + composeStringExtras("filterParameter", element.getFilterParameterElement(), false); } - if (element.hasSearchModifierElement()) { - composeEnumerationCore("searchModifier", element.getSearchModifierElement(), new Enumerations.SubscriptionSearchModifierEnumFactory(), false); - composeEnumerationExtras("searchModifier", element.getSearchModifierElement(), new Enumerations.SubscriptionSearchModifierEnumFactory(), false); + if (element.hasModifierElement()) { + composeEnumerationCore("modifier", element.getModifierElement(), new Enumerations.SubscriptionSearchModifierEnumFactory(), false); + composeEnumerationExtras("modifier", element.getModifierElement(), new Enumerations.SubscriptionSearchModifierEnumFactory(), false); } if (element.hasValueElement()) { composeStringCore("value", element.getValueElement(), false); @@ -63828,8 +63123,8 @@ public class JsonParser extends JsonParserBase { protected void composeSubscriptionStatusProperties(SubscriptionStatus element) throws IOException { composeDomainResourceProperties(element); if (element.hasStatusElement()) { - composeEnumerationCore("status", element.getStatusElement(), new Enumerations.SubscriptionStateEnumFactory(), false); - composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.SubscriptionStateEnumFactory(), false); + composeEnumerationCore("status", element.getStatusElement(), new Enumerations.SubscriptionStatusCodesEnumFactory(), false); + composeEnumerationExtras("status", element.getStatusElement(), new Enumerations.SubscriptionStatusCodesEnumFactory(), false); } if (element.hasTypeElement()) { composeEnumerationCore("type", element.getTypeElement(), new SubscriptionStatus.SubscriptionNotificationTypeEnumFactory(), false); @@ -63839,10 +63134,6 @@ public class JsonParser extends JsonParserBase { composeInteger64Core("eventsSinceSubscriptionStart", element.getEventsSinceSubscriptionStartElement(), false); composeInteger64Extras("eventsSinceSubscriptionStart", element.getEventsSinceSubscriptionStartElement(), false); } - if (element.hasEventsInNotificationElement()) { - composeIntegerCore("eventsInNotification", element.getEventsInNotificationElement(), false); - composeIntegerExtras("eventsInNotification", element.getEventsInNotificationElement(), false); - } if (element.hasNotificationEvent()) { openArray("notificationEvent"); for (SubscriptionStatus.SubscriptionStatusNotificationEventComponent e : element.getNotificationEvent()) @@ -63901,7 +63192,7 @@ public class JsonParser extends JsonParserBase { } protected void composeSubscriptionTopicProperties(SubscriptionTopic element) throws IOException { - composeDomainResourceProperties(element); + composeCanonicalResourceProperties(element); if (element.hasUrlElement()) { composeUriCore("url", element.getUrlElement(), false); composeUriExtras("url", element.getUrlElement(), false); @@ -64133,6 +63424,10 @@ public class JsonParser extends JsonParserBase { composeStringCore("filterParameter", element.getFilterParameterElement(), false); composeStringExtras("filterParameter", element.getFilterParameterElement(), false); } + if (element.hasFilterDefinitionElement()) { + composeUriCore("filterDefinition", element.getFilterDefinitionElement(), false); + composeUriExtras("filterDefinition", element.getFilterDefinitionElement(), false); + } if (element.hasModifier()) { openArray("modifier"); for (Enumeration e : element.getModifier()) @@ -64414,8 +63709,8 @@ public class JsonParser extends JsonParserBase { if (element.hasAmount()) { composeType("amount", element.getAmount()); } - if (element.hasAmountType()) { - composeCodeableConcept("amountType", element.getAmountType()); + if (element.hasMeasurementType()) { + composeCodeableConcept("measurementType", element.getMeasurementType()); } } @@ -64677,11 +63972,11 @@ public class JsonParser extends JsonParserBase { if (element.hasAmount()) { composeType("amount", element.getAmount()); } - if (element.hasAmountRatioHighLimit()) { - composeRatio("amountRatioHighLimit", element.getAmountRatioHighLimit()); + if (element.hasRatioHighLimitAmount()) { + composeRatio("ratioHighLimitAmount", element.getRatioHighLimitAmount()); } - if (element.hasAmountType()) { - composeCodeableConcept("amountType", element.getAmountType()); + if (element.hasComparator()) { + composeCodeableConcept("comparator", element.getComparator()); } if (element.hasSource()) { openArray("source"); @@ -66240,8 +65535,9 @@ public class JsonParser extends JsonParserBase { composeEnumerationCore("status", element.getStatusElement(), new TestReport.TestReportStatusEnumFactory(), false); composeEnumerationExtras("status", element.getStatusElement(), new TestReport.TestReportStatusEnumFactory(), false); } - if (element.hasTestScript()) { - composeReference("testScript", element.getTestScript()); + if (element.hasTestScriptElement()) { + composeCanonicalCore("testScript", element.getTestScriptElement(), false); + composeCanonicalExtras("testScript", element.getTestScriptElement(), false); } if (element.hasResultElement()) { composeEnumerationCore("result", element.getResultElement(), new TestReport.TestReportResultEnumFactory(), false); @@ -66875,8 +66171,8 @@ public class JsonParser extends JsonParserBase { composeCoding("type", element.getType()); } if (element.hasResourceElement()) { - composeEnumerationCore("resource", element.getResourceElement(), new TestScript.FHIRDefinedTypeEnumFactory(), false); - composeEnumerationExtras("resource", element.getResourceElement(), new TestScript.FHIRDefinedTypeEnumFactory(), false); + composeUriCore("resource", element.getResourceElement(), false); + composeUriExtras("resource", element.getResourceElement(), false); } if (element.hasLabelElement()) { composeStringCore("label", element.getLabelElement(), false); @@ -67143,6 +66439,213 @@ public class JsonParser extends JsonParserBase { } } + protected void composeTransport(String name, Transport element) throws IOException { + if (element != null) { + prop("resourceType", name); + composeTransportProperties(element); + } + } + + protected void composeTransportProperties(Transport element) throws IOException { + composeDomainResourceProperties(element); + if (element.hasIdentifier()) { + openArray("identifier"); + for (Identifier e : element.getIdentifier()) + composeIdentifier(null, e); + closeArray(); + }; + if (element.hasInstantiatesCanonicalElement()) { + composeCanonicalCore("instantiatesCanonical", element.getInstantiatesCanonicalElement(), false); + composeCanonicalExtras("instantiatesCanonical", element.getInstantiatesCanonicalElement(), false); + } + if (element.hasInstantiatesUriElement()) { + composeUriCore("instantiatesUri", element.getInstantiatesUriElement(), false); + composeUriExtras("instantiatesUri", element.getInstantiatesUriElement(), false); + } + if (element.hasBasedOn()) { + openArray("basedOn"); + for (Reference e : element.getBasedOn()) + composeReference(null, e); + closeArray(); + }; + if (element.hasGroupIdentifier()) { + composeIdentifier("groupIdentifier", element.getGroupIdentifier()); + } + if (element.hasPartOf()) { + openArray("partOf"); + for (Reference e : element.getPartOf()) + composeReference(null, e); + closeArray(); + }; + if (element.hasStatusElement()) { + composeEnumerationCore("status", element.getStatusElement(), new Transport.TransportStatusEnumFactory(), false); + composeEnumerationExtras("status", element.getStatusElement(), new Transport.TransportStatusEnumFactory(), false); + } + if (element.hasStatusReason()) { + composeCodeableConcept("statusReason", element.getStatusReason()); + } + if (element.hasIntentElement()) { + composeEnumerationCore("intent", element.getIntentElement(), new Transport.TransportIntentEnumFactory(), false); + composeEnumerationExtras("intent", element.getIntentElement(), new Transport.TransportIntentEnumFactory(), false); + } + if (element.hasPriorityElement()) { + composeEnumerationCore("priority", element.getPriorityElement(), new Enumerations.RequestPriorityEnumFactory(), false); + composeEnumerationExtras("priority", element.getPriorityElement(), new Enumerations.RequestPriorityEnumFactory(), false); + } + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } + if (element.hasDescriptionElement()) { + composeStringCore("description", element.getDescriptionElement(), false); + composeStringExtras("description", element.getDescriptionElement(), false); + } + if (element.hasFocus()) { + composeReference("focus", element.getFocus()); + } + if (element.hasFor()) { + composeReference("for", element.getFor()); + } + if (element.hasEncounter()) { + composeReference("encounter", element.getEncounter()); + } + if (element.hasCompletionTimeElement()) { + composeDateTimeCore("completionTime", element.getCompletionTimeElement(), false); + composeDateTimeExtras("completionTime", element.getCompletionTimeElement(), false); + } + if (element.hasAuthoredOnElement()) { + composeDateTimeCore("authoredOn", element.getAuthoredOnElement(), false); + composeDateTimeExtras("authoredOn", element.getAuthoredOnElement(), false); + } + if (element.hasLastModifiedElement()) { + composeDateTimeCore("lastModified", element.getLastModifiedElement(), false); + composeDateTimeExtras("lastModified", element.getLastModifiedElement(), false); + } + if (element.hasRequester()) { + composeReference("requester", element.getRequester()); + } + if (element.hasPerformerType()) { + openArray("performerType"); + for (CodeableConcept e : element.getPerformerType()) + composeCodeableConcept(null, e); + closeArray(); + }; + if (element.hasOwner()) { + composeReference("owner", element.getOwner()); + } + if (element.hasLocation()) { + composeReference("location", element.getLocation()); + } + if (element.hasReasonCode()) { + composeCodeableConcept("reasonCode", element.getReasonCode()); + } + if (element.hasReasonReference()) { + composeReference("reasonReference", element.getReasonReference()); + } + if (element.hasInsurance()) { + openArray("insurance"); + for (Reference e : element.getInsurance()) + composeReference(null, e); + closeArray(); + }; + if (element.hasNote()) { + openArray("note"); + for (Annotation e : element.getNote()) + composeAnnotation(null, e); + closeArray(); + }; + if (element.hasRelevantHistory()) { + openArray("relevantHistory"); + for (Reference e : element.getRelevantHistory()) + composeReference(null, e); + closeArray(); + }; + if (element.hasRestriction()) { + composeTransportRestrictionComponent("restriction", element.getRestriction()); + } + if (element.hasInput()) { + openArray("input"); + for (Transport.ParameterComponent e : element.getInput()) + composeParameterComponent(null, e); + closeArray(); + }; + if (element.hasOutput()) { + openArray("output"); + for (Transport.TransportOutputComponent e : element.getOutput()) + composeTransportOutputComponent(null, e); + closeArray(); + }; + if (element.hasRequestedLocation()) { + composeReference("requestedLocation", element.getRequestedLocation()); + } + if (element.hasCurrentLocation()) { + composeReference("currentLocation", element.getCurrentLocation()); + } + if (element.hasHistory()) { + composeReference("history", element.getHistory()); + } + } + + protected void composeTransportRestrictionComponent(String name, Transport.TransportRestrictionComponent element) throws IOException { + if (element != null) { + open(name); + composeTransportRestrictionComponentProperties(element); + close(); + } + } + + protected void composeTransportRestrictionComponentProperties(Transport.TransportRestrictionComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasRepetitionsElement()) { + composePositiveIntCore("repetitions", element.getRepetitionsElement(), false); + composePositiveIntExtras("repetitions", element.getRepetitionsElement(), false); + } + if (element.hasPeriod()) { + composePeriod("period", element.getPeriod()); + } + if (element.hasRecipient()) { + openArray("recipient"); + for (Reference e : element.getRecipient()) + composeReference(null, e); + closeArray(); + }; + } + + protected void composeParameterComponent(String name, Transport.ParameterComponent element) throws IOException { + if (element != null) { + open(name); + composeParameterComponentProperties(element); + close(); + } + } + + protected void composeParameterComponentProperties(Transport.ParameterComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } + } + + protected void composeTransportOutputComponent(String name, Transport.TransportOutputComponent element) throws IOException { + if (element != null) { + open(name); + composeTransportOutputComponentProperties(element); + close(); + } + } + + protected void composeTransportOutputComponentProperties(Transport.TransportOutputComponent element) throws IOException { + composeBackboneElementProperties(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } + } + protected void composeValueSet(String name, ValueSet element) throws IOException { if (element != null) { prop("resourceType", name); @@ -67572,10 +67075,6 @@ public class JsonParser extends JsonParserBase { protected void composeValueSetScopeComponentProperties(ValueSet.ValueSetScopeComponent element) throws IOException { composeBackboneElementProperties(element); - if (element.hasFocusElement()) { - composeStringCore("focus", element.getFocusElement(), false); - composeStringExtras("focus", element.getFocusElement(), false); - } if (element.hasInclusionCriteriaElement()) { composeStringCore("inclusionCriteria", element.getInclusionCriteriaElement(), false); composeStringExtras("inclusionCriteria", element.getInclusionCriteriaElement(), false); @@ -67960,8 +67459,6 @@ public class JsonParser extends JsonParserBase { composeClinicalImpression("ClinicalImpression", (ClinicalImpression)resource); } else if (resource instanceof ClinicalUseDefinition) { composeClinicalUseDefinition("ClinicalUseDefinition", (ClinicalUseDefinition)resource); - } else if (resource instanceof ClinicalUseIssue) { - composeClinicalUseIssue("ClinicalUseIssue", (ClinicalUseIssue)resource); } else if (resource instanceof CodeSystem) { composeCodeSystem("CodeSystem", (CodeSystem)resource); } else if (resource instanceof Communication) { @@ -67974,8 +67471,6 @@ public class JsonParser extends JsonParserBase { composeComposition("Composition", (Composition)resource); } else if (resource instanceof ConceptMap) { composeConceptMap("ConceptMap", (ConceptMap)resource); - } else if (resource instanceof ConceptMap2) { - composeConceptMap2("ConceptMap2", (ConceptMap2)resource); } else if (resource instanceof Condition) { composeCondition("Condition", (Condition)resource); } else if (resource instanceof ConditionDefinition) { @@ -68036,6 +67531,8 @@ public class JsonParser extends JsonParserBase { composeFamilyMemberHistory("FamilyMemberHistory", (FamilyMemberHistory)resource); } else if (resource instanceof Flag) { composeFlag("Flag", (Flag)resource); + } else if (resource instanceof FormularyItem) { + composeFormularyItem("FormularyItem", (FormularyItem)resource); } else if (resource instanceof Goal) { composeGoal("Goal", (Goal)resource); } else if (resource instanceof GraphDefinition) { @@ -68208,6 +67705,8 @@ public class JsonParser extends JsonParserBase { composeTestReport("TestReport", (TestReport)resource); } else if (resource instanceof TestScript) { composeTestScript("TestScript", (TestScript)resource); + } else if (resource instanceof Transport) { + composeTransport("Transport", (Transport)resource); } else if (resource instanceof ValueSet) { composeValueSet("ValueSet", (ValueSet)resource); } else if (resource instanceof VerificationResult) { @@ -68272,8 +67771,6 @@ public class JsonParser extends JsonParserBase { composeClinicalImpression(name, (ClinicalImpression)resource); } else if (resource instanceof ClinicalUseDefinition) { composeClinicalUseDefinition(name, (ClinicalUseDefinition)resource); - } else if (resource instanceof ClinicalUseIssue) { - composeClinicalUseIssue(name, (ClinicalUseIssue)resource); } else if (resource instanceof CodeSystem) { composeCodeSystem(name, (CodeSystem)resource); } else if (resource instanceof Communication) { @@ -68286,8 +67783,6 @@ public class JsonParser extends JsonParserBase { composeComposition(name, (Composition)resource); } else if (resource instanceof ConceptMap) { composeConceptMap(name, (ConceptMap)resource); - } else if (resource instanceof ConceptMap2) { - composeConceptMap2(name, (ConceptMap2)resource); } else if (resource instanceof Condition) { composeCondition(name, (Condition)resource); } else if (resource instanceof ConditionDefinition) { @@ -68348,6 +67843,8 @@ public class JsonParser extends JsonParserBase { composeFamilyMemberHistory(name, (FamilyMemberHistory)resource); } else if (resource instanceof Flag) { composeFlag(name, (Flag)resource); + } else if (resource instanceof FormularyItem) { + composeFormularyItem(name, (FormularyItem)resource); } else if (resource instanceof Goal) { composeGoal(name, (Goal)resource); } else if (resource instanceof GraphDefinition) { @@ -68520,6 +68017,8 @@ public class JsonParser extends JsonParserBase { composeTestReport(name, (TestReport)resource); } else if (resource instanceof TestScript) { composeTestScript(name, (TestScript)resource); + } else if (resource instanceof Transport) { + composeTransport(name, (Transport)resource); } else if (resource instanceof ValueSet) { composeValueSet(name, (ValueSet)resource); } else if (resource instanceof VerificationResult) { @@ -68568,6 +68067,8 @@ public class JsonParser extends JsonParserBase { composeElementDefinition(prefix+"ElementDefinition", (ElementDefinition) type); } else if (type instanceof Expression) { composeExpression(prefix+"Expression", (Expression) type); + } else if (type instanceof ExtendedContactDetail) { + composeExtendedContactDetail(prefix+"ExtendedContactDetail", (ExtendedContactDetail) type); } else if (type instanceof Extension) { composeExtension(prefix+"Extension", (Extension) type); } else if (type instanceof HumanName) { @@ -68588,8 +68089,6 @@ public class JsonParser extends JsonParserBase { composePeriod(prefix+"Period", (Period) type); } else if (type instanceof Population) { composePopulation(prefix+"Population", (Population) type); - } else if (type instanceof ProdCharacteristic) { - composeProdCharacteristic(prefix+"ProdCharacteristic", (ProdCharacteristic) type); } else if (type instanceof ProductShelfLife) { composeProductShelfLife(prefix+"ProductShelfLife", (ProductShelfLife) type); } else if (type instanceof Quantity) { @@ -68735,6 +68234,8 @@ public class JsonParser extends JsonParserBase { composeElementDefinitionProperties((ElementDefinition) type); } else if (type instanceof Expression) { composeExpressionProperties((Expression) type); + } else if (type instanceof ExtendedContactDetail) { + composeExtendedContactDetailProperties((ExtendedContactDetail) type); } else if (type instanceof Extension) { composeExtensionProperties((Extension) type); } else if (type instanceof HumanName) { @@ -68755,8 +68256,6 @@ public class JsonParser extends JsonParserBase { composePeriodProperties((Period) type); } else if (type instanceof Population) { composePopulationProperties((Population) type); - } else if (type instanceof ProdCharacteristic) { - composeProdCharacteristicProperties((ProdCharacteristic) type); } else if (type instanceof ProductShelfLife) { composeProductShelfLifeProperties((ProductShelfLife) type); } else if (type instanceof Quantity) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/ParserBase.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/ParserBase.java index 14d0d0b10..0631b50a2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/ParserBase.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/ParserBase.java @@ -140,7 +140,7 @@ public abstract class ParserBase extends FormatUtilities implements IParser { * @return Whether to throw an exception if unknown content is found (or just skip it) */ public boolean isAllowUnknownContent() { - return allowUnknownContent; + return true; // allowUnknownContent; } /** * @param allowUnknownContent Whether to throw an exception if unknown content is found (or just skip it) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/RdfParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/RdfParser.java index 34722b8ff..be8d7d710 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/RdfParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/RdfParser.java @@ -31,7 +31,7 @@ package org.hl7.fhir.r5.formats; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 21, 2021 05:44+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent @@ -658,8 +658,11 @@ public class RdfParser extends RdfParserBase { if (element.hasTiming()) { composeTiming(t, "Dosage", "timing", element.getTiming(), -1); } - if (element.hasAsNeeded()) { - composeType(t, "Dosage", "asNeeded", element.getAsNeeded(), -1); + if (element.hasAsNeededElement()) { + composeBoolean(t, "Dosage", "asNeeded", element.getAsNeededElement(), -1); + } + for (int i = 0; i < element.getAsNeededFor().size(); i++) { + composeCodeableConcept(t, "Dosage", "asNeededFor", element.getAsNeededFor().get(i), i); } if (element.hasSite()) { composeCodeableConcept(t, "Dosage", "site", element.getSite(), -1); @@ -673,8 +676,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getDoseAndRate().size(); i++) { composeDosageDoseAndRateComponent(t, "Dosage", "doseAndRate", element.getDoseAndRate().get(i), i); } - if (element.hasMaxDosePerPeriod()) { - composeRatio(t, "Dosage", "maxDosePerPeriod", element.getMaxDosePerPeriod(), -1); + for (int i = 0; i < element.getMaxDosePerPeriod().size(); i++) { + composeRatio(t, "Dosage", "maxDosePerPeriod", element.getMaxDosePerPeriod().get(i), i); } if (element.hasMaxDosePerAdministration()) { composeQuantity(t, "Dosage", "maxDosePerAdministration", element.getMaxDosePerAdministration(), -1); @@ -1044,6 +1047,36 @@ public class RdfParser extends RdfParserBase { } } + protected void composeExtendedContactDetail(Complex parent, String parentType, String name, ExtendedContactDetail element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeDataType(t, "ExtendedContactDetail", name, element, index); + if (element.hasPurpose()) { + composeCodeableConcept(t, "ExtendedContactDetail", "purpose", element.getPurpose(), -1); + } + if (element.hasName()) { + composeHumanName(t, "ExtendedContactDetail", "name", element.getName(), -1); + } + for (int i = 0; i < element.getTelecom().size(); i++) { + composeContactPoint(t, "ExtendedContactDetail", "telecom", element.getTelecom().get(i), i); + } + if (element.hasAddress()) { + composeAddress(t, "ExtendedContactDetail", "address", element.getAddress(), -1); + } + if (element.hasOrganization()) { + composeReference(t, "ExtendedContactDetail", "organization", element.getOrganization(), -1); + } + if (element.hasPeriod()) { + composePeriod(t, "ExtendedContactDetail", "period", element.getPeriod(), -1); + } + } + protected void composeExtension(Complex parent, String parentType, String name, Extension element, int index) { if (element == null) return; @@ -1293,51 +1326,6 @@ public class RdfParser extends RdfParserBase { } } - protected void composeProdCharacteristic(Complex parent, String parentType, String name, ProdCharacteristic element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneType(t, "ProdCharacteristic", name, element, index); - if (element.hasHeight()) { - composeQuantity(t, "ProdCharacteristic", "height", element.getHeight(), -1); - } - if (element.hasWidth()) { - composeQuantity(t, "ProdCharacteristic", "width", element.getWidth(), -1); - } - if (element.hasDepth()) { - composeQuantity(t, "ProdCharacteristic", "depth", element.getDepth(), -1); - } - if (element.hasWeight()) { - composeQuantity(t, "ProdCharacteristic", "weight", element.getWeight(), -1); - } - if (element.hasNominalVolume()) { - composeQuantity(t, "ProdCharacteristic", "nominalVolume", element.getNominalVolume(), -1); - } - if (element.hasExternalDiameter()) { - composeQuantity(t, "ProdCharacteristic", "externalDiameter", element.getExternalDiameter(), -1); - } - if (element.hasShapeElement()) { - composeString(t, "ProdCharacteristic", "shape", element.getShapeElement(), -1); - } - for (int i = 0; i < element.getColor().size(); i++) { - composeString(t, "ProdCharacteristic", "color", element.getColor().get(i), i); - } - for (int i = 0; i < element.getImprint().size(); i++) { - composeString(t, "ProdCharacteristic", "imprint", element.getImprint().get(i), i); - } - for (int i = 0; i < element.getImage().size(); i++) { - composeAttachment(t, "ProdCharacteristic", "image", element.getImage().get(i), i); - } - if (element.hasScoring()) { - composeCodeableConcept(t, "ProdCharacteristic", "scoring", element.getScoring(), -1); - } - } - protected void composeProductShelfLife(Complex parent, String parentType, String name, ProductShelfLife element, int index) { if (element == null) return; @@ -2276,6 +2264,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getParticipant().size(); i++) { composeAdverseEventParticipantComponent(t, "AdverseEvent", "participant", element.getParticipant().get(i), i); } + if (element.hasExpectedInResearchStudyElement()) { + composeBoolean(t, "AdverseEvent", "expectedInResearchStudy", element.getExpectedInResearchStudyElement(), -1); + } for (int i = 0; i < element.getSuspectEntity().size(); i++) { composeAdverseEventSuspectEntityComponent(t, "AdverseEvent", "suspectEntity", element.getSuspectEntity().get(i), i); } @@ -2456,11 +2447,8 @@ public class RdfParser extends RdfParserBase { if (element.hasRecordedDateElement()) { composeDateTime(t, "AllergyIntolerance", "recordedDate", element.getRecordedDateElement(), -1); } - if (element.hasRecorder()) { - composeReference(t, "AllergyIntolerance", "recorder", element.getRecorder(), -1); - } - if (element.hasAsserter()) { - composeReference(t, "AllergyIntolerance", "asserter", element.getAsserter(), -1); + for (int i = 0; i < element.getParticipant().size(); i++) { + composeAllergyIntoleranceParticipantComponent(t, "AllergyIntolerance", "participant", element.getParticipant().get(i), i); } if (element.hasLastOccurrenceElement()) { composeDateTime(t, "AllergyIntolerance", "lastOccurrence", element.getLastOccurrenceElement(), -1); @@ -2473,6 +2461,24 @@ public class RdfParser extends RdfParserBase { } } + protected void composeAllergyIntoleranceParticipantComponent(Complex parent, String parentType, String name, AllergyIntolerance.AllergyIntoleranceParticipantComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "participant", name, element, index); + if (element.hasFunction()) { + composeCodeableConcept(t, "AllergyIntoleranceParticipantComponent", "function", element.getFunction(), -1); + } + if (element.hasActor()) { + composeReference(t, "AllergyIntoleranceParticipantComponent", "actor", element.getActor(), -1); + } + } + protected void composeAllergyIntoleranceReactionComponent(Complex parent, String parentType, String name, AllergyIntolerance.AllergyIntoleranceReactionComponent element, int index) { if (element == null) return; @@ -2529,7 +2535,7 @@ public class RdfParser extends RdfParserBase { composeCodeableConcept(t, "Appointment", "serviceCategory", element.getServiceCategory().get(i), i); } for (int i = 0; i < element.getServiceType().size(); i++) { - composeCodeableConcept(t, "Appointment", "serviceType", element.getServiceType().get(i), i); + composeCodeableReference(t, "Appointment", "serviceType", element.getServiceType().get(i), i); } for (int i = 0; i < element.getSpecialty().size(); i++) { composeCodeableConcept(t, "Appointment", "specialty", element.getSpecialty().get(i), i); @@ -2662,7 +2668,7 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeMetadataResource(t, "ArtifactAssessment", name, element, index); + composeDomainResource(t, "ArtifactAssessment", name, element, index); for (int i = 0; i < element.getIdentifier().size(); i++) { composeIdentifier(t, "ArtifactAssessment", "identifier", element.getIdentifier().get(i), i); } @@ -2771,6 +2777,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getBasedOn().size(); i++) { composeReference(t, "AuditEvent", "basedOn", element.getBasedOn().get(i), i); } + if (element.hasPatient()) { + composeReference(t, "AuditEvent", "patient", element.getPatient(), -1); + } if (element.hasEncounter()) { composeReference(t, "AuditEvent", "encounter", element.getEncounter(), -1); } @@ -2928,7 +2937,7 @@ public class RdfParser extends RdfParserBase { composeReference(t, "Basic", "subject", element.getSubject(), -1); } if (element.hasCreatedElement()) { - composeDate(t, "Basic", "created", element.getCreatedElement(), -1); + composeDateTime(t, "Basic", "created", element.getCreatedElement(), -1); } if (element.hasAuthor()) { composeReference(t, "Basic", "author", element.getAuthor(), -1); @@ -2966,11 +2975,11 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeDomainResource(t, "BiologicallyDerivedProduct", name, element, index); - if (element.hasProductCategoryElement()) { - composeEnum(t, "BiologicallyDerivedProduct", "productCategory", element.getProductCategoryElement(), -1); + if (element.hasProductCategory()) { + composeCoding(t, "BiologicallyDerivedProduct", "productCategory", element.getProductCategory(), -1); } if (element.hasProductCode()) { - composeCodeableConcept(t, "BiologicallyDerivedProduct", "productCode", element.getProductCode(), -1); + composeCoding(t, "BiologicallyDerivedProduct", "productCode", element.getProductCode(), -1); } for (int i = 0; i < element.getParent().size(); i++) { composeReference(t, "BiologicallyDerivedProduct", "parent", element.getParent().get(i), i); @@ -2981,8 +2990,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getIdentifier().size(); i++) { composeIdentifier(t, "BiologicallyDerivedProduct", "identifier", element.getIdentifier().get(i), i); } - if (element.hasBiologicalSource()) { - composeIdentifier(t, "BiologicallyDerivedProduct", "biologicalSource", element.getBiologicalSource(), -1); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier(t, "BiologicallyDerivedProduct", "biologicalSourceEvent", element.getBiologicalSourceEvent(), -1); } for (int i = 0; i < element.getProcessingFacility().size(); i++) { composeReference(t, "BiologicallyDerivedProduct", "processingFacility", element.getProcessingFacility().get(i), i); @@ -2990,8 +2999,8 @@ public class RdfParser extends RdfParserBase { if (element.hasDivisionElement()) { composeString(t, "BiologicallyDerivedProduct", "division", element.getDivisionElement(), -1); } - if (element.hasStatusElement()) { - composeEnum(t, "BiologicallyDerivedProduct", "status", element.getStatusElement(), -1); + if (element.hasProductStatus()) { + composeCoding(t, "BiologicallyDerivedProduct", "productStatus", element.getProductStatus(), -1); } if (element.hasExpirationDateElement()) { composeDateTime(t, "BiologicallyDerivedProduct", "expirationDate", element.getExpirationDateElement(), -1); @@ -3039,7 +3048,7 @@ public class RdfParser extends RdfParserBase { } composeBackboneElement(t, "property", name, element, index); if (element.hasType()) { - composeCodeableConcept(t, "BiologicallyDerivedProductPropertyComponent", "type", element.getType(), -1); + composeCoding(t, "BiologicallyDerivedProductPropertyComponent", "type", element.getType(), -1); } if (element.hasValue()) { composeType(t, "BiologicallyDerivedProductPropertyComponent", "value", element.getValue(), -1); @@ -3065,9 +3074,6 @@ public class RdfParser extends RdfParserBase { if (element.hasMorphology()) { composeCodeableConcept(t, "BodyStructure", "morphology", element.getMorphology(), -1); } - if (element.hasLocation()) { - composeCodeableConcept(t, "BodyStructure", "location", element.getLocation(), -1); - } for (int i = 0; i < element.getIncludedStructure().size(); i++) { composeBodyStructureIncludedStructureComponent(t, "BodyStructure", "includedStructure", element.getIncludedStructure().get(i), i); } @@ -4061,8 +4067,8 @@ public class RdfParser extends RdfParserBase { if (element.hasCreatedElement()) { composeDateTime(t, "CarePlan", "created", element.getCreatedElement(), -1); } - if (element.hasAuthor()) { - composeReference(t, "CarePlan", "author", element.getAuthor(), -1); + if (element.hasCustodian()) { + composeReference(t, "CarePlan", "custodian", element.getCustodian(), -1); } for (int i = 0; i < element.getContributor().size(); i++) { composeReference(t, "CarePlan", "contributor", element.getContributor().get(i), i); @@ -4689,7 +4695,7 @@ public class RdfParser extends RdfParserBase { composeCitationCitedArtifactPartComponent(t, "CitationCitedArtifactComponent", "part", element.getPart(), -1); } for (int i = 0; i < element.getRelatesTo().size(); i++) { - composeRelatedArtifact(t, "CitationCitedArtifactComponent", "relatesTo", element.getRelatesTo().get(i), i); + composeCitationCitedArtifactRelatesToComponent(t, "CitationCitedArtifactComponent", "relatesTo", element.getRelatesTo().get(i), i); } for (int i = 0; i < element.getPublicationForm().size(); i++) { composeCitationCitedArtifactPublicationFormComponent(t, "CitationCitedArtifactComponent", "publicationForm", element.getPublicationForm().get(i), i); @@ -4813,6 +4819,42 @@ public class RdfParser extends RdfParserBase { } } + protected void composeCitationCitedArtifactRelatesToComponent(Complex parent, String parentType, String name, Citation.CitationCitedArtifactRelatesToComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "relatesTo", name, element, index); + if (element.hasTypeElement()) { + composeEnum(t, "CitationCitedArtifactRelatesToComponent", "type", element.getTypeElement(), -1); + } + for (int i = 0; i < element.getClassifier().size(); i++) { + composeCodeableConcept(t, "CitationCitedArtifactRelatesToComponent", "classifier", element.getClassifier().get(i), i); + } + if (element.hasLabelElement()) { + composeString(t, "CitationCitedArtifactRelatesToComponent", "label", element.getLabelElement(), -1); + } + if (element.hasDisplayElement()) { + composeString(t, "CitationCitedArtifactRelatesToComponent", "display", element.getDisplayElement(), -1); + } + if (element.hasCitationElement()) { + composeMarkdown(t, "CitationCitedArtifactRelatesToComponent", "citation", element.getCitationElement(), -1); + } + if (element.hasDocument()) { + composeAttachment(t, "CitationCitedArtifactRelatesToComponent", "document", element.getDocument(), -1); + } + if (element.hasResourceElement()) { + composeCanonical(t, "CitationCitedArtifactRelatesToComponent", "resource", element.getResourceElement(), -1); + } + if (element.hasResourceReference()) { + composeReference(t, "CitationCitedArtifactRelatesToComponent", "resourceReference", element.getResourceReference(), -1); + } + } + protected void composeCitationCitedArtifactPublicationFormComponent(Complex parent, String parentType, String name, Citation.CitationCitedArtifactPublicationFormComponent element, int index) { if (element == null) return; @@ -4973,35 +5015,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getClassifier().size(); i++) { composeCodeableConcept(t, "CitationCitedArtifactClassificationComponent", "classifier", element.getClassifier().get(i), i); } - if (element.hasWhoClassified()) { - composeCitationCitedArtifactClassificationWhoClassifiedComponent(t, "CitationCitedArtifactClassificationComponent", "whoClassified", element.getWhoClassified(), -1); - } - } - - protected void composeCitationCitedArtifactClassificationWhoClassifiedComponent(Complex parent, String parentType, String name, Citation.CitationCitedArtifactClassificationWhoClassifiedComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "whoClassified", name, element, index); - if (element.hasPerson()) { - composeReference(t, "CitationCitedArtifactClassificationWhoClassifiedComponent", "person", element.getPerson(), -1); - } - if (element.hasOrganization()) { - composeReference(t, "CitationCitedArtifactClassificationWhoClassifiedComponent", "organization", element.getOrganization(), -1); - } - if (element.hasPublisher()) { - composeReference(t, "CitationCitedArtifactClassificationWhoClassifiedComponent", "publisher", element.getPublisher(), -1); - } - if (element.hasClassifierCopyrightElement()) { - composeString(t, "CitationCitedArtifactClassificationWhoClassifiedComponent", "classifierCopyright", element.getClassifierCopyrightElement(), -1); - } - if (element.hasFreeToShareElement()) { - composeBoolean(t, "CitationCitedArtifactClassificationWhoClassifiedComponent", "freeToShare", element.getFreeToShareElement(), -1); + for (int i = 0; i < element.getArtifactAssessment().size(); i++) { + composeReference(t, "CitationCitedArtifactClassificationComponent", "artifactAssessment", element.getArtifactAssessment().get(i), i); } } @@ -5022,7 +5037,7 @@ public class RdfParser extends RdfParserBase { composeCitationCitedArtifactContributorshipEntryComponent(t, "CitationCitedArtifactContributorshipComponent", "entry", element.getEntry().get(i), i); } for (int i = 0; i < element.getSummary().size(); i++) { - composeCitationCitedArtifactContributorshipSummaryComponent(t, "CitationCitedArtifactContributorshipComponent", "summary", element.getSummary().get(i), i); + composeCitationContributorshipSummaryComponent(t, "CitationCitedArtifactContributorshipComponent", "summary", element.getSummary().get(i), i); } } @@ -5036,26 +5051,14 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "entry", name, element, index); - if (element.hasName()) { - composeHumanName(t, "CitationCitedArtifactContributorshipEntryComponent", "name", element.getName(), -1); + if (element.hasContributor()) { + composeReference(t, "CitationCitedArtifactContributorshipEntryComponent", "contributor", element.getContributor(), -1); } - if (element.hasInitialsElement()) { - composeString(t, "CitationCitedArtifactContributorshipEntryComponent", "initials", element.getInitialsElement(), -1); + if (element.hasForenameInitialsElement()) { + composeString(t, "CitationCitedArtifactContributorshipEntryComponent", "forenameInitials", element.getForenameInitialsElement(), -1); } - if (element.hasCollectiveNameElement()) { - composeString(t, "CitationCitedArtifactContributorshipEntryComponent", "collectiveName", element.getCollectiveNameElement(), -1); - } - for (int i = 0; i < element.getIdentifier().size(); i++) { - composeIdentifier(t, "CitationCitedArtifactContributorshipEntryComponent", "identifier", element.getIdentifier().get(i), i); - } - for (int i = 0; i < element.getAffiliationInfo().size(); i++) { - composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(t, "CitationCitedArtifactContributorshipEntryComponent", "affiliationInfo", element.getAffiliationInfo().get(i), i); - } - for (int i = 0; i < element.getAddress().size(); i++) { - composeAddress(t, "CitationCitedArtifactContributorshipEntryComponent", "address", element.getAddress().get(i), i); - } - for (int i = 0; i < element.getTelecom().size(); i++) { - composeContactPoint(t, "CitationCitedArtifactContributorshipEntryComponent", "telecom", element.getTelecom().get(i), i); + for (int i = 0; i < element.getAffiliation().size(); i++) { + composeReference(t, "CitationCitedArtifactContributorshipEntryComponent", "affiliation", element.getAffiliation().get(i), i); } for (int i = 0; i < element.getContributionType().size(); i++) { composeCodeableConcept(t, "CitationCitedArtifactContributorshipEntryComponent", "contributionType", element.getContributionType().get(i), i); @@ -5074,27 +5077,6 @@ public class RdfParser extends RdfParserBase { } } - protected void composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(Complex parent, String parentType, String name, Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "affiliationInfo", name, element, index); - if (element.hasAffiliationElement()) { - composeString(t, "CitationCitedArtifactContributorshipEntryAffiliationInfoComponent", "affiliation", element.getAffiliationElement(), -1); - } - if (element.hasRoleElement()) { - composeString(t, "CitationCitedArtifactContributorshipEntryAffiliationInfoComponent", "role", element.getRoleElement(), -1); - } - for (int i = 0; i < element.getIdentifier().size(); i++) { - composeIdentifier(t, "CitationCitedArtifactContributorshipEntryAffiliationInfoComponent", "identifier", element.getIdentifier().get(i), i); - } - } - protected void composeCitationCitedArtifactContributorshipEntryContributionInstanceComponent(Complex parent, String parentType, String name, Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent element, int index) { if (element == null) return; @@ -5113,7 +5095,7 @@ public class RdfParser extends RdfParserBase { } } - protected void composeCitationCitedArtifactContributorshipSummaryComponent(Complex parent, String parentType, String name, Citation.CitationCitedArtifactContributorshipSummaryComponent element, int index) { + protected void composeCitationContributorshipSummaryComponent(Complex parent, String parentType, String name, Citation.ContributorshipSummaryComponent element, int index) { if (element == null) return; Complex t; @@ -5124,16 +5106,16 @@ public class RdfParser extends RdfParserBase { } composeBackboneElement(t, "summary", name, element, index); if (element.hasType()) { - composeCodeableConcept(t, "CitationCitedArtifactContributorshipSummaryComponent", "type", element.getType(), -1); + composeCodeableConcept(t, "ContributorshipSummaryComponent", "type", element.getType(), -1); } if (element.hasStyle()) { - composeCodeableConcept(t, "CitationCitedArtifactContributorshipSummaryComponent", "style", element.getStyle(), -1); + composeCodeableConcept(t, "ContributorshipSummaryComponent", "style", element.getStyle(), -1); } if (element.hasSource()) { - composeCodeableConcept(t, "CitationCitedArtifactContributorshipSummaryComponent", "source", element.getSource(), -1); + composeCodeableConcept(t, "ContributorshipSummaryComponent", "source", element.getSource(), -1); } if (element.hasValueElement()) { - composeMarkdown(t, "CitationCitedArtifactContributorshipSummaryComponent", "value", element.getValueElement(), -1); + composeMarkdown(t, "ContributorshipSummaryComponent", "value", element.getValueElement(), -1); } } @@ -6249,7 +6231,7 @@ public class RdfParser extends RdfParserBase { composeCodeableReference(t, "ClinicalUseDefinitionIndicationComponent", "intendedEffect", element.getIntendedEffect(), -1); } if (element.hasDuration()) { - composeQuantity(t, "ClinicalUseDefinitionIndicationComponent", "duration", element.getDuration(), -1); + composeType(t, "ClinicalUseDefinitionIndicationComponent", "duration", element.getDuration(), -1); } for (int i = 0; i < element.getUndesirableEffect().size(); i++) { composeReference(t, "ClinicalUseDefinitionIndicationComponent", "undesirableEffect", element.getUndesirableEffect().get(i), i); @@ -6340,192 +6322,6 @@ public class RdfParser extends RdfParserBase { } } - protected void composeClinicalUseIssue(Complex parent, String parentType, String name, ClinicalUseIssue element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeDomainResource(t, "ClinicalUseIssue", name, element, index); - for (int i = 0; i < element.getIdentifier().size(); i++) { - composeIdentifier(t, "ClinicalUseIssue", "identifier", element.getIdentifier().get(i), i); - } - if (element.hasTypeElement()) { - composeEnum(t, "ClinicalUseIssue", "type", element.getTypeElement(), -1); - } - for (int i = 0; i < element.getCategory().size(); i++) { - composeCodeableConcept(t, "ClinicalUseIssue", "category", element.getCategory().get(i), i); - } - for (int i = 0; i < element.getSubject().size(); i++) { - composeReference(t, "ClinicalUseIssue", "subject", element.getSubject().get(i), i); - } - if (element.hasStatus()) { - composeCodeableConcept(t, "ClinicalUseIssue", "status", element.getStatus(), -1); - } - if (element.hasDescriptionElement()) { - composeMarkdown(t, "ClinicalUseIssue", "description", element.getDescriptionElement(), -1); - } - if (element.hasContraindication()) { - composeClinicalUseIssueContraindicationComponent(t, "ClinicalUseIssue", "contraindication", element.getContraindication(), -1); - } - if (element.hasIndication()) { - composeClinicalUseIssueIndicationComponent(t, "ClinicalUseIssue", "indication", element.getIndication(), -1); - } - if (element.hasInteraction()) { - composeClinicalUseIssueInteractionComponent(t, "ClinicalUseIssue", "interaction", element.getInteraction(), -1); - } - for (int i = 0; i < element.getPopulation().size(); i++) { - composePopulation(t, "ClinicalUseIssue", "population", element.getPopulation().get(i), i); - } - if (element.hasUndesirableEffect()) { - composeClinicalUseIssueUndesirableEffectComponent(t, "ClinicalUseIssue", "undesirableEffect", element.getUndesirableEffect(), -1); - } - } - - protected void composeClinicalUseIssueContraindicationComponent(Complex parent, String parentType, String name, ClinicalUseIssue.ClinicalUseIssueContraindicationComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "contraindication", name, element, index); - if (element.hasDiseaseSymptomProcedure()) { - composeCodeableReference(t, "ClinicalUseIssueContraindicationComponent", "diseaseSymptomProcedure", element.getDiseaseSymptomProcedure(), -1); - } - if (element.hasDiseaseStatus()) { - composeCodeableReference(t, "ClinicalUseIssueContraindicationComponent", "diseaseStatus", element.getDiseaseStatus(), -1); - } - for (int i = 0; i < element.getComorbidity().size(); i++) { - composeCodeableReference(t, "ClinicalUseIssueContraindicationComponent", "comorbidity", element.getComorbidity().get(i), i); - } - for (int i = 0; i < element.getIndication().size(); i++) { - composeReference(t, "ClinicalUseIssueContraindicationComponent", "indication", element.getIndication().get(i), i); - } - for (int i = 0; i < element.getOtherTherapy().size(); i++) { - composeClinicalUseIssueContraindicationOtherTherapyComponent(t, "ClinicalUseIssueContraindicationComponent", "otherTherapy", element.getOtherTherapy().get(i), i); - } - } - - protected void composeClinicalUseIssueContraindicationOtherTherapyComponent(Complex parent, String parentType, String name, ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "otherTherapy", name, element, index); - if (element.hasRelationshipType()) { - composeCodeableConcept(t, "ClinicalUseIssueContraindicationOtherTherapyComponent", "relationshipType", element.getRelationshipType(), -1); - } - if (element.hasTherapy()) { - composeCodeableReference(t, "ClinicalUseIssueContraindicationOtherTherapyComponent", "therapy", element.getTherapy(), -1); - } - } - - protected void composeClinicalUseIssueIndicationComponent(Complex parent, String parentType, String name, ClinicalUseIssue.ClinicalUseIssueIndicationComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "indication", name, element, index); - if (element.hasDiseaseSymptomProcedure()) { - composeCodeableReference(t, "ClinicalUseIssueIndicationComponent", "diseaseSymptomProcedure", element.getDiseaseSymptomProcedure(), -1); - } - if (element.hasDiseaseStatus()) { - composeCodeableReference(t, "ClinicalUseIssueIndicationComponent", "diseaseStatus", element.getDiseaseStatus(), -1); - } - for (int i = 0; i < element.getComorbidity().size(); i++) { - composeCodeableReference(t, "ClinicalUseIssueIndicationComponent", "comorbidity", element.getComorbidity().get(i), i); - } - if (element.hasIntendedEffect()) { - composeCodeableReference(t, "ClinicalUseIssueIndicationComponent", "intendedEffect", element.getIntendedEffect(), -1); - } - if (element.hasDuration()) { - composeQuantity(t, "ClinicalUseIssueIndicationComponent", "duration", element.getDuration(), -1); - } - for (int i = 0; i < element.getUndesirableEffect().size(); i++) { - composeReference(t, "ClinicalUseIssueIndicationComponent", "undesirableEffect", element.getUndesirableEffect().get(i), i); - } - for (int i = 0; i < element.getOtherTherapy().size(); i++) { - composeClinicalUseIssueContraindicationOtherTherapyComponent(t, "ClinicalUseIssueIndicationComponent", "otherTherapy", element.getOtherTherapy().get(i), i); - } - } - - protected void composeClinicalUseIssueInteractionComponent(Complex parent, String parentType, String name, ClinicalUseIssue.ClinicalUseIssueInteractionComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "interaction", name, element, index); - for (int i = 0; i < element.getInteractant().size(); i++) { - composeClinicalUseIssueInteractionInteractantComponent(t, "ClinicalUseIssueInteractionComponent", "interactant", element.getInteractant().get(i), i); - } - if (element.hasType()) { - composeCodeableConcept(t, "ClinicalUseIssueInteractionComponent", "type", element.getType(), -1); - } - if (element.hasEffect()) { - composeCodeableReference(t, "ClinicalUseIssueInteractionComponent", "effect", element.getEffect(), -1); - } - if (element.hasIncidence()) { - composeCodeableConcept(t, "ClinicalUseIssueInteractionComponent", "incidence", element.getIncidence(), -1); - } - for (int i = 0; i < element.getManagement().size(); i++) { - composeCodeableConcept(t, "ClinicalUseIssueInteractionComponent", "management", element.getManagement().get(i), i); - } - } - - protected void composeClinicalUseIssueInteractionInteractantComponent(Complex parent, String parentType, String name, ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "interactant", name, element, index); - if (element.hasItem()) { - composeType(t, "ClinicalUseIssueInteractionInteractantComponent", "item", element.getItem(), -1); - } - } - - protected void composeClinicalUseIssueUndesirableEffectComponent(Complex parent, String parentType, String name, ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "undesirableEffect", name, element, index); - if (element.hasSymptomConditionEffect()) { - composeCodeableReference(t, "ClinicalUseIssueUndesirableEffectComponent", "symptomConditionEffect", element.getSymptomConditionEffect(), -1); - } - if (element.hasClassification()) { - composeCodeableConcept(t, "ClinicalUseIssueUndesirableEffectComponent", "classification", element.getClassification(), -1); - } - if (element.hasFrequencyOfOccurrence()) { - composeCodeableConcept(t, "ClinicalUseIssueUndesirableEffectComponent", "frequencyOfOccurrence", element.getFrequencyOfOccurrence(), -1); - } - } - protected void composeCodeSystem(Complex parent, String parentType, String name, CodeSystem element, int index) { if (element == null) return; @@ -7004,9 +6800,15 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeDomainResource(t, "Composition", name, element, index); + if (element.hasUrlElement()) { + composeUri(t, "Composition", "url", element.getUrlElement(), -1); + } if (element.hasIdentifier()) { composeIdentifier(t, "Composition", "identifier", element.getIdentifier(), -1); } + if (element.hasVersionElement()) { + composeString(t, "Composition", "version", element.getVersionElement(), -1); + } if (element.hasStatusElement()) { composeEnum(t, "Composition", "status", element.getStatusElement(), -1); } @@ -7025,12 +6827,21 @@ public class RdfParser extends RdfParserBase { if (element.hasDateElement()) { composeDateTime(t, "Composition", "date", element.getDateElement(), -1); } + for (int i = 0; i < element.getUseContext().size(); i++) { + composeUsageContext(t, "Composition", "useContext", element.getUseContext().get(i), i); + } for (int i = 0; i < element.getAuthor().size(); i++) { composeReference(t, "Composition", "author", element.getAuthor().get(i), i); } + if (element.hasNameElement()) { + composeString(t, "Composition", "name", element.getNameElement(), -1); + } if (element.hasTitleElement()) { composeString(t, "Composition", "title", element.getTitleElement(), -1); } + for (int i = 0; i < element.getNote().size(); i++) { + composeAnnotation(t, "Composition", "note", element.getNote().get(i), i); + } if (element.hasConfidentialityElement()) { composeCode(t, "Composition", "confidentiality", element.getConfidentialityElement(), -1); } @@ -7144,7 +6955,7 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeCanonicalResource(t, "ConceptMap", name, element, index); + composeMetadataResource(t, "ConceptMap", name, element, index); if (element.hasUrlElement()) { composeUri(t, "ConceptMap", "url", element.getUrlElement(), -1); } @@ -7190,11 +7001,11 @@ public class RdfParser extends RdfParserBase { if (element.hasCopyrightElement()) { composeMarkdown(t, "ConceptMap", "copyright", element.getCopyrightElement(), -1); } - if (element.hasSource()) { - composeType(t, "ConceptMap", "source", element.getSource(), -1); + if (element.hasSourceScope()) { + composeType(t, "ConceptMap", "sourceScope", element.getSourceScope(), -1); } - if (element.hasTarget()) { - composeType(t, "ConceptMap", "target", element.getTarget(), -1); + if (element.hasTargetScope()) { + composeType(t, "ConceptMap", "targetScope", element.getTargetScope(), -1); } for (int i = 0; i < element.getGroup().size(); i++) { composeConceptMapGroupComponent(t, "ConceptMap", "group", element.getGroup().get(i), i); @@ -7241,6 +7052,9 @@ public class RdfParser extends RdfParserBase { if (element.hasDisplayElement()) { composeString(t, "SourceElementComponent", "display", element.getDisplayElement(), -1); } + if (element.hasValueSetElement()) { + composeCanonical(t, "SourceElementComponent", "valueSet", element.getValueSetElement(), -1); + } if (element.hasNoMapElement()) { composeBoolean(t, "SourceElementComponent", "noMap", element.getNoMapElement(), -1); } @@ -7265,6 +7079,9 @@ public class RdfParser extends RdfParserBase { if (element.hasDisplayElement()) { composeString(t, "TargetElementComponent", "display", element.getDisplayElement(), -1); } + if (element.hasValueSetElement()) { + composeCanonical(t, "TargetElementComponent", "valueSet", element.getValueSetElement(), -1); + } if (element.hasRelationshipElement()) { composeEnum(t, "TargetElementComponent", "relationship", element.getRelationshipElement(), -1); } @@ -7292,14 +7109,11 @@ public class RdfParser extends RdfParserBase { if (element.hasPropertyElement()) { composeUri(t, "OtherElementComponent", "property", element.getPropertyElement(), -1); } - if (element.hasSystemElement()) { - composeCanonical(t, "OtherElementComponent", "system", element.getSystemElement(), -1); + if (element.hasValue()) { + composeType(t, "OtherElementComponent", "value", element.getValue(), -1); } - if (element.hasValueElement()) { - composeString(t, "OtherElementComponent", "value", element.getValueElement(), -1); - } - if (element.hasDisplayElement()) { - composeString(t, "OtherElementComponent", "display", element.getDisplayElement(), -1); + if (element.hasValueSetElement()) { + composeCanonical(t, "OtherElementComponent", "valueSet", element.getValueSetElement(), -1); } } @@ -7322,203 +7136,14 @@ public class RdfParser extends RdfParserBase { if (element.hasDisplayElement()) { composeString(t, "ConceptMapGroupUnmappedComponent", "display", element.getDisplayElement(), -1); } - if (element.hasUrlElement()) { - composeCanonical(t, "ConceptMapGroupUnmappedComponent", "url", element.getUrlElement(), -1); - } - } - - protected void composeConceptMap2(Complex parent, String parentType, String name, ConceptMap2 element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeCanonicalResource(t, "ConceptMap2", name, element, index); - if (element.hasUrlElement()) { - composeUri(t, "ConceptMap2", "url", element.getUrlElement(), -1); - } - for (int i = 0; i < element.getIdentifier().size(); i++) { - composeIdentifier(t, "ConceptMap2", "identifier", element.getIdentifier().get(i), i); - } - if (element.hasVersionElement()) { - composeString(t, "ConceptMap2", "version", element.getVersionElement(), -1); - } - if (element.hasNameElement()) { - composeString(t, "ConceptMap2", "name", element.getNameElement(), -1); - } - if (element.hasTitleElement()) { - composeString(t, "ConceptMap2", "title", element.getTitleElement(), -1); - } - if (element.hasStatusElement()) { - composeEnum(t, "ConceptMap2", "status", element.getStatusElement(), -1); - } - if (element.hasExperimentalElement()) { - composeBoolean(t, "ConceptMap2", "experimental", element.getExperimentalElement(), -1); - } - if (element.hasDateElement()) { - composeDateTime(t, "ConceptMap2", "date", element.getDateElement(), -1); - } - if (element.hasPublisherElement()) { - composeString(t, "ConceptMap2", "publisher", element.getPublisherElement(), -1); - } - for (int i = 0; i < element.getContact().size(); i++) { - composeContactDetail(t, "ConceptMap2", "contact", element.getContact().get(i), i); - } - if (element.hasDescriptionElement()) { - composeMarkdown(t, "ConceptMap2", "description", element.getDescriptionElement(), -1); - } - for (int i = 0; i < element.getUseContext().size(); i++) { - composeUsageContext(t, "ConceptMap2", "useContext", element.getUseContext().get(i), i); - } - for (int i = 0; i < element.getJurisdiction().size(); i++) { - composeCodeableConcept(t, "ConceptMap2", "jurisdiction", element.getJurisdiction().get(i), i); - } - if (element.hasPurposeElement()) { - composeMarkdown(t, "ConceptMap2", "purpose", element.getPurposeElement(), -1); - } - if (element.hasCopyrightElement()) { - composeMarkdown(t, "ConceptMap2", "copyright", element.getCopyrightElement(), -1); - } - if (element.hasSource()) { - composeType(t, "ConceptMap2", "source", element.getSource(), -1); - } - if (element.hasTarget()) { - composeType(t, "ConceptMap2", "target", element.getTarget(), -1); - } - for (int i = 0; i < element.getGroup().size(); i++) { - composeConceptMap2GroupComponent(t, "ConceptMap2", "group", element.getGroup().get(i), i); - } - } - - protected void composeConceptMap2GroupComponent(Complex parent, String parentType, String name, ConceptMap2.ConceptMap2GroupComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "group", name, element, index); - if (element.hasSourceElement()) { - composeCanonical(t, "ConceptMap2GroupComponent", "source", element.getSourceElement(), -1); - } - if (element.hasTargetElement()) { - composeCanonical(t, "ConceptMap2GroupComponent", "target", element.getTargetElement(), -1); - } - for (int i = 0; i < element.getElement().size(); i++) { - composeConceptMap2SourceElementComponent(t, "ConceptMap2GroupComponent", "element", element.getElement().get(i), i); - } - if (element.hasUnmapped()) { - composeConceptMap2GroupUnmappedComponent(t, "ConceptMap2GroupComponent", "unmapped", element.getUnmapped(), -1); - } - } - - protected void composeConceptMap2SourceElementComponent(Complex parent, String parentType, String name, ConceptMap2.SourceElementComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "element", name, element, index); - if (element.hasCodeElement()) { - composeCode(t, "SourceElementComponent", "code", element.getCodeElement(), -1); - } - if (element.hasDisplayElement()) { - composeString(t, "SourceElementComponent", "display", element.getDisplayElement(), -1); - } if (element.hasValueSetElement()) { - composeCanonical(t, "SourceElementComponent", "valueSet", element.getValueSetElement(), -1); - } - if (element.hasNoMapElement()) { - composeBoolean(t, "SourceElementComponent", "noMap", element.getNoMapElement(), -1); - } - for (int i = 0; i < element.getTarget().size(); i++) { - composeConceptMap2TargetElementComponent(t, "SourceElementComponent", "target", element.getTarget().get(i), i); - } - } - - protected void composeConceptMap2TargetElementComponent(Complex parent, String parentType, String name, ConceptMap2.TargetElementComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "target", name, element, index); - if (element.hasCodeElement()) { - composeCode(t, "TargetElementComponent", "code", element.getCodeElement(), -1); - } - if (element.hasDisplayElement()) { - composeString(t, "TargetElementComponent", "display", element.getDisplayElement(), -1); - } - if (element.hasValueSetElement()) { - composeCanonical(t, "TargetElementComponent", "valueSet", element.getValueSetElement(), -1); + composeCanonical(t, "ConceptMapGroupUnmappedComponent", "valueSet", element.getValueSetElement(), -1); } if (element.hasRelationshipElement()) { - composeEnum(t, "TargetElementComponent", "relationship", element.getRelationshipElement(), -1); + composeEnum(t, "ConceptMapGroupUnmappedComponent", "relationship", element.getRelationshipElement(), -1); } - if (element.hasCommentElement()) { - composeString(t, "TargetElementComponent", "comment", element.getCommentElement(), -1); - } - for (int i = 0; i < element.getDependsOn().size(); i++) { - composeConceptMap2OtherElementComponent(t, "TargetElementComponent", "dependsOn", element.getDependsOn().get(i), i); - } - for (int i = 0; i < element.getProduct().size(); i++) { - composeConceptMap2OtherElementComponent(t, "TargetElementComponent", "product", element.getProduct().get(i), i); - } - } - - protected void composeConceptMap2OtherElementComponent(Complex parent, String parentType, String name, ConceptMap2.OtherElementComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "dependsOn", name, element, index); - if (element.hasPropertyElement()) { - composeUri(t, "OtherElementComponent", "property", element.getPropertyElement(), -1); - } - if (element.hasValue()) { - composeType(t, "OtherElementComponent", "value", element.getValue(), -1); - } - } - - protected void composeConceptMap2GroupUnmappedComponent(Complex parent, String parentType, String name, ConceptMap2.ConceptMap2GroupUnmappedComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "unmapped", name, element, index); - if (element.hasModeElement()) { - composeEnum(t, "ConceptMap2GroupUnmappedComponent", "mode", element.getModeElement(), -1); - } - if (element.hasCodeElement()) { - composeCode(t, "ConceptMap2GroupUnmappedComponent", "code", element.getCodeElement(), -1); - } - if (element.hasDisplayElement()) { - composeString(t, "ConceptMap2GroupUnmappedComponent", "display", element.getDisplayElement(), -1); - } - if (element.hasValueSetElement()) { - composeCanonical(t, "ConceptMap2GroupUnmappedComponent", "valueSet", element.getValueSetElement(), -1); - } - if (element.hasUrlElement()) { - composeCanonical(t, "ConceptMap2GroupUnmappedComponent", "url", element.getUrlElement(), -1); + if (element.hasOtherMapElement()) { + composeCanonical(t, "ConceptMapGroupUnmappedComponent", "otherMap", element.getOtherMapElement(), -1); } } @@ -7568,23 +7193,38 @@ public class RdfParser extends RdfParserBase { if (element.hasRecordedDateElement()) { composeDateTime(t, "Condition", "recordedDate", element.getRecordedDateElement(), -1); } - if (element.hasRecorder()) { - composeReference(t, "Condition", "recorder", element.getRecorder(), -1); - } - if (element.hasAsserter()) { - composeReference(t, "Condition", "asserter", element.getAsserter(), -1); + for (int i = 0; i < element.getParticipant().size(); i++) { + composeConditionParticipantComponent(t, "Condition", "participant", element.getParticipant().get(i), i); } for (int i = 0; i < element.getStage().size(); i++) { composeConditionStageComponent(t, "Condition", "stage", element.getStage().get(i), i); } for (int i = 0; i < element.getEvidence().size(); i++) { - composeConditionEvidenceComponent(t, "Condition", "evidence", element.getEvidence().get(i), i); + composeCodeableReference(t, "Condition", "evidence", element.getEvidence().get(i), i); } for (int i = 0; i < element.getNote().size(); i++) { composeAnnotation(t, "Condition", "note", element.getNote().get(i), i); } } + protected void composeConditionParticipantComponent(Complex parent, String parentType, String name, Condition.ConditionParticipantComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "participant", name, element, index); + if (element.hasFunction()) { + composeCodeableConcept(t, "ConditionParticipantComponent", "function", element.getFunction(), -1); + } + if (element.hasActor()) { + composeReference(t, "ConditionParticipantComponent", "actor", element.getActor(), -1); + } + } + protected void composeConditionStageComponent(Complex parent, String parentType, String name, Condition.ConditionStageComponent element, int index) { if (element == null) return; @@ -7606,24 +7246,6 @@ public class RdfParser extends RdfParserBase { } } - protected void composeConditionEvidenceComponent(Complex parent, String parentType, String name, Condition.ConditionEvidenceComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "evidence", name, element, index); - for (int i = 0; i < element.getCode().size(); i++) { - composeCodeableConcept(t, "ConditionEvidenceComponent", "code", element.getCode().get(i), i); - } - for (int i = 0; i < element.getDetail().size(); i++) { - composeReference(t, "ConditionEvidenceComponent", "detail", element.getDetail().get(i), i); - } - } - protected void composeConditionDefinition(Complex parent, String parentType, String name, ConditionDefinition element, int index) { if (element == null) return; @@ -7856,11 +7478,14 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getSourceReference().size(); i++) { composeReference(t, "Consent", "sourceReference", element.getSourceReference().get(i), i); } - for (int i = 0; i < element.getPolicy().size(); i++) { - composeConsentPolicyComponent(t, "Consent", "policy", element.getPolicy().get(i), i); + for (int i = 0; i < element.getRegulatoryBasis().size(); i++) { + composeCodeableConcept(t, "Consent", "regulatoryBasis", element.getRegulatoryBasis().get(i), i); } - if (element.hasPolicyRule()) { - composeCodeableConcept(t, "Consent", "policyRule", element.getPolicyRule(), -1); + if (element.hasPolicyBasis()) { + composeConsentPolicyBasisComponent(t, "Consent", "policyBasis", element.getPolicyBasis(), -1); + } + for (int i = 0; i < element.getPolicyText().size(); i++) { + composeReference(t, "Consent", "policyText", element.getPolicyText().get(i), i); } for (int i = 0; i < element.getVerification().size(); i++) { composeConsentVerificationComponent(t, "Consent", "verification", element.getVerification().get(i), i); @@ -7870,7 +7495,7 @@ public class RdfParser extends RdfParserBase { } } - protected void composeConsentPolicyComponent(Complex parent, String parentType, String name, Consent.ConsentPolicyComponent element, int index) { + protected void composeConsentPolicyBasisComponent(Complex parent, String parentType, String name, Consent.ConsentPolicyBasisComponent element, int index) { if (element == null) return; Complex t; @@ -7879,12 +7504,12 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "policy", name, element, index); - if (element.hasAuthorityElement()) { - composeUri(t, "ConsentPolicyComponent", "authority", element.getAuthorityElement(), -1); + composeBackboneElement(t, "policyBasis", name, element, index); + if (element.hasReference()) { + composeReference(t, "ConsentPolicyBasisComponent", "reference", element.getReference(), -1); } - if (element.hasUriElement()) { - composeUri(t, "ConsentPolicyComponent", "uri", element.getUriElement(), -1); + if (element.hasUrlElement()) { + composeUrl(t, "ConsentPolicyBasisComponent", "url", element.getUrlElement(), -1); } } @@ -9134,8 +8759,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getStatusReason().size(); i++) { composeCodeableConcept(t, "Device", "statusReason", element.getStatusReason().get(i), i); } - if (element.hasBiologicalSource()) { - composeIdentifier(t, "Device", "biologicalSource", element.getBiologicalSource(), -1); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier(t, "Device", "biologicalSourceEvent", element.getBiologicalSourceEvent(), -1); } if (element.hasManufacturerElement()) { composeString(t, "Device", "manufacturer", element.getManufacturerElement(), -1); @@ -9167,17 +8792,20 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getVersion().size(); i++) { composeDeviceVersionComponent(t, "Device", "version", element.getVersion().get(i), i); } + for (int i = 0; i < element.getSpecialization().size(); i++) { + composeDeviceSpecializationComponent(t, "Device", "specialization", element.getSpecialization().get(i), i); + } for (int i = 0; i < element.getProperty().size(); i++) { composeDevicePropertyComponent(t, "Device", "property", element.getProperty().get(i), i); } if (element.hasSubject()) { composeReference(t, "Device", "subject", element.getSubject(), -1); } - if (element.hasOperationalStatus()) { - composeDeviceOperationalStatusComponent(t, "Device", "operationalStatus", element.getOperationalStatus(), -1); + for (int i = 0; i < element.getOperationalState().size(); i++) { + composeDeviceOperationalStateComponent(t, "Device", "operationalState", element.getOperationalState().get(i), i); } - if (element.hasAssociationStatus()) { - composeDeviceAssociationStatusComponent(t, "Device", "associationStatus", element.getAssociationStatus(), -1); + for (int i = 0; i < element.getAssociation().size(); i++) { + composeDeviceAssociationComponent(t, "Device", "association", element.getAssociation().get(i), i); } if (element.hasOwner()) { composeReference(t, "Device", "owner", element.getOwner(), -1); @@ -9272,11 +8900,35 @@ public class RdfParser extends RdfParserBase { if (element.hasComponent()) { composeIdentifier(t, "DeviceVersionComponent", "component", element.getComponent(), -1); } + if (element.hasInstallDateElement()) { + composeDateTime(t, "DeviceVersionComponent", "installDate", element.getInstallDateElement(), -1); + } if (element.hasValueElement()) { composeString(t, "DeviceVersionComponent", "value", element.getValueElement(), -1); } } + protected void composeDeviceSpecializationComponent(Complex parent, String parentType, String name, Device.DeviceSpecializationComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "specialization", name, element, index); + if (element.hasSystemType()) { + composeCodeableConcept(t, "DeviceSpecializationComponent", "systemType", element.getSystemType(), -1); + } + if (element.hasVersionElement()) { + composeString(t, "DeviceSpecializationComponent", "version", element.getVersionElement(), -1); + } + if (element.hasCategory()) { + composeCoding(t, "DeviceSpecializationComponent", "category", element.getCategory(), -1); + } + } + protected void composeDevicePropertyComponent(Complex parent, String parentType, String name, Device.DevicePropertyComponent element, int index) { if (element == null) return; @@ -9295,7 +8947,7 @@ public class RdfParser extends RdfParserBase { } } - protected void composeDeviceOperationalStatusComponent(Complex parent, String parentType, String name, Device.DeviceOperationalStatusComponent element, int index) { + protected void composeDeviceOperationalStateComponent(Complex parent, String parentType, String name, Device.DeviceOperationalStateComponent element, int index) { if (element == null) return; Complex t; @@ -9304,16 +8956,28 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "operationalStatus", name, element, index); - if (element.hasValue()) { - composeCodeableConcept(t, "DeviceOperationalStatusComponent", "value", element.getValue(), -1); + composeBackboneElement(t, "operationalState", name, element, index); + if (element.hasStatus()) { + composeCodeableConcept(t, "DeviceOperationalStateComponent", "status", element.getStatus(), -1); } - for (int i = 0; i < element.getReason().size(); i++) { - composeCodeableConcept(t, "DeviceOperationalStatusComponent", "reason", element.getReason().get(i), i); + for (int i = 0; i < element.getStatusReason().size(); i++) { + composeCodeableConcept(t, "DeviceOperationalStateComponent", "statusReason", element.getStatusReason().get(i), i); + } + for (int i = 0; i < element.getOperator().size(); i++) { + composeReference(t, "DeviceOperationalStateComponent", "operator", element.getOperator().get(i), i); + } + if (element.hasMode()) { + composeCodeableConcept(t, "DeviceOperationalStateComponent", "mode", element.getMode(), -1); + } + if (element.hasCycle()) { + composeCount(t, "DeviceOperationalStateComponent", "cycle", element.getCycle(), -1); + } + if (element.hasDuration()) { + composeCodeableConcept(t, "DeviceOperationalStateComponent", "duration", element.getDuration(), -1); } } - protected void composeDeviceAssociationStatusComponent(Complex parent, String parentType, String name, Device.DeviceAssociationStatusComponent element, int index) { + protected void composeDeviceAssociationComponent(Complex parent, String parentType, String name, Device.DeviceAssociationComponent element, int index) { if (element == null) return; Complex t; @@ -9322,12 +8986,18 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "associationStatus", name, element, index); - if (element.hasValue()) { - composeCodeableConcept(t, "DeviceAssociationStatusComponent", "value", element.getValue(), -1); + composeBackboneElement(t, "association", name, element, index); + if (element.hasStatus()) { + composeCodeableConcept(t, "DeviceAssociationComponent", "status", element.getStatus(), -1); } - for (int i = 0; i < element.getReason().size(); i++) { - composeCodeableConcept(t, "DeviceAssociationStatusComponent", "reason", element.getReason().get(i), i); + for (int i = 0; i < element.getStatusReason().size(); i++) { + composeCodeableConcept(t, "DeviceAssociationComponent", "statusReason", element.getStatusReason().get(i), i); + } + if (element.hasHumanSubject()) { + composeReference(t, "DeviceAssociationComponent", "humanSubject", element.getHumanSubject(), -1); + } + if (element.hasBodyStructure()) { + composeCodeableReference(t, "DeviceAssociationComponent", "bodyStructure", element.getBodyStructure(), -1); } } @@ -9372,7 +9042,7 @@ public class RdfParser extends RdfParserBase { composeString(t, "DeviceDefinition", "partNumber", element.getPartNumberElement(), -1); } if (element.hasManufacturer()) { - composeType(t, "DeviceDefinition", "manufacturer", element.getManufacturer(), -1); + composeReference(t, "DeviceDefinition", "manufacturer", element.getManufacturer(), -1); } for (int i = 0; i < element.getDeviceName().size(); i++) { composeDeviceDefinitionDeviceNameComponent(t, "DeviceDefinition", "deviceName", element.getDeviceName().get(i), i); @@ -9956,8 +9626,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getBasedOn().size(); i++) { composeReference(t, "DeviceRequest", "basedOn", element.getBasedOn().get(i), i); } - for (int i = 0; i < element.getPriorRequest().size(); i++) { - composeReference(t, "DeviceRequest", "priorRequest", element.getPriorRequest().get(i), i); + for (int i = 0; i < element.getReplaces().size(); i++) { + composeReference(t, "DeviceRequest", "replaces", element.getReplaces().get(i), i); } if (element.hasGroupIdentifier()) { composeIdentifier(t, "DeviceRequest", "groupIdentifier", element.getGroupIdentifier(), -1); @@ -10082,6 +9752,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getUsageReason().size(); i++) { composeCodeableConcept(t, "DeviceUsage", "usageReason", element.getUsageReason().get(i), i); } + if (element.hasAdherence()) { + composeDeviceUsageAdherenceComponent(t, "DeviceUsage", "adherence", element.getAdherence(), -1); + } if (element.hasInformationSource()) { composeReference(t, "DeviceUsage", "informationSource", element.getInformationSource(), -1); } @@ -10099,6 +9772,24 @@ public class RdfParser extends RdfParserBase { } } + protected void composeDeviceUsageAdherenceComponent(Complex parent, String parentType, String name, DeviceUsage.DeviceUsageAdherenceComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "adherence", name, element, index); + if (element.hasCode()) { + composeCodeableConcept(t, "DeviceUsageAdherenceComponent", "code", element.getCode(), -1); + } + for (int i = 0; i < element.getReason().size(); i++) { + composeCodeableConcept(t, "DeviceUsageAdherenceComponent", "reason", element.getReason().get(i), i); + } + } + protected void composeDiagnosticReport(Complex parent, String parentType, String name, DiagnosticReport element, int index) { if (element == null) return; @@ -10286,11 +9977,11 @@ public class RdfParser extends RdfParserBase { if (element.hasSubject()) { composeReference(t, "DocumentReference", "subject", element.getSubject(), -1); } - for (int i = 0; i < element.getEncounter().size(); i++) { - composeReference(t, "DocumentReference", "encounter", element.getEncounter().get(i), i); + for (int i = 0; i < element.getContext().size(); i++) { + composeReference(t, "DocumentReference", "context", element.getContext().get(i), i); } for (int i = 0; i < element.getEvent().size(); i++) { - composeCodeableConcept(t, "DocumentReference", "event", element.getEvent().get(i), i); + composeCodeableReference(t, "DocumentReference", "event", element.getEvent().get(i), i); } if (element.hasFacilityType()) { composeCodeableConcept(t, "DocumentReference", "facilityType", element.getFacilityType(), -1); @@ -10328,9 +10019,6 @@ public class RdfParser extends RdfParserBase { if (element.hasSourcePatientInfo()) { composeReference(t, "DocumentReference", "sourcePatientInfo", element.getSourcePatientInfo(), -1); } - for (int i = 0; i < element.getRelated().size(); i++) { - composeReference(t, "DocumentReference", "related", element.getRelated().get(i), i); - } } protected void composeDocumentReferenceAttesterComponent(Complex parent, String parentType, String name, DocumentReference.DocumentReferenceAttesterComponent element, int index) { @@ -10343,8 +10031,8 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "attester", name, element, index); - if (element.hasModeElement()) { - composeEnum(t, "DocumentReferenceAttesterComponent", "mode", element.getModeElement(), -1); + if (element.hasMode()) { + composeCodeableConcept(t, "DocumentReferenceAttesterComponent", "mode", element.getMode(), -1); } if (element.hasTimeElement()) { composeDateTime(t, "DocumentReferenceAttesterComponent", "time", element.getTimeElement(), -1); @@ -10385,11 +10073,23 @@ public class RdfParser extends RdfParserBase { if (element.hasAttachment()) { composeAttachment(t, "DocumentReferenceContentComponent", "attachment", element.getAttachment(), -1); } - if (element.hasFormat()) { - composeCoding(t, "DocumentReferenceContentComponent", "format", element.getFormat(), -1); + for (int i = 0; i < element.getProfile().size(); i++) { + composeDocumentReferenceContentProfileComponent(t, "DocumentReferenceContentComponent", "profile", element.getProfile().get(i), i); } - if (element.hasIdentifier()) { - composeIdentifier(t, "DocumentReferenceContentComponent", "identifier", element.getIdentifier(), -1); + } + + protected void composeDocumentReferenceContentProfileComponent(Complex parent, String parentType, String name, DocumentReference.DocumentReferenceContentProfileComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "profile", name, element, index); + if (element.hasValue()) { + composeType(t, "DocumentReferenceContentProfileComponent", "value", element.getValue(), -1); } } @@ -10413,7 +10113,7 @@ public class RdfParser extends RdfParserBase { composeEncounterStatusHistoryComponent(t, "Encounter", "statusHistory", element.getStatusHistory().get(i), i); } if (element.hasClass_()) { - composeCoding(t, "Encounter", "class", element.getClass_(), -1); + composeCodeableConcept(t, "Encounter", "class", element.getClass_(), -1); } for (int i = 0; i < element.getClassHistory().size(); i++) { composeEncounterClassHistoryComponent(t, "Encounter", "classHistory", element.getClassHistory().get(i), i); @@ -10422,7 +10122,7 @@ public class RdfParser extends RdfParserBase { composeCodeableConcept(t, "Encounter", "type", element.getType().get(i), i); } if (element.hasServiceType()) { - composeCodeableConcept(t, "Encounter", "serviceType", element.getServiceType(), -1); + composeCodeableReference(t, "Encounter", "serviceType", element.getServiceType(), -1); } if (element.hasPriority()) { composeCodeableConcept(t, "Encounter", "priority", element.getPriority(), -1); @@ -10637,8 +10337,8 @@ public class RdfParser extends RdfParserBase { if (element.hasStatusElement()) { composeEnum(t, "Endpoint", "status", element.getStatusElement(), -1); } - if (element.hasConnectionType()) { - composeCoding(t, "Endpoint", "connectionType", element.getConnectionType(), -1); + for (int i = 0; i < element.getConnectionType().size(); i++) { + composeCoding(t, "Endpoint", "connectionType", element.getConnectionType().get(i), i); } if (element.hasNameElement()) { composeString(t, "Endpoint", "name", element.getNameElement(), -1); @@ -10937,6 +10637,9 @@ public class RdfParser extends RdfParserBase { if (element.hasVersionElement()) { composeString(t, "Evidence", "version", element.getVersionElement(), -1); } + if (element.hasNameElement()) { + composeString(t, "Evidence", "name", element.getNameElement(), -1); + } if (element.hasTitleElement()) { composeString(t, "Evidence", "title", element.getTitleElement(), -1); } @@ -10946,6 +10649,9 @@ public class RdfParser extends RdfParserBase { if (element.hasStatusElement()) { composeEnum(t, "Evidence", "status", element.getStatusElement(), -1); } + if (element.hasExperimentalElement()) { + composeBoolean(t, "Evidence", "experimental", element.getExperimentalElement(), -1); + } if (element.hasDateElement()) { composeDateTime(t, "Evidence", "date", element.getDateElement(), -1); } @@ -11450,9 +11156,18 @@ public class RdfParser extends RdfParserBase { if (element.hasStatusElement()) { composeEnum(t, "EvidenceVariable", "status", element.getStatusElement(), -1); } + if (element.hasExperimentalElement()) { + composeBoolean(t, "EvidenceVariable", "experimental", element.getExperimentalElement(), -1); + } if (element.hasDateElement()) { composeDateTime(t, "EvidenceVariable", "date", element.getDateElement(), -1); } + if (element.hasPublisherElement()) { + composeString(t, "EvidenceVariable", "publisher", element.getPublisherElement(), -1); + } + for (int i = 0; i < element.getContact().size(); i++) { + composeContactDetail(t, "EvidenceVariable", "contact", element.getContact().get(i), i); + } if (element.hasDescriptionElement()) { composeMarkdown(t, "EvidenceVariable", "description", element.getDescriptionElement(), -1); } @@ -11462,11 +11177,17 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getUseContext().size(); i++) { composeUsageContext(t, "EvidenceVariable", "useContext", element.getUseContext().get(i), i); } - if (element.hasPublisherElement()) { - composeString(t, "EvidenceVariable", "publisher", element.getPublisherElement(), -1); + if (element.hasCopyrightElement()) { + composeMarkdown(t, "EvidenceVariable", "copyright", element.getCopyrightElement(), -1); } - for (int i = 0; i < element.getContact().size(); i++) { - composeContactDetail(t, "EvidenceVariable", "contact", element.getContact().get(i), i); + if (element.hasApprovalDateElement()) { + composeDate(t, "EvidenceVariable", "approvalDate", element.getApprovalDateElement(), -1); + } + if (element.hasLastReviewDateElement()) { + composeDate(t, "EvidenceVariable", "lastReviewDate", element.getLastReviewDateElement(), -1); + } + if (element.hasEffectivePeriod()) { + composePeriod(t, "EvidenceVariable", "effectivePeriod", element.getEffectivePeriod(), -1); } for (int i = 0; i < element.getAuthor().size(); i++) { composeContactDetail(t, "EvidenceVariable", "author", element.getAuthor().get(i), i); @@ -11486,9 +11207,6 @@ public class RdfParser extends RdfParserBase { if (element.hasActualElement()) { composeBoolean(t, "EvidenceVariable", "actual", element.getActualElement(), -1); } - if (element.hasCharacteristicCombination()) { - composeEvidenceVariableCharacteristicCombinationComponent(t, "EvidenceVariable", "characteristicCombination", element.getCharacteristicCombination(), -1); - } for (int i = 0; i < element.getCharacteristic().size(); i++) { composeEvidenceVariableCharacteristicComponent(t, "EvidenceVariable", "characteristic", element.getCharacteristic().get(i), i); } @@ -11500,24 +11218,6 @@ public class RdfParser extends RdfParserBase { } } - protected void composeEvidenceVariableCharacteristicCombinationComponent(Complex parent, String parentType, String name, EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "characteristicCombination", name, element, index); - if (element.hasCodeElement()) { - composeEnum(t, "EvidenceVariableCharacteristicCombinationComponent", "code", element.getCodeElement(), -1); - } - if (element.hasThresholdElement()) { - composePositiveInt(t, "EvidenceVariableCharacteristicCombinationComponent", "threshold", element.getThresholdElement(), -1); - } - } - protected void composeEvidenceVariableCharacteristicComponent(Complex parent, String parentType, String name, EvidenceVariable.EvidenceVariableCharacteristicComponent element, int index) { if (element == null) return; @@ -11528,24 +11228,45 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "characteristic", name, element, index); + if (element.hasLinkIdElement()) { + composeId(t, "EvidenceVariableCharacteristicComponent", "linkId", element.getLinkIdElement(), -1); + } if (element.hasDescriptionElement()) { composeString(t, "EvidenceVariableCharacteristicComponent", "description", element.getDescriptionElement(), -1); } - if (element.hasType()) { - composeCodeableConcept(t, "EvidenceVariableCharacteristicComponent", "type", element.getType(), -1); - } - if (element.hasDefinition()) { - composeType(t, "EvidenceVariableCharacteristicComponent", "definition", element.getDefinition(), -1); - } - if (element.hasMethod()) { - composeCodeableConcept(t, "EvidenceVariableCharacteristicComponent", "method", element.getMethod(), -1); - } - if (element.hasDevice()) { - composeReference(t, "EvidenceVariableCharacteristicComponent", "device", element.getDevice(), -1); + for (int i = 0; i < element.getNote().size(); i++) { + composeAnnotation(t, "EvidenceVariableCharacteristicComponent", "note", element.getNote().get(i), i); } if (element.hasExcludeElement()) { composeBoolean(t, "EvidenceVariableCharacteristicComponent", "exclude", element.getExcludeElement(), -1); } + if (element.hasDefinitionReference()) { + composeReference(t, "EvidenceVariableCharacteristicComponent", "definitionReference", element.getDefinitionReference(), -1); + } + if (element.hasDefinitionCanonicalElement()) { + composeCanonical(t, "EvidenceVariableCharacteristicComponent", "definitionCanonical", element.getDefinitionCanonicalElement(), -1); + } + if (element.hasDefinitionCodeableConcept()) { + composeCodeableConcept(t, "EvidenceVariableCharacteristicComponent", "definitionCodeableConcept", element.getDefinitionCodeableConcept(), -1); + } + if (element.hasDefinitionExpression()) { + composeExpression(t, "EvidenceVariableCharacteristicComponent", "definitionExpression", element.getDefinitionExpression(), -1); + } + if (element.hasDefinitionIdElement()) { + composeId(t, "EvidenceVariableCharacteristicComponent", "definitionId", element.getDefinitionIdElement(), -1); + } + if (element.hasDefinitionByTypeAndValue()) { + composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(t, "EvidenceVariableCharacteristicComponent", "definitionByTypeAndValue", element.getDefinitionByTypeAndValue(), -1); + } + if (element.hasDefinitionByCombination()) { + composeEvidenceVariableCharacteristicDefinitionByCombinationComponent(t, "EvidenceVariableCharacteristicComponent", "definitionByCombination", element.getDefinitionByCombination(), -1); + } + for (int i = 0; i < element.getMethod().size(); i++) { + composeCodeableConcept(t, "EvidenceVariableCharacteristicComponent", "method", element.getMethod().get(i), i); + } + if (element.hasDevice()) { + composeReference(t, "EvidenceVariableCharacteristicComponent", "device", element.getDevice(), -1); + } for (int i = 0; i < element.getTimeFromEvent().size(); i++) { composeEvidenceVariableCharacteristicTimeFromEventComponent(t, "EvidenceVariableCharacteristicComponent", "timeFromEvent", element.getTimeFromEvent().get(i), i); } @@ -11554,6 +11275,48 @@ public class RdfParser extends RdfParserBase { } } + protected void composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(Complex parent, String parentType, String name, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "definitionByTypeAndValue", name, element, index); + if (element.hasType()) { + composeType(t, "EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent", "type", element.getType(), -1); + } + if (element.hasValue()) { + composeType(t, "EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent", "value", element.getValue(), -1); + } + if (element.hasOffset()) { + composeCodeableConcept(t, "EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent", "offset", element.getOffset(), -1); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByCombinationComponent(Complex parent, String parentType, String name, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "definitionByCombination", name, element, index); + if (element.hasCodeElement()) { + composeEnum(t, "EvidenceVariableCharacteristicDefinitionByCombinationComponent", "code", element.getCodeElement(), -1); + } + if (element.hasThresholdElement()) { + composePositiveInt(t, "EvidenceVariableCharacteristicDefinitionByCombinationComponent", "threshold", element.getThresholdElement(), -1); + } + for (int i = 0; i < element.getCharacteristic().size(); i++) { + composeEvidenceVariableCharacteristicComponent(t, "EvidenceVariableCharacteristicDefinitionByCombinationComponent", "characteristic", element.getCharacteristic().get(i), i); + } + } + protected void composeEvidenceVariableCharacteristicTimeFromEventComponent(Complex parent, String parentType, String name, EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent element, int index) { if (element == null) return; @@ -11567,8 +11330,11 @@ public class RdfParser extends RdfParserBase { if (element.hasDescriptionElement()) { composeString(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "description", element.getDescriptionElement(), -1); } + for (int i = 0; i < element.getNote().size(); i++) { + composeAnnotation(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "note", element.getNote().get(i), i); + } if (element.hasEvent()) { - composeCodeableConcept(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "event", element.getEvent(), -1); + composeType(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "event", element.getEvent(), -1); } if (element.hasQuantity()) { composeQuantity(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "quantity", element.getQuantity(), -1); @@ -11576,9 +11342,6 @@ public class RdfParser extends RdfParserBase { if (element.hasRange()) { composeRange(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "range", element.getRange(), -1); } - for (int i = 0; i < element.getNote().size(); i++) { - composeAnnotation(t, "EvidenceVariableCharacteristicTimeFromEventComponent", "note", element.getNote().get(i), i); - } } protected void composeEvidenceVariableCategoryComponent(Complex parent, String parentType, String name, EvidenceVariable.EvidenceVariableCategoryComponent element, int index) { @@ -11699,8 +11462,8 @@ public class RdfParser extends RdfParserBase { if (element.hasResourceIdElement()) { composeString(t, "ExampleScenarioInstanceComponent", "resourceId", element.getResourceIdElement(), -1); } - if (element.hasResourceTypeElement()) { - composeCode(t, "ExampleScenarioInstanceComponent", "resourceType", element.getResourceTypeElement(), -1); + if (element.hasTypeElement()) { + composeCode(t, "ExampleScenarioInstanceComponent", "type", element.getTypeElement(), -1); } if (element.hasNameElement()) { composeString(t, "ExampleScenarioInstanceComponent", "name", element.getNameElement(), -1); @@ -12835,6 +12598,27 @@ public class RdfParser extends RdfParserBase { } } + protected void composeFormularyItem(Complex parent, String parentType, String name, FormularyItem element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeDomainResource(t, "FormularyItem", name, element, index); + for (int i = 0; i < element.getIdentifier().size(); i++) { + composeIdentifier(t, "FormularyItem", "identifier", element.getIdentifier().get(i), i); + } + if (element.hasCode()) { + composeCodeableConcept(t, "FormularyItem", "code", element.getCode(), -1); + } + if (element.hasStatusElement()) { + composeEnum(t, "FormularyItem", "status", element.getStatusElement(), -1); + } + } + protected void composeGoal(Complex parent, String parentType, String name, Goal element, int index) { if (element == null) return; @@ -13085,6 +12869,9 @@ public class RdfParser extends RdfParserBase { if (element.hasNameElement()) { composeString(t, "Group", "name", element.getNameElement(), -1); } + if (element.hasDescriptionElement()) { + composeMarkdown(t, "Group", "description", element.getDescriptionElement(), -1); + } if (element.hasQuantityElement()) { composeUnsignedInt(t, "Group", "quantity", element.getQuantityElement(), -1); } @@ -13241,6 +13028,9 @@ public class RdfParser extends RdfParserBase { if (element.hasPhoto()) { composeAttachment(t, "HealthcareService", "photo", element.getPhoto(), -1); } + for (int i = 0; i < element.getContact().size(); i++) { + composeExtendedContactDetail(t, "HealthcareService", "contact", element.getContact().get(i), i); + } for (int i = 0; i < element.getTelecom().size(); i++) { composeContactPoint(t, "HealthcareService", "telecom", element.getTelecom().get(i), i); } @@ -13355,8 +13145,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getIdentifier().size(); i++) { composeIdentifier(t, "ImagingSelection", "identifier", element.getIdentifier().get(i), i); } - for (int i = 0; i < element.getBasedOn().size(); i++) { - composeReference(t, "ImagingSelection", "basedOn", element.getBasedOn().get(i), i); + if (element.hasStatusElement()) { + composeEnum(t, "ImagingSelection", "status", element.getStatusElement(), -1); } if (element.hasSubject()) { composeReference(t, "ImagingSelection", "subject", element.getSubject(), -1); @@ -13367,11 +13157,17 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getPerformer().size(); i++) { composeImagingSelectionPerformerComponent(t, "ImagingSelection", "performer", element.getPerformer().get(i), i); } + for (int i = 0; i < element.getBasedOn().size(); i++) { + composeReference(t, "ImagingSelection", "basedOn", element.getBasedOn().get(i), i); + } + for (int i = 0; i < element.getCategory().size(); i++) { + composeCodeableConcept(t, "ImagingSelection", "category", element.getCategory().get(i), i); + } if (element.hasCode()) { composeCodeableConcept(t, "ImagingSelection", "code", element.getCode(), -1); } if (element.hasStudyUidElement()) { - composeOid(t, "ImagingSelection", "studyUid", element.getStudyUidElement(), -1); + composeId(t, "ImagingSelection", "studyUid", element.getStudyUidElement(), -1); } for (int i = 0; i < element.getDerivedFrom().size(); i++) { composeReference(t, "ImagingSelection", "derivedFrom", element.getDerivedFrom().get(i), i); @@ -13380,19 +13176,19 @@ public class RdfParser extends RdfParserBase { composeReference(t, "ImagingSelection", "endpoint", element.getEndpoint().get(i), i); } if (element.hasSeriesUidElement()) { - composeOid(t, "ImagingSelection", "seriesUid", element.getSeriesUidElement(), -1); + composeId(t, "ImagingSelection", "seriesUid", element.getSeriesUidElement(), -1); } if (element.hasFrameOfReferenceUidElement()) { - composeOid(t, "ImagingSelection", "frameOfReferenceUid", element.getFrameOfReferenceUidElement(), -1); + composeId(t, "ImagingSelection", "frameOfReferenceUid", element.getFrameOfReferenceUidElement(), -1); } if (element.hasBodySite()) { - composeCoding(t, "ImagingSelection", "bodySite", element.getBodySite(), -1); + composeCodeableReference(t, "ImagingSelection", "bodySite", element.getBodySite(), -1); } for (int i = 0; i < element.getInstance().size(); i++) { composeImagingSelectionInstanceComponent(t, "ImagingSelection", "instance", element.getInstance().get(i), i); } - if (element.hasImageRegion()) { - composeImagingSelectionImageRegionComponent(t, "ImagingSelection", "imageRegion", element.getImageRegion(), -1); + for (int i = 0; i < element.getImageRegion().size(); i++) { + composeImagingSelectionImageRegionComponent(t, "ImagingSelection", "imageRegion", element.getImageRegion().get(i), i); } } @@ -13425,22 +13221,34 @@ public class RdfParser extends RdfParserBase { } composeBackboneElement(t, "instance", name, element, index); if (element.hasUidElement()) { - composeOid(t, "ImagingSelectionInstanceComponent", "uid", element.getUidElement(), -1); + composeId(t, "ImagingSelectionInstanceComponent", "uid", element.getUidElement(), -1); } if (element.hasSopClass()) { composeCoding(t, "ImagingSelectionInstanceComponent", "sopClass", element.getSopClass(), -1); } - if (element.hasFrameListElement()) { - composeString(t, "ImagingSelectionInstanceComponent", "frameList", element.getFrameListElement(), -1); + for (int i = 0; i < element.getSubset().size(); i++) { + composeString(t, "ImagingSelectionInstanceComponent", "subset", element.getSubset().get(i), i); } - for (int i = 0; i < element.getObservationUid().size(); i++) { - composeOid(t, "ImagingSelectionInstanceComponent", "observationUid", element.getObservationUid().get(i), i); + for (int i = 0; i < element.getImageRegion().size(); i++) { + composeImagingSelectionInstanceImageRegionComponent(t, "ImagingSelectionInstanceComponent", "imageRegion", element.getImageRegion().get(i), i); } - if (element.hasSegmentListElement()) { - composeString(t, "ImagingSelectionInstanceComponent", "segmentList", element.getSegmentListElement(), -1); } - if (element.hasRoiListElement()) { - composeString(t, "ImagingSelectionInstanceComponent", "roiList", element.getRoiListElement(), -1); + + protected void composeImagingSelectionInstanceImageRegionComponent(Complex parent, String parentType, String name, ImagingSelection.ImagingSelectionInstanceImageRegionComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "imageRegion", name, element, index); + if (element.hasRegionTypeElement()) { + composeEnum(t, "ImagingSelectionInstanceImageRegionComponent", "regionType", element.getRegionTypeElement(), -1); + } + for (int i = 0; i < element.getCoordinate().size(); i++) { + composeDecimal(t, "ImagingSelectionInstanceImageRegionComponent", "coordinate", element.getCoordinate().get(i), i); } } @@ -13457,11 +13265,8 @@ public class RdfParser extends RdfParserBase { if (element.hasRegionTypeElement()) { composeEnum(t, "ImagingSelectionImageRegionComponent", "regionType", element.getRegionTypeElement(), -1); } - if (element.hasCoordinateTypeElement()) { - composeEnum(t, "ImagingSelectionImageRegionComponent", "coordinateType", element.getCoordinateTypeElement(), -1); - } - for (int i = 0; i < element.getCoordinates().size(); i++) { - composeDecimal(t, "ImagingSelectionImageRegionComponent", "coordinates", element.getCoordinates().get(i), i); + for (int i = 0; i < element.getCoordinate().size(); i++) { + composeDecimal(t, "ImagingSelectionImageRegionComponent", "coordinate", element.getCoordinate().get(i), i); } } @@ -13482,7 +13287,7 @@ public class RdfParser extends RdfParserBase { composeEnum(t, "ImagingStudy", "status", element.getStatusElement(), -1); } for (int i = 0; i < element.getModality().size(); i++) { - composeCoding(t, "ImagingStudy", "modality", element.getModality().get(i), i); + composeCodeableConcept(t, "ImagingStudy", "modality", element.getModality().get(i), i); } if (element.hasSubject()) { composeReference(t, "ImagingStudy", "subject", element.getSubject(), -1); @@ -13548,7 +13353,7 @@ public class RdfParser extends RdfParserBase { composeUnsignedInt(t, "ImagingStudySeriesComponent", "number", element.getNumberElement(), -1); } if (element.hasModality()) { - composeCoding(t, "ImagingStudySeriesComponent", "modality", element.getModality(), -1); + composeCodeableConcept(t, "ImagingStudySeriesComponent", "modality", element.getModality(), -1); } if (element.hasDescriptionElement()) { composeString(t, "ImagingStudySeriesComponent", "description", element.getDescriptionElement(), -1); @@ -13560,10 +13365,10 @@ public class RdfParser extends RdfParserBase { composeReference(t, "ImagingStudySeriesComponent", "endpoint", element.getEndpoint().get(i), i); } if (element.hasBodySite()) { - composeCoding(t, "ImagingStudySeriesComponent", "bodySite", element.getBodySite(), -1); + composeCodeableReference(t, "ImagingStudySeriesComponent", "bodySite", element.getBodySite(), -1); } if (element.hasLaterality()) { - composeCoding(t, "ImagingStudySeriesComponent", "laterality", element.getLaterality(), -1); + composeCodeableConcept(t, "ImagingStudySeriesComponent", "laterality", element.getLaterality(), -1); } for (int i = 0; i < element.getSpecimen().size(); i++) { composeReference(t, "ImagingStudySeriesComponent", "specimen", element.getSpecimen().get(i), i); @@ -13670,14 +13475,11 @@ public class RdfParser extends RdfParserBase { if (element.hasOccurrence()) { composeType(t, "Immunization", "occurrence", element.getOccurrence(), -1); } - if (element.hasRecordedElement()) { - composeDateTime(t, "Immunization", "recorded", element.getRecordedElement(), -1); - } if (element.hasPrimarySourceElement()) { composeBoolean(t, "Immunization", "primarySource", element.getPrimarySourceElement(), -1); } if (element.hasInformationSource()) { - composeType(t, "Immunization", "informationSource", element.getInformationSource(), -1); + composeCodeableReference(t, "Immunization", "informationSource", element.getInformationSource(), -1); } if (element.hasLocation()) { composeReference(t, "Immunization", "location", element.getLocation(), -1); @@ -13778,8 +13580,8 @@ public class RdfParser extends RdfParserBase { if (element.hasDateElement()) { composeDateTime(t, "ImmunizationReactionComponent", "date", element.getDateElement(), -1); } - if (element.hasDetail()) { - composeReference(t, "ImmunizationReactionComponent", "detail", element.getDetail(), -1); + if (element.hasManifestation()) { + composeCodeableReference(t, "ImmunizationReactionComponent", "manifestation", element.getManifestation(), -1); } if (element.hasReportedElement()) { composeBoolean(t, "ImmunizationReactionComponent", "reported", element.getReportedElement(), -1); @@ -14115,7 +13917,7 @@ public class RdfParser extends RdfParserBase { composeString(t, "ImplementationGuideDefinitionGroupingComponent", "name", element.getNameElement(), -1); } if (element.hasDescriptionElement()) { - composeString(t, "ImplementationGuideDefinitionGroupingComponent", "description", element.getDescriptionElement(), -1); + composeMarkdown(t, "ImplementationGuideDefinitionGroupingComponent", "description", element.getDescriptionElement(), -1); } } @@ -14139,7 +13941,7 @@ public class RdfParser extends RdfParserBase { composeString(t, "ImplementationGuideDefinitionResourceComponent", "name", element.getNameElement(), -1); } if (element.hasDescriptionElement()) { - composeString(t, "ImplementationGuideDefinitionResourceComponent", "description", element.getDescriptionElement(), -1); + composeMarkdown(t, "ImplementationGuideDefinitionResourceComponent", "description", element.getDescriptionElement(), -1); } if (element.hasExample()) { composeType(t, "ImplementationGuideDefinitionResourceComponent", "example", element.getExample(), -1); @@ -14330,8 +14132,8 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "manufacturer", name, element, index); - if (element.hasRole()) { - composeCoding(t, "IngredientManufacturerComponent", "role", element.getRole(), -1); + if (element.hasRoleElement()) { + composeEnum(t, "IngredientManufacturerComponent", "role", element.getRoleElement(), -1); } if (element.hasManufacturer()) { composeReference(t, "IngredientManufacturerComponent", "manufacturer", element.getManufacturer(), -1); @@ -14369,14 +14171,14 @@ public class RdfParser extends RdfParserBase { if (element.hasPresentation()) { composeType(t, "IngredientSubstanceStrengthComponent", "presentation", element.getPresentation(), -1); } - if (element.hasPresentationTextElement()) { - composeString(t, "IngredientSubstanceStrengthComponent", "presentationText", element.getPresentationTextElement(), -1); + if (element.hasTextPresentationElement()) { + composeString(t, "IngredientSubstanceStrengthComponent", "textPresentation", element.getTextPresentationElement(), -1); } if (element.hasConcentration()) { composeType(t, "IngredientSubstanceStrengthComponent", "concentration", element.getConcentration(), -1); } - if (element.hasConcentrationTextElement()) { - composeString(t, "IngredientSubstanceStrengthComponent", "concentrationText", element.getConcentrationTextElement(), -1); + if (element.hasTextConcentrationElement()) { + composeString(t, "IngredientSubstanceStrengthComponent", "textConcentration", element.getTextConcentrationElement(), -1); } if (element.hasBasis()) { composeCodeableConcept(t, "IngredientSubstanceStrengthComponent", "basis", element.getBasis(), -1); @@ -14454,7 +14256,7 @@ public class RdfParser extends RdfParserBase { composeReference(t, "InsurancePlan", "coverageArea", element.getCoverageArea().get(i), i); } for (int i = 0; i < element.getContact().size(); i++) { - composeInsurancePlanContactComponent(t, "InsurancePlan", "contact", element.getContact().get(i), i); + composeExtendedContactDetail(t, "InsurancePlan", "contact", element.getContact().get(i), i); } for (int i = 0; i < element.getEndpoint().size(); i++) { composeReference(t, "InsurancePlan", "endpoint", element.getEndpoint().get(i), i); @@ -14470,30 +14272,6 @@ public class RdfParser extends RdfParserBase { } } - protected void composeInsurancePlanContactComponent(Complex parent, String parentType, String name, InsurancePlan.InsurancePlanContactComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "contact", name, element, index); - if (element.hasPurpose()) { - composeCodeableConcept(t, "InsurancePlanContactComponent", "purpose", element.getPurpose(), -1); - } - if (element.hasName()) { - composeHumanName(t, "InsurancePlanContactComponent", "name", element.getName(), -1); - } - for (int i = 0; i < element.getTelecom().size(); i++) { - composeContactPoint(t, "InsurancePlanContactComponent", "telecom", element.getTelecom().get(i), i); - } - if (element.hasAddress()) { - composeAddress(t, "InsurancePlanContactComponent", "address", element.getAddress(), -1); - } - } - protected void composeInsurancePlanCoverageComponent(Complex parent, String parentType, String name, InsurancePlan.InsurancePlanCoverageComponent element, int index) { if (element == null) return; @@ -15143,6 +14921,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getType().size(); i++) { composeCodeableConcept(t, "Location", "type", element.getType().get(i), i); } + for (int i = 0; i < element.getContact().size(); i++) { + composeExtendedContactDetail(t, "Location", "contact", element.getContact().get(i), i); + } for (int i = 0; i < element.getTelecom().size(); i++) { composeContactPoint(t, "Location", "telecom", element.getTelecom().get(i), i); } @@ -15851,6 +15632,12 @@ public class RdfParser extends RdfParserBase { if (element.hasRecordedElement()) { composeDateTime(t, "MedicationAdministration", "recorded", element.getRecordedElement(), -1); } + if (element.hasIsSubPotentElement()) { + composeBoolean(t, "MedicationAdministration", "isSubPotent", element.getIsSubPotentElement(), -1); + } + for (int i = 0; i < element.getSubPotentReason().size(); i++) { + composeCodeableConcept(t, "MedicationAdministration", "subPotentReason", element.getSubPotentReason().get(i), i); + } for (int i = 0; i < element.getPerformer().size(); i++) { composeMedicationAdministrationPerformerComponent(t, "MedicationAdministration", "performer", element.getPerformer().get(i), i); } @@ -15944,8 +15731,8 @@ public class RdfParser extends RdfParserBase { if (element.hasStatusElement()) { composeEnum(t, "MedicationDispense", "status", element.getStatusElement(), -1); } - if (element.hasStatusReason()) { - composeCodeableReference(t, "MedicationDispense", "statusReason", element.getStatusReason(), -1); + if (element.hasNotPerformedReason()) { + composeCodeableReference(t, "MedicationDispense", "notPerformedReason", element.getNotPerformedReason(), -1); } if (element.hasStatusChangedElement()) { composeDateTime(t, "MedicationDispense", "statusChanged", element.getStatusChangedElement(), -1); @@ -16010,9 +15797,6 @@ public class RdfParser extends RdfParserBase { if (element.hasSubstitution()) { composeMedicationDispenseSubstitutionComponent(t, "MedicationDispense", "substitution", element.getSubstitution(), -1); } - for (int i = 0; i < element.getDetectedIssue().size(); i++) { - composeReference(t, "MedicationDispense", "detectedIssue", element.getDetectedIssue().get(i), i); - } for (int i = 0; i < element.getEventHistory().size(); i++) { composeReference(t, "MedicationDispense", "eventHistory", element.getEventHistory().get(i), i); } @@ -16121,6 +15905,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getClinicalUseIssue().size(); i++) { composeReference(t, "MedicationKnowledge", "clinicalUseIssue", element.getClinicalUseIssue().get(i), i); } + for (int i = 0; i < element.getStorageGuideline().size(); i++) { + composeMedicationKnowledgeStorageGuidelineComponent(t, "MedicationKnowledge", "storageGuideline", element.getStorageGuideline().get(i), i); + } for (int i = 0; i < element.getRegulatory().size(); i++) { composeMedicationKnowledgeRegulatoryComponent(t, "MedicationKnowledge", "regulatory", element.getRegulatory().get(i), i); } @@ -16324,6 +16111,48 @@ public class RdfParser extends RdfParserBase { } } + protected void composeMedicationKnowledgeStorageGuidelineComponent(Complex parent, String parentType, String name, MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "storageGuideline", name, element, index); + if (element.hasReferenceElement()) { + composeUri(t, "MedicationKnowledgeStorageGuidelineComponent", "reference", element.getReferenceElement(), -1); + } + for (int i = 0; i < element.getNote().size(); i++) { + composeAnnotation(t, "MedicationKnowledgeStorageGuidelineComponent", "note", element.getNote().get(i), i); + } + if (element.hasStabilityDuration()) { + composeDuration(t, "MedicationKnowledgeStorageGuidelineComponent", "stabilityDuration", element.getStabilityDuration(), -1); + } + for (int i = 0; i < element.getEnvironmentalSetting().size(); i++) { + composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(t, "MedicationKnowledgeStorageGuidelineComponent", "environmentalSetting", element.getEnvironmentalSetting().get(i), i); + } + } + + protected void composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(Complex parent, String parentType, String name, MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "environmentalSetting", name, element, index); + if (element.hasType()) { + composeCodeableConcept(t, "MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent", "type", element.getType(), -1); + } + if (element.hasValue()) { + composeType(t, "MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent", "value", element.getValue(), -1); + } + } + protected void composeMedicationKnowledgeRegulatoryComponent(Complex parent, String parentType, String name, MedicationKnowledge.MedicationKnowledgeRegulatoryComponent element, int index) { if (element == null) return; @@ -16505,8 +16334,8 @@ public class RdfParser extends RdfParserBase { if (element.hasSubject()) { composeReference(t, "MedicationRequest", "subject", element.getSubject(), -1); } - if (element.hasInformationSource()) { - composeReference(t, "MedicationRequest", "informationSource", element.getInformationSource(), -1); + for (int i = 0; i < element.getInformationSource().size(); i++) { + composeReference(t, "MedicationRequest", "informationSource", element.getInformationSource().get(i), i); } if (element.hasEncounter()) { composeReference(t, "MedicationRequest", "encounter", element.getEncounter(), -1); @@ -16526,8 +16355,11 @@ public class RdfParser extends RdfParserBase { if (element.hasPerformerType()) { composeCodeableConcept(t, "MedicationRequest", "performerType", element.getPerformerType(), -1); } - if (element.hasPerformer()) { - composeReference(t, "MedicationRequest", "performer", element.getPerformer(), -1); + for (int i = 0; i < element.getPerformer().size(); i++) { + composeReference(t, "MedicationRequest", "performer", element.getPerformer().get(i), i); + } + if (element.hasDevice()) { + composeCodeableReference(t, "MedicationRequest", "device", element.getDevice(), -1); } if (element.hasRecorder()) { composeReference(t, "MedicationRequest", "recorder", element.getRecorder(), -1); @@ -16553,9 +16385,6 @@ public class RdfParser extends RdfParserBase { if (element.hasSubstitution()) { composeMedicationRequestSubstitutionComponent(t, "MedicationRequest", "substitution", element.getSubstitution(), -1); } - for (int i = 0; i < element.getDetectedIssue().size(); i++) { - composeReference(t, "MedicationRequest", "detectedIssue", element.getDetectedIssue().get(i), i); - } for (int i = 0; i < element.getEventHistory().size(); i++) { composeReference(t, "MedicationRequest", "eventHistory", element.getEventHistory().get(i), i); } @@ -16574,8 +16403,8 @@ public class RdfParser extends RdfParserBase { if (element.hasRenderedDosageInstructionElement()) { composeString(t, "MedicationRequestDoseComponent", "renderedDosageInstruction", element.getRenderedDosageInstructionElement(), -1); } - if (element.hasEffectiveDosePeriodElement()) { - composeDateTime(t, "MedicationRequestDoseComponent", "effectiveDosePeriod", element.getEffectiveDosePeriodElement(), -1); + if (element.hasEffectiveDosePeriod()) { + composePeriod(t, "MedicationRequestDoseComponent", "effectiveDosePeriod", element.getEffectiveDosePeriod(), -1); } for (int i = 0; i < element.getDosageInstruction().size(); i++) { composeDosage(t, "MedicationRequestDoseComponent", "dosageInstruction", element.getDosageInstruction().get(i), i); @@ -16670,6 +16499,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getIdentifier().size(); i++) { composeIdentifier(t, "MedicationUsage", "identifier", element.getIdentifier().get(i), i); } + for (int i = 0; i < element.getPartOf().size(); i++) { + composeReference(t, "MedicationUsage", "partOf", element.getPartOf().get(i), i); + } if (element.hasStatusElement()) { composeEnum(t, "MedicationUsage", "status", element.getStatusElement(), -1); } @@ -16691,8 +16523,8 @@ public class RdfParser extends RdfParserBase { if (element.hasDateAssertedElement()) { composeDateTime(t, "MedicationUsage", "dateAsserted", element.getDateAssertedElement(), -1); } - if (element.hasInformationSource()) { - composeReference(t, "MedicationUsage", "informationSource", element.getInformationSource(), -1); + for (int i = 0; i < element.getInformationSource().size(); i++) { + composeReference(t, "MedicationUsage", "informationSource", element.getInformationSource().get(i), i); } for (int i = 0; i < element.getDerivedFrom().size(); i++) { composeReference(t, "MedicationUsage", "derivedFrom", element.getDerivedFrom().get(i), i); @@ -16703,6 +16535,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getNote().size(); i++) { composeAnnotation(t, "MedicationUsage", "note", element.getNote().get(i), i); } + for (int i = 0; i < element.getRelatedClinicalInformation().size(); i++) { + composeReference(t, "MedicationUsage", "relatedClinicalInformation", element.getRelatedClinicalInformation().get(i), i); + } if (element.hasRenderedDosageInstructionElement()) { composeString(t, "MedicationUsage", "renderedDosageInstruction", element.getRenderedDosageInstructionElement(), -1); } @@ -16793,6 +16628,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getPackagedMedicinalProduct().size(); i++) { composeCodeableConcept(t, "MedicinalProductDefinition", "packagedMedicinalProduct", element.getPackagedMedicinalProduct().get(i), i); } + for (int i = 0; i < element.getComprisedOf().size(); i++) { + composeReference(t, "MedicinalProductDefinition", "comprisedOf", element.getComprisedOf().get(i), i); + } for (int i = 0; i < element.getIngredient().size(); i++) { composeCodeableConcept(t, "MedicinalProductDefinition", "ingredient", element.getIngredient().get(i), i); } @@ -17048,8 +16886,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getAllowedResponse().size(); i++) { composeMessageDefinitionAllowedResponseComponent(t, "MessageDefinition", "allowedResponse", element.getAllowedResponse().get(i), i); } - for (int i = 0; i < element.getGraph().size(); i++) { - composeCanonical(t, "MessageDefinition", "graph", element.getGraph().get(i), i); + if (element.hasGraphElement()) { + composeCanonical(t, "MessageDefinition", "graph", element.getGraphElement(), -1); } } @@ -17201,8 +17039,8 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "response", name, element, index); - if (element.hasIdentifierElement()) { - composeId(t, "MessageHeaderResponseComponent", "identifier", element.getIdentifierElement(), -1); + if (element.hasIdentifier()) { + composeIdentifier(t, "MessageHeaderResponseComponent", "identifier", element.getIdentifier(), -1); } if (element.hasCodeElement()) { composeEnum(t, "MessageHeaderResponseComponent", "code", element.getCodeElement(), -1); @@ -17228,9 +17066,6 @@ public class RdfParser extends RdfParserBase { if (element.hasTypeElement()) { composeEnum(t, "MolecularSequence", "type", element.getTypeElement(), -1); } - if (element.hasCoordinateSystemElement()) { - composeInteger(t, "MolecularSequence", "coordinateSystem", element.getCoordinateSystemElement(), -1); - } if (element.hasPatient()) { composeReference(t, "MolecularSequence", "patient", element.getPatient(), -1); } @@ -17243,36 +17078,18 @@ public class RdfParser extends RdfParserBase { if (element.hasPerformer()) { composeReference(t, "MolecularSequence", "performer", element.getPerformer(), -1); } - if (element.hasQuantity()) { - composeQuantity(t, "MolecularSequence", "quantity", element.getQuantity(), -1); + if (element.hasLiteralElement()) { + composeString(t, "MolecularSequence", "literal", element.getLiteralElement(), -1); } - if (element.hasReferenceSeq()) { - composeMolecularSequenceReferenceSeqComponent(t, "MolecularSequence", "referenceSeq", element.getReferenceSeq(), -1); + for (int i = 0; i < element.getFormatted().size(); i++) { + composeAttachment(t, "MolecularSequence", "formatted", element.getFormatted().get(i), i); } - for (int i = 0; i < element.getVariant().size(); i++) { - composeMolecularSequenceVariantComponent(t, "MolecularSequence", "variant", element.getVariant().get(i), i); - } - if (element.hasObservedSeqElement()) { - composeString(t, "MolecularSequence", "observedSeq", element.getObservedSeqElement(), -1); - } - for (int i = 0; i < element.getQuality().size(); i++) { - composeMolecularSequenceQualityComponent(t, "MolecularSequence", "quality", element.getQuality().get(i), i); - } - if (element.hasReadCoverageElement()) { - composeInteger(t, "MolecularSequence", "readCoverage", element.getReadCoverageElement(), -1); - } - for (int i = 0; i < element.getRepository().size(); i++) { - composeMolecularSequenceRepositoryComponent(t, "MolecularSequence", "repository", element.getRepository().get(i), i); - } - for (int i = 0; i < element.getPointer().size(); i++) { - composeReference(t, "MolecularSequence", "pointer", element.getPointer().get(i), i); - } - for (int i = 0; i < element.getStructureVariant().size(); i++) { - composeMolecularSequenceStructureVariantComponent(t, "MolecularSequence", "structureVariant", element.getStructureVariant().get(i), i); + for (int i = 0; i < element.getRelative().size(); i++) { + composeMolecularSequenceRelativeComponent(t, "MolecularSequence", "relative", element.getRelative().get(i), i); } } - protected void composeMolecularSequenceReferenceSeqComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceReferenceSeqComponent element, int index) { + protected void composeMolecularSequenceRelativeComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceRelativeComponent element, int index) { if (element == null) return; Complex t; @@ -17281,37 +17098,52 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "referenceSeq", name, element, index); + composeBackboneElement(t, "relative", name, element, index); + if (element.hasCoordinateSystem()) { + composeCodeableConcept(t, "MolecularSequenceRelativeComponent", "coordinateSystem", element.getCoordinateSystem(), -1); + } + if (element.hasReference()) { + composeMolecularSequenceRelativeReferenceComponent(t, "MolecularSequenceRelativeComponent", "reference", element.getReference(), -1); + } + for (int i = 0; i < element.getEdit().size(); i++) { + composeMolecularSequenceRelativeEditComponent(t, "MolecularSequenceRelativeComponent", "edit", element.getEdit().get(i), i); + } + } + + protected void composeMolecularSequenceRelativeReferenceComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceRelativeReferenceComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "reference", name, element, index); + if (element.hasReferenceSequenceAssembly()) { + composeCodeableConcept(t, "MolecularSequenceRelativeReferenceComponent", "referenceSequenceAssembly", element.getReferenceSequenceAssembly(), -1); + } if (element.hasChromosome()) { - composeCodeableConcept(t, "MolecularSequenceReferenceSeqComponent", "chromosome", element.getChromosome(), -1); + composeCodeableConcept(t, "MolecularSequenceRelativeReferenceComponent", "chromosome", element.getChromosome(), -1); } - if (element.hasGenomeBuildElement()) { - composeString(t, "MolecularSequenceReferenceSeqComponent", "genomeBuild", element.getGenomeBuildElement(), -1); - } - if (element.hasOrientationElement()) { - composeEnum(t, "MolecularSequenceReferenceSeqComponent", "orientation", element.getOrientationElement(), -1); - } - if (element.hasReferenceSeqId()) { - composeCodeableConcept(t, "MolecularSequenceReferenceSeqComponent", "referenceSeqId", element.getReferenceSeqId(), -1); - } - if (element.hasReferenceSeqPointer()) { - composeReference(t, "MolecularSequenceReferenceSeqComponent", "referenceSeqPointer", element.getReferenceSeqPointer(), -1); - } - if (element.hasReferenceSeqStringElement()) { - composeString(t, "MolecularSequenceReferenceSeqComponent", "referenceSeqString", element.getReferenceSeqStringElement(), -1); - } - if (element.hasStrandElement()) { - composeEnum(t, "MolecularSequenceReferenceSeqComponent", "strand", element.getStrandElement(), -1); + if (element.hasReferenceSequence()) { + composeType(t, "MolecularSequenceRelativeReferenceComponent", "referenceSequence", element.getReferenceSequence(), -1); } if (element.hasWindowStartElement()) { - composeInteger(t, "MolecularSequenceReferenceSeqComponent", "windowStart", element.getWindowStartElement(), -1); + composeInteger(t, "MolecularSequenceRelativeReferenceComponent", "windowStart", element.getWindowStartElement(), -1); } if (element.hasWindowEndElement()) { - composeInteger(t, "MolecularSequenceReferenceSeqComponent", "windowEnd", element.getWindowEndElement(), -1); + composeInteger(t, "MolecularSequenceRelativeReferenceComponent", "windowEnd", element.getWindowEndElement(), -1); + } + if (element.hasOrientationElement()) { + composeEnum(t, "MolecularSequenceRelativeReferenceComponent", "orientation", element.getOrientationElement(), -1); + } + if (element.hasStrandElement()) { + composeEnum(t, "MolecularSequenceRelativeReferenceComponent", "strand", element.getStrandElement(), -1); } } - protected void composeMolecularSequenceVariantComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceVariantComponent element, int index) { + protected void composeMolecularSequenceRelativeEditComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceRelativeEditComponent element, int index) { if (element == null) return; Complex t; @@ -17320,207 +17152,18 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "variant", name, element, index); + composeBackboneElement(t, "edit", name, element, index); if (element.hasStartElement()) { - composeInteger(t, "MolecularSequenceVariantComponent", "start", element.getStartElement(), -1); + composeInteger(t, "MolecularSequenceRelativeEditComponent", "start", element.getStartElement(), -1); } if (element.hasEndElement()) { - composeInteger(t, "MolecularSequenceVariantComponent", "end", element.getEndElement(), -1); + composeInteger(t, "MolecularSequenceRelativeEditComponent", "end", element.getEndElement(), -1); } if (element.hasObservedAlleleElement()) { - composeString(t, "MolecularSequenceVariantComponent", "observedAllele", element.getObservedAlleleElement(), -1); + composeString(t, "MolecularSequenceRelativeEditComponent", "observedAllele", element.getObservedAlleleElement(), -1); } if (element.hasReferenceAlleleElement()) { - composeString(t, "MolecularSequenceVariantComponent", "referenceAllele", element.getReferenceAlleleElement(), -1); - } - if (element.hasCigarElement()) { - composeString(t, "MolecularSequenceVariantComponent", "cigar", element.getCigarElement(), -1); - } - if (element.hasVariantPointer()) { - composeReference(t, "MolecularSequenceVariantComponent", "variantPointer", element.getVariantPointer(), -1); - } - } - - protected void composeMolecularSequenceQualityComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceQualityComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "quality", name, element, index); - if (element.hasTypeElement()) { - composeEnum(t, "MolecularSequenceQualityComponent", "type", element.getTypeElement(), -1); - } - if (element.hasStandardSequence()) { - composeCodeableConcept(t, "MolecularSequenceQualityComponent", "standardSequence", element.getStandardSequence(), -1); - } - if (element.hasStartElement()) { - composeInteger(t, "MolecularSequenceQualityComponent", "start", element.getStartElement(), -1); - } - if (element.hasEndElement()) { - composeInteger(t, "MolecularSequenceQualityComponent", "end", element.getEndElement(), -1); - } - if (element.hasScore()) { - composeQuantity(t, "MolecularSequenceQualityComponent", "score", element.getScore(), -1); - } - if (element.hasMethod()) { - composeCodeableConcept(t, "MolecularSequenceQualityComponent", "method", element.getMethod(), -1); - } - if (element.hasTruthTPElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "truthTP", element.getTruthTPElement(), -1); - } - if (element.hasQueryTPElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "queryTP", element.getQueryTPElement(), -1); - } - if (element.hasTruthFNElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "truthFN", element.getTruthFNElement(), -1); - } - if (element.hasQueryFPElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "queryFP", element.getQueryFPElement(), -1); - } - if (element.hasGtFPElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "gtFP", element.getGtFPElement(), -1); - } - if (element.hasPrecisionElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "precision", element.getPrecisionElement(), -1); - } - if (element.hasRecallElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "recall", element.getRecallElement(), -1); - } - if (element.hasFScoreElement()) { - composeDecimal(t, "MolecularSequenceQualityComponent", "fScore", element.getFScoreElement(), -1); - } - if (element.hasRoc()) { - composeMolecularSequenceQualityRocComponent(t, "MolecularSequenceQualityComponent", "roc", element.getRoc(), -1); - } - } - - protected void composeMolecularSequenceQualityRocComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceQualityRocComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "roc", name, element, index); - for (int i = 0; i < element.getScore().size(); i++) { - composeInteger(t, "MolecularSequenceQualityRocComponent", "score", element.getScore().get(i), i); - } - for (int i = 0; i < element.getNumTP().size(); i++) { - composeInteger(t, "MolecularSequenceQualityRocComponent", "numTP", element.getNumTP().get(i), i); - } - for (int i = 0; i < element.getNumFP().size(); i++) { - composeInteger(t, "MolecularSequenceQualityRocComponent", "numFP", element.getNumFP().get(i), i); - } - for (int i = 0; i < element.getNumFN().size(); i++) { - composeInteger(t, "MolecularSequenceQualityRocComponent", "numFN", element.getNumFN().get(i), i); - } - for (int i = 0; i < element.getPrecision().size(); i++) { - composeDecimal(t, "MolecularSequenceQualityRocComponent", "precision", element.getPrecision().get(i), i); - } - for (int i = 0; i < element.getSensitivity().size(); i++) { - composeDecimal(t, "MolecularSequenceQualityRocComponent", "sensitivity", element.getSensitivity().get(i), i); - } - for (int i = 0; i < element.getFMeasure().size(); i++) { - composeDecimal(t, "MolecularSequenceQualityRocComponent", "fMeasure", element.getFMeasure().get(i), i); - } - } - - protected void composeMolecularSequenceRepositoryComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceRepositoryComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "repository", name, element, index); - if (element.hasTypeElement()) { - composeEnum(t, "MolecularSequenceRepositoryComponent", "type", element.getTypeElement(), -1); - } - if (element.hasUrlElement()) { - composeUri(t, "MolecularSequenceRepositoryComponent", "url", element.getUrlElement(), -1); - } - if (element.hasNameElement()) { - composeString(t, "MolecularSequenceRepositoryComponent", "name", element.getNameElement(), -1); - } - if (element.hasDatasetIdElement()) { - composeString(t, "MolecularSequenceRepositoryComponent", "datasetId", element.getDatasetIdElement(), -1); - } - if (element.hasVariantsetIdElement()) { - composeString(t, "MolecularSequenceRepositoryComponent", "variantsetId", element.getVariantsetIdElement(), -1); - } - if (element.hasReadsetIdElement()) { - composeString(t, "MolecularSequenceRepositoryComponent", "readsetId", element.getReadsetIdElement(), -1); - } - } - - protected void composeMolecularSequenceStructureVariantComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceStructureVariantComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "structureVariant", name, element, index); - if (element.hasVariantType()) { - composeCodeableConcept(t, "MolecularSequenceStructureVariantComponent", "variantType", element.getVariantType(), -1); - } - if (element.hasExactElement()) { - composeBoolean(t, "MolecularSequenceStructureVariantComponent", "exact", element.getExactElement(), -1); - } - if (element.hasLengthElement()) { - composeInteger(t, "MolecularSequenceStructureVariantComponent", "length", element.getLengthElement(), -1); - } - if (element.hasOuter()) { - composeMolecularSequenceStructureVariantOuterComponent(t, "MolecularSequenceStructureVariantComponent", "outer", element.getOuter(), -1); - } - if (element.hasInner()) { - composeMolecularSequenceStructureVariantInnerComponent(t, "MolecularSequenceStructureVariantComponent", "inner", element.getInner(), -1); - } - } - - protected void composeMolecularSequenceStructureVariantOuterComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceStructureVariantOuterComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "outer", name, element, index); - if (element.hasStartElement()) { - composeInteger(t, "MolecularSequenceStructureVariantOuterComponent", "start", element.getStartElement(), -1); - } - if (element.hasEndElement()) { - composeInteger(t, "MolecularSequenceStructureVariantOuterComponent", "end", element.getEndElement(), -1); - } - } - - protected void composeMolecularSequenceStructureVariantInnerComponent(Complex parent, String parentType, String name, MolecularSequence.MolecularSequenceStructureVariantInnerComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "inner", name, element, index); - if (element.hasStartElement()) { - composeInteger(t, "MolecularSequenceStructureVariantInnerComponent", "start", element.getStartElement(), -1); - } - if (element.hasEndElement()) { - composeInteger(t, "MolecularSequenceStructureVariantInnerComponent", "end", element.getEndElement(), -1); + composeString(t, "MolecularSequenceRelativeEditComponent", "referenceAllele", element.getReferenceAlleleElement(), -1); } } @@ -17533,7 +17176,7 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeCanonicalResource(t, "NamingSystem", name, element, index); + composeMetadataResource(t, "NamingSystem", name, element, index); if (element.hasUrlElement()) { composeUri(t, "NamingSystem", "url", element.getUrlElement(), -1); } @@ -17981,15 +17624,15 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeDomainResource(t, "NutritionProduct", name, element, index); + if (element.hasCode()) { + composeCodeableConcept(t, "NutritionProduct", "code", element.getCode(), -1); + } if (element.hasStatusElement()) { composeEnum(t, "NutritionProduct", "status", element.getStatusElement(), -1); } for (int i = 0; i < element.getCategory().size(); i++) { composeCodeableConcept(t, "NutritionProduct", "category", element.getCategory().get(i), i); } - if (element.hasCode()) { - composeCodeableConcept(t, "NutritionProduct", "code", element.getCode(), -1); - } for (int i = 0; i < element.getManufacturer().size(); i++) { composeReference(t, "NutritionProduct", "manufacturer", element.getManufacturer().get(i), i); } @@ -18002,11 +17645,11 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getKnownAllergen().size(); i++) { composeCodeableReference(t, "NutritionProduct", "knownAllergen", element.getKnownAllergen().get(i), i); } - for (int i = 0; i < element.getProductCharacteristic().size(); i++) { - composeNutritionProductProductCharacteristicComponent(t, "NutritionProduct", "productCharacteristic", element.getProductCharacteristic().get(i), i); + for (int i = 0; i < element.getCharacteristic().size(); i++) { + composeNutritionProductCharacteristicComponent(t, "NutritionProduct", "characteristic", element.getCharacteristic().get(i), i); } - if (element.hasInstance()) { - composeNutritionProductInstanceComponent(t, "NutritionProduct", "instance", element.getInstance(), -1); + for (int i = 0; i < element.getInstance().size(); i++) { + composeNutritionProductInstanceComponent(t, "NutritionProduct", "instance", element.getInstance().get(i), i); } for (int i = 0; i < element.getNote().size(); i++) { composeAnnotation(t, "NutritionProduct", "note", element.getNote().get(i), i); @@ -18049,7 +17692,7 @@ public class RdfParser extends RdfParserBase { } } - protected void composeNutritionProductProductCharacteristicComponent(Complex parent, String parentType, String name, NutritionProduct.NutritionProductProductCharacteristicComponent element, int index) { + protected void composeNutritionProductCharacteristicComponent(Complex parent, String parentType, String name, NutritionProduct.NutritionProductCharacteristicComponent element, int index) { if (element == null) return; Complex t; @@ -18058,12 +17701,12 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "productCharacteristic", name, element, index); + composeBackboneElement(t, "characteristic", name, element, index); if (element.hasType()) { - composeCodeableConcept(t, "NutritionProductProductCharacteristicComponent", "type", element.getType(), -1); + composeCodeableConcept(t, "NutritionProductCharacteristicComponent", "type", element.getType(), -1); } if (element.hasValue()) { - composeType(t, "NutritionProductProductCharacteristicComponent", "value", element.getValue(), -1); + composeType(t, "NutritionProductCharacteristicComponent", "value", element.getValue(), -1); } } @@ -18083,6 +17726,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getIdentifier().size(); i++) { composeIdentifier(t, "NutritionProductInstanceComponent", "identifier", element.getIdentifier().get(i), i); } + if (element.hasNameElement()) { + composeString(t, "NutritionProductInstanceComponent", "name", element.getNameElement(), -1); + } if (element.hasLotNumberElement()) { composeString(t, "NutritionProductInstanceComponent", "lotNumber", element.getLotNumberElement(), -1); } @@ -18092,8 +17738,8 @@ public class RdfParser extends RdfParserBase { if (element.hasUseByElement()) { composeDateTime(t, "NutritionProductInstanceComponent", "useBy", element.getUseByElement(), -1); } - if (element.hasBiologicalSource()) { - composeIdentifier(t, "NutritionProductInstanceComponent", "biologicalSource", element.getBiologicalSource(), -1); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier(t, "NutritionProductInstanceComponent", "biologicalSourceEvent", element.getBiologicalSourceEvent(), -1); } } @@ -18116,6 +17762,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getBasedOn().size(); i++) { composeReference(t, "Observation", "basedOn", element.getBasedOn().get(i), i); } + for (int i = 0; i < element.getTriggeredBy().size(); i++) { + composeObservationTriggeredByComponent(t, "Observation", "triggeredBy", element.getTriggeredBy().get(i), i); + } for (int i = 0; i < element.getPartOf().size(); i++) { composeReference(t, "Observation", "partOf", element.getPartOf().get(i), i); } @@ -18161,6 +17810,9 @@ public class RdfParser extends RdfParserBase { if (element.hasBodySite()) { composeCodeableConcept(t, "Observation", "bodySite", element.getBodySite(), -1); } + if (element.hasBodyStructure()) { + composeReference(t, "Observation", "bodyStructure", element.getBodyStructure(), -1); + } if (element.hasMethod()) { composeCodeableConcept(t, "Observation", "method", element.getMethod(), -1); } @@ -18184,6 +17836,27 @@ public class RdfParser extends RdfParserBase { } } + protected void composeObservationTriggeredByComponent(Complex parent, String parentType, String name, Observation.ObservationTriggeredByComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "triggeredBy", name, element, index); + if (element.hasObservation()) { + composeReference(t, "ObservationTriggeredByComponent", "observation", element.getObservation(), -1); + } + if (element.hasTypeElement()) { + composeEnum(t, "ObservationTriggeredByComponent", "type", element.getTypeElement(), -1); + } + if (element.hasReasonElement()) { + composeString(t, "ObservationTriggeredByComponent", "reason", element.getReasonElement(), -1); + } + } + protected void composeObservationReferenceRangeComponent(Complex parent, String parentType, String name, Observation.ObservationReferenceRangeComponent element, int index) { if (element == null) return; @@ -18200,6 +17873,9 @@ public class RdfParser extends RdfParserBase { if (element.hasHigh()) { composeQuantity(t, "ObservationReferenceRangeComponent", "high", element.getHigh(), -1); } + if (element.hasNormalValue()) { + composeCodeableConcept(t, "ObservationReferenceRangeComponent", "normalValue", element.getNormalValue(), -1); + } if (element.hasType()) { composeCodeableConcept(t, "ObservationReferenceRangeComponent", "type", element.getType(), -1); } @@ -18713,6 +18389,12 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getAlias().size(); i++) { composeString(t, "Organization", "alias", element.getAlias().get(i), i); } + if (element.hasDescriptionElement()) { + composeString(t, "Organization", "description", element.getDescriptionElement(), -1); + } + for (int i = 0; i < element.getContact().size(); i++) { + composeExtendedContactDetail(t, "Organization", "contact", element.getContact().get(i), i); + } for (int i = 0; i < element.getTelecom().size(); i++) { composeContactPoint(t, "Organization", "telecom", element.getTelecom().get(i), i); } @@ -18722,38 +18404,11 @@ public class RdfParser extends RdfParserBase { if (element.hasPartOf()) { composeReference(t, "Organization", "partOf", element.getPartOf(), -1); } - for (int i = 0; i < element.getContact().size(); i++) { - composeOrganizationContactComponent(t, "Organization", "contact", element.getContact().get(i), i); - } for (int i = 0; i < element.getEndpoint().size(); i++) { composeReference(t, "Organization", "endpoint", element.getEndpoint().get(i), i); } } - protected void composeOrganizationContactComponent(Complex parent, String parentType, String name, Organization.OrganizationContactComponent element, int index) { - if (element == null) - return; - Complex t; - if (Utilities.noString(parentType)) - t = parent; - else { - t = parent.predicate("fhir:"+parentType+'.'+name); - } - composeBackboneElement(t, "contact", name, element, index); - if (element.hasPurpose()) { - composeCodeableConcept(t, "OrganizationContactComponent", "purpose", element.getPurpose(), -1); - } - if (element.hasName()) { - composeHumanName(t, "OrganizationContactComponent", "name", element.getName(), -1); - } - for (int i = 0; i < element.getTelecom().size(); i++) { - composeContactPoint(t, "OrganizationContactComponent", "telecom", element.getTelecom().get(i), i); - } - if (element.hasAddress()) { - composeAddress(t, "OrganizationContactComponent", "address", element.getAddress(), -1); - } - } - protected void composeOrganizationAffiliation(Complex parent, String parentType, String name, OrganizationAffiliation element, int index) { if (element == null) return; @@ -18854,8 +18509,8 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getAttachedDocument().size(); i++) { composeReference(t, "PackagedProductDefinition", "attachedDocument", element.getAttachedDocument().get(i), i); } - if (element.hasPackage()) { - composePackagedProductDefinitionPackageComponent(t, "PackagedProductDefinition", "package", element.getPackage(), -1); + if (element.hasPackaging()) { + composePackagedProductDefinitionPackagingComponent(t, "PackagedProductDefinition", "packaging", element.getPackaging(), -1); } } @@ -18877,7 +18532,7 @@ public class RdfParser extends RdfParserBase { } } - protected void composePackagedProductDefinitionPackageComponent(Complex parent, String parentType, String name, PackagedProductDefinition.PackagedProductDefinitionPackageComponent element, int index) { + protected void composePackagedProductDefinitionPackagingComponent(Complex parent, String parentType, String name, PackagedProductDefinition.PackagedProductDefinitionPackagingComponent element, int index) { if (element == null) return; Complex t; @@ -18886,40 +18541,40 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeBackboneElement(t, "package", name, element, index); + composeBackboneElement(t, "packaging", name, element, index); for (int i = 0; i < element.getIdentifier().size(); i++) { - composeIdentifier(t, "PackagedProductDefinitionPackageComponent", "identifier", element.getIdentifier().get(i), i); + composeIdentifier(t, "PackagedProductDefinitionPackagingComponent", "identifier", element.getIdentifier().get(i), i); } if (element.hasType()) { - composeCodeableConcept(t, "PackagedProductDefinitionPackageComponent", "type", element.getType(), -1); + composeCodeableConcept(t, "PackagedProductDefinitionPackagingComponent", "type", element.getType(), -1); } if (element.hasQuantityElement()) { - composeInteger(t, "PackagedProductDefinitionPackageComponent", "quantity", element.getQuantityElement(), -1); + composeInteger(t, "PackagedProductDefinitionPackagingComponent", "quantity", element.getQuantityElement(), -1); } for (int i = 0; i < element.getMaterial().size(); i++) { - composeCodeableConcept(t, "PackagedProductDefinitionPackageComponent", "material", element.getMaterial().get(i), i); + composeCodeableConcept(t, "PackagedProductDefinitionPackagingComponent", "material", element.getMaterial().get(i), i); } for (int i = 0; i < element.getAlternateMaterial().size(); i++) { - composeCodeableConcept(t, "PackagedProductDefinitionPackageComponent", "alternateMaterial", element.getAlternateMaterial().get(i), i); + composeCodeableConcept(t, "PackagedProductDefinitionPackagingComponent", "alternateMaterial", element.getAlternateMaterial().get(i), i); } for (int i = 0; i < element.getShelfLifeStorage().size(); i++) { - composeProductShelfLife(t, "PackagedProductDefinitionPackageComponent", "shelfLifeStorage", element.getShelfLifeStorage().get(i), i); + composeProductShelfLife(t, "PackagedProductDefinitionPackagingComponent", "shelfLifeStorage", element.getShelfLifeStorage().get(i), i); } for (int i = 0; i < element.getManufacturer().size(); i++) { - composeReference(t, "PackagedProductDefinitionPackageComponent", "manufacturer", element.getManufacturer().get(i), i); + composeReference(t, "PackagedProductDefinitionPackagingComponent", "manufacturer", element.getManufacturer().get(i), i); } for (int i = 0; i < element.getProperty().size(); i++) { - composePackagedProductDefinitionPackagePropertyComponent(t, "PackagedProductDefinitionPackageComponent", "property", element.getProperty().get(i), i); + composePackagedProductDefinitionPackagingPropertyComponent(t, "PackagedProductDefinitionPackagingComponent", "property", element.getProperty().get(i), i); } for (int i = 0; i < element.getContainedItem().size(); i++) { - composePackagedProductDefinitionPackageContainedItemComponent(t, "PackagedProductDefinitionPackageComponent", "containedItem", element.getContainedItem().get(i), i); + composePackagedProductDefinitionPackagingContainedItemComponent(t, "PackagedProductDefinitionPackagingComponent", "containedItem", element.getContainedItem().get(i), i); } - for (int i = 0; i < element.getPackage().size(); i++) { - composePackagedProductDefinitionPackageComponent(t, "PackagedProductDefinitionPackageComponent", "package", element.getPackage().get(i), i); + for (int i = 0; i < element.getPackaging().size(); i++) { + composePackagedProductDefinitionPackagingComponent(t, "PackagedProductDefinitionPackagingComponent", "packaging", element.getPackaging().get(i), i); } } - protected void composePackagedProductDefinitionPackagePropertyComponent(Complex parent, String parentType, String name, PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent element, int index) { + protected void composePackagedProductDefinitionPackagingPropertyComponent(Complex parent, String parentType, String name, PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent element, int index) { if (element == null) return; Complex t; @@ -18930,14 +18585,14 @@ public class RdfParser extends RdfParserBase { } composeBackboneElement(t, "property", name, element, index); if (element.hasType()) { - composeCodeableConcept(t, "PackagedProductDefinitionPackagePropertyComponent", "type", element.getType(), -1); + composeCodeableConcept(t, "PackagedProductDefinitionPackagingPropertyComponent", "type", element.getType(), -1); } if (element.hasValue()) { - composeType(t, "PackagedProductDefinitionPackagePropertyComponent", "value", element.getValue(), -1); + composeType(t, "PackagedProductDefinitionPackagingPropertyComponent", "value", element.getValue(), -1); } } - protected void composePackagedProductDefinitionPackageContainedItemComponent(Complex parent, String parentType, String name, PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent element, int index) { + protected void composePackagedProductDefinitionPackagingContainedItemComponent(Complex parent, String parentType, String name, PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent element, int index) { if (element == null) return; Complex t; @@ -18948,10 +18603,10 @@ public class RdfParser extends RdfParserBase { } composeBackboneElement(t, "containedItem", name, element, index); if (element.hasItem()) { - composeCodeableReference(t, "PackagedProductDefinitionPackageContainedItemComponent", "item", element.getItem(), -1); + composeCodeableReference(t, "PackagedProductDefinitionPackagingContainedItemComponent", "item", element.getItem(), -1); } if (element.hasAmount()) { - composeQuantity(t, "PackagedProductDefinitionPackageContainedItemComponent", "amount", element.getAmount(), -1); + composeQuantity(t, "PackagedProductDefinitionPackagingContainedItemComponent", "amount", element.getAmount(), -1); } } @@ -19991,6 +19646,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getHealthcareService().size(); i++) { composeReference(t, "PractitionerRole", "healthcareService", element.getHealthcareService().get(i), i); } + for (int i = 0; i < element.getContact().size(); i++) { + composeExtendedContactDetail(t, "PractitionerRole", "contact", element.getContact().get(i), i); + } for (int i = 0; i < element.getTelecom().size(); i++) { composeContactPoint(t, "PractitionerRole", "telecom", element.getTelecom().get(i), i); } @@ -20219,6 +19877,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getBasedOn().size(); i++) { composeReference(t, "Provenance", "basedOn", element.getBasedOn().get(i), i); } + if (element.hasPatient()) { + composeReference(t, "Provenance", "patient", element.getPatient(), -1); + } if (element.hasEncounter()) { composeReference(t, "Provenance", "encounter", element.getEncounter(), -1); } @@ -21122,6 +20783,9 @@ public class RdfParser extends RdfParserBase { if (element.hasRole()) { composeCodeableConcept(t, "ResearchStudyAssociatedPartyComponent", "role", element.getRole(), -1); } + for (int i = 0; i < element.getPeriod().size(); i++) { + composePeriod(t, "ResearchStudyAssociatedPartyComponent", "period", element.getPeriod().get(i), i); + } for (int i = 0; i < element.getClassifier().size(); i++) { composeCodeableConcept(t, "ResearchStudyAssociatedPartyComponent", "classifier", element.getClassifier().get(i), i); } @@ -21260,8 +20924,8 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "webLocation", name, element, index); - if (element.hasType()) { - composeCodeableConcept(t, "ResearchStudyWebLocationComponent", "type", element.getType(), -1); + if (element.hasClassifier()) { + composeCodeableConcept(t, "ResearchStudyWebLocationComponent", "classifier", element.getClassifier(), -1); } if (element.hasUrlElement()) { composeUri(t, "ResearchStudyWebLocationComponent", "url", element.getUrlElement(), -1); @@ -21447,7 +21111,7 @@ public class RdfParser extends RdfParserBase { composeCodeableConcept(t, "Schedule", "serviceCategory", element.getServiceCategory().get(i), i); } for (int i = 0; i < element.getServiceType().size(); i++) { - composeCodeableConcept(t, "Schedule", "serviceType", element.getServiceType().get(i), i); + composeCodeableReference(t, "Schedule", "serviceType", element.getServiceType().get(i), i); } for (int i = 0; i < element.getSpecialty().size(); i++) { composeCodeableConcept(t, "Schedule", "specialty", element.getSpecialty().get(i), i); @@ -21482,6 +21146,9 @@ public class RdfParser extends RdfParserBase { if (element.hasNameElement()) { composeString(t, "SearchParameter", "name", element.getNameElement(), -1); } + if (element.hasTitleElement()) { + composeString(t, "SearchParameter", "title", element.getTitleElement(), -1); + } if (element.hasDerivedFromElement()) { composeCanonical(t, "SearchParameter", "derivedFrom", element.getDerivedFromElement(), -1); } @@ -21626,6 +21293,9 @@ public class RdfParser extends RdfParserBase { if (element.hasSubject()) { composeReference(t, "ServiceRequest", "subject", element.getSubject(), -1); } + for (int i = 0; i < element.getFocus().size(); i++) { + composeReference(t, "ServiceRequest", "focus", element.getFocus().get(i), i); + } if (element.hasEncounter()) { composeReference(t, "ServiceRequest", "encounter", element.getEncounter(), -1); } @@ -21665,6 +21335,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getBodySite().size(); i++) { composeCodeableConcept(t, "ServiceRequest", "bodySite", element.getBodySite().get(i), i); } + if (element.hasBodyStructure()) { + composeReference(t, "ServiceRequest", "bodyStructure", element.getBodyStructure(), -1); + } for (int i = 0; i < element.getNote().size(); i++) { composeAnnotation(t, "ServiceRequest", "note", element.getNote().get(i), i); } @@ -21693,7 +21366,7 @@ public class RdfParser extends RdfParserBase { composeCodeableConcept(t, "Slot", "serviceCategory", element.getServiceCategory().get(i), i); } for (int i = 0; i < element.getServiceType().size(); i++) { - composeCodeableConcept(t, "Slot", "serviceType", element.getServiceType().get(i), i); + composeCodeableReference(t, "Slot", "serviceType", element.getServiceType().get(i), i); } for (int i = 0; i < element.getSpecialty().size(); i++) { composeCodeableConcept(t, "Slot", "specialty", element.getSpecialty().get(i), i); @@ -21755,6 +21428,9 @@ public class RdfParser extends RdfParserBase { for (int i = 0; i < element.getRequest().size(); i++) { composeReference(t, "Specimen", "request", element.getRequest().get(i), i); } + for (int i = 0; i < element.getFeature().size(); i++) { + composeSpecimenFeatureComponent(t, "Specimen", "feature", element.getFeature().get(i), i); + } if (element.hasCollection()) { composeSpecimenCollectionComponent(t, "Specimen", "collection", element.getCollection(), -1); } @@ -21772,6 +21448,24 @@ public class RdfParser extends RdfParserBase { } } + protected void composeSpecimenFeatureComponent(Complex parent, String parentType, String name, Specimen.SpecimenFeatureComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "feature", name, element, index); + if (element.hasType()) { + composeCodeableConcept(t, "SpecimenFeatureComponent", "type", element.getType(), -1); + } + if (element.hasDescriptionElement()) { + composeString(t, "SpecimenFeatureComponent", "description", element.getDescriptionElement(), -1); + } + } + protected void composeSpecimenCollectionComponent(Complex parent, String parentType, String name, Specimen.SpecimenCollectionComponent element, int index) { if (element == null) return; @@ -21845,27 +21539,15 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "container", name, element, index); - for (int i = 0; i < element.getIdentifier().size(); i++) { - composeIdentifier(t, "SpecimenContainerComponent", "identifier", element.getIdentifier().get(i), i); - } - if (element.hasDescriptionElement()) { - composeString(t, "SpecimenContainerComponent", "description", element.getDescriptionElement(), -1); + if (element.hasDevice()) { + composeReference(t, "SpecimenContainerComponent", "device", element.getDevice(), -1); } if (element.hasLocation()) { composeReference(t, "SpecimenContainerComponent", "location", element.getLocation(), -1); } - if (element.hasType()) { - composeCodeableConcept(t, "SpecimenContainerComponent", "type", element.getType(), -1); - } - if (element.hasCapacity()) { - composeQuantity(t, "SpecimenContainerComponent", "capacity", element.getCapacity(), -1); - } if (element.hasSpecimenQuantity()) { composeQuantity(t, "SpecimenContainerComponent", "specimenQuantity", element.getSpecimenQuantity(), -1); } - if (element.hasAdditive()) { - composeType(t, "SpecimenContainerComponent", "additive", element.getAdditive(), -1); - } } protected void composeSpecimenDefinition(Complex parent, String parentType, String name, SpecimenDefinition element, int index) { @@ -22577,9 +22259,6 @@ public class RdfParser extends RdfParserBase { if (element.hasContentElement()) { composeEnum(t, "Subscription", "content", element.getContentElement(), -1); } - if (element.hasNotificationUrlLocationElement()) { - composeEnum(t, "Subscription", "notificationUrlLocation", element.getNotificationUrlLocationElement(), -1); - } if (element.hasMaxCountElement()) { composePositiveInt(t, "Subscription", "maxCount", element.getMaxCountElement(), -1); } @@ -22598,11 +22277,11 @@ public class RdfParser extends RdfParserBase { if (element.hasResourceTypeElement()) { composeUri(t, "SubscriptionFilterByComponent", "resourceType", element.getResourceTypeElement(), -1); } - if (element.hasSearchParamNameElement()) { - composeString(t, "SubscriptionFilterByComponent", "searchParamName", element.getSearchParamNameElement(), -1); + if (element.hasFilterParameterElement()) { + composeString(t, "SubscriptionFilterByComponent", "filterParameter", element.getFilterParameterElement(), -1); } - if (element.hasSearchModifierElement()) { - composeEnum(t, "SubscriptionFilterByComponent", "searchModifier", element.getSearchModifierElement(), -1); + if (element.hasModifierElement()) { + composeEnum(t, "SubscriptionFilterByComponent", "modifier", element.getModifierElement(), -1); } if (element.hasValueElement()) { composeString(t, "SubscriptionFilterByComponent", "value", element.getValueElement(), -1); @@ -22628,9 +22307,6 @@ public class RdfParser extends RdfParserBase { if (element.hasEventsSinceSubscriptionStartElement()) { composeInteger64(t, "SubscriptionStatus", "eventsSinceSubscriptionStart", element.getEventsSinceSubscriptionStartElement(), -1); } - if (element.hasEventsInNotificationElement()) { - composeInteger(t, "SubscriptionStatus", "eventsInNotification", element.getEventsInNotificationElement(), -1); - } for (int i = 0; i < element.getNotificationEvent().size(); i++) { composeSubscriptionStatusNotificationEventComponent(t, "SubscriptionStatus", "notificationEvent", element.getNotificationEvent().get(i), i); } @@ -22678,7 +22354,7 @@ public class RdfParser extends RdfParserBase { else { t = parent.predicate("fhir:"+parentType+'.'+name); } - composeDomainResource(t, "SubscriptionTopic", name, element, index); + composeCanonicalResource(t, "SubscriptionTopic", name, element, index); if (element.hasUrlElement()) { composeUri(t, "SubscriptionTopic", "url", element.getUrlElement(), -1); } @@ -22841,6 +22517,9 @@ public class RdfParser extends RdfParserBase { if (element.hasFilterParameterElement()) { composeString(t, "SubscriptionTopicCanFilterByComponent", "filterParameter", element.getFilterParameterElement(), -1); } + if (element.hasFilterDefinitionElement()) { + composeUri(t, "SubscriptionTopicCanFilterByComponent", "filterDefinition", element.getFilterDefinitionElement(), -1); + } for (int i = 0; i < element.getModifier().size(); i++) { composeEnum(t, "SubscriptionTopicCanFilterByComponent", "modifier", element.getModifier().get(i), i); } @@ -23036,8 +22715,8 @@ public class RdfParser extends RdfParserBase { if (element.hasAmount()) { composeType(t, "SubstanceDefinitionMoietyComponent", "amount", element.getAmount(), -1); } - if (element.hasAmountType()) { - composeCodeableConcept(t, "SubstanceDefinitionMoietyComponent", "amountType", element.getAmountType(), -1); + if (element.hasMeasurementType()) { + composeCodeableConcept(t, "SubstanceDefinitionMoietyComponent", "measurementType", element.getMeasurementType(), -1); } } @@ -23255,11 +22934,11 @@ public class RdfParser extends RdfParserBase { if (element.hasAmount()) { composeType(t, "SubstanceDefinitionRelationshipComponent", "amount", element.getAmount(), -1); } - if (element.hasAmountRatioHighLimit()) { - composeRatio(t, "SubstanceDefinitionRelationshipComponent", "amountRatioHighLimit", element.getAmountRatioHighLimit(), -1); + if (element.hasRatioHighLimitAmount()) { + composeRatio(t, "SubstanceDefinitionRelationshipComponent", "ratioHighLimitAmount", element.getRatioHighLimitAmount(), -1); } - if (element.hasAmountType()) { - composeCodeableConcept(t, "SubstanceDefinitionRelationshipComponent", "amountType", element.getAmountType(), -1); + if (element.hasComparator()) { + composeCodeableConcept(t, "SubstanceDefinitionRelationshipComponent", "comparator", element.getComparator(), -1); } for (int i = 0; i < element.getSource().size(); i++) { composeReference(t, "SubstanceDefinitionRelationshipComponent", "source", element.getSource().get(i), i); @@ -24527,8 +24206,8 @@ public class RdfParser extends RdfParserBase { if (element.hasStatusElement()) { composeEnum(t, "TestReport", "status", element.getStatusElement(), -1); } - if (element.hasTestScript()) { - composeReference(t, "TestReport", "testScript", element.getTestScript(), -1); + if (element.hasTestScriptElement()) { + composeCanonical(t, "TestReport", "testScript", element.getTestScriptElement(), -1); } if (element.hasResultElement()) { composeEnum(t, "TestReport", "result", element.getResultElement(), -1); @@ -25038,7 +24717,7 @@ public class RdfParser extends RdfParserBase { composeCoding(t, "SetupActionOperationComponent", "type", element.getType(), -1); } if (element.hasResourceElement()) { - composeEnum(t, "SetupActionOperationComponent", "resource", element.getResourceElement(), -1); + composeUri(t, "SetupActionOperationComponent", "resource", element.getResourceElement(), -1); } if (element.hasLabelElement()) { composeString(t, "SetupActionOperationComponent", "label", element.getLabelElement(), -1); @@ -25255,6 +24934,174 @@ public class RdfParser extends RdfParserBase { } } + protected void composeTransport(Complex parent, String parentType, String name, Transport element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeDomainResource(t, "Transport", name, element, index); + for (int i = 0; i < element.getIdentifier().size(); i++) { + composeIdentifier(t, "Transport", "identifier", element.getIdentifier().get(i), i); + } + if (element.hasInstantiatesCanonicalElement()) { + composeCanonical(t, "Transport", "instantiatesCanonical", element.getInstantiatesCanonicalElement(), -1); + } + if (element.hasInstantiatesUriElement()) { + composeUri(t, "Transport", "instantiatesUri", element.getInstantiatesUriElement(), -1); + } + for (int i = 0; i < element.getBasedOn().size(); i++) { + composeReference(t, "Transport", "basedOn", element.getBasedOn().get(i), i); + } + if (element.hasGroupIdentifier()) { + composeIdentifier(t, "Transport", "groupIdentifier", element.getGroupIdentifier(), -1); + } + for (int i = 0; i < element.getPartOf().size(); i++) { + composeReference(t, "Transport", "partOf", element.getPartOf().get(i), i); + } + if (element.hasStatusElement()) { + composeEnum(t, "Transport", "status", element.getStatusElement(), -1); + } + if (element.hasStatusReason()) { + composeCodeableConcept(t, "Transport", "statusReason", element.getStatusReason(), -1); + } + if (element.hasIntentElement()) { + composeEnum(t, "Transport", "intent", element.getIntentElement(), -1); + } + if (element.hasPriorityElement()) { + composeEnum(t, "Transport", "priority", element.getPriorityElement(), -1); + } + if (element.hasCode()) { + composeCodeableConcept(t, "Transport", "code", element.getCode(), -1); + } + if (element.hasDescriptionElement()) { + composeString(t, "Transport", "description", element.getDescriptionElement(), -1); + } + if (element.hasFocus()) { + composeReference(t, "Transport", "focus", element.getFocus(), -1); + } + if (element.hasFor()) { + composeReference(t, "Transport", "for", element.getFor(), -1); + } + if (element.hasEncounter()) { + composeReference(t, "Transport", "encounter", element.getEncounter(), -1); + } + if (element.hasCompletionTimeElement()) { + composeDateTime(t, "Transport", "completionTime", element.getCompletionTimeElement(), -1); + } + if (element.hasAuthoredOnElement()) { + composeDateTime(t, "Transport", "authoredOn", element.getAuthoredOnElement(), -1); + } + if (element.hasLastModifiedElement()) { + composeDateTime(t, "Transport", "lastModified", element.getLastModifiedElement(), -1); + } + if (element.hasRequester()) { + composeReference(t, "Transport", "requester", element.getRequester(), -1); + } + for (int i = 0; i < element.getPerformerType().size(); i++) { + composeCodeableConcept(t, "Transport", "performerType", element.getPerformerType().get(i), i); + } + if (element.hasOwner()) { + composeReference(t, "Transport", "owner", element.getOwner(), -1); + } + if (element.hasLocation()) { + composeReference(t, "Transport", "location", element.getLocation(), -1); + } + if (element.hasReasonCode()) { + composeCodeableConcept(t, "Transport", "reasonCode", element.getReasonCode(), -1); + } + if (element.hasReasonReference()) { + composeReference(t, "Transport", "reasonReference", element.getReasonReference(), -1); + } + for (int i = 0; i < element.getInsurance().size(); i++) { + composeReference(t, "Transport", "insurance", element.getInsurance().get(i), i); + } + for (int i = 0; i < element.getNote().size(); i++) { + composeAnnotation(t, "Transport", "note", element.getNote().get(i), i); + } + for (int i = 0; i < element.getRelevantHistory().size(); i++) { + composeReference(t, "Transport", "relevantHistory", element.getRelevantHistory().get(i), i); + } + if (element.hasRestriction()) { + composeTransportRestrictionComponent(t, "Transport", "restriction", element.getRestriction(), -1); + } + for (int i = 0; i < element.getInput().size(); i++) { + composeTransportParameterComponent(t, "Transport", "input", element.getInput().get(i), i); + } + for (int i = 0; i < element.getOutput().size(); i++) { + composeTransportOutputComponent(t, "Transport", "output", element.getOutput().get(i), i); + } + if (element.hasRequestedLocation()) { + composeReference(t, "Transport", "requestedLocation", element.getRequestedLocation(), -1); + } + if (element.hasCurrentLocation()) { + composeReference(t, "Transport", "currentLocation", element.getCurrentLocation(), -1); + } + if (element.hasHistory()) { + composeReference(t, "Transport", "history", element.getHistory(), -1); + } + } + + protected void composeTransportRestrictionComponent(Complex parent, String parentType, String name, Transport.TransportRestrictionComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "restriction", name, element, index); + if (element.hasRepetitionsElement()) { + composePositiveInt(t, "TransportRestrictionComponent", "repetitions", element.getRepetitionsElement(), -1); + } + if (element.hasPeriod()) { + composePeriod(t, "TransportRestrictionComponent", "period", element.getPeriod(), -1); + } + for (int i = 0; i < element.getRecipient().size(); i++) { + composeReference(t, "TransportRestrictionComponent", "recipient", element.getRecipient().get(i), i); + } + } + + protected void composeTransportParameterComponent(Complex parent, String parentType, String name, Transport.ParameterComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "input", name, element, index); + if (element.hasType()) { + composeCodeableConcept(t, "ParameterComponent", "type", element.getType(), -1); + } + if (element.hasValue()) { + composeType(t, "ParameterComponent", "value", element.getValue(), -1); + } + } + + protected void composeTransportOutputComponent(Complex parent, String parentType, String name, Transport.TransportOutputComponent element, int index) { + if (element == null) + return; + Complex t; + if (Utilities.noString(parentType)) + t = parent; + else { + t = parent.predicate("fhir:"+parentType+'.'+name); + } + composeBackboneElement(t, "output", name, element, index); + if (element.hasType()) { + composeCodeableConcept(t, "TransportOutputComponent", "type", element.getType(), -1); + } + if (element.hasValue()) { + composeType(t, "TransportOutputComponent", "value", element.getValue(), -1); + } + } + protected void composeValueSet(Complex parent, String parentType, String name, ValueSet element, int index) { if (element == null) return; @@ -25580,9 +25427,6 @@ public class RdfParser extends RdfParserBase { t = parent.predicate("fhir:"+parentType+'.'+name); } composeBackboneElement(t, "scope", name, element, index); - if (element.hasFocusElement()) { - composeString(t, "ValueSetScopeComponent", "focus", element.getFocusElement(), -1); - } if (element.hasInclusionCriteriaElement()) { composeString(t, "ValueSetScopeComponent", "inclusionCriteria", element.getInclusionCriteriaElement(), -1); } @@ -25902,8 +25746,6 @@ public class RdfParser extends RdfParserBase { composeClinicalImpression(parent, null, "ClinicalImpression", (ClinicalImpression)resource, -1); } else if (resource instanceof ClinicalUseDefinition) { composeClinicalUseDefinition(parent, null, "ClinicalUseDefinition", (ClinicalUseDefinition)resource, -1); - } else if (resource instanceof ClinicalUseIssue) { - composeClinicalUseIssue(parent, null, "ClinicalUseIssue", (ClinicalUseIssue)resource, -1); } else if (resource instanceof CodeSystem) { composeCodeSystem(parent, null, "CodeSystem", (CodeSystem)resource, -1); } else if (resource instanceof Communication) { @@ -25916,8 +25758,6 @@ public class RdfParser extends RdfParserBase { composeComposition(parent, null, "Composition", (Composition)resource, -1); } else if (resource instanceof ConceptMap) { composeConceptMap(parent, null, "ConceptMap", (ConceptMap)resource, -1); - } else if (resource instanceof ConceptMap2) { - composeConceptMap2(parent, null, "ConceptMap2", (ConceptMap2)resource, -1); } else if (resource instanceof Condition) { composeCondition(parent, null, "Condition", (Condition)resource, -1); } else if (resource instanceof ConditionDefinition) { @@ -25978,6 +25818,8 @@ public class RdfParser extends RdfParserBase { composeFamilyMemberHistory(parent, null, "FamilyMemberHistory", (FamilyMemberHistory)resource, -1); } else if (resource instanceof Flag) { composeFlag(parent, null, "Flag", (Flag)resource, -1); + } else if (resource instanceof FormularyItem) { + composeFormularyItem(parent, null, "FormularyItem", (FormularyItem)resource, -1); } else if (resource instanceof Goal) { composeGoal(parent, null, "Goal", (Goal)resource, -1); } else if (resource instanceof GraphDefinition) { @@ -26150,6 +25992,8 @@ public class RdfParser extends RdfParserBase { composeTestReport(parent, null, "TestReport", (TestReport)resource, -1); } else if (resource instanceof TestScript) { composeTestScript(parent, null, "TestScript", (TestScript)resource, -1); + } else if (resource instanceof Transport) { + composeTransport(parent, null, "Transport", (Transport)resource, -1); } else if (resource instanceof ValueSet) { composeValueSet(parent, null, "ValueSet", (ValueSet)resource, -1); } else if (resource instanceof VerificationResult) { @@ -26245,6 +26089,8 @@ public class RdfParser extends RdfParserBase { composeElementDefinition(parent, parentType, name, (ElementDefinition)value, index); } else if (value instanceof Expression) { composeExpression(parent, parentType, name, (Expression)value, index); + } else if (value instanceof ExtendedContactDetail) { + composeExtendedContactDetail(parent, parentType, name, (ExtendedContactDetail)value, index); } else if (value instanceof Extension) { composeExtension(parent, parentType, name, (Extension)value, index); } else if (value instanceof HumanName) { @@ -26265,8 +26111,6 @@ public class RdfParser extends RdfParserBase { composePeriod(parent, parentType, name, (Period)value, index); } else if (value instanceof Population) { composePopulation(parent, parentType, name, (Population)value, index); - } else if (value instanceof ProdCharacteristic) { - composeProdCharacteristic(parent, parentType, name, (ProdCharacteristic)value, index); } else if (value instanceof ProductShelfLife) { composeProductShelfLife(parent, parentType, name, (ProductShelfLife)value, index); } else if (value instanceof Quantity) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/XmlParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/XmlParser.java index 785169b0a..fde3b08ba 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/XmlParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/formats/XmlParser.java @@ -30,7 +30,7 @@ package org.hl7.fhir.r5.formats; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 21, 2021 05:44+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent @@ -910,8 +910,10 @@ public class XmlParser extends XmlParserBase { res.setPatientInstructionElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("timing")) { res.setTiming(parseTiming(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "asNeeded")) { - res.setAsNeeded(parseType("asNeeded", xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("asNeeded")) { + res.setAsNeededElement(parseBoolean(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("asNeededFor")) { + res.getAsNeededFor().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("site")) { res.setSite(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("route")) { @@ -921,7 +923,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("doseAndRate")) { res.getDoseAndRate().add(parseDosageDoseAndRateComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("maxDosePerPeriod")) { - res.setMaxDosePerPeriod(parseRatio(xpp)); + res.getMaxDosePerPeriod().add(parseRatio(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("maxDosePerAdministration")) { res.setMaxDosePerAdministration(parseQuantity(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("maxDosePerLifetime")) { @@ -1340,6 +1342,40 @@ public class XmlParser extends XmlParserBase { return true; } + protected ExtendedContactDetail parseExtendedContactDetail(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + ExtendedContactDetail res = new ExtendedContactDetail(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseExtendedContactDetailContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseExtendedContactDetailContent(int eventType, XmlPullParser xpp, ExtendedContactDetail res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("purpose")) { + res.setPurpose(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { + res.setName(parseHumanName(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { + res.getTelecom().add(parseContactPoint(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("address")) { + res.setAddress(parseAddress(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("organization")) { + res.setOrganization(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("period")) { + res.setPeriod(parsePeriod(xpp)); + } else if (!parseDataTypeContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Extension parseExtension(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Extension res = new Extension(); parseElementAttributes(xpp, res); @@ -1646,50 +1682,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected ProdCharacteristic parseProdCharacteristic(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ProdCharacteristic res = new ProdCharacteristic(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseProdCharacteristicContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseProdCharacteristicContent(int eventType, XmlPullParser xpp, ProdCharacteristic res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("height")) { - res.setHeight(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("width")) { - res.setWidth(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("depth")) { - res.setDepth(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("weight")) { - res.setWeight(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("nominalVolume")) { - res.setNominalVolume(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("externalDiameter")) { - res.setExternalDiameter(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("shape")) { - res.setShapeElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("color")) { - res.getColor().add(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("imprint")) { - res.getImprint().add(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("image")) { - res.getImage().add(parseAttachment(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("scoring")) { - res.setScoring(parseCodeableConcept(xpp)); - } else if (!parseBackboneTypeContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected ProductShelfLife parseProductShelfLife(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { ProductShelfLife res = new ProductShelfLife(); parseElementAttributes(xpp, res); @@ -2630,6 +2622,8 @@ public class XmlParser extends XmlParserBase { res.setRecorder(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("participant")) { res.getParticipant().add(parseAdverseEventParticipantComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("expectedInResearchStudy")) { + res.setExpectedInResearchStudyElement(parseBoolean(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("suspectEntity")) { res.getSuspectEntity().add(parseAdverseEventSuspectEntityComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contributingFactor")) { @@ -2862,10 +2856,8 @@ public class XmlParser extends XmlParserBase { res.setOnset(parseType("onset", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recordedDate")) { res.setRecordedDateElement(parseDateTime(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recorder")) { - res.setRecorder(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("asserter")) { - res.setAsserter(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("participant")) { + res.getParticipant().add(parseAllergyIntoleranceParticipantComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("lastOccurrence")) { res.setLastOccurrenceElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { @@ -2878,6 +2870,32 @@ public class XmlParser extends XmlParserBase { return true; } + protected AllergyIntolerance.AllergyIntoleranceParticipantComponent parseAllergyIntoleranceParticipantComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + AllergyIntolerance.AllergyIntoleranceParticipantComponent res = new AllergyIntolerance.AllergyIntoleranceParticipantComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseAllergyIntoleranceParticipantComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseAllergyIntoleranceParticipantComponentContent(int eventType, XmlPullParser xpp, AllergyIntolerance.AllergyIntoleranceParticipantComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("function")) { + res.setFunction(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("actor")) { + res.setActor(parseReference(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected AllergyIntolerance.AllergyIntoleranceReactionComponent parseAllergyIntoleranceReactionComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { AllergyIntolerance.AllergyIntoleranceReactionComponent res = new AllergyIntolerance.AllergyIntoleranceReactionComponent(); parseElementAttributes(xpp, res); @@ -2939,7 +2957,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceCategory")) { res.getServiceCategory().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceType")) { - res.getServiceType().add(parseCodeableConcept(xpp)); + res.getServiceType().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specialty")) { res.getSpecialty().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("appointmentType")) { @@ -3090,7 +3108,7 @@ public class XmlParser extends XmlParserBase { res.setWorkflowStatusElement(parseEnumeration(xpp, ArtifactAssessment.ArtifactAssessmentWorkflowStatus.NULL, new ArtifactAssessment.ArtifactAssessmentWorkflowStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("disposition")) { res.setDispositionElement(parseEnumeration(xpp, ArtifactAssessment.ArtifactAssessmentDisposition.NULL, new ArtifactAssessment.ArtifactAssessmentDispositionEnumFactory())); - } else if (!parseMetadataResourceContent(eventType, xpp, res)){ + } else if (!parseDomainResourceContent(eventType, xpp, res)){ return false; } return true; @@ -3170,6 +3188,8 @@ public class XmlParser extends XmlParserBase { res.getAuthorization().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { res.getBasedOn().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("patient")) { + res.setPatient(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { res.setEncounter(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("agent")) { @@ -3359,7 +3379,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("created")) { - res.setCreatedElement(parseDate(xpp)); + res.setCreatedElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("author")) { res.setAuthor(parseReference(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -3413,23 +3433,23 @@ public class XmlParser extends XmlParserBase { protected boolean parseBiologicallyDerivedProductContent(int eventType, XmlPullParser xpp, BiologicallyDerivedProduct res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("productCategory")) { - res.setProductCategoryElement(parseEnumeration(xpp, BiologicallyDerivedProduct.BiologicallyDerivedProductCategory.NULL, new BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory())); + res.setProductCategory(parseCoding(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("productCode")) { - res.setProductCode(parseCodeableConcept(xpp)); + res.setProductCode(parseCoding(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("parent")) { res.getParent().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("request")) { res.getRequest().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.getIdentifier().add(parseIdentifier(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("biologicalSource")) { - res.setBiologicalSource(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("biologicalSourceEvent")) { + res.setBiologicalSourceEvent(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("processingFacility")) { res.getProcessingFacility().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("division")) { res.setDivisionElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { - res.setStatusElement(parseEnumeration(xpp, BiologicallyDerivedProduct.BiologicallyDerivedProductStatus.NULL, new BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("productStatus")) { + res.setProductStatus(parseCoding(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("expirationDate")) { res.setExpirationDateElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("collection")) { @@ -3489,7 +3509,7 @@ public class XmlParser extends XmlParserBase { protected boolean parseBiologicallyDerivedProductPropertyComponentContent(int eventType, XmlPullParser xpp, BiologicallyDerivedProduct.BiologicallyDerivedProductPropertyComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setType(parseCodeableConcept(xpp)); + res.setType(parseCoding(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { res.setValue(parseType("value", xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -3520,8 +3540,6 @@ public class XmlParser extends XmlParserBase { res.setActiveElement(parseBoolean(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("morphology")) { res.setMorphology(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("location")) { - res.setLocation(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("includedStructure")) { res.getIncludedStructure().add(parseBodyStructureIncludedStructureComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("excludedStructure")) { @@ -4646,8 +4664,8 @@ public class XmlParser extends XmlParserBase { res.setPeriod(parsePeriod(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("created")) { res.setCreatedElement(parseDateTime(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("author")) { - res.setAuthor(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("custodian")) { + res.setCustodian(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contributor")) { res.getContributor().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("careTeam")) { @@ -5275,7 +5293,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("part")) { res.setPart(parseCitationCitedArtifactPartComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relatesTo")) { - res.getRelatesTo().add(parseRelatedArtifact(xpp)); + res.getRelatesTo().add(parseCitationCitedArtifactRelatesToComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("publicationForm")) { res.getPublicationForm().add(parseCitationCitedArtifactPublicationFormComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("webLocation")) { @@ -5432,6 +5450,44 @@ public class XmlParser extends XmlParserBase { return true; } + protected Citation.CitationCitedArtifactRelatesToComponent parseCitationCitedArtifactRelatesToComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Citation.CitationCitedArtifactRelatesToComponent res = new Citation.CitationCitedArtifactRelatesToComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseCitationCitedArtifactRelatesToComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseCitationCitedArtifactRelatesToComponentContent(int eventType, XmlPullParser xpp, Citation.CitationCitedArtifactRelatesToComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setTypeElement(parseEnumeration(xpp, Citation.RelatedArtifactTypeExpanded.NULL, new Citation.RelatedArtifactTypeExpandedEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classifier")) { + res.getClassifier().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("label")) { + res.setLabelElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { + res.setDisplayElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("citation")) { + res.setCitationElement(parseMarkdown(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("document")) { + res.setDocument(parseAttachment(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("resource")) { + res.setResourceElement(parseCanonical(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("resourceReference")) { + res.setResourceReference(parseReference(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Citation.CitationCitedArtifactPublicationFormComponent parseCitationCitedArtifactPublicationFormComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Citation.CitationCitedArtifactPublicationFormComponent res = new Citation.CitationCitedArtifactPublicationFormComponent(); parseElementAttributes(xpp, res); @@ -5618,40 +5674,8 @@ public class XmlParser extends XmlParserBase { res.setType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classifier")) { res.getClassifier().add(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("whoClassified")) { - res.setWhoClassified(parseCitationCitedArtifactClassificationWhoClassifiedComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected Citation.CitationCitedArtifactClassificationWhoClassifiedComponent parseCitationCitedArtifactClassificationWhoClassifiedComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Citation.CitationCitedArtifactClassificationWhoClassifiedComponent res = new Citation.CitationCitedArtifactClassificationWhoClassifiedComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseCitationCitedArtifactClassificationWhoClassifiedComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseCitationCitedArtifactClassificationWhoClassifiedComponentContent(int eventType, XmlPullParser xpp, Citation.CitationCitedArtifactClassificationWhoClassifiedComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("person")) { - res.setPerson(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("organization")) { - res.setOrganization(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("publisher")) { - res.setPublisher(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classifierCopyright")) { - res.setClassifierCopyrightElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("freeToShare")) { - res.setFreeToShareElement(parseBoolean(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("artifactAssessment")) { + res.getArtifactAssessment().add(parseReference(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -5679,7 +5703,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("entry")) { res.getEntry().add(parseCitationCitedArtifactContributorshipEntryComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("summary")) { - res.getSummary().add(parseCitationCitedArtifactContributorshipSummaryComponent(xpp)); + res.getSummary().add(parseCitationContributorshipSummaryComponent(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -5702,20 +5726,12 @@ public class XmlParser extends XmlParserBase { } protected boolean parseCitationCitedArtifactContributorshipEntryComponentContent(int eventType, XmlPullParser xpp, Citation.CitationCitedArtifactContributorshipEntryComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { - res.setName(parseHumanName(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("initials")) { - res.setInitialsElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("collectiveName")) { - res.setCollectiveNameElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.getIdentifier().add(parseIdentifier(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("affiliationInfo")) { - res.getAffiliationInfo().add(parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("address")) { - res.getAddress().add(parseAddress(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { - res.getTelecom().add(parseContactPoint(xpp)); + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contributor")) { + res.setContributor(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("forenameInitials")) { + res.setForenameInitialsElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("affiliation")) { + res.getAffiliation().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contributionType")) { res.getContributionType().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("role")) { @@ -5732,34 +5748,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent res = new Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseCitationCitedArtifactContributorshipEntryAffiliationInfoComponentContent(int eventType, XmlPullParser xpp, Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("affiliation")) { - res.setAffiliationElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("role")) { - res.setRoleElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.getIdentifier().add(parseIdentifier(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent parseCitationCitedArtifactContributorshipEntryContributionInstanceComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent res = new Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent(); parseElementAttributes(xpp, res); @@ -5786,13 +5774,13 @@ public class XmlParser extends XmlParserBase { return true; } - protected Citation.CitationCitedArtifactContributorshipSummaryComponent parseCitationCitedArtifactContributorshipSummaryComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Citation.CitationCitedArtifactContributorshipSummaryComponent res = new Citation.CitationCitedArtifactContributorshipSummaryComponent(); + protected Citation.ContributorshipSummaryComponent parseCitationContributorshipSummaryComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Citation.ContributorshipSummaryComponent res = new Citation.ContributorshipSummaryComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseCitationCitedArtifactContributorshipSummaryComponentContent(eventType, xpp, res)) + if (!parseCitationContributorshipSummaryComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -5801,7 +5789,7 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseCitationCitedArtifactContributorshipSummaryComponentContent(int eventType, XmlPullParser xpp, Citation.CitationCitedArtifactContributorshipSummaryComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + protected boolean parseCitationContributorshipSummaryComponentContent(int eventType, XmlPullParser xpp, Citation.ContributorshipSummaryComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("style")) { @@ -6879,7 +6867,7 @@ public class XmlParser extends XmlParserBase { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.getIdentifier().add(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setTypeElement(parseEnumeration(xpp, Enumerations.ClinicalUseIssueType.NULL, new Enumerations.ClinicalUseIssueTypeEnumFactory())); + res.setTypeElement(parseEnumeration(xpp, ClinicalUseDefinition.ClinicalUseDefinitionType.NULL, new ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { res.getCategory().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { @@ -6986,8 +6974,8 @@ public class XmlParser extends XmlParserBase { res.getComorbidity().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("intendedEffect")) { res.setIntendedEffect(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("duration")) { - res.setDuration(parseQuantity(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "duration")) { + res.setDuration(parseType("duration", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("undesirableEffect")) { res.getUndesirableEffect().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("otherTherapy")) { @@ -7108,228 +7096,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected ClinicalUseIssue parseClinicalUseIssue(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue res = new ClinicalUseIssue(); - parseResourceAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueContent(int eventType, XmlPullParser xpp, ClinicalUseIssue res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.getIdentifier().add(parseIdentifier(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setTypeElement(parseEnumeration(xpp, Enumerations.ClinicalUseIssueType.NULL, new Enumerations.ClinicalUseIssueTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { - res.getCategory().add(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { - res.getSubject().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { - res.setStatus(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { - res.setDescriptionElement(parseMarkdown(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contraindication")) { - res.setContraindication(parseClinicalUseIssueContraindicationComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("indication")) { - res.setIndication(parseClinicalUseIssueIndicationComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("interaction")) { - res.setInteraction(parseClinicalUseIssueInteractionComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("population")) { - res.getPopulation().add(parsePopulation(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("undesirableEffect")) { - res.setUndesirableEffect(parseClinicalUseIssueUndesirableEffectComponent(xpp)); - } else if (!parseDomainResourceContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ClinicalUseIssue.ClinicalUseIssueContraindicationComponent parseClinicalUseIssueContraindicationComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueContraindicationComponent res = new ClinicalUseIssue.ClinicalUseIssueContraindicationComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueContraindicationComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueContraindicationComponentContent(int eventType, XmlPullParser xpp, ClinicalUseIssue.ClinicalUseIssueContraindicationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("diseaseSymptomProcedure")) { - res.setDiseaseSymptomProcedure(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("diseaseStatus")) { - res.setDiseaseStatus(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("comorbidity")) { - res.getComorbidity().add(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("indication")) { - res.getIndication().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("otherTherapy")) { - res.getOtherTherapy().add(parseClinicalUseIssueContraindicationOtherTherapyComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent parseClinicalUseIssueContraindicationOtherTherapyComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent res = new ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueContraindicationOtherTherapyComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueContraindicationOtherTherapyComponentContent(int eventType, XmlPullParser xpp, ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relationshipType")) { - res.setRelationshipType(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("therapy")) { - res.setTherapy(parseCodeableReference(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ClinicalUseIssue.ClinicalUseIssueIndicationComponent parseClinicalUseIssueIndicationComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueIndicationComponent res = new ClinicalUseIssue.ClinicalUseIssueIndicationComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueIndicationComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueIndicationComponentContent(int eventType, XmlPullParser xpp, ClinicalUseIssue.ClinicalUseIssueIndicationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("diseaseSymptomProcedure")) { - res.setDiseaseSymptomProcedure(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("diseaseStatus")) { - res.setDiseaseStatus(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("comorbidity")) { - res.getComorbidity().add(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("intendedEffect")) { - res.setIntendedEffect(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("duration")) { - res.setDuration(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("undesirableEffect")) { - res.getUndesirableEffect().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("otherTherapy")) { - res.getOtherTherapy().add(parseClinicalUseIssueContraindicationOtherTherapyComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ClinicalUseIssue.ClinicalUseIssueInteractionComponent parseClinicalUseIssueInteractionComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueInteractionComponent res = new ClinicalUseIssue.ClinicalUseIssueInteractionComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueInteractionComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueInteractionComponentContent(int eventType, XmlPullParser xpp, ClinicalUseIssue.ClinicalUseIssueInteractionComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("interactant")) { - res.getInteractant().add(parseClinicalUseIssueInteractionInteractantComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setType(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("effect")) { - res.setEffect(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("incidence")) { - res.setIncidence(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("management")) { - res.getManagement().add(parseCodeableConcept(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent parseClinicalUseIssueInteractionInteractantComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent res = new ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueInteractionInteractantComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueInteractionInteractantComponentContent(int eventType, XmlPullParser xpp, ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "item")) { - res.setItem(parseType("item", xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent parseClinicalUseIssueUndesirableEffectComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent res = new ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseClinicalUseIssueUndesirableEffectComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseClinicalUseIssueUndesirableEffectComponentContent(int eventType, XmlPullParser xpp, ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("symptomConditionEffect")) { - res.setSymptomConditionEffect(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classification")) { - res.setClassification(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("frequencyOfOccurrence")) { - res.setFrequencyOfOccurrence(parseCodeableConcept(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected CodeSystem parseCodeSystem(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { CodeSystem res = new CodeSystem(); parseResourceAttributes(xpp, res); @@ -7826,8 +7592,12 @@ public class XmlParser extends XmlParserBase { } protected boolean parseCompositionContent(int eventType, XmlPullParser xpp, Composition res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { + res.setUrlElement(parseUri(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.setIdentifier(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("version")) { + res.setVersionElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, Enumerations.CompositionStatus.NULL, new Enumerations.CompositionStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { @@ -7840,10 +7610,16 @@ public class XmlParser extends XmlParserBase { res.setEncounter(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("date")) { res.setDateElement(parseDateTime(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("useContext")) { + res.getUseContext().add(parseUsageContext(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("author")) { res.getAuthor().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { + res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("title")) { res.setTitleElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { + res.getNote().add(parseAnnotation(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("confidentiality")) { res.setConfidentialityElement(parseCode(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("attester")) { @@ -8006,13 +7782,13 @@ public class XmlParser extends XmlParserBase { res.setPurposeElement(parseMarkdown(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("copyright")) { res.setCopyrightElement(parseMarkdown(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "source")) { - res.setSource(parseType("source", xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "target")) { - res.setTarget(parseType("target", xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "sourceScope")) { + res.setSourceScope(parseType("sourceScope", xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "targetScope")) { + res.setTargetScope(parseType("targetScope", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("group")) { res.getGroup().add(parseConceptMapGroupComponent(xpp)); - } else if (!parseCanonicalResourceContent(eventType, xpp, res)){ + } else if (!parseMetadataResourceContent(eventType, xpp, res)){ return false; } return true; @@ -8068,6 +7844,8 @@ public class XmlParser extends XmlParserBase { res.setCodeElement(parseCode(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { res.setDisplayElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("valueSet")) { + res.setValueSetElement(parseCanonical(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("noMap")) { res.setNoMapElement(parseBoolean(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("target")) { @@ -8098,6 +7876,8 @@ public class XmlParser extends XmlParserBase { res.setCodeElement(parseCode(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { res.setDisplayElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("valueSet")) { + res.setValueSetElement(parseCanonical(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relationship")) { res.setRelationshipElement(parseEnumeration(xpp, Enumerations.ConceptMapRelationship.NULL, new Enumerations.ConceptMapRelationshipEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("comment")) { @@ -8130,12 +7910,10 @@ public class XmlParser extends XmlParserBase { protected boolean parseConceptMapOtherElementComponentContent(int eventType, XmlPullParser xpp, ConceptMap.OtherElementComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("property")) { res.setPropertyElement(parseUri(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("system")) { - res.setSystemElement(parseCanonical(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("value")) { - res.setValueElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { - res.setDisplayElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { + res.setValue(parseType("value", xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("valueSet")) { + res.setValueSetElement(parseCanonical(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -8159,227 +7937,17 @@ public class XmlParser extends XmlParserBase { protected boolean parseConceptMapGroupUnmappedComponentContent(int eventType, XmlPullParser xpp, ConceptMap.ConceptMapGroupUnmappedComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("mode")) { - res.setModeElement(parseEnumeration(xpp, Enumerations.ConceptMapGroupUnmappedMode.NULL, new Enumerations.ConceptMapGroupUnmappedModeEnumFactory())); + res.setModeElement(parseEnumeration(xpp, ConceptMap.ConceptMapGroupUnmappedMode.NULL, new ConceptMap.ConceptMapGroupUnmappedModeEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { res.setCodeElement(parseCode(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { res.setDisplayElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { - res.setUrlElement(parseCanonical(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ConceptMap2 parseConceptMap2(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ConceptMap2 res = new ConceptMap2(); - parseResourceAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConceptMap2Content(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConceptMap2Content(int eventType, XmlPullParser xpp, ConceptMap2 res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { - res.setUrlElement(parseUri(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.getIdentifier().add(parseIdentifier(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("version")) { - res.setVersionElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { - res.setNameElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("title")) { - res.setTitleElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { - res.setStatusElement(parseEnumeration(xpp, Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("experimental")) { - res.setExperimentalElement(parseBoolean(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("date")) { - res.setDateElement(parseDateTime(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("publisher")) { - res.setPublisherElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { - res.getContact().add(parseContactDetail(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { - res.setDescriptionElement(parseMarkdown(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("useContext")) { - res.getUseContext().add(parseUsageContext(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("jurisdiction")) { - res.getJurisdiction().add(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("purpose")) { - res.setPurposeElement(parseMarkdown(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("copyright")) { - res.setCopyrightElement(parseMarkdown(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "source")) { - res.setSource(parseType("source", xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "target")) { - res.setTarget(parseType("target", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("group")) { - res.getGroup().add(parseConceptMap2GroupComponent(xpp)); - } else if (!parseCanonicalResourceContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ConceptMap2.ConceptMap2GroupComponent parseConceptMap2GroupComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ConceptMap2.ConceptMap2GroupComponent res = new ConceptMap2.ConceptMap2GroupComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConceptMap2GroupComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConceptMap2GroupComponentContent(int eventType, XmlPullParser xpp, ConceptMap2.ConceptMap2GroupComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("source")) { - res.setSourceElement(parseCanonical(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("target")) { - res.setTargetElement(parseCanonical(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("element")) { - res.getElement().add(parseConceptMap2SourceElementComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("unmapped")) { - res.setUnmapped(parseConceptMap2GroupUnmappedComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ConceptMap2.SourceElementComponent parseConceptMap2SourceElementComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ConceptMap2.SourceElementComponent res = new ConceptMap2.SourceElementComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConceptMap2SourceElementComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConceptMap2SourceElementComponentContent(int eventType, XmlPullParser xpp, ConceptMap2.SourceElementComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { - res.setCodeElement(parseCode(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { - res.setDisplayElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("valueSet")) { - res.setValueSetElement(parseCanonical(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("noMap")) { - res.setNoMapElement(parseBoolean(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("target")) { - res.getTarget().add(parseConceptMap2TargetElementComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ConceptMap2.TargetElementComponent parseConceptMap2TargetElementComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ConceptMap2.TargetElementComponent res = new ConceptMap2.TargetElementComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConceptMap2TargetElementComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConceptMap2TargetElementComponentContent(int eventType, XmlPullParser xpp, ConceptMap2.TargetElementComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { - res.setCodeElement(parseCode(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { - res.setDisplayElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("valueSet")) { res.setValueSetElement(parseCanonical(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relationship")) { res.setRelationshipElement(parseEnumeration(xpp, Enumerations.ConceptMapRelationship.NULL, new Enumerations.ConceptMapRelationshipEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("comment")) { - res.setCommentElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("dependsOn")) { - res.getDependsOn().add(parseConceptMap2OtherElementComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("product")) { - res.getProduct().add(parseConceptMap2OtherElementComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ConceptMap2.OtherElementComponent parseConceptMap2OtherElementComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ConceptMap2.OtherElementComponent res = new ConceptMap2.OtherElementComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConceptMap2OtherElementComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConceptMap2OtherElementComponentContent(int eventType, XmlPullParser xpp, ConceptMap2.OtherElementComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("property")) { - res.setPropertyElement(parseUri(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { - res.setValue(parseType("value", xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected ConceptMap2.ConceptMap2GroupUnmappedComponent parseConceptMap2GroupUnmappedComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - ConceptMap2.ConceptMap2GroupUnmappedComponent res = new ConceptMap2.ConceptMap2GroupUnmappedComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConceptMap2GroupUnmappedComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConceptMap2GroupUnmappedComponentContent(int eventType, XmlPullParser xpp, ConceptMap2.ConceptMap2GroupUnmappedComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("mode")) { - res.setModeElement(parseEnumeration(xpp, Enumerations.ConceptMapGroupUnmappedMode.NULL, new Enumerations.ConceptMapGroupUnmappedModeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { - res.setCodeElement(parseCode(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("display")) { - res.setDisplayElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("valueSet")) { - res.setValueSetElement(parseCanonical(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { - res.setUrlElement(parseCanonical(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("otherMap")) { + res.setOtherMapElement(parseCanonical(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -8426,14 +7994,12 @@ public class XmlParser extends XmlParserBase { res.setAbatement(parseType("abatement", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recordedDate")) { res.setRecordedDateElement(parseDateTime(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recorder")) { - res.setRecorder(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("asserter")) { - res.setAsserter(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("participant")) { + res.getParticipant().add(parseConditionParticipantComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("stage")) { res.getStage().add(parseConditionStageComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("evidence")) { - res.getEvidence().add(parseConditionEvidenceComponent(xpp)); + res.getEvidence().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { res.getNote().add(parseAnnotation(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -8442,6 +8008,32 @@ public class XmlParser extends XmlParserBase { return true; } + protected Condition.ConditionParticipantComponent parseConditionParticipantComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Condition.ConditionParticipantComponent res = new Condition.ConditionParticipantComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseConditionParticipantComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseConditionParticipantComponentContent(int eventType, XmlPullParser xpp, Condition.ConditionParticipantComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("function")) { + res.setFunction(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("actor")) { + res.setActor(parseReference(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Condition.ConditionStageComponent parseConditionStageComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Condition.ConditionStageComponent res = new Condition.ConditionStageComponent(); parseElementAttributes(xpp, res); @@ -8470,32 +8062,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected Condition.ConditionEvidenceComponent parseConditionEvidenceComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Condition.ConditionEvidenceComponent res = new Condition.ConditionEvidenceComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseConditionEvidenceComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseConditionEvidenceComponentContent(int eventType, XmlPullParser xpp, Condition.ConditionEvidenceComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { - res.getCode().add(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("detail")) { - res.getDetail().add(parseReference(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected ConditionDefinition parseConditionDefinition(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { ConditionDefinition res = new ConditionDefinition(); parseResourceAttributes(xpp, res); @@ -8744,10 +8310,12 @@ public class XmlParser extends XmlParserBase { res.getSourceAttachment().add(parseAttachment(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("sourceReference")) { res.getSourceReference().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("policy")) { - res.getPolicy().add(parseConsentPolicyComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("policyRule")) { - res.setPolicyRule(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("regulatoryBasis")) { + res.getRegulatoryBasis().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("policyBasis")) { + res.setPolicyBasis(parseConsentPolicyBasisComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("policyText")) { + res.getPolicyText().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("verification")) { res.getVerification().add(parseConsentVerificationComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("provision")) { @@ -8758,13 +8326,13 @@ public class XmlParser extends XmlParserBase { return true; } - protected Consent.ConsentPolicyComponent parseConsentPolicyComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Consent.ConsentPolicyComponent res = new Consent.ConsentPolicyComponent(); + protected Consent.ConsentPolicyBasisComponent parseConsentPolicyBasisComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Consent.ConsentPolicyBasisComponent res = new Consent.ConsentPolicyBasisComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseConsentPolicyComponentContent(eventType, xpp, res)) + if (!parseConsentPolicyBasisComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -8773,11 +8341,11 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseConsentPolicyComponentContent(int eventType, XmlPullParser xpp, Consent.ConsentPolicyComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("authority")) { - res.setAuthorityElement(parseUri(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("uri")) { - res.setUriElement(parseUri(xpp)); + protected boolean parseConsentPolicyBasisComponentContent(int eventType, XmlPullParser xpp, Consent.ConsentPolicyBasisComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reference")) { + res.setReference(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { + res.setUrlElement(parseUrl(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -10142,8 +9710,8 @@ public class XmlParser extends XmlParserBase { res.setStatusElement(parseEnumeration(xpp, Device.FHIRDeviceStatus.NULL, new Device.FHIRDeviceStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusReason")) { res.getStatusReason().add(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("biologicalSource")) { - res.setBiologicalSource(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("biologicalSourceEvent")) { + res.setBiologicalSourceEvent(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manufacturer")) { res.setManufacturerElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manufactureDate")) { @@ -10164,14 +9732,16 @@ public class XmlParser extends XmlParserBase { res.getType().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("version")) { res.getVersion().add(parseDeviceVersionComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specialization")) { + res.getSpecialization().add(parseDeviceSpecializationComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("property")) { res.getProperty().add(parseDevicePropertyComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("operationalStatus")) { - res.setOperationalStatus(parseDeviceOperationalStatusComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("associationStatus")) { - res.setAssociationStatus(parseDeviceAssociationStatusComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("operationalState")) { + res.getOperationalState().add(parseDeviceOperationalStateComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("association")) { + res.getAssociation().add(parseDeviceAssociationComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("owner")) { res.setOwner(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { @@ -10276,6 +9846,8 @@ public class XmlParser extends XmlParserBase { res.setType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("component")) { res.setComponent(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("installDate")) { + res.setInstallDateElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("value")) { res.setValueElement(parseString(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -10284,6 +9856,34 @@ public class XmlParser extends XmlParserBase { return true; } + protected Device.DeviceSpecializationComponent parseDeviceSpecializationComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Device.DeviceSpecializationComponent res = new Device.DeviceSpecializationComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseDeviceSpecializationComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseDeviceSpecializationComponentContent(int eventType, XmlPullParser xpp, Device.DeviceSpecializationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("systemType")) { + res.setSystemType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("version")) { + res.setVersionElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { + res.setCategory(parseCoding(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Device.DevicePropertyComponent parseDevicePropertyComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Device.DevicePropertyComponent res = new Device.DevicePropertyComponent(); parseElementAttributes(xpp, res); @@ -10310,13 +9910,13 @@ public class XmlParser extends XmlParserBase { return true; } - protected Device.DeviceOperationalStatusComponent parseDeviceOperationalStatusComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Device.DeviceOperationalStatusComponent res = new Device.DeviceOperationalStatusComponent(); + protected Device.DeviceOperationalStateComponent parseDeviceOperationalStateComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Device.DeviceOperationalStateComponent res = new Device.DeviceOperationalStateComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseDeviceOperationalStatusComponentContent(eventType, xpp, res)) + if (!parseDeviceOperationalStateComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -10325,24 +9925,32 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseDeviceOperationalStatusComponentContent(int eventType, XmlPullParser xpp, Device.DeviceOperationalStatusComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("value")) { - res.setValue(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { - res.getReason().add(parseCodeableConcept(xpp)); + protected boolean parseDeviceOperationalStateComponentContent(int eventType, XmlPullParser xpp, Device.DeviceOperationalStateComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { + res.setStatus(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusReason")) { + res.getStatusReason().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("operator")) { + res.getOperator().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("mode")) { + res.setMode(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("cycle")) { + res.setCycle(parseCount(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("duration")) { + res.setDuration(parseCodeableConcept(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } return true; } - protected Device.DeviceAssociationStatusComponent parseDeviceAssociationStatusComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Device.DeviceAssociationStatusComponent res = new Device.DeviceAssociationStatusComponent(); + protected Device.DeviceAssociationComponent parseDeviceAssociationComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Device.DeviceAssociationComponent res = new Device.DeviceAssociationComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseDeviceAssociationStatusComponentContent(eventType, xpp, res)) + if (!parseDeviceAssociationComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -10351,11 +9959,15 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseDeviceAssociationStatusComponentContent(int eventType, XmlPullParser xpp, Device.DeviceAssociationStatusComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("value")) { - res.setValue(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { - res.getReason().add(parseCodeableConcept(xpp)); + protected boolean parseDeviceAssociationComponentContent(int eventType, XmlPullParser xpp, Device.DeviceAssociationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { + res.setStatus(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusReason")) { + res.getStatusReason().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("humanSubject")) { + res.setHumanSubject(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodyStructure")) { + res.setBodyStructure(parseCodeableReference(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -10412,8 +10024,8 @@ public class XmlParser extends XmlParserBase { res.getUdiDeviceIdentifier().add(parseDeviceDefinitionUdiDeviceIdentifierComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("partNumber")) { res.setPartNumberElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "manufacturer")) { - res.setManufacturer(parseType("manufacturer", xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manufacturer")) { + res.setManufacturer(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("deviceName")) { res.getDeviceName().add(parseDeviceDefinitionDeviceNameComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("modelNumber")) { @@ -11096,8 +10708,8 @@ public class XmlParser extends XmlParserBase { res.getInstantiatesUri().add(parseUri(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { res.getBasedOn().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("priorRequest")) { - res.getPriorRequest().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("replaces")) { + res.getReplaces().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("groupIdentifier")) { res.setGroupIdentifier(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { @@ -11208,6 +10820,8 @@ public class XmlParser extends XmlParserBase { res.setUsageStatus(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("usageReason")) { res.getUsageReason().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("adherence")) { + res.setAdherence(parseDeviceUsageAdherenceComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("informationSource")) { res.setInformationSource(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("device")) { @@ -11224,6 +10838,32 @@ public class XmlParser extends XmlParserBase { return true; } + protected DeviceUsage.DeviceUsageAdherenceComponent parseDeviceUsageAdherenceComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + DeviceUsage.DeviceUsageAdherenceComponent res = new DeviceUsage.DeviceUsageAdherenceComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseDeviceUsageAdherenceComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseDeviceUsageAdherenceComponentContent(int eventType, XmlPullParser xpp, DeviceUsage.DeviceUsageAdherenceComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { + res.setCode(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { + res.getReason().add(parseCodeableConcept(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected DiagnosticReport parseDiagnosticReport(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { DiagnosticReport res = new DiagnosticReport(); parseResourceAttributes(xpp, res); @@ -11414,10 +11054,10 @@ public class XmlParser extends XmlParserBase { res.getCategory().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { - res.getEncounter().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("context")) { + res.getContext().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("event")) { - res.getEvent().add(parseCodeableConcept(xpp)); + res.getEvent().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("facilityType")) { res.setFacilityType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("practiceSetting")) { @@ -11442,8 +11082,6 @@ public class XmlParser extends XmlParserBase { res.getContent().add(parseDocumentReferenceContentComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("sourcePatientInfo")) { res.setSourcePatientInfo(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("related")) { - res.getRelated().add(parseReference(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ return false; } @@ -11467,7 +11105,7 @@ public class XmlParser extends XmlParserBase { protected boolean parseDocumentReferenceAttesterComponentContent(int eventType, XmlPullParser xpp, DocumentReference.DocumentReferenceAttesterComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("mode")) { - res.setModeElement(parseEnumeration(xpp, DocumentReference.DocumentAttestationMode.NULL, new DocumentReference.DocumentAttestationModeEnumFactory())); + res.setMode(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("time")) { res.setTimeElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("party")) { @@ -11522,10 +11160,32 @@ public class XmlParser extends XmlParserBase { protected boolean parseDocumentReferenceContentComponentContent(int eventType, XmlPullParser xpp, DocumentReference.DocumentReferenceContentComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("attachment")) { res.setAttachment(parseAttachment(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("format")) { - res.setFormat(parseCoding(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.setIdentifier(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("profile")) { + res.getProfile().add(parseDocumentReferenceContentProfileComponent(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected DocumentReference.DocumentReferenceContentProfileComponent parseDocumentReferenceContentProfileComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + DocumentReference.DocumentReferenceContentProfileComponent res = new DocumentReference.DocumentReferenceContentProfileComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseDocumentReferenceContentProfileComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseDocumentReferenceContentProfileComponentContent(int eventType, XmlPullParser xpp, DocumentReference.DocumentReferenceContentProfileComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { + res.setValue(parseType("value", xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -11555,13 +11215,13 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusHistory")) { res.getStatusHistory().add(parseEncounterStatusHistoryComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("class")) { - res.setClass_(parseCoding(xpp)); + res.setClass_(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classHistory")) { res.getClassHistory().add(parseEncounterClassHistoryComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.getType().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceType")) { - res.setServiceType(parseCodeableConcept(xpp)); + res.setServiceType(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("priority")) { res.setPriority(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { @@ -11803,7 +11463,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, Endpoint.EndpointStatus.NULL, new Endpoint.EndpointStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("connectionType")) { - res.setConnectionType(parseCoding(xpp)); + res.getConnectionType().add(parseCoding(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("managingOrganization")) { @@ -12100,12 +11760,16 @@ public class XmlParser extends XmlParserBase { res.getIdentifier().add(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("version")) { res.setVersionElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { + res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("title")) { res.setTitleElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "citeAs")) { res.setCiteAs(parseType("citeAs", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("experimental")) { + res.setExperimentalElement(parseBoolean(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("date")) { res.setDateElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("useContext")) { @@ -12638,18 +12302,28 @@ public class XmlParser extends XmlParserBase { res.setSubtitleElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, Enumerations.PublicationStatus.NULL, new Enumerations.PublicationStatusEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("experimental")) { + res.setExperimentalElement(parseBoolean(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("date")) { res.setDateElement(parseDateTime(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("publisher")) { + res.setPublisherElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { + res.getContact().add(parseContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { res.setDescriptionElement(parseMarkdown(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { res.getNote().add(parseAnnotation(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("useContext")) { res.getUseContext().add(parseUsageContext(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("publisher")) { - res.setPublisherElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { - res.getContact().add(parseContactDetail(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("copyright")) { + res.setCopyrightElement(parseMarkdown(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("approvalDate")) { + res.setApprovalDateElement(parseDate(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("lastReviewDate")) { + res.setLastReviewDateElement(parseDate(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("effectivePeriod")) { + res.setEffectivePeriod(parsePeriod(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("author")) { res.getAuthor().add(parseContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("editor")) { @@ -12662,8 +12336,6 @@ public class XmlParser extends XmlParserBase { res.getRelatedArtifact().add(parseRelatedArtifact(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("actual")) { res.setActualElement(parseBoolean(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("characteristicCombination")) { - res.setCharacteristicCombination(parseEvidenceVariableCharacteristicCombinationComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("characteristic")) { res.getCharacteristic().add(parseEvidenceVariableCharacteristicComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("handling")) { @@ -12676,32 +12348,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent parseEvidenceVariableCharacteristicCombinationComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent res = new EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseEvidenceVariableCharacteristicCombinationComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseEvidenceVariableCharacteristicCombinationComponentContent(int eventType, XmlPullParser xpp, EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { - res.setCodeElement(parseEnumeration(xpp, EvidenceVariable.CharacteristicCombination.NULL, new EvidenceVariable.CharacteristicCombinationEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("threshold")) { - res.setThresholdElement(parsePositiveInt(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected EvidenceVariable.EvidenceVariableCharacteristicComponent parseEvidenceVariableCharacteristicComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { EvidenceVariable.EvidenceVariableCharacteristicComponent res = new EvidenceVariable.EvidenceVariableCharacteristicComponent(); parseElementAttributes(xpp, res); @@ -12718,18 +12364,32 @@ public class XmlParser extends XmlParserBase { } protected boolean parseEvidenceVariableCharacteristicComponentContent(int eventType, XmlPullParser xpp, EvidenceVariable.EvidenceVariableCharacteristicComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("linkId")) { + res.setLinkIdElement(parseId(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { res.setDescriptionElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setType(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "definition")) { - res.setDefinition(parseType("definition", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("method")) { - res.setMethod(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("device")) { - res.setDevice(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { + res.getNote().add(parseAnnotation(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("exclude")) { res.setExcludeElement(parseBoolean(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionReference")) { + res.setDefinitionReference(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionCanonical")) { + res.setDefinitionCanonicalElement(parseCanonical(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionCodeableConcept")) { + res.setDefinitionCodeableConcept(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionExpression")) { + res.setDefinitionExpression(parseExpression(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionId")) { + res.setDefinitionIdElement(parseId(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionByTypeAndValue")) { + res.setDefinitionByTypeAndValue(parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitionByCombination")) { + res.setDefinitionByCombination(parseEvidenceVariableCharacteristicDefinitionByCombinationComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("method")) { + res.getMethod().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("device")) { + res.setDevice(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("timeFromEvent")) { res.getTimeFromEvent().add(parseEvidenceVariableCharacteristicTimeFromEventComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("groupMeasure")) { @@ -12740,6 +12400,62 @@ public class XmlParser extends XmlParserBase { return true; } + protected EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent res = new EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentContent(int eventType, XmlPullParser xpp, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "type")) { + res.setType(parseType("type", xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { + res.setValue(parseType("value", xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("offset")) { + res.setOffset(parseCodeableConcept(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent parseEvidenceVariableCharacteristicDefinitionByCombinationComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent res = new EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseEvidenceVariableCharacteristicDefinitionByCombinationComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseEvidenceVariableCharacteristicDefinitionByCombinationComponentContent(int eventType, XmlPullParser xpp, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { + res.setCodeElement(parseEnumeration(xpp, EvidenceVariable.CharacteristicCombination.NULL, new EvidenceVariable.CharacteristicCombinationEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("threshold")) { + res.setThresholdElement(parsePositiveInt(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("characteristic")) { + res.getCharacteristic().add(parseEvidenceVariableCharacteristicComponent(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent parseEvidenceVariableCharacteristicTimeFromEventComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent res = new EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent(); parseElementAttributes(xpp, res); @@ -12758,14 +12474,14 @@ public class XmlParser extends XmlParserBase { protected boolean parseEvidenceVariableCharacteristicTimeFromEventComponentContent(int eventType, XmlPullParser xpp, EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { res.setDescriptionElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("event")) { - res.setEvent(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { + res.getNote().add(parseAnnotation(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "event")) { + res.setEvent(parseType("event", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("quantity")) { res.setQuantity(parseQuantity(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("range")) { res.setRange(parseRange(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { - res.getNote().add(parseAnnotation(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -12902,8 +12618,8 @@ public class XmlParser extends XmlParserBase { protected boolean parseExampleScenarioInstanceComponentContent(int eventType, XmlPullParser xpp, ExampleScenario.ExampleScenarioInstanceComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("resourceId")) { res.setResourceIdElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("resourceType")) { - res.setResourceTypeElement(parseCode(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setTypeElement(parseCode(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { @@ -14098,6 +13814,34 @@ public class XmlParser extends XmlParserBase { return true; } + protected FormularyItem parseFormularyItem(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + FormularyItem res = new FormularyItem(); + parseResourceAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseFormularyItemContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseFormularyItemContent(int eventType, XmlPullParser xpp, FormularyItem res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { + res.getIdentifier().add(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { + res.setCode(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { + res.setStatusElement(parseEnumeration(xpp, FormularyItem.FormularyItemStatusCodes.NULL, new FormularyItem.FormularyItemStatusCodesEnumFactory())); + } else if (!parseDomainResourceContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Goal parseGoal(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Goal res = new Goal(); parseResourceAttributes(xpp, res); @@ -14358,6 +14102,8 @@ public class XmlParser extends XmlParserBase { res.setCode(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { + res.setDescriptionElement(parseMarkdown(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("quantity")) { res.setQuantityElement(parseUnsignedInt(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("managingEntity")) { @@ -14518,6 +14264,8 @@ public class XmlParser extends XmlParserBase { res.setExtraDetailsElement(parseMarkdown(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("photo")) { res.setPhoto(parseAttachment(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { + res.getContact().add(parseExtendedContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { res.getTelecom().add(parseContactPoint(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coverageArea")) { @@ -14650,32 +14398,36 @@ public class XmlParser extends XmlParserBase { protected boolean parseImagingSelectionContent(int eventType, XmlPullParser xpp, ImagingSelection res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.getIdentifier().add(parseIdentifier(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { - res.getBasedOn().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { + res.setStatusElement(parseEnumeration(xpp, ImagingSelection.ImagingSelectionStatus.NULL, new ImagingSelection.ImagingSelectionStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("issued")) { res.setIssuedElement(parseInstant(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("performer")) { res.getPerformer().add(parseImagingSelectionPerformerComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { + res.getBasedOn().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { + res.getCategory().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { res.setCode(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("studyUid")) { - res.setStudyUidElement(parseOid(xpp)); + res.setStudyUidElement(parseId(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("derivedFrom")) { res.getDerivedFrom().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("endpoint")) { res.getEndpoint().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("seriesUid")) { - res.setSeriesUidElement(parseOid(xpp)); + res.setSeriesUidElement(parseId(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("frameOfReferenceUid")) { - res.setFrameOfReferenceUidElement(parseOid(xpp)); + res.setFrameOfReferenceUidElement(parseId(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodySite")) { - res.setBodySite(parseCoding(xpp)); + res.setBodySite(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("instance")) { res.getInstance().add(parseImagingSelectionInstanceComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("imageRegion")) { - res.setImageRegion(parseImagingSelectionImageRegionComponent(xpp)); + res.getImageRegion().add(parseImagingSelectionImageRegionComponent(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ return false; } @@ -14725,17 +14477,39 @@ public class XmlParser extends XmlParserBase { protected boolean parseImagingSelectionInstanceComponentContent(int eventType, XmlPullParser xpp, ImagingSelection.ImagingSelectionInstanceComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("uid")) { - res.setUidElement(parseOid(xpp)); + res.setUidElement(parseId(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("sopClass")) { res.setSopClass(parseCoding(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("frameList")) { - res.setFrameListElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("observationUid")) { - res.getObservationUid().add(parseOid(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("segmentList")) { - res.setSegmentListElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("roiList")) { - res.setRoiListElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subset")) { + res.getSubset().add(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("imageRegion")) { + res.getImageRegion().add(parseImagingSelectionInstanceImageRegionComponent(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected ImagingSelection.ImagingSelectionInstanceImageRegionComponent parseImagingSelectionInstanceImageRegionComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + ImagingSelection.ImagingSelectionInstanceImageRegionComponent res = new ImagingSelection.ImagingSelectionInstanceImageRegionComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseImagingSelectionInstanceImageRegionComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseImagingSelectionInstanceImageRegionComponentContent(int eventType, XmlPullParser xpp, ImagingSelection.ImagingSelectionInstanceImageRegionComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("regionType")) { + res.setRegionTypeElement(parseEnumeration(xpp, ImagingSelection.ImagingSelection2DGraphicType.NULL, new ImagingSelection.ImagingSelection2DGraphicTypeEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coordinate")) { + res.getCoordinate().add(parseDecimal(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -14759,11 +14533,9 @@ public class XmlParser extends XmlParserBase { protected boolean parseImagingSelectionImageRegionComponentContent(int eventType, XmlPullParser xpp, ImagingSelection.ImagingSelectionImageRegionComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("regionType")) { - res.setRegionTypeElement(parseEnumeration(xpp, ImagingSelection.ImagingSelectionGraphicType.NULL, new ImagingSelection.ImagingSelectionGraphicTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coordinateType")) { - res.setCoordinateTypeElement(parseEnumeration(xpp, ImagingSelection.ImagingSelectionCoordinateType.NULL, new ImagingSelection.ImagingSelectionCoordinateTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coordinates")) { - res.getCoordinates().add(parseDecimal(xpp)); + res.setRegionTypeElement(parseEnumeration(xpp, ImagingSelection.ImagingSelection3DGraphicType.NULL, new ImagingSelection.ImagingSelection3DGraphicTypeEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coordinate")) { + res.getCoordinate().add(parseDecimal(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -14791,7 +14563,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, ImagingStudy.ImagingStudyStatus.NULL, new ImagingStudy.ImagingStudyStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("modality")) { - res.getModality().add(parseCoding(xpp)); + res.getModality().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { @@ -14849,7 +14621,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("number")) { res.setNumberElement(parseUnsignedInt(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("modality")) { - res.setModality(parseCoding(xpp)); + res.setModality(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { res.setDescriptionElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("numberOfInstances")) { @@ -14857,9 +14629,9 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("endpoint")) { res.getEndpoint().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodySite")) { - res.setBodySite(parseCoding(xpp)); + res.setBodySite(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("laterality")) { - res.setLaterality(parseCoding(xpp)); + res.setLaterality(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specimen")) { res.getSpecimen().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("started")) { @@ -14972,12 +14744,10 @@ public class XmlParser extends XmlParserBase { res.setEncounter(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "occurrence")) { res.setOccurrence(parseType("occurrence", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recorded")) { - res.setRecordedElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("primarySource")) { res.setPrimarySourceElement(parseBoolean(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "informationSource")) { - res.setInformationSource(parseType("informationSource", xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("informationSource")) { + res.setInformationSource(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("location")) { res.setLocation(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("site")) { @@ -15086,8 +14856,8 @@ public class XmlParser extends XmlParserBase { protected boolean parseImmunizationReactionComponentContent(int eventType, XmlPullParser xpp, Immunization.ImmunizationReactionComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("date")) { res.setDateElement(parseDateTime(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("detail")) { - res.setDetail(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manifestation")) { + res.setManifestation(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reported")) { res.setReportedElement(parseBoolean(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -15451,7 +15221,7 @@ public class XmlParser extends XmlParserBase { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { - res.setDescriptionElement(parseString(xpp)); + res.setDescriptionElement(parseMarkdown(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -15481,7 +15251,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { - res.setDescriptionElement(parseString(xpp)); + res.setDescriptionElement(parseMarkdown(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "example")) { res.setExample(parseType("example", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("groupingId")) { @@ -15721,7 +15491,7 @@ public class XmlParser extends XmlParserBase { protected boolean parseIngredientManufacturerComponentContent(int eventType, XmlPullParser xpp, Ingredient.IngredientManufacturerComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("role")) { - res.setRole(parseCoding(xpp)); + res.setRoleElement(parseEnumeration(xpp, Ingredient.IngredientManufacturerRole.NULL, new Ingredient.IngredientManufacturerRoleEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manufacturer")) { res.setManufacturer(parseReference(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -15774,12 +15544,12 @@ public class XmlParser extends XmlParserBase { protected boolean parseIngredientSubstanceStrengthComponentContent(int eventType, XmlPullParser xpp, Ingredient.IngredientSubstanceStrengthComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "presentation")) { res.setPresentation(parseType("presentation", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("presentationText")) { - res.setPresentationTextElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("textPresentation")) { + res.setTextPresentationElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "concentration")) { res.setConcentration(parseType("concentration", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("concentrationText")) { - res.setConcentrationTextElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("textConcentration")) { + res.setTextConcentrationElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basis")) { res.setBasis(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("measurementPoint")) { @@ -15859,7 +15629,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coverageArea")) { res.getCoverageArea().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { - res.getContact().add(parseInsurancePlanContactComponent(xpp)); + res.getContact().add(parseExtendedContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("endpoint")) { res.getEndpoint().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("network")) { @@ -15874,36 +15644,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected InsurancePlan.InsurancePlanContactComponent parseInsurancePlanContactComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - InsurancePlan.InsurancePlanContactComponent res = new InsurancePlan.InsurancePlanContactComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseInsurancePlanContactComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseInsurancePlanContactComponentContent(int eventType, XmlPullParser xpp, InsurancePlan.InsurancePlanContactComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("purpose")) { - res.setPurpose(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { - res.setName(parseHumanName(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { - res.getTelecom().add(parseContactPoint(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("address")) { - res.setAddress(parseAddress(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected InsurancePlan.InsurancePlanCoverageComponent parseInsurancePlanCoverageComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { InsurancePlan.InsurancePlanCoverageComponent res = new InsurancePlan.InsurancePlanCoverageComponent(); parseElementAttributes(xpp, res); @@ -16626,6 +16366,8 @@ public class XmlParser extends XmlParserBase { res.setModeElement(parseEnumeration(xpp, Location.LocationMode.NULL, new Location.LocationModeEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.getType().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { + res.getContact().add(parseExtendedContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { res.getTelecom().add(parseContactPoint(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("address")) { @@ -17392,6 +17134,10 @@ public class XmlParser extends XmlParserBase { res.setOccurence(parseType("occurence", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recorded")) { res.setRecordedElement(parseDateTime(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("isSubPotent")) { + res.setIsSubPotentElement(parseBoolean(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subPotentReason")) { + res.getSubPotentReason().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("performer")) { res.getPerformer().add(parseMedicationAdministrationPerformerComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { @@ -17496,8 +17242,8 @@ public class XmlParser extends XmlParserBase { res.getPartOf().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, MedicationDispense.MedicationDispenseStatusCodes.NULL, new MedicationDispense.MedicationDispenseStatusCodesEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusReason")) { - res.setStatusReason(parseCodeableReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("notPerformedReason")) { + res.setNotPerformedReason(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusChanged")) { res.setStatusChangedElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { @@ -17540,8 +17286,6 @@ public class XmlParser extends XmlParserBase { res.getDosageInstruction().add(parseDosage(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("substitution")) { res.setSubstitution(parseMedicationDispenseSubstitutionComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("detectedIssue")) { - res.getDetectedIssue().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("eventHistory")) { res.getEventHistory().add(parseReference(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -17656,6 +17400,8 @@ public class XmlParser extends XmlParserBase { res.getPackaging().add(parseMedicationKnowledgePackagingComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("clinicalUseIssue")) { res.getClinicalUseIssue().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("storageGuideline")) { + res.getStorageGuideline().add(parseMedicationKnowledgeStorageGuidelineComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("regulatory")) { res.getRegulatory().add(parseMedicationKnowledgeRegulatoryComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("definitional")) { @@ -17936,6 +17682,62 @@ public class XmlParser extends XmlParserBase { return true; } + protected MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent parseMedicationKnowledgeStorageGuidelineComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent res = new MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseMedicationKnowledgeStorageGuidelineComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseMedicationKnowledgeStorageGuidelineComponentContent(int eventType, XmlPullParser xpp, MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reference")) { + res.setReferenceElement(parseUri(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { + res.getNote().add(parseAnnotation(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("stabilityDuration")) { + res.setStabilityDuration(parseDuration(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("environmentalSetting")) { + res.getEnvironmentalSetting().add(parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent res = new MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentContent(int eventType, XmlPullParser xpp, MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { + res.setValue(parseType("value", xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected MedicationKnowledge.MedicationKnowledgeRegulatoryComponent parseMedicationKnowledgeRegulatoryComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { MedicationKnowledge.MedicationKnowledgeRegulatoryComponent res = new MedicationKnowledge.MedicationKnowledgeRegulatoryComponent(); parseElementAttributes(xpp, res); @@ -18151,7 +17953,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("informationSource")) { - res.setInformationSource(parseReference(xpp)); + res.getInformationSource().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { res.setEncounter(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("supportingInformation")) { @@ -18165,7 +17967,9 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("performerType")) { res.setPerformerType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("performer")) { - res.setPerformer(parseReference(xpp)); + res.getPerformer().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("device")) { + res.setDevice(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recorder")) { res.setRecorder(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { @@ -18182,8 +17986,6 @@ public class XmlParser extends XmlParserBase { res.setDispenseRequest(parseMedicationRequestDispenseRequestComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("substitution")) { res.setSubstitution(parseMedicationRequestSubstitutionComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("detectedIssue")) { - res.getDetectedIssue().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("eventHistory")) { res.getEventHistory().add(parseReference(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -18211,7 +18013,7 @@ public class XmlParser extends XmlParserBase { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("renderedDosageInstruction")) { res.setRenderedDosageInstructionElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("effectiveDosePeriod")) { - res.setEffectiveDosePeriodElement(parseDateTime(xpp)); + res.setEffectiveDosePeriod(parsePeriod(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("dosageInstruction")) { res.getDosageInstruction().add(parseDosage(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -18330,6 +18132,8 @@ public class XmlParser extends XmlParserBase { protected boolean parseMedicationUsageContent(int eventType, XmlPullParser xpp, MedicationUsage res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.getIdentifier().add(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("partOf")) { + res.getPartOf().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, MedicationUsage.MedicationUsageStatusCodes.NULL, new MedicationUsage.MedicationUsageStatusCodesEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { @@ -18345,13 +18149,15 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("dateAsserted")) { res.setDateAssertedElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("informationSource")) { - res.setInformationSource(parseReference(xpp)); + res.getInformationSource().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("derivedFrom")) { res.getDerivedFrom().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { res.getReason().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { res.getNote().add(parseAnnotation(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relatedClinicalInformation")) { + res.getRelatedClinicalInformation().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("renderedDosageInstruction")) { res.setRenderedDosageInstructionElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("dosage")) { @@ -18440,6 +18246,8 @@ public class XmlParser extends XmlParserBase { res.getMarketingStatus().add(parseMarketingStatus(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("packagedMedicinalProduct")) { res.getPackagedMedicinalProduct().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("comprisedOf")) { + res.getComprisedOf().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("ingredient")) { res.getIngredient().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("impurity")) { @@ -18723,7 +18531,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("allowedResponse")) { res.getAllowedResponse().add(parseMessageDefinitionAllowedResponseComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("graph")) { - res.getGraph().add(parseCanonical(xpp)); + res.setGraphElement(parseCanonical(xpp)); } else if (!parseCanonicalResourceContent(eventType, xpp, res)){ return false; } @@ -18909,7 +18717,7 @@ public class XmlParser extends XmlParserBase { protected boolean parseMessageHeaderResponseComponentContent(int eventType, XmlPullParser xpp, MessageHeader.MessageHeaderResponseComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.setIdentifierElement(parseId(xpp)); + res.setIdentifier(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { res.setCodeElement(parseEnumeration(xpp, MessageHeader.ResponseType.NULL, new MessageHeader.ResponseTypeEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("details")) { @@ -18940,8 +18748,6 @@ public class XmlParser extends XmlParserBase { res.getIdentifier().add(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setTypeElement(parseEnumeration(xpp, MolecularSequence.SequenceType.NULL, new MolecularSequence.SequenceTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coordinateSystem")) { - res.setCoordinateSystemElement(parseInteger(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("patient")) { res.setPatient(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specimen")) { @@ -18950,37 +18756,25 @@ public class XmlParser extends XmlParserBase { res.setDevice(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("performer")) { res.setPerformer(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("quantity")) { - res.setQuantity(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("referenceSeq")) { - res.setReferenceSeq(parseMolecularSequenceReferenceSeqComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("variant")) { - res.getVariant().add(parseMolecularSequenceVariantComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("observedSeq")) { - res.setObservedSeqElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("quality")) { - res.getQuality().add(parseMolecularSequenceQualityComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("readCoverage")) { - res.setReadCoverageElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("repository")) { - res.getRepository().add(parseMolecularSequenceRepositoryComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("pointer")) { - res.getPointer().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("structureVariant")) { - res.getStructureVariant().add(parseMolecularSequenceStructureVariantComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("literal")) { + res.setLiteralElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("formatted")) { + res.getFormatted().add(parseAttachment(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relative")) { + res.getRelative().add(parseMolecularSequenceRelativeComponent(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ return false; } return true; } - protected MolecularSequence.MolecularSequenceReferenceSeqComponent parseMolecularSequenceReferenceSeqComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceReferenceSeqComponent res = new MolecularSequence.MolecularSequenceReferenceSeqComponent(); + protected MolecularSequence.MolecularSequenceRelativeComponent parseMolecularSequenceRelativeComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + MolecularSequence.MolecularSequenceRelativeComponent res = new MolecularSequence.MolecularSequenceRelativeComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceReferenceSeqComponentContent(eventType, xpp, res)) + if (!parseMolecularSequenceRelativeComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -18989,38 +18783,26 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseMolecularSequenceReferenceSeqComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceReferenceSeqComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("chromosome")) { - res.setChromosome(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("genomeBuild")) { - res.setGenomeBuildElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("orientation")) { - res.setOrientationElement(parseEnumeration(xpp, MolecularSequence.OrientationType.NULL, new MolecularSequence.OrientationTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("referenceSeqId")) { - res.setReferenceSeqId(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("referenceSeqPointer")) { - res.setReferenceSeqPointer(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("referenceSeqString")) { - res.setReferenceSeqStringElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("strand")) { - res.setStrandElement(parseEnumeration(xpp, MolecularSequence.StrandType.NULL, new MolecularSequence.StrandTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("windowStart")) { - res.setWindowStartElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("windowEnd")) { - res.setWindowEndElement(parseInteger(xpp)); + protected boolean parseMolecularSequenceRelativeComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceRelativeComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("coordinateSystem")) { + res.setCoordinateSystem(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reference")) { + res.setReference(parseMolecularSequenceRelativeReferenceComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("edit")) { + res.getEdit().add(parseMolecularSequenceRelativeEditComponent(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } return true; } - protected MolecularSequence.MolecularSequenceVariantComponent parseMolecularSequenceVariantComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceVariantComponent res = new MolecularSequence.MolecularSequenceVariantComponent(); + protected MolecularSequence.MolecularSequenceRelativeReferenceComponent parseMolecularSequenceRelativeReferenceComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + MolecularSequence.MolecularSequenceRelativeReferenceComponent res = new MolecularSequence.MolecularSequenceRelativeReferenceComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceVariantComponentContent(eventType, xpp, res)) + if (!parseMolecularSequenceRelativeReferenceComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -19029,7 +18811,43 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseMolecularSequenceVariantComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceVariantComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + protected boolean parseMolecularSequenceRelativeReferenceComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceRelativeReferenceComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("referenceSequenceAssembly")) { + res.setReferenceSequenceAssembly(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("chromosome")) { + res.setChromosome(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "referenceSequence")) { + res.setReferenceSequence(parseType("referenceSequence", xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("windowStart")) { + res.setWindowStartElement(parseInteger(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("windowEnd")) { + res.setWindowEndElement(parseInteger(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("orientation")) { + res.setOrientationElement(parseEnumeration(xpp, MolecularSequence.OrientationType.NULL, new MolecularSequence.OrientationTypeEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("strand")) { + res.setStrandElement(parseEnumeration(xpp, MolecularSequence.StrandType.NULL, new MolecularSequence.StrandTypeEnumFactory())); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected MolecularSequence.MolecularSequenceRelativeEditComponent parseMolecularSequenceRelativeEditComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + MolecularSequence.MolecularSequenceRelativeEditComponent res = new MolecularSequence.MolecularSequenceRelativeEditComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseMolecularSequenceRelativeEditComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseMolecularSequenceRelativeEditComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceRelativeEditComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("start")) { res.setStartElement(parseInteger(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("end")) { @@ -19038,216 +18856,6 @@ public class XmlParser extends XmlParserBase { res.setObservedAlleleElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("referenceAllele")) { res.setReferenceAlleleElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("cigar")) { - res.setCigarElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("variantPointer")) { - res.setVariantPointer(parseReference(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected MolecularSequence.MolecularSequenceQualityComponent parseMolecularSequenceQualityComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceQualityComponent res = new MolecularSequence.MolecularSequenceQualityComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceQualityComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseMolecularSequenceQualityComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceQualityComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setTypeElement(parseEnumeration(xpp, MolecularSequence.QualityType.NULL, new MolecularSequence.QualityTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("standardSequence")) { - res.setStandardSequence(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("start")) { - res.setStartElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("end")) { - res.setEndElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("score")) { - res.setScore(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("method")) { - res.setMethod(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("truthTP")) { - res.setTruthTPElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("queryTP")) { - res.setQueryTPElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("truthFN")) { - res.setTruthFNElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("queryFP")) { - res.setQueryFPElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("gtFP")) { - res.setGtFPElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("precision")) { - res.setPrecisionElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recall")) { - res.setRecallElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("fScore")) { - res.setFScoreElement(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("roc")) { - res.setRoc(parseMolecularSequenceQualityRocComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected MolecularSequence.MolecularSequenceQualityRocComponent parseMolecularSequenceQualityRocComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceQualityRocComponent res = new MolecularSequence.MolecularSequenceQualityRocComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceQualityRocComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseMolecularSequenceQualityRocComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceQualityRocComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("score")) { - res.getScore().add(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("numTP")) { - res.getNumTP().add(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("numFP")) { - res.getNumFP().add(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("numFN")) { - res.getNumFN().add(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("precision")) { - res.getPrecision().add(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("sensitivity")) { - res.getSensitivity().add(parseDecimal(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("fMeasure")) { - res.getFMeasure().add(parseDecimal(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected MolecularSequence.MolecularSequenceRepositoryComponent parseMolecularSequenceRepositoryComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceRepositoryComponent res = new MolecularSequence.MolecularSequenceRepositoryComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceRepositoryComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseMolecularSequenceRepositoryComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceRepositoryComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setTypeElement(parseEnumeration(xpp, MolecularSequence.RepositoryType.NULL, new MolecularSequence.RepositoryTypeEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { - res.setUrlElement(parseUri(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { - res.setNameElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("datasetId")) { - res.setDatasetIdElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("variantsetId")) { - res.setVariantsetIdElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("readsetId")) { - res.setReadsetIdElement(parseString(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected MolecularSequence.MolecularSequenceStructureVariantComponent parseMolecularSequenceStructureVariantComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceStructureVariantComponent res = new MolecularSequence.MolecularSequenceStructureVariantComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceStructureVariantComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseMolecularSequenceStructureVariantComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceStructureVariantComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("variantType")) { - res.setVariantType(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("exact")) { - res.setExactElement(parseBoolean(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("length")) { - res.setLengthElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("outer")) { - res.setOuter(parseMolecularSequenceStructureVariantOuterComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("inner")) { - res.setInner(parseMolecularSequenceStructureVariantInnerComponent(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected MolecularSequence.MolecularSequenceStructureVariantOuterComponent parseMolecularSequenceStructureVariantOuterComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceStructureVariantOuterComponent res = new MolecularSequence.MolecularSequenceStructureVariantOuterComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceStructureVariantOuterComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseMolecularSequenceStructureVariantOuterComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceStructureVariantOuterComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("start")) { - res.setStartElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("end")) { - res.setEndElement(parseInteger(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - - protected MolecularSequence.MolecularSequenceStructureVariantInnerComponent parseMolecularSequenceStructureVariantInnerComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - MolecularSequence.MolecularSequenceStructureVariantInnerComponent res = new MolecularSequence.MolecularSequenceStructureVariantInnerComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseMolecularSequenceStructureVariantInnerComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseMolecularSequenceStructureVariantInnerComponentContent(int eventType, XmlPullParser xpp, MolecularSequence.MolecularSequenceStructureVariantInnerComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("start")) { - res.setStartElement(parseInteger(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("end")) { - res.setEndElement(parseInteger(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -19302,7 +18910,7 @@ public class XmlParser extends XmlParserBase { res.setUsageElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("uniqueId")) { res.getUniqueId().add(parseNamingSystemUniqueIdComponent(xpp)); - } else if (!parseCanonicalResourceContent(eventType, xpp, res)){ + } else if (!parseMetadataResourceContent(eventType, xpp, res)){ return false; } return true; @@ -19750,12 +19358,12 @@ public class XmlParser extends XmlParserBase { } protected boolean parseNutritionProductContent(int eventType, XmlPullParser xpp, NutritionProduct res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { + res.setCode(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, NutritionProduct.NutritionProductStatus.NULL, new NutritionProduct.NutritionProductStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("category")) { res.getCategory().add(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { - res.setCode(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manufacturer")) { res.getManufacturer().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("nutrient")) { @@ -19764,10 +19372,10 @@ public class XmlParser extends XmlParserBase { res.getIngredient().add(parseNutritionProductIngredientComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("knownAllergen")) { res.getKnownAllergen().add(parseCodeableReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("productCharacteristic")) { - res.getProductCharacteristic().add(parseNutritionProductProductCharacteristicComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("characteristic")) { + res.getCharacteristic().add(parseNutritionProductCharacteristicComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("instance")) { - res.setInstance(parseNutritionProductInstanceComponent(xpp)); + res.getInstance().add(parseNutritionProductInstanceComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { res.getNote().add(parseAnnotation(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -19828,13 +19436,13 @@ public class XmlParser extends XmlParserBase { return true; } - protected NutritionProduct.NutritionProductProductCharacteristicComponent parseNutritionProductProductCharacteristicComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - NutritionProduct.NutritionProductProductCharacteristicComponent res = new NutritionProduct.NutritionProductProductCharacteristicComponent(); + protected NutritionProduct.NutritionProductCharacteristicComponent parseNutritionProductCharacteristicComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + NutritionProduct.NutritionProductCharacteristicComponent res = new NutritionProduct.NutritionProductCharacteristicComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parseNutritionProductProductCharacteristicComponentContent(eventType, xpp, res)) + if (!parseNutritionProductCharacteristicComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -19843,7 +19451,7 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parseNutritionProductProductCharacteristicComponentContent(int eventType, XmlPullParser xpp, NutritionProduct.NutritionProductProductCharacteristicComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + protected boolean parseNutritionProductCharacteristicComponentContent(int eventType, XmlPullParser xpp, NutritionProduct.NutritionProductCharacteristicComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { @@ -19874,14 +19482,16 @@ public class XmlParser extends XmlParserBase { res.setQuantity(parseQuantity(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.getIdentifier().add(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { + res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("lotNumber")) { res.setLotNumberElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("expiry")) { res.setExpiryElement(parseDateTime(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("useBy")) { res.setUseByElement(parseDateTime(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("biologicalSource")) { - res.setBiologicalSource(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("biologicalSourceEvent")) { + res.setBiologicalSourceEvent(parseIdentifier(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -19910,6 +19520,8 @@ public class XmlParser extends XmlParserBase { res.setInstantiates(parseType("instantiates", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { res.getBasedOn().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("triggeredBy")) { + res.getTriggeredBy().add(parseObservationTriggeredByComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("partOf")) { res.getPartOf().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { @@ -19940,6 +19552,8 @@ public class XmlParser extends XmlParserBase { res.getNote().add(parseAnnotation(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodySite")) { res.setBodySite(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodyStructure")) { + res.setBodyStructure(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("method")) { res.setMethod(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specimen")) { @@ -19960,6 +19574,34 @@ public class XmlParser extends XmlParserBase { return true; } + protected Observation.ObservationTriggeredByComponent parseObservationTriggeredByComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Observation.ObservationTriggeredByComponent res = new Observation.ObservationTriggeredByComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseObservationTriggeredByComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseObservationTriggeredByComponentContent(int eventType, XmlPullParser xpp, Observation.ObservationTriggeredByComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("observation")) { + res.setObservation(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setTypeElement(parseEnumeration(xpp, Observation.TriggeredBytype.NULL, new Observation.TriggeredBytypeEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reason")) { + res.setReasonElement(parseString(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Observation.ObservationReferenceRangeComponent parseObservationReferenceRangeComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Observation.ObservationReferenceRangeComponent res = new Observation.ObservationReferenceRangeComponent(); parseElementAttributes(xpp, res); @@ -19980,6 +19622,8 @@ public class XmlParser extends XmlParserBase { res.setLow(parseQuantity(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("high")) { res.setHigh(parseQuantity(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("normalValue")) { + res.setNormalValue(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("appliesTo")) { @@ -20504,14 +20148,16 @@ public class XmlParser extends XmlParserBase { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("alias")) { res.getAlias().add(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { + res.setDescriptionElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { + res.getContact().add(parseExtendedContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { res.getTelecom().add(parseContactPoint(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("address")) { res.getAddress().add(parseAddress(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("partOf")) { res.setPartOf(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { - res.getContact().add(parseOrganizationContactComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("endpoint")) { res.getEndpoint().add(parseReference(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -20520,36 +20166,6 @@ public class XmlParser extends XmlParserBase { return true; } - protected Organization.OrganizationContactComponent parseOrganizationContactComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - Organization.OrganizationContactComponent res = new Organization.OrganizationContactComponent(); - parseElementAttributes(xpp, res); - next(xpp); - int eventType = nextNoWhitespace(xpp); - while (eventType != XmlPullParser.END_TAG) { - if (!parseOrganizationContactComponentContent(eventType, xpp, res)) - unknownContent(xpp); - eventType = nextNoWhitespace(xpp); - } - next(xpp); - parseElementClose(res); - return res; - } - - protected boolean parseOrganizationContactComponentContent(int eventType, XmlPullParser xpp, Organization.OrganizationContactComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("purpose")) { - res.setPurpose(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { - res.setName(parseHumanName(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { - res.getTelecom().add(parseContactPoint(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("address")) { - res.setAddress(parseAddress(xpp)); - } else if (!parseBackboneElementContent(eventType, xpp, res)){ - return false; - } - return true; - } - protected OrganizationAffiliation parseOrganizationAffiliation(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { OrganizationAffiliation res = new OrganizationAffiliation(); parseResourceAttributes(xpp, res); @@ -20640,8 +20256,8 @@ public class XmlParser extends XmlParserBase { res.getManufacturer().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("attachedDocument")) { res.getAttachedDocument().add(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("package")) { - res.setPackage(parsePackagedProductDefinitionPackageComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("packaging")) { + res.setPackaging(parsePackagedProductDefinitionPackagingComponent(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ return false; } @@ -20674,13 +20290,13 @@ public class XmlParser extends XmlParserBase { return true; } - protected PackagedProductDefinition.PackagedProductDefinitionPackageComponent parsePackagedProductDefinitionPackageComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - PackagedProductDefinition.PackagedProductDefinitionPackageComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackageComponent(); + protected PackagedProductDefinition.PackagedProductDefinitionPackagingComponent parsePackagedProductDefinitionPackagingComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + PackagedProductDefinition.PackagedProductDefinitionPackagingComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagingComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parsePackagedProductDefinitionPackageComponentContent(eventType, xpp, res)) + if (!parsePackagedProductDefinitionPackagingComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -20689,7 +20305,7 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parsePackagedProductDefinitionPackageComponentContent(int eventType, XmlPullParser xpp, PackagedProductDefinition.PackagedProductDefinitionPackageComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + protected boolean parsePackagedProductDefinitionPackagingComponentContent(int eventType, XmlPullParser xpp, PackagedProductDefinition.PackagedProductDefinitionPackagingComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { res.getIdentifier().add(parseIdentifier(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { @@ -20705,24 +20321,24 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("manufacturer")) { res.getManufacturer().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("property")) { - res.getProperty().add(parsePackagedProductDefinitionPackagePropertyComponent(xpp)); + res.getProperty().add(parsePackagedProductDefinitionPackagingPropertyComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("containedItem")) { - res.getContainedItem().add(parsePackagedProductDefinitionPackageContainedItemComponent(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("package")) { - res.getPackage().add(parsePackagedProductDefinitionPackageComponent(xpp)); + res.getContainedItem().add(parsePackagedProductDefinitionPackagingContainedItemComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("packaging")) { + res.getPackaging().add(parsePackagedProductDefinitionPackagingComponent(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } return true; } - protected PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent parsePackagedProductDefinitionPackagePropertyComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent(); + protected PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent parsePackagedProductDefinitionPackagingPropertyComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parsePackagedProductDefinitionPackagePropertyComponentContent(eventType, xpp, res)) + if (!parsePackagedProductDefinitionPackagingPropertyComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -20731,7 +20347,7 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parsePackagedProductDefinitionPackagePropertyComponentContent(int eventType, XmlPullParser xpp, PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + protected boolean parsePackagedProductDefinitionPackagingPropertyComponentContent(int eventType, XmlPullParser xpp, PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setType(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { @@ -20742,13 +20358,13 @@ public class XmlParser extends XmlParserBase { return true; } - protected PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent parsePackagedProductDefinitionPackageContainedItemComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { - PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent(); + protected PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent parsePackagedProductDefinitionPackagingContainedItemComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent res = new PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent(); parseElementAttributes(xpp, res); next(xpp); int eventType = nextNoWhitespace(xpp); while (eventType != XmlPullParser.END_TAG) { - if (!parsePackagedProductDefinitionPackageContainedItemComponentContent(eventType, xpp, res)) + if (!parsePackagedProductDefinitionPackagingContainedItemComponentContent(eventType, xpp, res)) unknownContent(xpp); eventType = nextNoWhitespace(xpp); } @@ -20757,7 +20373,7 @@ public class XmlParser extends XmlParserBase { return res; } - protected boolean parsePackagedProductDefinitionPackageContainedItemComponentContent(int eventType, XmlPullParser xpp, PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + protected boolean parsePackagedProductDefinitionPackagingContainedItemComponentContent(int eventType, XmlPullParser xpp, PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("item")) { res.setItem(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("amount")) { @@ -21888,6 +21504,8 @@ public class XmlParser extends XmlParserBase { res.getLocation().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("healthcareService")) { res.getHealthcareService().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { + res.getContact().add(parseExtendedContactDetail(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("telecom")) { res.getTelecom().add(parseContactPoint(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("availableTime")) { @@ -22124,6 +21742,8 @@ public class XmlParser extends XmlParserBase { res.setActivity(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { res.getBasedOn().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("patient")) { + res.setPatient(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { res.setEncounter(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("agent")) { @@ -23062,6 +22682,8 @@ public class XmlParser extends XmlParserBase { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("role")) { res.setRole(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("period")) { + res.getPeriod().add(parsePeriod(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classifier")) { res.getClassifier().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("party")) { @@ -23238,8 +22860,8 @@ public class XmlParser extends XmlParserBase { } protected boolean parseResearchStudyWebLocationComponentContent(int eventType, XmlPullParser xpp, ResearchStudy.ResearchStudyWebLocationComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setType(parseCodeableConcept(xpp)); + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("classifier")) { + res.setClassifier(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("url")) { res.setUrlElement(parseUri(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -23433,7 +23055,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceCategory")) { res.getServiceCategory().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceType")) { - res.getServiceType().add(parseCodeableConcept(xpp)); + res.getServiceType().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specialty")) { res.getSpecialty().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("actor")) { @@ -23470,6 +23092,8 @@ public class XmlParser extends XmlParserBase { res.setVersionElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("title")) { + res.setTitleElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("derivedFrom")) { res.setDerivedFromElement(parseCanonical(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { @@ -23594,6 +23218,8 @@ public class XmlParser extends XmlParserBase { res.setQuantity(parseType("quantity", xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subject")) { res.setSubject(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("focus")) { + res.getFocus().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { res.setEncounter(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "occurrence")) { @@ -23620,6 +23246,8 @@ public class XmlParser extends XmlParserBase { res.getSpecimen().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodySite")) { res.getBodySite().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("bodyStructure")) { + res.setBodyStructure(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { res.getNote().add(parseAnnotation(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("patientInstruction")) { @@ -23653,7 +23281,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceCategory")) { res.getServiceCategory().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("serviceType")) { - res.getServiceType().add(parseCodeableConcept(xpp)); + res.getServiceType().add(parseCodeableReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specialty")) { res.getSpecialty().add(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("appointmentType")) { @@ -23708,6 +23336,8 @@ public class XmlParser extends XmlParserBase { res.getParent().add(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("request")) { res.getRequest().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("feature")) { + res.getFeature().add(parseSpecimenFeatureComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("collection")) { res.setCollection(parseSpecimenCollectionComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("processing")) { @@ -23724,6 +23354,32 @@ public class XmlParser extends XmlParserBase { return true; } + protected Specimen.SpecimenFeatureComponent parseSpecimenFeatureComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Specimen.SpecimenFeatureComponent res = new Specimen.SpecimenFeatureComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseSpecimenFeatureComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseSpecimenFeatureComponentContent(int eventType, XmlPullParser xpp, Specimen.SpecimenFeatureComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { + res.setDescriptionElement(parseString(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected Specimen.SpecimenCollectionComponent parseSpecimenCollectionComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { Specimen.SpecimenCollectionComponent res = new Specimen.SpecimenCollectionComponent(); parseElementAttributes(xpp, res); @@ -23810,20 +23466,12 @@ public class XmlParser extends XmlParserBase { } protected boolean parseSpecimenContainerComponentContent(int eventType, XmlPullParser xpp, Specimen.SpecimenContainerComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { - res.getIdentifier().add(parseIdentifier(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { - res.setDescriptionElement(parseString(xpp)); + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("device")) { + res.setDevice(parseReference(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("location")) { res.setLocation(parseReference(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { - res.setType(parseCodeableConcept(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("capacity")) { - res.setCapacity(parseQuantity(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("specimenQuantity")) { res.setSpecimenQuantity(parseQuantity(xpp)); - } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "additive")) { - res.setAdditive(parseType("additive", xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -24553,7 +24201,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("name")) { res.setNameElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { - res.setStatusElement(parseEnumeration(xpp, Enumerations.SubscriptionState.NULL, new Enumerations.SubscriptionStateEnumFactory())); + res.setStatusElement(parseEnumeration(xpp, Enumerations.SubscriptionStatusCodes.NULL, new Enumerations.SubscriptionStatusCodesEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("topic")) { res.setTopicElement(parseCanonical(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("contact")) { @@ -24578,8 +24226,6 @@ public class XmlParser extends XmlParserBase { res.setContentTypeElement(parseCode(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("content")) { res.setContentElement(parseEnumeration(xpp, Subscription.SubscriptionPayloadContent.NULL, new Subscription.SubscriptionPayloadContentEnumFactory())); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("notificationUrlLocation")) { - res.setNotificationUrlLocationElement(parseEnumeration(xpp, Subscription.SubscriptionUrlLocation.NULL, new Subscription.SubscriptionUrlLocationEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("maxCount")) { res.setMaxCountElement(parsePositiveInt(xpp)); } else if (!parseDomainResourceContent(eventType, xpp, res)){ @@ -24606,10 +24252,10 @@ public class XmlParser extends XmlParserBase { protected boolean parseSubscriptionFilterByComponentContent(int eventType, XmlPullParser xpp, Subscription.SubscriptionFilterByComponent res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("resourceType")) { res.setResourceTypeElement(parseUri(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("searchParamName")) { - res.setSearchParamNameElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("searchModifier")) { - res.setSearchModifierElement(parseEnumeration(xpp, Enumerations.SubscriptionSearchModifier.NULL, new Enumerations.SubscriptionSearchModifierEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("filterParameter")) { + res.setFilterParameterElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("modifier")) { + res.setModifierElement(parseEnumeration(xpp, Enumerations.SubscriptionSearchModifier.NULL, new Enumerations.SubscriptionSearchModifierEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("value")) { res.setValueElement(parseString(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -24635,13 +24281,11 @@ public class XmlParser extends XmlParserBase { protected boolean parseSubscriptionStatusContent(int eventType, XmlPullParser xpp, SubscriptionStatus res) throws XmlPullParserException, IOException, FHIRFormatError { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { - res.setStatusElement(parseEnumeration(xpp, Enumerations.SubscriptionState.NULL, new Enumerations.SubscriptionStateEnumFactory())); + res.setStatusElement(parseEnumeration(xpp, Enumerations.SubscriptionStatusCodes.NULL, new Enumerations.SubscriptionStatusCodesEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setTypeElement(parseEnumeration(xpp, SubscriptionStatus.SubscriptionNotificationType.NULL, new SubscriptionStatus.SubscriptionNotificationTypeEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("eventsSinceSubscriptionStart")) { res.setEventsSinceSubscriptionStartElement(parseInteger64(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("eventsInNotification")) { - res.setEventsInNotificationElement(parseInteger(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("notificationEvent")) { res.getNotificationEvent().add(parseSubscriptionStatusNotificationEventComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("subscription")) { @@ -24746,7 +24390,7 @@ public class XmlParser extends XmlParserBase { res.getCanFilterBy().add(parseSubscriptionTopicCanFilterByComponent(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("notificationShape")) { res.getNotificationShape().add(parseSubscriptionTopicNotificationShapeComponent(xpp)); - } else if (!parseDomainResourceContent(eventType, xpp, res)){ + } else if (!parseCanonicalResourceContent(eventType, xpp, res)){ return false; } return true; @@ -24866,6 +24510,8 @@ public class XmlParser extends XmlParserBase { res.setResourceElement(parseUri(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("filterParameter")) { res.setFilterParameterElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("filterDefinition")) { + res.setFilterDefinitionElement(parseUri(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("modifier")) { res.getModifier().add(parseEnumeration(xpp, Enumerations.SubscriptionSearchModifier.NULL, new Enumerations.SubscriptionSearchModifierEnumFactory())); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -25066,8 +24712,8 @@ public class XmlParser extends XmlParserBase { res.setMolecularFormulaElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "amount")) { res.setAmount(parseType("amount", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("amountType")) { - res.setAmountType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("measurementType")) { + res.setMeasurementType(parseCodeableConcept(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ return false; } @@ -25324,10 +24970,10 @@ public class XmlParser extends XmlParserBase { res.setIsDefiningElement(parseBoolean(xpp)); } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "amount")) { res.setAmount(parseType("amount", xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("amountRatioHighLimit")) { - res.setAmountRatioHighLimit(parseRatio(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("amountType")) { - res.setAmountType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("ratioHighLimitAmount")) { + res.setRatioHighLimitAmount(parseRatio(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("comparator")) { + res.setComparator(parseCodeableConcept(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("source")) { res.getSource().add(parseReference(xpp)); } else if (!parseBackboneElementContent(eventType, xpp, res)){ @@ -26803,7 +26449,7 @@ public class XmlParser extends XmlParserBase { } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { res.setStatusElement(parseEnumeration(xpp, TestReport.TestReportStatus.NULL, new TestReport.TestReportStatusEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("testScript")) { - res.setTestScript(parseReference(xpp)); + res.setTestScriptElement(parseCanonical(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("result")) { res.setResultElement(parseEnumeration(xpp, TestReport.TestReportResult.NULL, new TestReport.TestReportResultEnumFactory())); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("score")) { @@ -27437,7 +27083,7 @@ public class XmlParser extends XmlParserBase { if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { res.setType(parseCoding(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("resource")) { - res.setResourceElement(parseEnumeration(xpp, TestScript.FHIRDefinedType.NULL, new TestScript.FHIRDefinedTypeEnumFactory())); + res.setResourceElement(parseUri(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("label")) { res.setLabelElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { @@ -27670,6 +27316,174 @@ public class XmlParser extends XmlParserBase { return true; } + protected Transport parseTransport(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Transport res = new Transport(); + parseResourceAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseTransportContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseTransportContent(int eventType, XmlPullParser xpp, Transport res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("identifier")) { + res.getIdentifier().add(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("instantiatesCanonical")) { + res.setInstantiatesCanonicalElement(parseCanonical(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("instantiatesUri")) { + res.setInstantiatesUriElement(parseUri(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("basedOn")) { + res.getBasedOn().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("groupIdentifier")) { + res.setGroupIdentifier(parseIdentifier(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("partOf")) { + res.getPartOf().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("status")) { + res.setStatusElement(parseEnumeration(xpp, Transport.TransportStatus.NULL, new Transport.TransportStatusEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("statusReason")) { + res.setStatusReason(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("intent")) { + res.setIntentElement(parseEnumeration(xpp, Transport.TransportIntent.NULL, new Transport.TransportIntentEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("priority")) { + res.setPriorityElement(parseEnumeration(xpp, Enumerations.RequestPriority.NULL, new Enumerations.RequestPriorityEnumFactory())); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("code")) { + res.setCode(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("description")) { + res.setDescriptionElement(parseString(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("focus")) { + res.setFocus(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("for")) { + res.setFor(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("encounter")) { + res.setEncounter(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("completionTime")) { + res.setCompletionTimeElement(parseDateTime(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("authoredOn")) { + res.setAuthoredOnElement(parseDateTime(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("lastModified")) { + res.setLastModifiedElement(parseDateTime(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("requester")) { + res.setRequester(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("performerType")) { + res.getPerformerType().add(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("owner")) { + res.setOwner(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("location")) { + res.setLocation(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reasonCode")) { + res.setReasonCode(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("reasonReference")) { + res.setReasonReference(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("insurance")) { + res.getInsurance().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("note")) { + res.getNote().add(parseAnnotation(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("relevantHistory")) { + res.getRelevantHistory().add(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("restriction")) { + res.setRestriction(parseTransportRestrictionComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("input")) { + res.getInput().add(parseTransportParameterComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("output")) { + res.getOutput().add(parseTransportOutputComponent(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("requestedLocation")) { + res.setRequestedLocation(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("currentLocation")) { + res.setCurrentLocation(parseReference(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("history")) { + res.setHistory(parseReference(xpp)); + } else if (!parseDomainResourceContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected Transport.TransportRestrictionComponent parseTransportRestrictionComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Transport.TransportRestrictionComponent res = new Transport.TransportRestrictionComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseTransportRestrictionComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseTransportRestrictionComponentContent(int eventType, XmlPullParser xpp, Transport.TransportRestrictionComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("repetitions")) { + res.setRepetitionsElement(parsePositiveInt(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("period")) { + res.setPeriod(parsePeriod(xpp)); + } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("recipient")) { + res.getRecipient().add(parseReference(xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected Transport.ParameterComponent parseTransportParameterComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Transport.ParameterComponent res = new Transport.ParameterComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseTransportParameterComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseTransportParameterComponentContent(int eventType, XmlPullParser xpp, Transport.ParameterComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { + res.setValue(parseType("value", xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + + protected Transport.TransportOutputComponent parseTransportOutputComponent(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { + Transport.TransportOutputComponent res = new Transport.TransportOutputComponent(); + parseElementAttributes(xpp, res); + next(xpp); + int eventType = nextNoWhitespace(xpp); + while (eventType != XmlPullParser.END_TAG) { + if (!parseTransportOutputComponentContent(eventType, xpp, res)) + unknownContent(xpp); + eventType = nextNoWhitespace(xpp); + } + next(xpp); + parseElementClose(res); + return res; + } + + protected boolean parseTransportOutputComponentContent(int eventType, XmlPullParser xpp, Transport.TransportOutputComponent res) throws XmlPullParserException, IOException, FHIRFormatError { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("type")) { + res.setType(parseCodeableConcept(xpp)); + } else if (eventType == XmlPullParser.START_TAG && nameIsTypeName(xpp, "value")) { + res.setValue(parseType("value", xpp)); + } else if (!parseBackboneElementContent(eventType, xpp, res)){ + return false; + } + return true; + } + protected ValueSet parseValueSet(XmlPullParser xpp) throws XmlPullParserException, IOException, FHIRFormatError { ValueSet res = new ValueSet(); parseResourceAttributes(xpp, res); @@ -28050,9 +27864,7 @@ public class XmlParser extends XmlParserBase { } protected boolean parseValueSetScopeComponentContent(int eventType, XmlPullParser xpp, ValueSet.ValueSetScopeComponent res) throws XmlPullParserException, IOException, FHIRFormatError { - if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("focus")) { - res.setFocusElement(parseString(xpp)); - } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("inclusionCriteria")) { + if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("inclusionCriteria")) { res.setInclusionCriteriaElement(parseString(xpp)); } else if (eventType == XmlPullParser.START_TAG && xpp.getName().equals("exclusionCriteria")) { res.setExclusionCriteriaElement(parseString(xpp)); @@ -28384,8 +28196,6 @@ public class XmlParser extends XmlParserBase { return parseClinicalImpression(xpp); } else if (xpp.getName().equals("ClinicalUseDefinition")) { return parseClinicalUseDefinition(xpp); - } else if (xpp.getName().equals("ClinicalUseIssue")) { - return parseClinicalUseIssue(xpp); } else if (xpp.getName().equals("CodeSystem")) { return parseCodeSystem(xpp); } else if (xpp.getName().equals("Communication")) { @@ -28398,8 +28208,6 @@ public class XmlParser extends XmlParserBase { return parseComposition(xpp); } else if (xpp.getName().equals("ConceptMap")) { return parseConceptMap(xpp); - } else if (xpp.getName().equals("ConceptMap2")) { - return parseConceptMap2(xpp); } else if (xpp.getName().equals("Condition")) { return parseCondition(xpp); } else if (xpp.getName().equals("ConditionDefinition")) { @@ -28460,6 +28268,8 @@ public class XmlParser extends XmlParserBase { return parseFamilyMemberHistory(xpp); } else if (xpp.getName().equals("Flag")) { return parseFlag(xpp); + } else if (xpp.getName().equals("FormularyItem")) { + return parseFormularyItem(xpp); } else if (xpp.getName().equals("Goal")) { return parseGoal(xpp); } else if (xpp.getName().equals("GraphDefinition")) { @@ -28632,6 +28442,8 @@ public class XmlParser extends XmlParserBase { return parseTestReport(xpp); } else if (xpp.getName().equals("TestScript")) { return parseTestScript(xpp); + } else if (xpp.getName().equals("Transport")) { + return parseTransport(xpp); } else if (xpp.getName().equals("ValueSet")) { return parseValueSet(xpp); } else if (xpp.getName().equals("VerificationResult")) { @@ -28723,6 +28535,8 @@ public class XmlParser extends XmlParserBase { return parseElementDefinition(xpp); } else if (xpp.getName().equals(prefix+"Expression")) { return parseExpression(xpp); + } else if (xpp.getName().equals(prefix+"ExtendedContactDetail")) { + return parseExtendedContactDetail(xpp); } else if (xpp.getName().equals(prefix+"Extension")) { return parseExtension(xpp); } else if (xpp.getName().equals(prefix+"HumanName")) { @@ -28743,8 +28557,6 @@ public class XmlParser extends XmlParserBase { return parsePeriod(xpp); } else if (xpp.getName().equals(prefix+"Population")) { return parsePopulation(xpp); - } else if (xpp.getName().equals(prefix+"ProdCharacteristic")) { - return parseProdCharacteristic(xpp); } else if (xpp.getName().equals(prefix+"ProductShelfLife")) { return parseProductShelfLife(xpp); } else if (xpp.getName().equals(prefix+"Quantity")) { @@ -28854,6 +28666,8 @@ public class XmlParser extends XmlParserBase { return parseElementDefinition(xpp); } else if (type.equals("Expression")) { return parseExpression(xpp); + } else if (type.equals("ExtendedContactDetail")) { + return parseExtendedContactDetail(xpp); } else if (type.equals("Extension")) { return parseExtension(xpp); } else if (type.equals("HumanName")) { @@ -28874,8 +28688,6 @@ public class XmlParser extends XmlParserBase { return parsePeriod(xpp); } else if (type.equals("Population")) { return parsePopulation(xpp); - } else if (type.equals("ProdCharacteristic")) { - return parseProdCharacteristic(xpp); } else if (type.equals("ProductShelfLife")) { return parseProductShelfLife(xpp); } else if (type.equals("Quantity")) { @@ -28945,6 +28757,8 @@ public class XmlParser extends XmlParserBase { return parseElementDefinition(xpp); } else if (type.equals("Expression")) { return parseExpression(xpp); + } else if (type.equals("ExtendedContactDetail")) { + return parseExtendedContactDetail(xpp); } else if (type.equals("Extension")) { return parseExtension(xpp); } else if (type.equals("HumanName")) { @@ -28965,8 +28779,6 @@ public class XmlParser extends XmlParserBase { return parsePeriod(xpp); } else if (type.equals("Population")) { return parsePopulation(xpp); - } else if (type.equals("ProdCharacteristic")) { - return parseProdCharacteristic(xpp); } else if (type.equals("ProductShelfLife")) { return parseProductShelfLife(xpp); } else if (type.equals("Quantity")) { @@ -29041,8 +28853,6 @@ public class XmlParser extends XmlParserBase { return parseClinicalImpression(xpp); } else if (type.equals("ClinicalUseDefinition")) { return parseClinicalUseDefinition(xpp); - } else if (type.equals("ClinicalUseIssue")) { - return parseClinicalUseIssue(xpp); } else if (type.equals("CodeSystem")) { return parseCodeSystem(xpp); } else if (type.equals("Communication")) { @@ -29055,8 +28865,6 @@ public class XmlParser extends XmlParserBase { return parseComposition(xpp); } else if (type.equals("ConceptMap")) { return parseConceptMap(xpp); - } else if (type.equals("ConceptMap2")) { - return parseConceptMap2(xpp); } else if (type.equals("Condition")) { return parseCondition(xpp); } else if (type.equals("ConditionDefinition")) { @@ -29117,6 +28925,8 @@ public class XmlParser extends XmlParserBase { return parseFamilyMemberHistory(xpp); } else if (type.equals("Flag")) { return parseFlag(xpp); + } else if (type.equals("FormularyItem")) { + return parseFormularyItem(xpp); } else if (type.equals("Goal")) { return parseGoal(xpp); } else if (type.equals("GraphDefinition")) { @@ -29289,6 +29099,8 @@ public class XmlParser extends XmlParserBase { return parseTestReport(xpp); } else if (type.equals("TestScript")) { return parseTestScript(xpp); + } else if (type.equals("Transport")) { + return parseTransport(xpp); } else if (type.equals("ValueSet")) { return parseValueSet(xpp); } else if (type.equals("VerificationResult")) { @@ -29380,6 +29192,8 @@ public class XmlParser extends XmlParserBase { return true; } else if (xpp.getName().equals(prefix+"Expression")) { return true; + } else if (xpp.getName().equals(prefix+"ExtendedContactDetail")) { + return true; } else if (xpp.getName().equals(prefix+"Extension")) { return true; } else if (xpp.getName().equals(prefix+"HumanName")) { @@ -29400,8 +29214,6 @@ public class XmlParser extends XmlParserBase { return true; } else if (xpp.getName().equals(prefix+"Population")) { return true; - } else if (xpp.getName().equals(prefix+"ProdCharacteristic")) { - return true; } else if (xpp.getName().equals(prefix+"ProductShelfLife")) { return true; } else if (xpp.getName().equals(prefix+"Quantity")) { @@ -29476,8 +29288,6 @@ public class XmlParser extends XmlParserBase { return true; } else if (xpp.getName().equals(prefix+"ClinicalUseDefinition")) { return true; - } else if (xpp.getName().equals(prefix+"ClinicalUseIssue")) { - return true; } else if (xpp.getName().equals(prefix+"CodeSystem")) { return true; } else if (xpp.getName().equals(prefix+"Communication")) { @@ -29490,8 +29300,6 @@ public class XmlParser extends XmlParserBase { return true; } else if (xpp.getName().equals(prefix+"ConceptMap")) { return true; - } else if (xpp.getName().equals(prefix+"ConceptMap2")) { - return true; } else if (xpp.getName().equals(prefix+"Condition")) { return true; } else if (xpp.getName().equals(prefix+"ConditionDefinition")) { @@ -29552,6 +29360,8 @@ public class XmlParser extends XmlParserBase { return true; } else if (xpp.getName().equals(prefix+"Flag")) { return true; + } else if (xpp.getName().equals(prefix+"FormularyItem")) { + return true; } else if (xpp.getName().equals(prefix+"Goal")) { return true; } else if (xpp.getName().equals(prefix+"GraphDefinition")) { @@ -29724,6 +29534,8 @@ public class XmlParser extends XmlParserBase { return true; } else if (xpp.getName().equals(prefix+"TestScript")) { return true; + } else if (xpp.getName().equals(prefix+"Transport")) { + return true; } else if (xpp.getName().equals(prefix+"ValueSet")) { return true; } else if (xpp.getName().equals(prefix+"VerificationResult")) { @@ -30523,9 +30335,14 @@ public class XmlParser extends XmlParserBase { if (element.hasTiming()) { composeTiming("timing", element.getTiming()); } - if (element.hasAsNeeded()) { - composeType("asNeeded", element.getAsNeeded()); - } if (element.hasSite()) { + if (element.hasAsNeededElement()) { + composeBoolean("asNeeded", element.getAsNeededElement()); + } + if (element.hasAsNeededFor()) { + for (CodeableConcept e : element.getAsNeededFor()) + composeCodeableConcept("asNeededFor", e); + } + if (element.hasSite()) { composeCodeableConcept("site", element.getSite()); } if (element.hasRoute()) { @@ -30539,7 +30356,8 @@ public class XmlParser extends XmlParserBase { composeDosageDoseAndRateComponent("doseAndRate", e); } if (element.hasMaxDosePerPeriod()) { - composeRatio("maxDosePerPeriod", element.getMaxDosePerPeriod()); + for (Ratio e : element.getMaxDosePerPeriod()) + composeRatio("maxDosePerPeriod", e); } if (element.hasMaxDosePerAdministration()) { composeQuantity("maxDosePerAdministration", element.getMaxDosePerAdministration()); @@ -30930,6 +30748,39 @@ public class XmlParser extends XmlParserBase { } } + protected void composeExtendedContactDetail(String name, ExtendedContactDetail element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeExtendedContactDetailElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeExtendedContactDetailElements(ExtendedContactDetail element) throws IOException { + composeDataTypeElements(element); + if (element.hasPurpose()) { + composeCodeableConcept("purpose", element.getPurpose()); + } + if (element.hasName()) { + composeHumanName("name", element.getName()); + } + if (element.hasTelecom()) { + for (ContactPoint e : element.getTelecom()) + composeContactPoint("telecom", e); + } + if (element.hasAddress()) { + composeAddress("address", element.getAddress()); + } + if (element.hasOrganization()) { + composeReference("organization", element.getOrganization()); + } + if (element.hasPeriod()) { + composePeriod("period", element.getPeriod()); + } + } + protected void composeExtension(String name, Extension element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -31197,56 +31048,6 @@ public class XmlParser extends XmlParserBase { } } - protected void composeProdCharacteristic(String name, ProdCharacteristic element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeProdCharacteristicElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeProdCharacteristicElements(ProdCharacteristic element) throws IOException { - composeBackboneTypeElements(element); - if (element.hasHeight()) { - composeQuantity("height", element.getHeight()); - } - if (element.hasWidth()) { - composeQuantity("width", element.getWidth()); - } - if (element.hasDepth()) { - composeQuantity("depth", element.getDepth()); - } - if (element.hasWeight()) { - composeQuantity("weight", element.getWeight()); - } - if (element.hasNominalVolume()) { - composeQuantity("nominalVolume", element.getNominalVolume()); - } - if (element.hasExternalDiameter()) { - composeQuantity("externalDiameter", element.getExternalDiameter()); - } - if (element.hasShapeElement()) { - composeString("shape", element.getShapeElement()); - } - if (element.hasColor()) { - for (StringType e : element.getColor()) - composeString("color", e); - } - if (element.hasImprint()) { - for (StringType e : element.getImprint()) - composeString("imprint", e); - } - if (element.hasImage()) { - for (Attachment e : element.getImage()) - composeAttachment("image", e); - } - if (element.hasScoring()) { - composeCodeableConcept("scoring", element.getScoring()); - } - } - protected void composeProductShelfLife(String name, ProductShelfLife element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -32188,6 +31989,9 @@ public class XmlParser extends XmlParserBase { for (AdverseEvent.AdverseEventParticipantComponent e : element.getParticipant()) composeAdverseEventParticipantComponent("participant", e); } + if (element.hasExpectedInResearchStudyElement()) { + composeBoolean("expectedInResearchStudy", element.getExpectedInResearchStudyElement()); + } if (element.hasSuspectEntity()) { for (AdverseEvent.AdverseEventSuspectEntityComponent e : element.getSuspectEntity()) composeAdverseEventSuspectEntityComponent("suspectEntity", e); @@ -32383,11 +32187,9 @@ public class XmlParser extends XmlParserBase { } if (element.hasRecordedDateElement()) { composeDateTime("recordedDate", element.getRecordedDateElement()); } - if (element.hasRecorder()) { - composeReference("recorder", element.getRecorder()); - } - if (element.hasAsserter()) { - composeReference("asserter", element.getAsserter()); + if (element.hasParticipant()) { + for (AllergyIntolerance.AllergyIntoleranceParticipantComponent e : element.getParticipant()) + composeAllergyIntoleranceParticipantComponent("participant", e); } if (element.hasLastOccurrenceElement()) { composeDateTime("lastOccurrence", element.getLastOccurrenceElement()); @@ -32402,6 +32204,26 @@ public class XmlParser extends XmlParserBase { } } + protected void composeAllergyIntoleranceParticipantComponent(String name, AllergyIntolerance.AllergyIntoleranceParticipantComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeAllergyIntoleranceParticipantComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeAllergyIntoleranceParticipantComponentElements(AllergyIntolerance.AllergyIntoleranceParticipantComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasFunction()) { + composeCodeableConcept("function", element.getFunction()); + } + if (element.hasActor()) { + composeReference("actor", element.getActor()); + } + } + protected void composeAllergyIntoleranceReactionComponent(String name, AllergyIntolerance.AllergyIntoleranceReactionComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -32464,8 +32286,8 @@ public class XmlParser extends XmlParserBase { composeCodeableConcept("serviceCategory", e); } if (element.hasServiceType()) { - for (CodeableConcept e : element.getServiceType()) - composeCodeableConcept("serviceType", e); + for (CodeableReference e : element.getServiceType()) + composeCodeableReference("serviceType", e); } if (element.hasSpecialty()) { for (CodeableConcept e : element.getSpecialty()) @@ -32616,7 +32438,7 @@ public class XmlParser extends XmlParserBase { } protected void composeArtifactAssessmentElements(ArtifactAssessment element) throws IOException { - composeMetadataResourceElements(element); + composeDomainResourceElements(element); if (element.hasIdentifier()) { for (Identifier e : element.getIdentifier()) composeIdentifier("identifier", e); @@ -32730,6 +32552,9 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getBasedOn()) composeReference("basedOn", e); } + if (element.hasPatient()) { + composeReference("patient", element.getPatient()); + } if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -32908,7 +32733,7 @@ public class XmlParser extends XmlParserBase { composeReference("subject", element.getSubject()); } if (element.hasCreatedElement()) { - composeDate("created", element.getCreatedElement()); + composeDateTime("created", element.getCreatedElement()); } if (element.hasAuthor()) { composeReference("author", element.getAuthor()); @@ -32950,10 +32775,11 @@ public class XmlParser extends XmlParserBase { protected void composeBiologicallyDerivedProductElements(BiologicallyDerivedProduct element) throws IOException { composeDomainResourceElements(element); - if (element.hasProductCategoryElement()) - composeEnumeration("productCategory", element.getProductCategoryElement(), new BiologicallyDerivedProduct.BiologicallyDerivedProductCategoryEnumFactory()); + if (element.hasProductCategory()) { + composeCoding("productCategory", element.getProductCategory()); + } if (element.hasProductCode()) { - composeCodeableConcept("productCode", element.getProductCode()); + composeCoding("productCode", element.getProductCode()); } if (element.hasParent()) { for (Reference e : element.getParent()) @@ -32967,8 +32793,8 @@ public class XmlParser extends XmlParserBase { for (Identifier e : element.getIdentifier()) composeIdentifier("identifier", e); } - if (element.hasBiologicalSource()) { - composeIdentifier("biologicalSource", element.getBiologicalSource()); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier("biologicalSourceEvent", element.getBiologicalSourceEvent()); } if (element.hasProcessingFacility()) { for (Reference e : element.getProcessingFacility()) @@ -32977,8 +32803,9 @@ public class XmlParser extends XmlParserBase { if (element.hasDivisionElement()) { composeString("division", element.getDivisionElement()); } - if (element.hasStatusElement()) - composeEnumeration("status", element.getStatusElement(), new BiologicallyDerivedProduct.BiologicallyDerivedProductStatusEnumFactory()); + if (element.hasProductStatus()) { + composeCoding("productStatus", element.getProductStatus()); + } if (element.hasExpirationDateElement()) { composeDateTime("expirationDate", element.getExpirationDateElement()); } @@ -33029,7 +32856,7 @@ public class XmlParser extends XmlParserBase { protected void composeBiologicallyDerivedProductPropertyComponentElements(BiologicallyDerivedProduct.BiologicallyDerivedProductPropertyComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasType()) { - composeCodeableConcept("type", element.getType()); + composeCoding("type", element.getType()); } if (element.hasValue()) { composeType("value", element.getValue()); @@ -33057,9 +32884,6 @@ public class XmlParser extends XmlParserBase { if (element.hasMorphology()) { composeCodeableConcept("morphology", element.getMorphology()); } - if (element.hasLocation()) { - composeCodeableConcept("location", element.getLocation()); - } if (element.hasIncludedStructure()) { for (BodyStructure.BodyStructureIncludedStructureComponent e : element.getIncludedStructure()) composeBodyStructureIncludedStructureComponent("includedStructure", e); @@ -34161,8 +33985,8 @@ public class XmlParser extends XmlParserBase { if (element.hasCreatedElement()) { composeDateTime("created", element.getCreatedElement()); } - if (element.hasAuthor()) { - composeReference("author", element.getAuthor()); + if (element.hasCustodian()) { + composeReference("custodian", element.getCustodian()); } if (element.hasContributor()) { for (Reference e : element.getContributor()) @@ -34873,8 +34697,8 @@ public class XmlParser extends XmlParserBase { composeCitationCitedArtifactPartComponent("part", element.getPart()); } if (element.hasRelatesTo()) { - for (RelatedArtifact e : element.getRelatesTo()) - composeRelatedArtifact("relatesTo", e); + for (Citation.CitationCitedArtifactRelatesToComponent e : element.getRelatesTo()) + composeCitationCitedArtifactRelatesToComponent("relatesTo", e); } if (element.hasPublicationForm()) { for (Citation.CitationCitedArtifactPublicationFormComponent e : element.getPublicationForm()) @@ -35013,6 +34837,44 @@ public class XmlParser extends XmlParserBase { } } + protected void composeCitationCitedArtifactRelatesToComponent(String name, Citation.CitationCitedArtifactRelatesToComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeCitationCitedArtifactRelatesToComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeCitationCitedArtifactRelatesToComponentElements(Citation.CitationCitedArtifactRelatesToComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasTypeElement()) + composeEnumeration("type", element.getTypeElement(), new Citation.RelatedArtifactTypeExpandedEnumFactory()); + if (element.hasClassifier()) { + for (CodeableConcept e : element.getClassifier()) + composeCodeableConcept("classifier", e); + } + if (element.hasLabelElement()) { + composeString("label", element.getLabelElement()); + } + if (element.hasDisplayElement()) { + composeString("display", element.getDisplayElement()); + } + if (element.hasCitationElement()) { + composeMarkdown("citation", element.getCitationElement()); + } + if (element.hasDocument()) { + composeAttachment("document", element.getDocument()); + } + if (element.hasResourceElement()) { + composeCanonical("resource", element.getResourceElement()); + } + if (element.hasResourceReference()) { + composeReference("resourceReference", element.getResourceReference()); + } + } + protected void composeCitationCitedArtifactPublicationFormComponent(String name, Citation.CitationCitedArtifactPublicationFormComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -35189,37 +35051,9 @@ public class XmlParser extends XmlParserBase { for (CodeableConcept e : element.getClassifier()) composeCodeableConcept("classifier", e); } - if (element.hasWhoClassified()) { - composeCitationCitedArtifactClassificationWhoClassifiedComponent("whoClassified", element.getWhoClassified()); - } - } - - protected void composeCitationCitedArtifactClassificationWhoClassifiedComponent(String name, Citation.CitationCitedArtifactClassificationWhoClassifiedComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeCitationCitedArtifactClassificationWhoClassifiedComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeCitationCitedArtifactClassificationWhoClassifiedComponentElements(Citation.CitationCitedArtifactClassificationWhoClassifiedComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasPerson()) { - composeReference("person", element.getPerson()); - } - if (element.hasOrganization()) { - composeReference("organization", element.getOrganization()); - } - if (element.hasPublisher()) { - composeReference("publisher", element.getPublisher()); - } - if (element.hasClassifierCopyrightElement()) { - composeString("classifierCopyright", element.getClassifierCopyrightElement()); - } - if (element.hasFreeToShareElement()) { - composeBoolean("freeToShare", element.getFreeToShareElement()); + if (element.hasArtifactAssessment()) { + for (Reference e : element.getArtifactAssessment()) + composeReference("artifactAssessment", e); } } @@ -35243,8 +35077,8 @@ public class XmlParser extends XmlParserBase { composeCitationCitedArtifactContributorshipEntryComponent("entry", e); } if (element.hasSummary()) { - for (Citation.CitationCitedArtifactContributorshipSummaryComponent e : element.getSummary()) - composeCitationCitedArtifactContributorshipSummaryComponent("summary", e); + for (Citation.ContributorshipSummaryComponent e : element.getSummary()) + composeCitationContributorshipSummaryComponent("summary", e); } } @@ -35260,30 +35094,15 @@ public class XmlParser extends XmlParserBase { protected void composeCitationCitedArtifactContributorshipEntryComponentElements(Citation.CitationCitedArtifactContributorshipEntryComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasName()) { - composeHumanName("name", element.getName()); + if (element.hasContributor()) { + composeReference("contributor", element.getContributor()); } - if (element.hasInitialsElement()) { - composeString("initials", element.getInitialsElement()); + if (element.hasForenameInitialsElement()) { + composeString("forenameInitials", element.getForenameInitialsElement()); } - if (element.hasCollectiveNameElement()) { - composeString("collectiveName", element.getCollectiveNameElement()); - } - if (element.hasIdentifier()) { - for (Identifier e : element.getIdentifier()) - composeIdentifier("identifier", e); - } - if (element.hasAffiliationInfo()) { - for (Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent e : element.getAffiliationInfo()) - composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponent("affiliationInfo", e); - } - if (element.hasAddress()) { - for (Address e : element.getAddress()) - composeAddress("address", e); - } - if (element.hasTelecom()) { - for (ContactPoint e : element.getTelecom()) - composeContactPoint("telecom", e); + if (element.hasAffiliation()) { + for (Reference e : element.getAffiliation()) + composeReference("affiliation", e); } if (element.hasContributionType()) { for (CodeableConcept e : element.getContributionType()) @@ -35304,30 +35123,6 @@ public class XmlParser extends XmlParserBase { } } - protected void composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponent(String name, Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeCitationCitedArtifactContributorshipEntryAffiliationInfoComponentElements(Citation.CitationCitedArtifactContributorshipEntryAffiliationInfoComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasAffiliationElement()) { - composeString("affiliation", element.getAffiliationElement()); - } - if (element.hasRoleElement()) { - composeString("role", element.getRoleElement()); - } - if (element.hasIdentifier()) { - for (Identifier e : element.getIdentifier()) - composeIdentifier("identifier", e); - } - } - protected void composeCitationCitedArtifactContributorshipEntryContributionInstanceComponent(String name, Citation.CitationCitedArtifactContributorshipEntryContributionInstanceComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -35348,17 +35143,17 @@ public class XmlParser extends XmlParserBase { } } - protected void composeCitationCitedArtifactContributorshipSummaryComponent(String name, Citation.CitationCitedArtifactContributorshipSummaryComponent element) throws IOException { + protected void composeCitationContributorshipSummaryComponent(String name, Citation.ContributorshipSummaryComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeCitationCitedArtifactContributorshipSummaryComponentElements(element); + composeCitationContributorshipSummaryComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeCitationCitedArtifactContributorshipSummaryComponentElements(Citation.CitationCitedArtifactContributorshipSummaryComponent element) throws IOException { + protected void composeCitationContributorshipSummaryComponentElements(Citation.ContributorshipSummaryComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasType()) { composeCodeableConcept("type", element.getType()); @@ -36498,7 +36293,7 @@ public class XmlParser extends XmlParserBase { composeIdentifier("identifier", e); } if (element.hasTypeElement()) - composeEnumeration("type", element.getTypeElement(), new Enumerations.ClinicalUseIssueTypeEnumFactory()); + composeEnumeration("type", element.getTypeElement(), new ClinicalUseDefinition.ClinicalUseDefinitionTypeEnumFactory()); if (element.hasCategory()) { for (CodeableConcept e : element.getCategory()) composeCodeableConcept("category", e); @@ -36609,9 +36404,8 @@ public class XmlParser extends XmlParserBase { composeCodeableReference("intendedEffect", element.getIntendedEffect()); } if (element.hasDuration()) { - composeQuantity("duration", element.getDuration()); - } - if (element.hasUndesirableEffect()) { + composeType("duration", element.getDuration()); + } if (element.hasUndesirableEffect()) { for (Reference e : element.getUndesirableEffect()) composeReference("undesirableEffect", e); } @@ -36711,216 +36505,6 @@ public class XmlParser extends XmlParserBase { } } - protected void composeClinicalUseIssue(String name, ClinicalUseIssue element) throws IOException { - if (element != null) { - composeResourceAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueElements(ClinicalUseIssue element) throws IOException { - composeDomainResourceElements(element); - if (element.hasIdentifier()) { - for (Identifier e : element.getIdentifier()) - composeIdentifier("identifier", e); - } - if (element.hasTypeElement()) - composeEnumeration("type", element.getTypeElement(), new Enumerations.ClinicalUseIssueTypeEnumFactory()); - if (element.hasCategory()) { - for (CodeableConcept e : element.getCategory()) - composeCodeableConcept("category", e); - } - if (element.hasSubject()) { - for (Reference e : element.getSubject()) - composeReference("subject", e); - } - if (element.hasStatus()) { - composeCodeableConcept("status", element.getStatus()); - } - if (element.hasDescriptionElement()) { - composeMarkdown("description", element.getDescriptionElement()); - } - if (element.hasContraindication()) { - composeClinicalUseIssueContraindicationComponent("contraindication", element.getContraindication()); - } - if (element.hasIndication()) { - composeClinicalUseIssueIndicationComponent("indication", element.getIndication()); - } - if (element.hasInteraction()) { - composeClinicalUseIssueInteractionComponent("interaction", element.getInteraction()); - } - if (element.hasPopulation()) { - for (Population e : element.getPopulation()) - composePopulation("population", e); - } - if (element.hasUndesirableEffect()) { - composeClinicalUseIssueUndesirableEffectComponent("undesirableEffect", element.getUndesirableEffect()); - } - } - - protected void composeClinicalUseIssueContraindicationComponent(String name, ClinicalUseIssue.ClinicalUseIssueContraindicationComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueContraindicationComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueContraindicationComponentElements(ClinicalUseIssue.ClinicalUseIssueContraindicationComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasDiseaseSymptomProcedure()) { - composeCodeableReference("diseaseSymptomProcedure", element.getDiseaseSymptomProcedure()); - } - if (element.hasDiseaseStatus()) { - composeCodeableReference("diseaseStatus", element.getDiseaseStatus()); - } - if (element.hasComorbidity()) { - for (CodeableReference e : element.getComorbidity()) - composeCodeableReference("comorbidity", e); - } - if (element.hasIndication()) { - for (Reference e : element.getIndication()) - composeReference("indication", e); - } - if (element.hasOtherTherapy()) { - for (ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent e : element.getOtherTherapy()) - composeClinicalUseIssueContraindicationOtherTherapyComponent("otherTherapy", e); - } - } - - protected void composeClinicalUseIssueContraindicationOtherTherapyComponent(String name, ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueContraindicationOtherTherapyComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueContraindicationOtherTherapyComponentElements(ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasRelationshipType()) { - composeCodeableConcept("relationshipType", element.getRelationshipType()); - } - if (element.hasTherapy()) { - composeCodeableReference("therapy", element.getTherapy()); - } - } - - protected void composeClinicalUseIssueIndicationComponent(String name, ClinicalUseIssue.ClinicalUseIssueIndicationComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueIndicationComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueIndicationComponentElements(ClinicalUseIssue.ClinicalUseIssueIndicationComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasDiseaseSymptomProcedure()) { - composeCodeableReference("diseaseSymptomProcedure", element.getDiseaseSymptomProcedure()); - } - if (element.hasDiseaseStatus()) { - composeCodeableReference("diseaseStatus", element.getDiseaseStatus()); - } - if (element.hasComorbidity()) { - for (CodeableReference e : element.getComorbidity()) - composeCodeableReference("comorbidity", e); - } - if (element.hasIntendedEffect()) { - composeCodeableReference("intendedEffect", element.getIntendedEffect()); - } - if (element.hasDuration()) { - composeQuantity("duration", element.getDuration()); - } - if (element.hasUndesirableEffect()) { - for (Reference e : element.getUndesirableEffect()) - composeReference("undesirableEffect", e); - } - if (element.hasOtherTherapy()) { - for (ClinicalUseIssue.ClinicalUseIssueContraindicationOtherTherapyComponent e : element.getOtherTherapy()) - composeClinicalUseIssueContraindicationOtherTherapyComponent("otherTherapy", e); - } - } - - protected void composeClinicalUseIssueInteractionComponent(String name, ClinicalUseIssue.ClinicalUseIssueInteractionComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueInteractionComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueInteractionComponentElements(ClinicalUseIssue.ClinicalUseIssueInteractionComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasInteractant()) { - for (ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent e : element.getInteractant()) - composeClinicalUseIssueInteractionInteractantComponent("interactant", e); - } - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); - } - if (element.hasEffect()) { - composeCodeableReference("effect", element.getEffect()); - } - if (element.hasIncidence()) { - composeCodeableConcept("incidence", element.getIncidence()); - } - if (element.hasManagement()) { - for (CodeableConcept e : element.getManagement()) - composeCodeableConcept("management", e); - } - } - - protected void composeClinicalUseIssueInteractionInteractantComponent(String name, ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueInteractionInteractantComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueInteractionInteractantComponentElements(ClinicalUseIssue.ClinicalUseIssueInteractionInteractantComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasItem()) { - composeType("item", element.getItem()); - } } - - protected void composeClinicalUseIssueUndesirableEffectComponent(String name, ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeClinicalUseIssueUndesirableEffectComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeClinicalUseIssueUndesirableEffectComponentElements(ClinicalUseIssue.ClinicalUseIssueUndesirableEffectComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasSymptomConditionEffect()) { - composeCodeableReference("symptomConditionEffect", element.getSymptomConditionEffect()); - } - if (element.hasClassification()) { - composeCodeableConcept("classification", element.getClassification()); - } - if (element.hasFrequencyOfOccurrence()) { - composeCodeableConcept("frequencyOfOccurrence", element.getFrequencyOfOccurrence()); - } - } - protected void composeCodeSystem(String name, CodeSystem element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -37448,9 +37032,15 @@ public class XmlParser extends XmlParserBase { protected void composeCompositionElements(Composition element) throws IOException { composeDomainResourceElements(element); + if (element.hasUrlElement()) { + composeUri("url", element.getUrlElement()); + } if (element.hasIdentifier()) { composeIdentifier("identifier", element.getIdentifier()); } + if (element.hasVersionElement()) { + composeString("version", element.getVersionElement()); + } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new Enumerations.CompositionStatusEnumFactory()); if (element.hasType()) { @@ -37469,13 +37059,24 @@ public class XmlParser extends XmlParserBase { if (element.hasDateElement()) { composeDateTime("date", element.getDateElement()); } + if (element.hasUseContext()) { + for (UsageContext e : element.getUseContext()) + composeUsageContext("useContext", e); + } if (element.hasAuthor()) { for (Reference e : element.getAuthor()) composeReference("author", e); } + if (element.hasNameElement()) { + composeString("name", element.getNameElement()); + } if (element.hasTitleElement()) { composeString("title", element.getTitleElement()); } + if (element.hasNote()) { + for (Annotation e : element.getNote()) + composeAnnotation("note", e); + } if (element.hasConfidentialityElement()) { composeCode("confidentiality", element.getConfidentialityElement()); } @@ -37605,7 +37206,7 @@ public class XmlParser extends XmlParserBase { } protected void composeConceptMapElements(ConceptMap element) throws IOException { - composeCanonicalResourceElements(element); + composeMetadataResourceElements(element); if (element.hasUrlElement()) { composeUri("url", element.getUrlElement()); } @@ -37654,10 +37255,10 @@ public class XmlParser extends XmlParserBase { if (element.hasCopyrightElement()) { composeMarkdown("copyright", element.getCopyrightElement()); } - if (element.hasSource()) { - composeType("source", element.getSource()); - } if (element.hasTarget()) { - composeType("target", element.getTarget()); + if (element.hasSourceScope()) { + composeType("sourceScope", element.getSourceScope()); + } if (element.hasTargetScope()) { + composeType("targetScope", element.getTargetScope()); } if (element.hasGroup()) { for (ConceptMap.ConceptMapGroupComponent e : element.getGroup()) composeConceptMapGroupComponent("group", e); @@ -37709,6 +37310,9 @@ public class XmlParser extends XmlParserBase { if (element.hasDisplayElement()) { composeString("display", element.getDisplayElement()); } + if (element.hasValueSetElement()) { + composeCanonical("valueSet", element.getValueSetElement()); + } if (element.hasNoMapElement()) { composeBoolean("noMap", element.getNoMapElement()); } @@ -37736,6 +37340,9 @@ public class XmlParser extends XmlParserBase { if (element.hasDisplayElement()) { composeString("display", element.getDisplayElement()); } + if (element.hasValueSetElement()) { + composeCanonical("valueSet", element.getValueSetElement()); + } if (element.hasRelationshipElement()) composeEnumeration("relationship", element.getRelationshipElement(), new Enumerations.ConceptMapRelationshipEnumFactory()); if (element.hasCommentElement()) { @@ -37766,14 +37373,10 @@ public class XmlParser extends XmlParserBase { if (element.hasPropertyElement()) { composeUri("property", element.getPropertyElement()); } - if (element.hasSystemElement()) { - composeCanonical("system", element.getSystemElement()); - } - if (element.hasValueElement()) { - composeString("value", element.getValueElement()); - } - if (element.hasDisplayElement()) { - composeString("display", element.getDisplayElement()); + if (element.hasValue()) { + composeType("value", element.getValue()); + } if (element.hasValueSetElement()) { + composeCanonical("valueSet", element.getValueSetElement()); } } @@ -37790,157 +37393,7 @@ public class XmlParser extends XmlParserBase { protected void composeConceptMapGroupUnmappedComponentElements(ConceptMap.ConceptMapGroupUnmappedComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasModeElement()) - composeEnumeration("mode", element.getModeElement(), new Enumerations.ConceptMapGroupUnmappedModeEnumFactory()); - if (element.hasCodeElement()) { - composeCode("code", element.getCodeElement()); - } - if (element.hasDisplayElement()) { - composeString("display", element.getDisplayElement()); - } - if (element.hasUrlElement()) { - composeCanonical("url", element.getUrlElement()); - } - } - - protected void composeConceptMap2(String name, ConceptMap2 element) throws IOException { - if (element != null) { - composeResourceAttributes(element); - xml.enter(FHIR_NS, name); - composeConceptMap2Elements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConceptMap2Elements(ConceptMap2 element) throws IOException { - composeCanonicalResourceElements(element); - if (element.hasUrlElement()) { - composeUri("url", element.getUrlElement()); - } - if (element.hasIdentifier()) { - for (Identifier e : element.getIdentifier()) - composeIdentifier("identifier", e); - } - if (element.hasVersionElement()) { - composeString("version", element.getVersionElement()); - } - if (element.hasNameElement()) { - composeString("name", element.getNameElement()); - } - if (element.hasTitleElement()) { - composeString("title", element.getTitleElement()); - } - if (element.hasStatusElement()) - composeEnumeration("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory()); - if (element.hasExperimentalElement()) { - composeBoolean("experimental", element.getExperimentalElement()); - } - if (element.hasDateElement()) { - composeDateTime("date", element.getDateElement()); - } - if (element.hasPublisherElement()) { - composeString("publisher", element.getPublisherElement()); - } - if (element.hasContact()) { - for (ContactDetail e : element.getContact()) - composeContactDetail("contact", e); - } - if (element.hasDescriptionElement()) { - composeMarkdown("description", element.getDescriptionElement()); - } - if (element.hasUseContext()) { - for (UsageContext e : element.getUseContext()) - composeUsageContext("useContext", e); - } - if (element.hasJurisdiction()) { - for (CodeableConcept e : element.getJurisdiction()) - composeCodeableConcept("jurisdiction", e); - } - if (element.hasPurposeElement()) { - composeMarkdown("purpose", element.getPurposeElement()); - } - if (element.hasCopyrightElement()) { - composeMarkdown("copyright", element.getCopyrightElement()); - } - if (element.hasSource()) { - composeType("source", element.getSource()); - } if (element.hasTarget()) { - composeType("target", element.getTarget()); - } if (element.hasGroup()) { - for (ConceptMap2.ConceptMap2GroupComponent e : element.getGroup()) - composeConceptMap2GroupComponent("group", e); - } - } - - protected void composeConceptMap2GroupComponent(String name, ConceptMap2.ConceptMap2GroupComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeConceptMap2GroupComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConceptMap2GroupComponentElements(ConceptMap2.ConceptMap2GroupComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasSourceElement()) { - composeCanonical("source", element.getSourceElement()); - } - if (element.hasTargetElement()) { - composeCanonical("target", element.getTargetElement()); - } - if (element.hasElement()) { - for (ConceptMap2.SourceElementComponent e : element.getElement()) - composeConceptMap2SourceElementComponent("element", e); - } - if (element.hasUnmapped()) { - composeConceptMap2GroupUnmappedComponent("unmapped", element.getUnmapped()); - } - } - - protected void composeConceptMap2SourceElementComponent(String name, ConceptMap2.SourceElementComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeConceptMap2SourceElementComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConceptMap2SourceElementComponentElements(ConceptMap2.SourceElementComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasCodeElement()) { - composeCode("code", element.getCodeElement()); - } - if (element.hasDisplayElement()) { - composeString("display", element.getDisplayElement()); - } - if (element.hasValueSetElement()) { - composeCanonical("valueSet", element.getValueSetElement()); - } - if (element.hasNoMapElement()) { - composeBoolean("noMap", element.getNoMapElement()); - } - if (element.hasTarget()) { - for (ConceptMap2.TargetElementComponent e : element.getTarget()) - composeConceptMap2TargetElementComponent("target", e); - } - } - - protected void composeConceptMap2TargetElementComponent(String name, ConceptMap2.TargetElementComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeConceptMap2TargetElementComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConceptMap2TargetElementComponentElements(ConceptMap2.TargetElementComponent element) throws IOException { - composeBackboneElementElements(element); + composeEnumeration("mode", element.getModeElement(), new ConceptMap.ConceptMapGroupUnmappedModeEnumFactory()); if (element.hasCodeElement()) { composeCode("code", element.getCodeElement()); } @@ -37952,63 +37405,8 @@ public class XmlParser extends XmlParserBase { } if (element.hasRelationshipElement()) composeEnumeration("relationship", element.getRelationshipElement(), new Enumerations.ConceptMapRelationshipEnumFactory()); - if (element.hasCommentElement()) { - composeString("comment", element.getCommentElement()); - } - if (element.hasDependsOn()) { - for (ConceptMap2.OtherElementComponent e : element.getDependsOn()) - composeConceptMap2OtherElementComponent("dependsOn", e); - } - if (element.hasProduct()) { - for (ConceptMap2.OtherElementComponent e : element.getProduct()) - composeConceptMap2OtherElementComponent("product", e); - } - } - - protected void composeConceptMap2OtherElementComponent(String name, ConceptMap2.OtherElementComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeConceptMap2OtherElementComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConceptMap2OtherElementComponentElements(ConceptMap2.OtherElementComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasPropertyElement()) { - composeUri("property", element.getPropertyElement()); - } - if (element.hasValue()) { - composeType("value", element.getValue()); - } } - - protected void composeConceptMap2GroupUnmappedComponent(String name, ConceptMap2.ConceptMap2GroupUnmappedComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeConceptMap2GroupUnmappedComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConceptMap2GroupUnmappedComponentElements(ConceptMap2.ConceptMap2GroupUnmappedComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasModeElement()) - composeEnumeration("mode", element.getModeElement(), new Enumerations.ConceptMapGroupUnmappedModeEnumFactory()); - if (element.hasCodeElement()) { - composeCode("code", element.getCodeElement()); - } - if (element.hasDisplayElement()) { - composeString("display", element.getDisplayElement()); - } - if (element.hasValueSetElement()) { - composeCanonical("valueSet", element.getValueSetElement()); - } - if (element.hasUrlElement()) { - composeCanonical("url", element.getUrlElement()); + if (element.hasOtherMapElement()) { + composeCanonical("otherMap", element.getOtherMapElement()); } } @@ -38061,19 +37459,17 @@ public class XmlParser extends XmlParserBase { } if (element.hasRecordedDateElement()) { composeDateTime("recordedDate", element.getRecordedDateElement()); } - if (element.hasRecorder()) { - composeReference("recorder", element.getRecorder()); - } - if (element.hasAsserter()) { - composeReference("asserter", element.getAsserter()); + if (element.hasParticipant()) { + for (Condition.ConditionParticipantComponent e : element.getParticipant()) + composeConditionParticipantComponent("participant", e); } if (element.hasStage()) { for (Condition.ConditionStageComponent e : element.getStage()) composeConditionStageComponent("stage", e); } if (element.hasEvidence()) { - for (Condition.ConditionEvidenceComponent e : element.getEvidence()) - composeConditionEvidenceComponent("evidence", e); + for (CodeableReference e : element.getEvidence()) + composeCodeableReference("evidence", e); } if (element.hasNote()) { for (Annotation e : element.getNote()) @@ -38081,6 +37477,26 @@ public class XmlParser extends XmlParserBase { } } + protected void composeConditionParticipantComponent(String name, Condition.ConditionParticipantComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeConditionParticipantComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeConditionParticipantComponentElements(Condition.ConditionParticipantComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasFunction()) { + composeCodeableConcept("function", element.getFunction()); + } + if (element.hasActor()) { + composeReference("actor", element.getActor()); + } + } + protected void composeConditionStageComponent(String name, Condition.ConditionStageComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -38105,28 +37521,6 @@ public class XmlParser extends XmlParserBase { } } - protected void composeConditionEvidenceComponent(String name, Condition.ConditionEvidenceComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeConditionEvidenceComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeConditionEvidenceComponentElements(Condition.ConditionEvidenceComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasCode()) { - for (CodeableConcept e : element.getCode()) - composeCodeableConcept("code", e); - } - if (element.hasDetail()) { - for (Reference e : element.getDetail()) - composeReference("detail", e); - } - } - protected void composeConditionDefinition(String name, ConditionDefinition element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -38387,12 +37781,16 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getSourceReference()) composeReference("sourceReference", e); } - if (element.hasPolicy()) { - for (Consent.ConsentPolicyComponent e : element.getPolicy()) - composeConsentPolicyComponent("policy", e); + if (element.hasRegulatoryBasis()) { + for (CodeableConcept e : element.getRegulatoryBasis()) + composeCodeableConcept("regulatoryBasis", e); } - if (element.hasPolicyRule()) { - composeCodeableConcept("policyRule", element.getPolicyRule()); + if (element.hasPolicyBasis()) { + composeConsentPolicyBasisComponent("policyBasis", element.getPolicyBasis()); + } + if (element.hasPolicyText()) { + for (Reference e : element.getPolicyText()) + composeReference("policyText", e); } if (element.hasVerification()) { for (Consent.ConsentVerificationComponent e : element.getVerification()) @@ -38403,23 +37801,23 @@ public class XmlParser extends XmlParserBase { } } - protected void composeConsentPolicyComponent(String name, Consent.ConsentPolicyComponent element) throws IOException { + protected void composeConsentPolicyBasisComponent(String name, Consent.ConsentPolicyBasisComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeConsentPolicyComponentElements(element); + composeConsentPolicyBasisComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeConsentPolicyComponentElements(Consent.ConsentPolicyComponent element) throws IOException { + protected void composeConsentPolicyBasisComponentElements(Consent.ConsentPolicyBasisComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasAuthorityElement()) { - composeUri("authority", element.getAuthorityElement()); + if (element.hasReference()) { + composeReference("reference", element.getReference()); } - if (element.hasUriElement()) { - composeUri("uri", element.getUriElement()); + if (element.hasUrlElement()) { + composeUrl("url", element.getUrlElement()); } } @@ -39812,8 +39210,8 @@ public class XmlParser extends XmlParserBase { for (CodeableConcept e : element.getStatusReason()) composeCodeableConcept("statusReason", e); } - if (element.hasBiologicalSource()) { - composeIdentifier("biologicalSource", element.getBiologicalSource()); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier("biologicalSourceEvent", element.getBiologicalSourceEvent()); } if (element.hasManufacturerElement()) { composeString("manufacturer", element.getManufacturerElement()); @@ -39848,6 +39246,10 @@ public class XmlParser extends XmlParserBase { for (Device.DeviceVersionComponent e : element.getVersion()) composeDeviceVersionComponent("version", e); } + if (element.hasSpecialization()) { + for (Device.DeviceSpecializationComponent e : element.getSpecialization()) + composeDeviceSpecializationComponent("specialization", e); + } if (element.hasProperty()) { for (Device.DevicePropertyComponent e : element.getProperty()) composeDevicePropertyComponent("property", e); @@ -39855,11 +39257,13 @@ public class XmlParser extends XmlParserBase { if (element.hasSubject()) { composeReference("subject", element.getSubject()); } - if (element.hasOperationalStatus()) { - composeDeviceOperationalStatusComponent("operationalStatus", element.getOperationalStatus()); + if (element.hasOperationalState()) { + for (Device.DeviceOperationalStateComponent e : element.getOperationalState()) + composeDeviceOperationalStateComponent("operationalState", e); } - if (element.hasAssociationStatus()) { - composeDeviceAssociationStatusComponent("associationStatus", element.getAssociationStatus()); + if (element.hasAssociation()) { + for (Device.DeviceAssociationComponent e : element.getAssociation()) + composeDeviceAssociationComponent("association", e); } if (element.hasOwner()) { composeReference("owner", element.getOwner()); @@ -39963,11 +39367,37 @@ public class XmlParser extends XmlParserBase { if (element.hasComponent()) { composeIdentifier("component", element.getComponent()); } + if (element.hasInstallDateElement()) { + composeDateTime("installDate", element.getInstallDateElement()); + } if (element.hasValueElement()) { composeString("value", element.getValueElement()); } } + protected void composeDeviceSpecializationComponent(String name, Device.DeviceSpecializationComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeDeviceSpecializationComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeDeviceSpecializationComponentElements(Device.DeviceSpecializationComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasSystemType()) { + composeCodeableConcept("systemType", element.getSystemType()); + } + if (element.hasVersionElement()) { + composeString("version", element.getVersionElement()); + } + if (element.hasCategory()) { + composeCoding("category", element.getCategory()); + } + } + protected void composeDevicePropertyComponent(String name, Device.DevicePropertyComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -39987,45 +39417,64 @@ public class XmlParser extends XmlParserBase { composeType("value", element.getValue()); } } - protected void composeDeviceOperationalStatusComponent(String name, Device.DeviceOperationalStatusComponent element) throws IOException { + protected void composeDeviceOperationalStateComponent(String name, Device.DeviceOperationalStateComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeDeviceOperationalStatusComponentElements(element); + composeDeviceOperationalStateComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeDeviceOperationalStatusComponentElements(Device.DeviceOperationalStatusComponent element) throws IOException { + protected void composeDeviceOperationalStateComponentElements(Device.DeviceOperationalStateComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasValue()) { - composeCodeableConcept("value", element.getValue()); + if (element.hasStatus()) { + composeCodeableConcept("status", element.getStatus()); } - if (element.hasReason()) { - for (CodeableConcept e : element.getReason()) - composeCodeableConcept("reason", e); + if (element.hasStatusReason()) { + for (CodeableConcept e : element.getStatusReason()) + composeCodeableConcept("statusReason", e); + } + if (element.hasOperator()) { + for (Reference e : element.getOperator()) + composeReference("operator", e); + } + if (element.hasMode()) { + composeCodeableConcept("mode", element.getMode()); + } + if (element.hasCycle()) { + composeCount("cycle", element.getCycle()); + } + if (element.hasDuration()) { + composeCodeableConcept("duration", element.getDuration()); } } - protected void composeDeviceAssociationStatusComponent(String name, Device.DeviceAssociationStatusComponent element) throws IOException { + protected void composeDeviceAssociationComponent(String name, Device.DeviceAssociationComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeDeviceAssociationStatusComponentElements(element); + composeDeviceAssociationComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeDeviceAssociationStatusComponentElements(Device.DeviceAssociationStatusComponent element) throws IOException { + protected void composeDeviceAssociationComponentElements(Device.DeviceAssociationComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasValue()) { - composeCodeableConcept("value", element.getValue()); + if (element.hasStatus()) { + composeCodeableConcept("status", element.getStatus()); } - if (element.hasReason()) { - for (CodeableConcept e : element.getReason()) - composeCodeableConcept("reason", e); + if (element.hasStatusReason()) { + for (CodeableConcept e : element.getStatusReason()) + composeCodeableConcept("statusReason", e); + } + if (element.hasHumanSubject()) { + composeReference("humanSubject", element.getHumanSubject()); + } + if (element.hasBodyStructure()) { + composeCodeableReference("bodyStructure", element.getBodyStructure()); } } @@ -40076,8 +39525,9 @@ public class XmlParser extends XmlParserBase { composeString("partNumber", element.getPartNumberElement()); } if (element.hasManufacturer()) { - composeType("manufacturer", element.getManufacturer()); - } if (element.hasDeviceName()) { + composeReference("manufacturer", element.getManufacturer()); + } + if (element.hasDeviceName()) { for (DeviceDefinition.DeviceDefinitionDeviceNameComponent e : element.getDeviceName()) composeDeviceDefinitionDeviceNameComponent("deviceName", e); } @@ -40733,9 +40183,9 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getBasedOn()) composeReference("basedOn", e); } - if (element.hasPriorRequest()) { - for (Reference e : element.getPriorRequest()) - composeReference("priorRequest", e); + if (element.hasReplaces()) { + for (Reference e : element.getReplaces()) + composeReference("replaces", e); } if (element.hasGroupIdentifier()) { composeIdentifier("groupIdentifier", element.getGroupIdentifier()); @@ -40868,6 +40318,9 @@ public class XmlParser extends XmlParserBase { for (CodeableConcept e : element.getUsageReason()) composeCodeableConcept("usageReason", e); } + if (element.hasAdherence()) { + composeDeviceUsageAdherenceComponent("adherence", element.getAdherence()); + } if (element.hasInformationSource()) { composeReference("informationSource", element.getInformationSource()); } @@ -40887,6 +40340,27 @@ public class XmlParser extends XmlParserBase { } } + protected void composeDeviceUsageAdherenceComponent(String name, DeviceUsage.DeviceUsageAdherenceComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeDeviceUsageAdherenceComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeDeviceUsageAdherenceComponentElements(DeviceUsage.DeviceUsageAdherenceComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } + if (element.hasReason()) { + for (CodeableConcept e : element.getReason()) + composeCodeableConcept("reason", e); + } + } + protected void composeDiagnosticReport(String name, DiagnosticReport element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -41099,13 +40573,13 @@ public class XmlParser extends XmlParserBase { if (element.hasSubject()) { composeReference("subject", element.getSubject()); } - if (element.hasEncounter()) { - for (Reference e : element.getEncounter()) - composeReference("encounter", e); + if (element.hasContext()) { + for (Reference e : element.getContext()) + composeReference("context", e); } if (element.hasEvent()) { - for (CodeableConcept e : element.getEvent()) - composeCodeableConcept("event", e); + for (CodeableReference e : element.getEvent()) + composeCodeableReference("event", e); } if (element.hasFacilityType()) { composeCodeableConcept("facilityType", element.getFacilityType()); @@ -41148,10 +40622,6 @@ public class XmlParser extends XmlParserBase { if (element.hasSourcePatientInfo()) { composeReference("sourcePatientInfo", element.getSourcePatientInfo()); } - if (element.hasRelated()) { - for (Reference e : element.getRelated()) - composeReference("related", e); - } } protected void composeDocumentReferenceAttesterComponent(String name, DocumentReference.DocumentReferenceAttesterComponent element) throws IOException { @@ -41166,8 +40636,9 @@ public class XmlParser extends XmlParserBase { protected void composeDocumentReferenceAttesterComponentElements(DocumentReference.DocumentReferenceAttesterComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasModeElement()) - composeEnumeration("mode", element.getModeElement(), new DocumentReference.DocumentAttestationModeEnumFactory()); + if (element.hasMode()) { + composeCodeableConcept("mode", element.getMode()); + } if (element.hasTimeElement()) { composeDateTime("time", element.getTimeElement()); } @@ -41211,14 +40682,28 @@ public class XmlParser extends XmlParserBase { if (element.hasAttachment()) { composeAttachment("attachment", element.getAttachment()); } - if (element.hasFormat()) { - composeCoding("format", element.getFormat()); - } - if (element.hasIdentifier()) { - composeIdentifier("identifier", element.getIdentifier()); + if (element.hasProfile()) { + for (DocumentReference.DocumentReferenceContentProfileComponent e : element.getProfile()) + composeDocumentReferenceContentProfileComponent("profile", e); } } + protected void composeDocumentReferenceContentProfileComponent(String name, DocumentReference.DocumentReferenceContentProfileComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeDocumentReferenceContentProfileComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeDocumentReferenceContentProfileComponentElements(DocumentReference.DocumentReferenceContentProfileComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasValue()) { + composeType("value", element.getValue()); + } } + protected void composeEncounter(String name, Encounter element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -41242,7 +40727,7 @@ public class XmlParser extends XmlParserBase { composeEncounterStatusHistoryComponent("statusHistory", e); } if (element.hasClass_()) { - composeCoding("class", element.getClass_()); + composeCodeableConcept("class", element.getClass_()); } if (element.hasClassHistory()) { for (Encounter.ClassHistoryComponent e : element.getClassHistory()) @@ -41253,7 +40738,7 @@ public class XmlParser extends XmlParserBase { composeCodeableConcept("type", e); } if (element.hasServiceType()) { - composeCodeableConcept("serviceType", element.getServiceType()); + composeCodeableReference("serviceType", element.getServiceType()); } if (element.hasPriority()) { composeCodeableConcept("priority", element.getPriority()); @@ -41493,7 +40978,8 @@ public class XmlParser extends XmlParserBase { if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new Endpoint.EndpointStatusEnumFactory()); if (element.hasConnectionType()) { - composeCoding("connectionType", element.getConnectionType()); + for (Coding e : element.getConnectionType()) + composeCoding("connectionType", e); } if (element.hasNameElement()) { composeString("name", element.getNameElement()); @@ -41824,6 +41310,9 @@ public class XmlParser extends XmlParserBase { if (element.hasVersionElement()) { composeString("version", element.getVersionElement()); } + if (element.hasNameElement()) { + composeString("name", element.getNameElement()); + } if (element.hasTitleElement()) { composeString("title", element.getTitleElement()); } @@ -41831,6 +41320,9 @@ public class XmlParser extends XmlParserBase { composeType("citeAs", element.getCiteAs()); } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory()); + if (element.hasExperimentalElement()) { + composeBoolean("experimental", element.getExperimentalElement()); + } if (element.hasDateElement()) { composeDateTime("date", element.getDateElement()); } @@ -42401,9 +41893,19 @@ public class XmlParser extends XmlParserBase { } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new Enumerations.PublicationStatusEnumFactory()); + if (element.hasExperimentalElement()) { + composeBoolean("experimental", element.getExperimentalElement()); + } if (element.hasDateElement()) { composeDateTime("date", element.getDateElement()); } + if (element.hasPublisherElement()) { + composeString("publisher", element.getPublisherElement()); + } + if (element.hasContact()) { + for (ContactDetail e : element.getContact()) + composeContactDetail("contact", e); + } if (element.hasDescriptionElement()) { composeMarkdown("description", element.getDescriptionElement()); } @@ -42415,12 +41917,17 @@ public class XmlParser extends XmlParserBase { for (UsageContext e : element.getUseContext()) composeUsageContext("useContext", e); } - if (element.hasPublisherElement()) { - composeString("publisher", element.getPublisherElement()); + if (element.hasCopyrightElement()) { + composeMarkdown("copyright", element.getCopyrightElement()); } - if (element.hasContact()) { - for (ContactDetail e : element.getContact()) - composeContactDetail("contact", e); + if (element.hasApprovalDateElement()) { + composeDate("approvalDate", element.getApprovalDateElement()); + } + if (element.hasLastReviewDateElement()) { + composeDate("lastReviewDate", element.getLastReviewDateElement()); + } + if (element.hasEffectivePeriod()) { + composePeriod("effectivePeriod", element.getEffectivePeriod()); } if (element.hasAuthor()) { for (ContactDetail e : element.getAuthor()) @@ -42445,9 +41952,6 @@ public class XmlParser extends XmlParserBase { if (element.hasActualElement()) { composeBoolean("actual", element.getActualElement()); } - if (element.hasCharacteristicCombination()) { - composeEvidenceVariableCharacteristicCombinationComponent("characteristicCombination", element.getCharacteristicCombination()); - } if (element.hasCharacteristic()) { for (EvidenceVariable.EvidenceVariableCharacteristicComponent e : element.getCharacteristic()) composeEvidenceVariableCharacteristicComponent("characteristic", e); @@ -42460,25 +41964,6 @@ public class XmlParser extends XmlParserBase { } } - protected void composeEvidenceVariableCharacteristicCombinationComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeEvidenceVariableCharacteristicCombinationComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeEvidenceVariableCharacteristicCombinationComponentElements(EvidenceVariable.EvidenceVariableCharacteristicCombinationComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasCodeElement()) - composeEnumeration("code", element.getCodeElement(), new EvidenceVariable.CharacteristicCombinationEnumFactory()); - if (element.hasThresholdElement()) { - composePositiveInt("threshold", element.getThresholdElement()); - } - } - protected void composeEvidenceVariableCharacteristicComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -42491,23 +41976,47 @@ public class XmlParser extends XmlParserBase { protected void composeEvidenceVariableCharacteristicComponentElements(EvidenceVariable.EvidenceVariableCharacteristicComponent element) throws IOException { composeBackboneElementElements(element); + if (element.hasLinkIdElement()) { + composeId("linkId", element.getLinkIdElement()); + } if (element.hasDescriptionElement()) { composeString("description", element.getDescriptionElement()); } - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); - } - if (element.hasDefinition()) { - composeType("definition", element.getDefinition()); - } if (element.hasMethod()) { - composeCodeableConcept("method", element.getMethod()); - } - if (element.hasDevice()) { - composeReference("device", element.getDevice()); + if (element.hasNote()) { + for (Annotation e : element.getNote()) + composeAnnotation("note", e); } if (element.hasExcludeElement()) { composeBoolean("exclude", element.getExcludeElement()); } + if (element.hasDefinitionReference()) { + composeReference("definitionReference", element.getDefinitionReference()); + } + if (element.hasDefinitionCanonicalElement()) { + composeCanonical("definitionCanonical", element.getDefinitionCanonicalElement()); + } + if (element.hasDefinitionCodeableConcept()) { + composeCodeableConcept("definitionCodeableConcept", element.getDefinitionCodeableConcept()); + } + if (element.hasDefinitionExpression()) { + composeExpression("definitionExpression", element.getDefinitionExpression()); + } + if (element.hasDefinitionIdElement()) { + composeId("definitionId", element.getDefinitionIdElement()); + } + if (element.hasDefinitionByTypeAndValue()) { + composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent("definitionByTypeAndValue", element.getDefinitionByTypeAndValue()); + } + if (element.hasDefinitionByCombination()) { + composeEvidenceVariableCharacteristicDefinitionByCombinationComponent("definitionByCombination", element.getDefinitionByCombination()); + } + if (element.hasMethod()) { + for (CodeableConcept e : element.getMethod()) + composeCodeableConcept("method", e); + } + if (element.hasDevice()) { + composeReference("device", element.getDevice()); + } if (element.hasTimeFromEvent()) { for (EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent e : element.getTimeFromEvent()) composeEvidenceVariableCharacteristicTimeFromEventComponent("timeFromEvent", e); @@ -42516,6 +42025,50 @@ public class XmlParser extends XmlParserBase { composeEnumeration("groupMeasure", element.getGroupMeasureElement(), new EvidenceVariable.GroupMeasureEnumFactory()); } + protected void composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByTypeAndValueComponentElements(EvidenceVariable.EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasType()) { + composeType("type", element.getType()); + } if (element.hasValue()) { + composeType("value", element.getValue()); + } if (element.hasOffset()) { + composeCodeableConcept("offset", element.getOffset()); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByCombinationComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeEvidenceVariableCharacteristicDefinitionByCombinationComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeEvidenceVariableCharacteristicDefinitionByCombinationComponentElements(EvidenceVariable.EvidenceVariableCharacteristicDefinitionByCombinationComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasCodeElement()) + composeEnumeration("code", element.getCodeElement(), new EvidenceVariable.CharacteristicCombinationEnumFactory()); + if (element.hasThresholdElement()) { + composePositiveInt("threshold", element.getThresholdElement()); + } + if (element.hasCharacteristic()) { + for (EvidenceVariable.EvidenceVariableCharacteristicComponent e : element.getCharacteristic()) + composeEvidenceVariableCharacteristicComponent("characteristic", e); + } + } + protected void composeEvidenceVariableCharacteristicTimeFromEventComponent(String name, EvidenceVariable.EvidenceVariableCharacteristicTimeFromEventComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -42531,19 +42084,18 @@ public class XmlParser extends XmlParserBase { if (element.hasDescriptionElement()) { composeString("description", element.getDescriptionElement()); } - if (element.hasEvent()) { - composeCodeableConcept("event", element.getEvent()); + if (element.hasNote()) { + for (Annotation e : element.getNote()) + composeAnnotation("note", e); } - if (element.hasQuantity()) { + if (element.hasEvent()) { + composeType("event", element.getEvent()); + } if (element.hasQuantity()) { composeQuantity("quantity", element.getQuantity()); } if (element.hasRange()) { composeRange("range", element.getRange()); } - if (element.hasNote()) { - for (Annotation e : element.getNote()) - composeAnnotation("note", e); - } } protected void composeEvidenceVariableCategoryComponent(String name, EvidenceVariable.EvidenceVariableCategoryComponent element) throws IOException { @@ -42677,8 +42229,8 @@ public class XmlParser extends XmlParserBase { if (element.hasResourceIdElement()) { composeString("resourceId", element.getResourceIdElement()); } - if (element.hasResourceTypeElement()) { - composeCode("resourceType", element.getResourceTypeElement()); + if (element.hasTypeElement()) { + composeCode("type", element.getTypeElement()); } if (element.hasNameElement()) { composeString("name", element.getNameElement()); @@ -43930,6 +43482,29 @@ public class XmlParser extends XmlParserBase { } } + protected void composeFormularyItem(String name, FormularyItem element) throws IOException { + if (element != null) { + composeResourceAttributes(element); + xml.enter(FHIR_NS, name); + composeFormularyItemElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeFormularyItemElements(FormularyItem element) throws IOException { + composeDomainResourceElements(element); + if (element.hasIdentifier()) { + for (Identifier e : element.getIdentifier()) + composeIdentifier("identifier", e); + } + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } + if (element.hasStatusElement()) + composeEnumeration("status", element.getStatusElement(), new FormularyItem.FormularyItemStatusCodesEnumFactory()); + } + protected void composeGoal(String name, Goal element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -44199,6 +43774,9 @@ public class XmlParser extends XmlParserBase { if (element.hasNameElement()) { composeString("name", element.getNameElement()); } + if (element.hasDescriptionElement()) { + composeMarkdown("description", element.getDescriptionElement()); + } if (element.hasQuantityElement()) { composeUnsignedInt("quantity", element.getQuantityElement()); } @@ -44372,6 +43950,10 @@ public class XmlParser extends XmlParserBase { if (element.hasPhoto()) { composeAttachment("photo", element.getPhoto()); } + if (element.hasContact()) { + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail("contact", e); + } if (element.hasTelecom()) { for (ContactPoint e : element.getTelecom()) composeContactPoint("telecom", e); @@ -44506,10 +44088,8 @@ public class XmlParser extends XmlParserBase { for (Identifier e : element.getIdentifier()) composeIdentifier("identifier", e); } - if (element.hasBasedOn()) { - for (Reference e : element.getBasedOn()) - composeReference("basedOn", e); - } + if (element.hasStatusElement()) + composeEnumeration("status", element.getStatusElement(), new ImagingSelection.ImagingSelectionStatusEnumFactory()); if (element.hasSubject()) { composeReference("subject", element.getSubject()); } @@ -44520,11 +44100,19 @@ public class XmlParser extends XmlParserBase { for (ImagingSelection.ImagingSelectionPerformerComponent e : element.getPerformer()) composeImagingSelectionPerformerComponent("performer", e); } + if (element.hasBasedOn()) { + for (Reference e : element.getBasedOn()) + composeReference("basedOn", e); + } + if (element.hasCategory()) { + for (CodeableConcept e : element.getCategory()) + composeCodeableConcept("category", e); + } if (element.hasCode()) { composeCodeableConcept("code", element.getCode()); } if (element.hasStudyUidElement()) { - composeOid("studyUid", element.getStudyUidElement()); + composeId("studyUid", element.getStudyUidElement()); } if (element.hasDerivedFrom()) { for (Reference e : element.getDerivedFrom()) @@ -44535,20 +44123,21 @@ public class XmlParser extends XmlParserBase { composeReference("endpoint", e); } if (element.hasSeriesUidElement()) { - composeOid("seriesUid", element.getSeriesUidElement()); + composeId("seriesUid", element.getSeriesUidElement()); } if (element.hasFrameOfReferenceUidElement()) { - composeOid("frameOfReferenceUid", element.getFrameOfReferenceUidElement()); + composeId("frameOfReferenceUid", element.getFrameOfReferenceUidElement()); } if (element.hasBodySite()) { - composeCoding("bodySite", element.getBodySite()); + composeCodeableReference("bodySite", element.getBodySite()); } if (element.hasInstance()) { for (ImagingSelection.ImagingSelectionInstanceComponent e : element.getInstance()) composeImagingSelectionInstanceComponent("instance", e); } if (element.hasImageRegion()) { - composeImagingSelectionImageRegionComponent("imageRegion", element.getImageRegion()); + for (ImagingSelection.ImagingSelectionImageRegionComponent e : element.getImageRegion()) + composeImagingSelectionImageRegionComponent("imageRegion", e); } } @@ -44585,23 +44174,38 @@ public class XmlParser extends XmlParserBase { protected void composeImagingSelectionInstanceComponentElements(ImagingSelection.ImagingSelectionInstanceComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasUidElement()) { - composeOid("uid", element.getUidElement()); + composeId("uid", element.getUidElement()); } if (element.hasSopClass()) { composeCoding("sopClass", element.getSopClass()); } - if (element.hasFrameListElement()) { - composeString("frameList", element.getFrameListElement()); + if (element.hasSubset()) { + for (StringType e : element.getSubset()) + composeString("subset", e); } - if (element.hasObservationUid()) { - for (OidType e : element.getObservationUid()) - composeOid("observationUid", e); + if (element.hasImageRegion()) { + for (ImagingSelection.ImagingSelectionInstanceImageRegionComponent e : element.getImageRegion()) + composeImagingSelectionInstanceImageRegionComponent("imageRegion", e); } - if (element.hasSegmentListElement()) { - composeString("segmentList", element.getSegmentListElement()); } - if (element.hasRoiListElement()) { - composeString("roiList", element.getRoiListElement()); + + protected void composeImagingSelectionInstanceImageRegionComponent(String name, ImagingSelection.ImagingSelectionInstanceImageRegionComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeImagingSelectionInstanceImageRegionComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeImagingSelectionInstanceImageRegionComponentElements(ImagingSelection.ImagingSelectionInstanceImageRegionComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasRegionTypeElement()) + composeEnumeration("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelection2DGraphicTypeEnumFactory()); + if (element.hasCoordinate()) { + for (DecimalType e : element.getCoordinate()) + composeDecimal("coordinate", e); } } @@ -44618,12 +44222,10 @@ public class XmlParser extends XmlParserBase { protected void composeImagingSelectionImageRegionComponentElements(ImagingSelection.ImagingSelectionImageRegionComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasRegionTypeElement()) - composeEnumeration("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelectionGraphicTypeEnumFactory()); - if (element.hasCoordinateTypeElement()) - composeEnumeration("coordinateType", element.getCoordinateTypeElement(), new ImagingSelection.ImagingSelectionCoordinateTypeEnumFactory()); - if (element.hasCoordinates()) { - for (DecimalType e : element.getCoordinates()) - composeDecimal("coordinates", e); + composeEnumeration("regionType", element.getRegionTypeElement(), new ImagingSelection.ImagingSelection3DGraphicTypeEnumFactory()); + if (element.hasCoordinate()) { + for (DecimalType e : element.getCoordinate()) + composeDecimal("coordinate", e); } } @@ -44646,8 +44248,8 @@ public class XmlParser extends XmlParserBase { if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new ImagingStudy.ImagingStudyStatusEnumFactory()); if (element.hasModality()) { - for (Coding e : element.getModality()) - composeCoding("modality", e); + for (CodeableConcept e : element.getModality()) + composeCodeableConcept("modality", e); } if (element.hasSubject()) { composeReference("subject", element.getSubject()); @@ -44722,7 +44324,7 @@ public class XmlParser extends XmlParserBase { composeUnsignedInt("number", element.getNumberElement()); } if (element.hasModality()) { - composeCoding("modality", element.getModality()); + composeCodeableConcept("modality", element.getModality()); } if (element.hasDescriptionElement()) { composeString("description", element.getDescriptionElement()); @@ -44735,10 +44337,10 @@ public class XmlParser extends XmlParserBase { composeReference("endpoint", e); } if (element.hasBodySite()) { - composeCoding("bodySite", element.getBodySite()); + composeCodeableReference("bodySite", element.getBodySite()); } if (element.hasLaterality()) { - composeCoding("laterality", element.getLaterality()); + composeCodeableConcept("laterality", element.getLaterality()); } if (element.hasSpecimen()) { for (Reference e : element.getSpecimen()) @@ -44856,15 +44458,13 @@ public class XmlParser extends XmlParserBase { } if (element.hasOccurrence()) { composeType("occurrence", element.getOccurrence()); - } if (element.hasRecordedElement()) { - composeDateTime("recorded", element.getRecordedElement()); - } - if (element.hasPrimarySourceElement()) { + } if (element.hasPrimarySourceElement()) { composeBoolean("primarySource", element.getPrimarySourceElement()); } if (element.hasInformationSource()) { - composeType("informationSource", element.getInformationSource()); - } if (element.hasLocation()) { + composeCodeableReference("informationSource", element.getInformationSource()); + } + if (element.hasLocation()) { composeReference("location", element.getLocation()); } if (element.hasSite()) { @@ -44977,8 +44577,8 @@ public class XmlParser extends XmlParserBase { if (element.hasDateElement()) { composeDateTime("date", element.getDateElement()); } - if (element.hasDetail()) { - composeReference("detail", element.getDetail()); + if (element.hasManifestation()) { + composeCodeableReference("manifestation", element.getManifestation()); } if (element.hasReportedElement()) { composeBoolean("reported", element.getReportedElement()); @@ -45354,7 +44954,7 @@ public class XmlParser extends XmlParserBase { composeString("name", element.getNameElement()); } if (element.hasDescriptionElement()) { - composeString("description", element.getDescriptionElement()); + composeMarkdown("description", element.getDescriptionElement()); } } @@ -45380,7 +44980,7 @@ public class XmlParser extends XmlParserBase { composeString("name", element.getNameElement()); } if (element.hasDescriptionElement()) { - composeString("description", element.getDescriptionElement()); + composeMarkdown("description", element.getDescriptionElement()); } if (element.hasExample()) { composeType("example", element.getExample()); @@ -45591,9 +45191,8 @@ public class XmlParser extends XmlParserBase { protected void composeIngredientManufacturerComponentElements(Ingredient.IngredientManufacturerComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasRole()) { - composeCoding("role", element.getRole()); - } + if (element.hasRoleElement()) + composeEnumeration("role", element.getRoleElement(), new Ingredient.IngredientManufacturerRoleEnumFactory()); if (element.hasManufacturer()) { composeReference("manufacturer", element.getManufacturer()); } @@ -45634,13 +45233,13 @@ public class XmlParser extends XmlParserBase { composeBackboneElementElements(element); if (element.hasPresentation()) { composeType("presentation", element.getPresentation()); - } if (element.hasPresentationTextElement()) { - composeString("presentationText", element.getPresentationTextElement()); + } if (element.hasTextPresentationElement()) { + composeString("textPresentation", element.getTextPresentationElement()); } if (element.hasConcentration()) { composeType("concentration", element.getConcentration()); - } if (element.hasConcentrationTextElement()) { - composeString("concentrationText", element.getConcentrationTextElement()); + } if (element.hasTextConcentrationElement()) { + composeString("textConcentration", element.getTextConcentrationElement()); } if (element.hasBasis()) { composeCodeableConcept("basis", element.getBasis()); @@ -45727,8 +45326,8 @@ public class XmlParser extends XmlParserBase { composeReference("coverageArea", e); } if (element.hasContact()) { - for (InsurancePlan.InsurancePlanContactComponent e : element.getContact()) - composeInsurancePlanContactComponent("contact", e); + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail("contact", e); } if (element.hasEndpoint()) { for (Reference e : element.getEndpoint()) @@ -45748,33 +45347,6 @@ public class XmlParser extends XmlParserBase { } } - protected void composeInsurancePlanContactComponent(String name, InsurancePlan.InsurancePlanContactComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeInsurancePlanContactComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeInsurancePlanContactComponentElements(InsurancePlan.InsurancePlanContactComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasPurpose()) { - composeCodeableConcept("purpose", element.getPurpose()); - } - if (element.hasName()) { - composeHumanName("name", element.getName()); - } - if (element.hasTelecom()) { - for (ContactPoint e : element.getTelecom()) - composeContactPoint("telecom", e); - } - if (element.hasAddress()) { - composeAddress("address", element.getAddress()); - } - } - protected void composeInsurancePlanCoverageComponent(String name, InsurancePlan.InsurancePlanCoverageComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -46494,6 +46066,10 @@ public class XmlParser extends XmlParserBase { for (CodeableConcept e : element.getType()) composeCodeableConcept("type", e); } + if (element.hasContact()) { + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail("contact", e); + } if (element.hasTelecom()) { for (ContactPoint e : element.getTelecom()) composeContactPoint("telecom", e); @@ -47273,6 +46849,13 @@ public class XmlParser extends XmlParserBase { } if (element.hasRecordedElement()) { composeDateTime("recorded", element.getRecordedElement()); } + if (element.hasIsSubPotentElement()) { + composeBoolean("isSubPotent", element.getIsSubPotentElement()); + } + if (element.hasSubPotentReason()) { + for (CodeableConcept e : element.getSubPotentReason()) + composeCodeableConcept("subPotentReason", e); + } if (element.hasPerformer()) { for (MedicationAdministration.MedicationAdministrationPerformerComponent e : element.getPerformer()) composeMedicationAdministrationPerformerComponent("performer", e); @@ -47378,8 +46961,8 @@ public class XmlParser extends XmlParserBase { } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new MedicationDispense.MedicationDispenseStatusCodesEnumFactory()); - if (element.hasStatusReason()) { - composeCodeableReference("statusReason", element.getStatusReason()); + if (element.hasNotPerformedReason()) { + composeCodeableReference("notPerformedReason", element.getNotPerformedReason()); } if (element.hasStatusChangedElement()) { composeDateTime("statusChanged", element.getStatusChangedElement()); @@ -47451,10 +47034,6 @@ public class XmlParser extends XmlParserBase { if (element.hasSubstitution()) { composeMedicationDispenseSubstitutionComponent("substitution", element.getSubstitution()); } - if (element.hasDetectedIssue()) { - for (Reference e : element.getDetectedIssue()) - composeReference("detectedIssue", e); - } if (element.hasEventHistory()) { for (Reference e : element.getEventHistory()) composeReference("eventHistory", e); @@ -47583,6 +47162,10 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getClinicalUseIssue()) composeReference("clinicalUseIssue", e); } + if (element.hasStorageGuideline()) { + for (MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent e : element.getStorageGuideline()) + composeMedicationKnowledgeStorageGuidelineComponent("storageGuideline", e); + } if (element.hasRegulatory()) { for (MedicationKnowledge.MedicationKnowledgeRegulatoryComponent e : element.getRegulatory()) composeMedicationKnowledgeRegulatoryComponent("regulatory", e); @@ -47813,6 +47396,53 @@ public class XmlParser extends XmlParserBase { } } + protected void composeMedicationKnowledgeStorageGuidelineComponent(String name, MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeMedicationKnowledgeStorageGuidelineComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeMedicationKnowledgeStorageGuidelineComponentElements(MedicationKnowledge.MedicationKnowledgeStorageGuidelineComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasReferenceElement()) { + composeUri("reference", element.getReferenceElement()); + } + if (element.hasNote()) { + for (Annotation e : element.getNote()) + composeAnnotation("note", e); + } + if (element.hasStabilityDuration()) { + composeDuration("stabilityDuration", element.getStabilityDuration()); + } + if (element.hasEnvironmentalSetting()) { + for (MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent e : element.getEnvironmentalSetting()) + composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent("environmentalSetting", e); + } + } + + protected void composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(String name, MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeMedicationKnowledgeStorageGuidelineEnvironmentalSettingComponentElements(MedicationKnowledge.MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } } + protected void composeMedicationKnowledgeRegulatoryComponent(String name, MedicationKnowledge.MedicationKnowledgeRegulatoryComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -48015,7 +47645,8 @@ public class XmlParser extends XmlParserBase { composeReference("subject", element.getSubject()); } if (element.hasInformationSource()) { - composeReference("informationSource", element.getInformationSource()); + for (Reference e : element.getInformationSource()) + composeReference("informationSource", e); } if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); @@ -48037,7 +47668,11 @@ public class XmlParser extends XmlParserBase { composeCodeableConcept("performerType", element.getPerformerType()); } if (element.hasPerformer()) { - composeReference("performer", element.getPerformer()); + for (Reference e : element.getPerformer()) + composeReference("performer", e); + } + if (element.hasDevice()) { + composeCodeableReference("device", element.getDevice()); } if (element.hasRecorder()) { composeReference("recorder", element.getRecorder()); @@ -48066,10 +47701,6 @@ public class XmlParser extends XmlParserBase { if (element.hasSubstitution()) { composeMedicationRequestSubstitutionComponent("substitution", element.getSubstitution()); } - if (element.hasDetectedIssue()) { - for (Reference e : element.getDetectedIssue()) - composeReference("detectedIssue", e); - } if (element.hasEventHistory()) { for (Reference e : element.getEventHistory()) composeReference("eventHistory", e); @@ -48091,8 +47722,8 @@ public class XmlParser extends XmlParserBase { if (element.hasRenderedDosageInstructionElement()) { composeString("renderedDosageInstruction", element.getRenderedDosageInstructionElement()); } - if (element.hasEffectiveDosePeriodElement()) { - composeDateTime("effectiveDosePeriod", element.getEffectiveDosePeriodElement()); + if (element.hasEffectiveDosePeriod()) { + composePeriod("effectiveDosePeriod", element.getEffectiveDosePeriod()); } if (element.hasDosageInstruction()) { for (Dosage e : element.getDosageInstruction()) @@ -48197,6 +47828,10 @@ public class XmlParser extends XmlParserBase { for (Identifier e : element.getIdentifier()) composeIdentifier("identifier", e); } + if (element.hasPartOf()) { + for (Reference e : element.getPartOf()) + composeReference("partOf", e); + } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new MedicationUsage.MedicationUsageStatusCodesEnumFactory()); if (element.hasCategory()) { @@ -48218,7 +47853,8 @@ public class XmlParser extends XmlParserBase { composeDateTime("dateAsserted", element.getDateAssertedElement()); } if (element.hasInformationSource()) { - composeReference("informationSource", element.getInformationSource()); + for (Reference e : element.getInformationSource()) + composeReference("informationSource", e); } if (element.hasDerivedFrom()) { for (Reference e : element.getDerivedFrom()) @@ -48232,6 +47868,10 @@ public class XmlParser extends XmlParserBase { for (Annotation e : element.getNote()) composeAnnotation("note", e); } + if (element.hasRelatedClinicalInformation()) { + for (Reference e : element.getRelatedClinicalInformation()) + composeReference("relatedClinicalInformation", e); + } if (element.hasRenderedDosageInstructionElement()) { composeString("renderedDosageInstruction", element.getRenderedDosageInstructionElement()); } @@ -48333,6 +47973,10 @@ public class XmlParser extends XmlParserBase { for (CodeableConcept e : element.getPackagedMedicinalProduct()) composeCodeableConcept("packagedMedicinalProduct", e); } + if (element.hasComprisedOf()) { + for (Reference e : element.getComprisedOf()) + composeReference("comprisedOf", e); + } if (element.hasIngredient()) { for (CodeableConcept e : element.getIngredient()) composeCodeableConcept("ingredient", e); @@ -48621,9 +48265,8 @@ public class XmlParser extends XmlParserBase { for (MessageDefinition.MessageDefinitionAllowedResponseComponent e : element.getAllowedResponse()) composeMessageDefinitionAllowedResponseComponent("allowedResponse", e); } - if (element.hasGraph()) { - for (CanonicalType e : element.getGraph()) - composeCanonical("graph", e); + if (element.hasGraphElement()) { + composeCanonical("graph", element.getGraphElement()); } } @@ -48788,8 +48431,8 @@ public class XmlParser extends XmlParserBase { protected void composeMessageHeaderResponseComponentElements(MessageHeader.MessageHeaderResponseComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasIdentifierElement()) { - composeId("identifier", element.getIdentifierElement()); + if (element.hasIdentifier()) { + composeIdentifier("identifier", element.getIdentifier()); } if (element.hasCodeElement()) composeEnumeration("code", element.getCodeElement(), new MessageHeader.ResponseTypeEnumFactory()); @@ -48816,9 +48459,6 @@ public class XmlParser extends XmlParserBase { } if (element.hasTypeElement()) composeEnumeration("type", element.getTypeElement(), new MolecularSequence.SequenceTypeEnumFactory()); - if (element.hasCoordinateSystemElement()) { - composeInteger("coordinateSystem", element.getCoordinateSystemElement()); - } if (element.hasPatient()) { composeReference("patient", element.getPatient()); } @@ -48831,90 +48471,86 @@ public class XmlParser extends XmlParserBase { if (element.hasPerformer()) { composeReference("performer", element.getPerformer()); } - if (element.hasQuantity()) { - composeQuantity("quantity", element.getQuantity()); + if (element.hasLiteralElement()) { + composeString("literal", element.getLiteralElement()); } - if (element.hasReferenceSeq()) { - composeMolecularSequenceReferenceSeqComponent("referenceSeq", element.getReferenceSeq()); + if (element.hasFormatted()) { + for (Attachment e : element.getFormatted()) + composeAttachment("formatted", e); } - if (element.hasVariant()) { - for (MolecularSequence.MolecularSequenceVariantComponent e : element.getVariant()) - composeMolecularSequenceVariantComponent("variant", e); + if (element.hasRelative()) { + for (MolecularSequence.MolecularSequenceRelativeComponent e : element.getRelative()) + composeMolecularSequenceRelativeComponent("relative", e); } - if (element.hasObservedSeqElement()) { - composeString("observedSeq", element.getObservedSeqElement()); } - if (element.hasQuality()) { - for (MolecularSequence.MolecularSequenceQualityComponent e : element.getQuality()) - composeMolecularSequenceQualityComponent("quality", e); - } - if (element.hasReadCoverageElement()) { - composeInteger("readCoverage", element.getReadCoverageElement()); - } - if (element.hasRepository()) { - for (MolecularSequence.MolecularSequenceRepositoryComponent e : element.getRepository()) - composeMolecularSequenceRepositoryComponent("repository", e); - } - if (element.hasPointer()) { - for (Reference e : element.getPointer()) - composeReference("pointer", e); - } - if (element.hasStructureVariant()) { - for (MolecularSequence.MolecularSequenceStructureVariantComponent e : element.getStructureVariant()) - composeMolecularSequenceStructureVariantComponent("structureVariant", e); - } - } - protected void composeMolecularSequenceReferenceSeqComponent(String name, MolecularSequence.MolecularSequenceReferenceSeqComponent element) throws IOException { + protected void composeMolecularSequenceRelativeComponent(String name, MolecularSequence.MolecularSequenceRelativeComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeMolecularSequenceReferenceSeqComponentElements(element); + composeMolecularSequenceRelativeComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeMolecularSequenceRelativeComponentElements(MolecularSequence.MolecularSequenceRelativeComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasCoordinateSystem()) { + composeCodeableConcept("coordinateSystem", element.getCoordinateSystem()); + } + if (element.hasReference()) { + composeMolecularSequenceRelativeReferenceComponent("reference", element.getReference()); + } + if (element.hasEdit()) { + for (MolecularSequence.MolecularSequenceRelativeEditComponent e : element.getEdit()) + composeMolecularSequenceRelativeEditComponent("edit", e); + } + } + + protected void composeMolecularSequenceRelativeReferenceComponent(String name, MolecularSequence.MolecularSequenceRelativeReferenceComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeMolecularSequenceRelativeReferenceComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeMolecularSequenceReferenceSeqComponentElements(MolecularSequence.MolecularSequenceReferenceSeqComponent element) throws IOException { + protected void composeMolecularSequenceRelativeReferenceComponentElements(MolecularSequence.MolecularSequenceRelativeReferenceComponent element) throws IOException { composeBackboneElementElements(element); + if (element.hasReferenceSequenceAssembly()) { + composeCodeableConcept("referenceSequenceAssembly", element.getReferenceSequenceAssembly()); + } if (element.hasChromosome()) { composeCodeableConcept("chromosome", element.getChromosome()); } - if (element.hasGenomeBuildElement()) { - composeString("genomeBuild", element.getGenomeBuildElement()); - } - if (element.hasOrientationElement()) - composeEnumeration("orientation", element.getOrientationElement(), new MolecularSequence.OrientationTypeEnumFactory()); - if (element.hasReferenceSeqId()) { - composeCodeableConcept("referenceSeqId", element.getReferenceSeqId()); - } - if (element.hasReferenceSeqPointer()) { - composeReference("referenceSeqPointer", element.getReferenceSeqPointer()); - } - if (element.hasReferenceSeqStringElement()) { - composeString("referenceSeqString", element.getReferenceSeqStringElement()); - } - if (element.hasStrandElement()) - composeEnumeration("strand", element.getStrandElement(), new MolecularSequence.StrandTypeEnumFactory()); - if (element.hasWindowStartElement()) { + if (element.hasReferenceSequence()) { + composeType("referenceSequence", element.getReferenceSequence()); + } if (element.hasWindowStartElement()) { composeInteger("windowStart", element.getWindowStartElement()); } if (element.hasWindowEndElement()) { composeInteger("windowEnd", element.getWindowEndElement()); } + if (element.hasOrientationElement()) + composeEnumeration("orientation", element.getOrientationElement(), new MolecularSequence.OrientationTypeEnumFactory()); + if (element.hasStrandElement()) + composeEnumeration("strand", element.getStrandElement(), new MolecularSequence.StrandTypeEnumFactory()); } - protected void composeMolecularSequenceVariantComponent(String name, MolecularSequence.MolecularSequenceVariantComponent element) throws IOException { + protected void composeMolecularSequenceRelativeEditComponent(String name, MolecularSequence.MolecularSequenceRelativeEditComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeMolecularSequenceVariantComponentElements(element); + composeMolecularSequenceRelativeEditComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeMolecularSequenceVariantComponentElements(MolecularSequence.MolecularSequenceVariantComponent element) throws IOException { + protected void composeMolecularSequenceRelativeEditComponentElements(MolecularSequence.MolecularSequenceRelativeEditComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasStartElement()) { composeInteger("start", element.getStartElement()); @@ -48928,212 +48564,6 @@ public class XmlParser extends XmlParserBase { if (element.hasReferenceAlleleElement()) { composeString("referenceAllele", element.getReferenceAlleleElement()); } - if (element.hasCigarElement()) { - composeString("cigar", element.getCigarElement()); - } - if (element.hasVariantPointer()) { - composeReference("variantPointer", element.getVariantPointer()); - } - } - - protected void composeMolecularSequenceQualityComponent(String name, MolecularSequence.MolecularSequenceQualityComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeMolecularSequenceQualityComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeMolecularSequenceQualityComponentElements(MolecularSequence.MolecularSequenceQualityComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasTypeElement()) - composeEnumeration("type", element.getTypeElement(), new MolecularSequence.QualityTypeEnumFactory()); - if (element.hasStandardSequence()) { - composeCodeableConcept("standardSequence", element.getStandardSequence()); - } - if (element.hasStartElement()) { - composeInteger("start", element.getStartElement()); - } - if (element.hasEndElement()) { - composeInteger("end", element.getEndElement()); - } - if (element.hasScore()) { - composeQuantity("score", element.getScore()); - } - if (element.hasMethod()) { - composeCodeableConcept("method", element.getMethod()); - } - if (element.hasTruthTPElement()) { - composeDecimal("truthTP", element.getTruthTPElement()); - } - if (element.hasQueryTPElement()) { - composeDecimal("queryTP", element.getQueryTPElement()); - } - if (element.hasTruthFNElement()) { - composeDecimal("truthFN", element.getTruthFNElement()); - } - if (element.hasQueryFPElement()) { - composeDecimal("queryFP", element.getQueryFPElement()); - } - if (element.hasGtFPElement()) { - composeDecimal("gtFP", element.getGtFPElement()); - } - if (element.hasPrecisionElement()) { - composeDecimal("precision", element.getPrecisionElement()); - } - if (element.hasRecallElement()) { - composeDecimal("recall", element.getRecallElement()); - } - if (element.hasFScoreElement()) { - composeDecimal("fScore", element.getFScoreElement()); - } - if (element.hasRoc()) { - composeMolecularSequenceQualityRocComponent("roc", element.getRoc()); - } - } - - protected void composeMolecularSequenceQualityRocComponent(String name, MolecularSequence.MolecularSequenceQualityRocComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeMolecularSequenceQualityRocComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeMolecularSequenceQualityRocComponentElements(MolecularSequence.MolecularSequenceQualityRocComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasScore()) { - for (IntegerType e : element.getScore()) - composeInteger("score", e); - } - if (element.hasNumTP()) { - for (IntegerType e : element.getNumTP()) - composeInteger("numTP", e); - } - if (element.hasNumFP()) { - for (IntegerType e : element.getNumFP()) - composeInteger("numFP", e); - } - if (element.hasNumFN()) { - for (IntegerType e : element.getNumFN()) - composeInteger("numFN", e); - } - if (element.hasPrecision()) { - for (DecimalType e : element.getPrecision()) - composeDecimal("precision", e); - } - if (element.hasSensitivity()) { - for (DecimalType e : element.getSensitivity()) - composeDecimal("sensitivity", e); - } - if (element.hasFMeasure()) { - for (DecimalType e : element.getFMeasure()) - composeDecimal("fMeasure", e); - } - } - - protected void composeMolecularSequenceRepositoryComponent(String name, MolecularSequence.MolecularSequenceRepositoryComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeMolecularSequenceRepositoryComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeMolecularSequenceRepositoryComponentElements(MolecularSequence.MolecularSequenceRepositoryComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasTypeElement()) - composeEnumeration("type", element.getTypeElement(), new MolecularSequence.RepositoryTypeEnumFactory()); - if (element.hasUrlElement()) { - composeUri("url", element.getUrlElement()); - } - if (element.hasNameElement()) { - composeString("name", element.getNameElement()); - } - if (element.hasDatasetIdElement()) { - composeString("datasetId", element.getDatasetIdElement()); - } - if (element.hasVariantsetIdElement()) { - composeString("variantsetId", element.getVariantsetIdElement()); - } - if (element.hasReadsetIdElement()) { - composeString("readsetId", element.getReadsetIdElement()); - } - } - - protected void composeMolecularSequenceStructureVariantComponent(String name, MolecularSequence.MolecularSequenceStructureVariantComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeMolecularSequenceStructureVariantComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeMolecularSequenceStructureVariantComponentElements(MolecularSequence.MolecularSequenceStructureVariantComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasVariantType()) { - composeCodeableConcept("variantType", element.getVariantType()); - } - if (element.hasExactElement()) { - composeBoolean("exact", element.getExactElement()); - } - if (element.hasLengthElement()) { - composeInteger("length", element.getLengthElement()); - } - if (element.hasOuter()) { - composeMolecularSequenceStructureVariantOuterComponent("outer", element.getOuter()); - } - if (element.hasInner()) { - composeMolecularSequenceStructureVariantInnerComponent("inner", element.getInner()); - } - } - - protected void composeMolecularSequenceStructureVariantOuterComponent(String name, MolecularSequence.MolecularSequenceStructureVariantOuterComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeMolecularSequenceStructureVariantOuterComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeMolecularSequenceStructureVariantOuterComponentElements(MolecularSequence.MolecularSequenceStructureVariantOuterComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasStartElement()) { - composeInteger("start", element.getStartElement()); - } - if (element.hasEndElement()) { - composeInteger("end", element.getEndElement()); - } - } - - protected void composeMolecularSequenceStructureVariantInnerComponent(String name, MolecularSequence.MolecularSequenceStructureVariantInnerComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeMolecularSequenceStructureVariantInnerComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeMolecularSequenceStructureVariantInnerComponentElements(MolecularSequence.MolecularSequenceStructureVariantInnerComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasStartElement()) { - composeInteger("start", element.getStartElement()); - } - if (element.hasEndElement()) { - composeInteger("end", element.getEndElement()); - } } protected void composeNamingSystem(String name, NamingSystem element) throws IOException { @@ -49147,7 +48577,7 @@ public class XmlParser extends XmlParserBase { } protected void composeNamingSystemElements(NamingSystem element) throws IOException { - composeCanonicalResourceElements(element); + composeMetadataResourceElements(element); if (element.hasUrlElement()) { composeUri("url", element.getUrlElement()); } @@ -49644,15 +49074,15 @@ public class XmlParser extends XmlParserBase { protected void composeNutritionProductElements(NutritionProduct element) throws IOException { composeDomainResourceElements(element); + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new NutritionProduct.NutritionProductStatusEnumFactory()); if (element.hasCategory()) { for (CodeableConcept e : element.getCategory()) composeCodeableConcept("category", e); } - if (element.hasCode()) { - composeCodeableConcept("code", element.getCode()); - } if (element.hasManufacturer()) { for (Reference e : element.getManufacturer()) composeReference("manufacturer", e); @@ -49669,12 +49099,13 @@ public class XmlParser extends XmlParserBase { for (CodeableReference e : element.getKnownAllergen()) composeCodeableReference("knownAllergen", e); } - if (element.hasProductCharacteristic()) { - for (NutritionProduct.NutritionProductProductCharacteristicComponent e : element.getProductCharacteristic()) - composeNutritionProductProductCharacteristicComponent("productCharacteristic", e); + if (element.hasCharacteristic()) { + for (NutritionProduct.NutritionProductCharacteristicComponent e : element.getCharacteristic()) + composeNutritionProductCharacteristicComponent("characteristic", e); } if (element.hasInstance()) { - composeNutritionProductInstanceComponent("instance", element.getInstance()); + for (NutritionProduct.NutritionProductInstanceComponent e : element.getInstance()) + composeNutritionProductInstanceComponent("instance", e); } if (element.hasNote()) { for (Annotation e : element.getNote()) @@ -49724,17 +49155,17 @@ public class XmlParser extends XmlParserBase { } } - protected void composeNutritionProductProductCharacteristicComponent(String name, NutritionProduct.NutritionProductProductCharacteristicComponent element) throws IOException { + protected void composeNutritionProductCharacteristicComponent(String name, NutritionProduct.NutritionProductCharacteristicComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composeNutritionProductProductCharacteristicComponentElements(element); + composeNutritionProductCharacteristicComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composeNutritionProductProductCharacteristicComponentElements(NutritionProduct.NutritionProductProductCharacteristicComponent element) throws IOException { + protected void composeNutritionProductCharacteristicComponentElements(NutritionProduct.NutritionProductCharacteristicComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasType()) { composeCodeableConcept("type", element.getType()); @@ -49762,6 +49193,9 @@ public class XmlParser extends XmlParserBase { for (Identifier e : element.getIdentifier()) composeIdentifier("identifier", e); } + if (element.hasNameElement()) { + composeString("name", element.getNameElement()); + } if (element.hasLotNumberElement()) { composeString("lotNumber", element.getLotNumberElement()); } @@ -49771,8 +49205,8 @@ public class XmlParser extends XmlParserBase { if (element.hasUseByElement()) { composeDateTime("useBy", element.getUseByElement()); } - if (element.hasBiologicalSource()) { - composeIdentifier("biologicalSource", element.getBiologicalSource()); + if (element.hasBiologicalSourceEvent()) { + composeIdentifier("biologicalSourceEvent", element.getBiologicalSourceEvent()); } } @@ -49798,6 +49232,10 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getBasedOn()) composeReference("basedOn", e); } + if (element.hasTriggeredBy()) { + for (Observation.ObservationTriggeredByComponent e : element.getTriggeredBy()) + composeObservationTriggeredByComponent("triggeredBy", e); + } if (element.hasPartOf()) { for (Reference e : element.getPartOf()) composeReference("partOf", e); @@ -49846,6 +49284,9 @@ public class XmlParser extends XmlParserBase { if (element.hasBodySite()) { composeCodeableConcept("bodySite", element.getBodySite()); } + if (element.hasBodyStructure()) { + composeReference("bodyStructure", element.getBodyStructure()); + } if (element.hasMethod()) { composeCodeableConcept("method", element.getMethod()); } @@ -49873,6 +49314,28 @@ public class XmlParser extends XmlParserBase { } } + protected void composeObservationTriggeredByComponent(String name, Observation.ObservationTriggeredByComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeObservationTriggeredByComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeObservationTriggeredByComponentElements(Observation.ObservationTriggeredByComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasObservation()) { + composeReference("observation", element.getObservation()); + } + if (element.hasTypeElement()) + composeEnumeration("type", element.getTypeElement(), new Observation.TriggeredBytypeEnumFactory()); + if (element.hasReasonElement()) { + composeString("reason", element.getReasonElement()); + } + } + protected void composeObservationReferenceRangeComponent(String name, Observation.ObservationReferenceRangeComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -49891,6 +49354,9 @@ public class XmlParser extends XmlParserBase { if (element.hasHigh()) { composeQuantity("high", element.getHigh()); } + if (element.hasNormalValue()) { + composeCodeableConcept("normalValue", element.getNormalValue()); + } if (element.hasType()) { composeCodeableConcept("type", element.getType()); } @@ -50451,6 +49917,13 @@ public class XmlParser extends XmlParserBase { for (StringType e : element.getAlias()) composeString("alias", e); } + if (element.hasDescriptionElement()) { + composeString("description", element.getDescriptionElement()); + } + if (element.hasContact()) { + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail("contact", e); + } if (element.hasTelecom()) { for (ContactPoint e : element.getTelecom()) composeContactPoint("telecom", e); @@ -50462,43 +49935,12 @@ public class XmlParser extends XmlParserBase { if (element.hasPartOf()) { composeReference("partOf", element.getPartOf()); } - if (element.hasContact()) { - for (Organization.OrganizationContactComponent e : element.getContact()) - composeOrganizationContactComponent("contact", e); - } if (element.hasEndpoint()) { for (Reference e : element.getEndpoint()) composeReference("endpoint", e); } } - protected void composeOrganizationContactComponent(String name, Organization.OrganizationContactComponent element) throws IOException { - if (element != null) { - composeElementAttributes(element); - xml.enter(FHIR_NS, name); - composeOrganizationContactComponentElements(element); - composeElementClose(element); - xml.exit(FHIR_NS, name); - } - } - - protected void composeOrganizationContactComponentElements(Organization.OrganizationContactComponent element) throws IOException { - composeBackboneElementElements(element); - if (element.hasPurpose()) { - composeCodeableConcept("purpose", element.getPurpose()); - } - if (element.hasName()) { - composeHumanName("name", element.getName()); - } - if (element.hasTelecom()) { - for (ContactPoint e : element.getTelecom()) - composeContactPoint("telecom", e); - } - if (element.hasAddress()) { - composeAddress("address", element.getAddress()); - } - } - protected void composeOrganizationAffiliation(String name, OrganizationAffiliation element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -50619,8 +50061,8 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getAttachedDocument()) composeReference("attachedDocument", e); } - if (element.hasPackage()) { - composePackagedProductDefinitionPackageComponent("package", element.getPackage()); + if (element.hasPackaging()) { + composePackagedProductDefinitionPackagingComponent("packaging", element.getPackaging()); } } @@ -50644,17 +50086,17 @@ public class XmlParser extends XmlParserBase { } } - protected void composePackagedProductDefinitionPackageComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackageComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagingComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composePackagedProductDefinitionPackageComponentElements(element); + composePackagedProductDefinitionPackagingComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composePackagedProductDefinitionPackageComponentElements(PackagedProductDefinition.PackagedProductDefinitionPackageComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingComponentElements(PackagedProductDefinition.PackagedProductDefinitionPackagingComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasIdentifier()) { for (Identifier e : element.getIdentifier()) @@ -50683,30 +50125,30 @@ public class XmlParser extends XmlParserBase { composeReference("manufacturer", e); } if (element.hasProperty()) { - for (PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent e : element.getProperty()) - composePackagedProductDefinitionPackagePropertyComponent("property", e); + for (PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent e : element.getProperty()) + composePackagedProductDefinitionPackagingPropertyComponent("property", e); } if (element.hasContainedItem()) { - for (PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent e : element.getContainedItem()) - composePackagedProductDefinitionPackageContainedItemComponent("containedItem", e); + for (PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent e : element.getContainedItem()) + composePackagedProductDefinitionPackagingContainedItemComponent("containedItem", e); } - if (element.hasPackage()) { - for (PackagedProductDefinition.PackagedProductDefinitionPackageComponent e : element.getPackage()) - composePackagedProductDefinitionPackageComponent("package", e); + if (element.hasPackaging()) { + for (PackagedProductDefinition.PackagedProductDefinitionPackagingComponent e : element.getPackaging()) + composePackagedProductDefinitionPackagingComponent("packaging", e); } } - protected void composePackagedProductDefinitionPackagePropertyComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingPropertyComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composePackagedProductDefinitionPackagePropertyComponentElements(element); + composePackagedProductDefinitionPackagingPropertyComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composePackagedProductDefinitionPackagePropertyComponentElements(PackagedProductDefinition.PackagedProductDefinitionPackagePropertyComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingPropertyComponentElements(PackagedProductDefinition.PackagedProductDefinitionPackagingPropertyComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasType()) { composeCodeableConcept("type", element.getType()); @@ -50715,17 +50157,17 @@ public class XmlParser extends XmlParserBase { composeType("value", element.getValue()); } } - protected void composePackagedProductDefinitionPackageContainedItemComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingContainedItemComponent(String name, PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent element) throws IOException { if (element != null) { composeElementAttributes(element); xml.enter(FHIR_NS, name); - composePackagedProductDefinitionPackageContainedItemComponentElements(element); + composePackagedProductDefinitionPackagingContainedItemComponentElements(element); composeElementClose(element); xml.exit(FHIR_NS, name); } } - protected void composePackagedProductDefinitionPackageContainedItemComponentElements(PackagedProductDefinition.PackagedProductDefinitionPackageContainedItemComponent element) throws IOException { + protected void composePackagedProductDefinitionPackagingContainedItemComponentElements(PackagedProductDefinition.PackagedProductDefinitionPackagingContainedItemComponent element) throws IOException { composeBackboneElementElements(element); if (element.hasItem()) { composeCodeableReference("item", element.getItem()); @@ -51878,6 +51320,10 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getHealthcareService()) composeReference("healthcareService", e); } + if (element.hasContact()) { + for (ExtendedContactDetail e : element.getContact()) + composeExtendedContactDetail("contact", e); + } if (element.hasTelecom()) { for (ContactPoint e : element.getTelecom()) composeContactPoint("telecom", e); @@ -52139,6 +51585,9 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getBasedOn()) composeReference("basedOn", e); } + if (element.hasPatient()) { + composeReference("patient", element.getPatient()); + } if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -53139,6 +52588,10 @@ public class XmlParser extends XmlParserBase { if (element.hasRole()) { composeCodeableConcept("role", element.getRole()); } + if (element.hasPeriod()) { + for (Period e : element.getPeriod()) + composePeriod("period", e); + } if (element.hasClassifier()) { for (CodeableConcept e : element.getClassifier()) composeCodeableConcept("classifier", e); @@ -53291,8 +52744,8 @@ public class XmlParser extends XmlParserBase { protected void composeResearchStudyWebLocationComponentElements(ResearchStudy.ResearchStudyWebLocationComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); + if (element.hasClassifier()) { + composeCodeableConcept("classifier", element.getClassifier()); } if (element.hasUrlElement()) { composeUri("url", element.getUrlElement()); @@ -53492,8 +52945,8 @@ public class XmlParser extends XmlParserBase { composeCodeableConcept("serviceCategory", e); } if (element.hasServiceType()) { - for (CodeableConcept e : element.getServiceType()) - composeCodeableConcept("serviceType", e); + for (CodeableReference e : element.getServiceType()) + composeCodeableReference("serviceType", e); } if (element.hasSpecialty()) { for (CodeableConcept e : element.getSpecialty()) @@ -53532,6 +52985,9 @@ public class XmlParser extends XmlParserBase { if (element.hasNameElement()) { composeString("name", element.getNameElement()); } + if (element.hasTitleElement()) { + composeString("title", element.getTitleElement()); + } if (element.hasDerivedFromElement()) { composeCanonical("derivedFrom", element.getDerivedFromElement()); } @@ -53687,6 +53143,10 @@ public class XmlParser extends XmlParserBase { } if (element.hasSubject()) { composeReference("subject", element.getSubject()); } + if (element.hasFocus()) { + for (Reference e : element.getFocus()) + composeReference("focus", e); + } if (element.hasEncounter()) { composeReference("encounter", element.getEncounter()); } @@ -53731,6 +53191,9 @@ public class XmlParser extends XmlParserBase { for (CodeableConcept e : element.getBodySite()) composeCodeableConcept("bodySite", e); } + if (element.hasBodyStructure()) { + composeReference("bodyStructure", element.getBodyStructure()); + } if (element.hasNote()) { for (Annotation e : element.getNote()) composeAnnotation("note", e); @@ -53765,8 +53228,8 @@ public class XmlParser extends XmlParserBase { composeCodeableConcept("serviceCategory", e); } if (element.hasServiceType()) { - for (CodeableConcept e : element.getServiceType()) - composeCodeableConcept("serviceType", e); + for (CodeableReference e : element.getServiceType()) + composeCodeableReference("serviceType", e); } if (element.hasSpecialty()) { for (CodeableConcept e : element.getSpecialty()) @@ -53833,6 +53296,10 @@ public class XmlParser extends XmlParserBase { for (Reference e : element.getRequest()) composeReference("request", e); } + if (element.hasFeature()) { + for (Specimen.SpecimenFeatureComponent e : element.getFeature()) + composeSpecimenFeatureComponent("feature", e); + } if (element.hasCollection()) { composeSpecimenCollectionComponent("collection", element.getCollection()); } @@ -53854,6 +53321,26 @@ public class XmlParser extends XmlParserBase { } } + protected void composeSpecimenFeatureComponent(String name, Specimen.SpecimenFeatureComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeSpecimenFeatureComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeSpecimenFeatureComponentElements(Specimen.SpecimenFeatureComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasDescriptionElement()) { + composeString("description", element.getDescriptionElement()); + } + } + protected void composeSpecimenCollectionComponent(String name, Specimen.SpecimenCollectionComponent element) throws IOException { if (element != null) { composeElementAttributes(element); @@ -53931,28 +53418,16 @@ public class XmlParser extends XmlParserBase { protected void composeSpecimenContainerComponentElements(Specimen.SpecimenContainerComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasIdentifier()) { - for (Identifier e : element.getIdentifier()) - composeIdentifier("identifier", e); - } - if (element.hasDescriptionElement()) { - composeString("description", element.getDescriptionElement()); + if (element.hasDevice()) { + composeReference("device", element.getDevice()); } if (element.hasLocation()) { composeReference("location", element.getLocation()); } - if (element.hasType()) { - composeCodeableConcept("type", element.getType()); - } - if (element.hasCapacity()) { - composeQuantity("capacity", element.getCapacity()); - } if (element.hasSpecimenQuantity()) { composeQuantity("specimenQuantity", element.getSpecimenQuantity()); } - if (element.hasAdditive()) { - composeType("additive", element.getAdditive()); - } } + } protected void composeSpecimenDefinition(String name, SpecimenDefinition element) throws IOException { if (element != null) { @@ -54686,7 +54161,7 @@ public class XmlParser extends XmlParserBase { composeString("name", element.getNameElement()); } if (element.hasStatusElement()) - composeEnumeration("status", element.getStatusElement(), new Enumerations.SubscriptionStateEnumFactory()); + composeEnumeration("status", element.getStatusElement(), new Enumerations.SubscriptionStatusCodesEnumFactory()); if (element.hasTopicElement()) { composeCanonical("topic", element.getTopicElement()); } @@ -54725,8 +54200,6 @@ public class XmlParser extends XmlParserBase { } if (element.hasContentElement()) composeEnumeration("content", element.getContentElement(), new Subscription.SubscriptionPayloadContentEnumFactory()); - if (element.hasNotificationUrlLocationElement()) - composeEnumeration("notificationUrlLocation", element.getNotificationUrlLocationElement(), new Subscription.SubscriptionUrlLocationEnumFactory()); if (element.hasMaxCountElement()) { composePositiveInt("maxCount", element.getMaxCountElement()); } @@ -54747,11 +54220,11 @@ public class XmlParser extends XmlParserBase { if (element.hasResourceTypeElement()) { composeUri("resourceType", element.getResourceTypeElement()); } - if (element.hasSearchParamNameElement()) { - composeString("searchParamName", element.getSearchParamNameElement()); + if (element.hasFilterParameterElement()) { + composeString("filterParameter", element.getFilterParameterElement()); } - if (element.hasSearchModifierElement()) - composeEnumeration("searchModifier", element.getSearchModifierElement(), new Enumerations.SubscriptionSearchModifierEnumFactory()); + if (element.hasModifierElement()) + composeEnumeration("modifier", element.getModifierElement(), new Enumerations.SubscriptionSearchModifierEnumFactory()); if (element.hasValueElement()) { composeString("value", element.getValueElement()); } @@ -54770,15 +54243,12 @@ public class XmlParser extends XmlParserBase { protected void composeSubscriptionStatusElements(SubscriptionStatus element) throws IOException { composeDomainResourceElements(element); if (element.hasStatusElement()) - composeEnumeration("status", element.getStatusElement(), new Enumerations.SubscriptionStateEnumFactory()); + composeEnumeration("status", element.getStatusElement(), new Enumerations.SubscriptionStatusCodesEnumFactory()); if (element.hasTypeElement()) composeEnumeration("type", element.getTypeElement(), new SubscriptionStatus.SubscriptionNotificationTypeEnumFactory()); if (element.hasEventsSinceSubscriptionStartElement()) { composeInteger64("eventsSinceSubscriptionStart", element.getEventsSinceSubscriptionStartElement()); } - if (element.hasEventsInNotificationElement()) { - composeInteger("eventsInNotification", element.getEventsInNotificationElement()); - } if (element.hasNotificationEvent()) { for (SubscriptionStatus.SubscriptionStatusNotificationEventComponent e : element.getNotificationEvent()) composeSubscriptionStatusNotificationEventComponent("notificationEvent", e); @@ -54833,7 +54303,7 @@ public class XmlParser extends XmlParserBase { } protected void composeSubscriptionTopicElements(SubscriptionTopic element) throws IOException { - composeDomainResourceElements(element); + composeCanonicalResourceElements(element); if (element.hasUrlElement()) { composeUri("url", element.getUrlElement()); } @@ -55009,6 +54479,9 @@ public class XmlParser extends XmlParserBase { } if (element.hasFilterParameterElement()) { composeString("filterParameter", element.getFilterParameterElement()); + } + if (element.hasFilterDefinitionElement()) { + composeUri("filterDefinition", element.getFilterDefinitionElement()); } if (element.hasModifier()) for (Enumeration e : element.getModifier()) @@ -55230,8 +54703,8 @@ public class XmlParser extends XmlParserBase { } if (element.hasAmount()) { composeType("amount", element.getAmount()); - } if (element.hasAmountType()) { - composeCodeableConcept("amountType", element.getAmountType()); + } if (element.hasMeasurementType()) { + composeCodeableConcept("measurementType", element.getMeasurementType()); } } @@ -55474,11 +54947,11 @@ public class XmlParser extends XmlParserBase { } if (element.hasAmount()) { composeType("amount", element.getAmount()); - } if (element.hasAmountRatioHighLimit()) { - composeRatio("amountRatioHighLimit", element.getAmountRatioHighLimit()); + } if (element.hasRatioHighLimitAmount()) { + composeRatio("ratioHighLimitAmount", element.getRatioHighLimitAmount()); } - if (element.hasAmountType()) { - composeCodeableConcept("amountType", element.getAmountType()); + if (element.hasComparator()) { + composeCodeableConcept("comparator", element.getComparator()); } if (element.hasSource()) { for (Reference e : element.getSource()) @@ -56876,8 +56349,8 @@ public class XmlParser extends XmlParserBase { } if (element.hasStatusElement()) composeEnumeration("status", element.getStatusElement(), new TestReport.TestReportStatusEnumFactory()); - if (element.hasTestScript()) { - composeReference("testScript", element.getTestScript()); + if (element.hasTestScriptElement()) { + composeCanonical("testScript", element.getTestScriptElement()); } if (element.hasResultElement()) composeEnumeration("result", element.getResultElement(), new TestReport.TestReportResultEnumFactory()); @@ -57444,8 +56917,9 @@ public class XmlParser extends XmlParserBase { if (element.hasType()) { composeCoding("type", element.getType()); } - if (element.hasResourceElement()) - composeEnumeration("resource", element.getResourceElement(), new TestScript.FHIRDefinedTypeEnumFactory()); + if (element.hasResourceElement()) { + composeUri("resource", element.getResourceElement()); + } if (element.hasLabelElement()) { composeString("label", element.getLabelElement()); } @@ -57670,6 +57144,187 @@ public class XmlParser extends XmlParserBase { } } + protected void composeTransport(String name, Transport element) throws IOException { + if (element != null) { + composeResourceAttributes(element); + xml.enter(FHIR_NS, name); + composeTransportElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeTransportElements(Transport element) throws IOException { + composeDomainResourceElements(element); + if (element.hasIdentifier()) { + for (Identifier e : element.getIdentifier()) + composeIdentifier("identifier", e); + } + if (element.hasInstantiatesCanonicalElement()) { + composeCanonical("instantiatesCanonical", element.getInstantiatesCanonicalElement()); + } + if (element.hasInstantiatesUriElement()) { + composeUri("instantiatesUri", element.getInstantiatesUriElement()); + } + if (element.hasBasedOn()) { + for (Reference e : element.getBasedOn()) + composeReference("basedOn", e); + } + if (element.hasGroupIdentifier()) { + composeIdentifier("groupIdentifier", element.getGroupIdentifier()); + } + if (element.hasPartOf()) { + for (Reference e : element.getPartOf()) + composeReference("partOf", e); + } + if (element.hasStatusElement()) + composeEnumeration("status", element.getStatusElement(), new Transport.TransportStatusEnumFactory()); + if (element.hasStatusReason()) { + composeCodeableConcept("statusReason", element.getStatusReason()); + } + if (element.hasIntentElement()) + composeEnumeration("intent", element.getIntentElement(), new Transport.TransportIntentEnumFactory()); + if (element.hasPriorityElement()) + composeEnumeration("priority", element.getPriorityElement(), new Enumerations.RequestPriorityEnumFactory()); + if (element.hasCode()) { + composeCodeableConcept("code", element.getCode()); + } + if (element.hasDescriptionElement()) { + composeString("description", element.getDescriptionElement()); + } + if (element.hasFocus()) { + composeReference("focus", element.getFocus()); + } + if (element.hasFor()) { + composeReference("for", element.getFor()); + } + if (element.hasEncounter()) { + composeReference("encounter", element.getEncounter()); + } + if (element.hasCompletionTimeElement()) { + composeDateTime("completionTime", element.getCompletionTimeElement()); + } + if (element.hasAuthoredOnElement()) { + composeDateTime("authoredOn", element.getAuthoredOnElement()); + } + if (element.hasLastModifiedElement()) { + composeDateTime("lastModified", element.getLastModifiedElement()); + } + if (element.hasRequester()) { + composeReference("requester", element.getRequester()); + } + if (element.hasPerformerType()) { + for (CodeableConcept e : element.getPerformerType()) + composeCodeableConcept("performerType", e); + } + if (element.hasOwner()) { + composeReference("owner", element.getOwner()); + } + if (element.hasLocation()) { + composeReference("location", element.getLocation()); + } + if (element.hasReasonCode()) { + composeCodeableConcept("reasonCode", element.getReasonCode()); + } + if (element.hasReasonReference()) { + composeReference("reasonReference", element.getReasonReference()); + } + if (element.hasInsurance()) { + for (Reference e : element.getInsurance()) + composeReference("insurance", e); + } + if (element.hasNote()) { + for (Annotation e : element.getNote()) + composeAnnotation("note", e); + } + if (element.hasRelevantHistory()) { + for (Reference e : element.getRelevantHistory()) + composeReference("relevantHistory", e); + } + if (element.hasRestriction()) { + composeTransportRestrictionComponent("restriction", element.getRestriction()); + } + if (element.hasInput()) { + for (Transport.ParameterComponent e : element.getInput()) + composeTransportParameterComponent("input", e); + } + if (element.hasOutput()) { + for (Transport.TransportOutputComponent e : element.getOutput()) + composeTransportOutputComponent("output", e); + } + if (element.hasRequestedLocation()) { + composeReference("requestedLocation", element.getRequestedLocation()); + } + if (element.hasCurrentLocation()) { + composeReference("currentLocation", element.getCurrentLocation()); + } + if (element.hasHistory()) { + composeReference("history", element.getHistory()); + } + } + + protected void composeTransportRestrictionComponent(String name, Transport.TransportRestrictionComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeTransportRestrictionComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeTransportRestrictionComponentElements(Transport.TransportRestrictionComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasRepetitionsElement()) { + composePositiveInt("repetitions", element.getRepetitionsElement()); + } + if (element.hasPeriod()) { + composePeriod("period", element.getPeriod()); + } + if (element.hasRecipient()) { + for (Reference e : element.getRecipient()) + composeReference("recipient", e); + } + } + + protected void composeTransportParameterComponent(String name, Transport.ParameterComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeTransportParameterComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeTransportParameterComponentElements(Transport.ParameterComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } } + + protected void composeTransportOutputComponent(String name, Transport.TransportOutputComponent element) throws IOException { + if (element != null) { + composeElementAttributes(element); + xml.enter(FHIR_NS, name); + composeTransportOutputComponentElements(element); + composeElementClose(element); + xml.exit(FHIR_NS, name); + } + } + + protected void composeTransportOutputComponentElements(Transport.TransportOutputComponent element) throws IOException { + composeBackboneElementElements(element); + if (element.hasType()) { + composeCodeableConcept("type", element.getType()); + } + if (element.hasValue()) { + composeType("value", element.getValue()); + } } + protected void composeValueSet(String name, ValueSet element) throws IOException { if (element != null) { composeResourceAttributes(element); @@ -58032,9 +57687,6 @@ public class XmlParser extends XmlParserBase { protected void composeValueSetScopeComponentElements(ValueSet.ValueSetScopeComponent element) throws IOException { composeBackboneElementElements(element); - if (element.hasFocusElement()) { - composeString("focus", element.getFocusElement()); - } if (element.hasInclusionCriteriaElement()) { composeString("inclusionCriteria", element.getInclusionCriteriaElement()); } @@ -58373,8 +58025,6 @@ public class XmlParser extends XmlParserBase { composeClinicalImpression("ClinicalImpression", (ClinicalImpression)resource); } else if (resource instanceof ClinicalUseDefinition) { composeClinicalUseDefinition("ClinicalUseDefinition", (ClinicalUseDefinition)resource); - } else if (resource instanceof ClinicalUseIssue) { - composeClinicalUseIssue("ClinicalUseIssue", (ClinicalUseIssue)resource); } else if (resource instanceof CodeSystem) { composeCodeSystem("CodeSystem", (CodeSystem)resource); } else if (resource instanceof Communication) { @@ -58387,8 +58037,6 @@ public class XmlParser extends XmlParserBase { composeComposition("Composition", (Composition)resource); } else if (resource instanceof ConceptMap) { composeConceptMap("ConceptMap", (ConceptMap)resource); - } else if (resource instanceof ConceptMap2) { - composeConceptMap2("ConceptMap2", (ConceptMap2)resource); } else if (resource instanceof Condition) { composeCondition("Condition", (Condition)resource); } else if (resource instanceof ConditionDefinition) { @@ -58449,6 +58097,8 @@ public class XmlParser extends XmlParserBase { composeFamilyMemberHistory("FamilyMemberHistory", (FamilyMemberHistory)resource); } else if (resource instanceof Flag) { composeFlag("Flag", (Flag)resource); + } else if (resource instanceof FormularyItem) { + composeFormularyItem("FormularyItem", (FormularyItem)resource); } else if (resource instanceof Goal) { composeGoal("Goal", (Goal)resource); } else if (resource instanceof GraphDefinition) { @@ -58621,6 +58271,8 @@ public class XmlParser extends XmlParserBase { composeTestReport("TestReport", (TestReport)resource); } else if (resource instanceof TestScript) { composeTestScript("TestScript", (TestScript)resource); + } else if (resource instanceof Transport) { + composeTransport("Transport", (Transport)resource); } else if (resource instanceof ValueSet) { composeValueSet("ValueSet", (ValueSet)resource); } else if (resource instanceof VerificationResult) { @@ -58688,8 +58340,6 @@ public class XmlParser extends XmlParserBase { composeClinicalImpression(name, (ClinicalImpression)resource); } else if (resource instanceof ClinicalUseDefinition) { composeClinicalUseDefinition(name, (ClinicalUseDefinition)resource); - } else if (resource instanceof ClinicalUseIssue) { - composeClinicalUseIssue(name, (ClinicalUseIssue)resource); } else if (resource instanceof CodeSystem) { composeCodeSystem(name, (CodeSystem)resource); } else if (resource instanceof Communication) { @@ -58702,8 +58352,6 @@ public class XmlParser extends XmlParserBase { composeComposition(name, (Composition)resource); } else if (resource instanceof ConceptMap) { composeConceptMap(name, (ConceptMap)resource); - } else if (resource instanceof ConceptMap2) { - composeConceptMap2(name, (ConceptMap2)resource); } else if (resource instanceof Condition) { composeCondition(name, (Condition)resource); } else if (resource instanceof ConditionDefinition) { @@ -58764,6 +58412,8 @@ public class XmlParser extends XmlParserBase { composeFamilyMemberHistory(name, (FamilyMemberHistory)resource); } else if (resource instanceof Flag) { composeFlag(name, (Flag)resource); + } else if (resource instanceof FormularyItem) { + composeFormularyItem(name, (FormularyItem)resource); } else if (resource instanceof Goal) { composeGoal(name, (Goal)resource); } else if (resource instanceof GraphDefinition) { @@ -58936,6 +58586,8 @@ public class XmlParser extends XmlParserBase { composeTestReport(name, (TestReport)resource); } else if (resource instanceof TestScript) { composeTestScript(name, (TestScript)resource); + } else if (resource instanceof Transport) { + composeTransport(name, (Transport)resource); } else if (resource instanceof ValueSet) { composeValueSet(name, (ValueSet)resource); } else if (resource instanceof VerificationResult) { @@ -58987,6 +58639,8 @@ public class XmlParser extends XmlParserBase { composeElementDefinition(prefix+"ElementDefinition", (ElementDefinition) type); } else if (type instanceof Expression) { composeExpression(prefix+"Expression", (Expression) type); + } else if (type instanceof ExtendedContactDetail) { + composeExtendedContactDetail(prefix+"ExtendedContactDetail", (ExtendedContactDetail) type); } else if (type instanceof Extension) { composeExtension(prefix+"Extension", (Extension) type); } else if (type instanceof HumanName) { @@ -59007,8 +58661,6 @@ public class XmlParser extends XmlParserBase { composePeriod(prefix+"Period", (Period) type); } else if (type instanceof Population) { composePopulation(prefix+"Population", (Population) type); - } else if (type instanceof ProdCharacteristic) { - composeProdCharacteristic(prefix+"ProdCharacteristic", (ProdCharacteristic) type); } else if (type instanceof ProductShelfLife) { composeProductShelfLife(prefix+"ProductShelfLife", (ProductShelfLife) type); } else if (type instanceof Quantity) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Account.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Account.java index f4222d77b..fb9a7c854 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Account.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Account.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class Account extends DomainResource { case ENTEREDINERROR: return "entered-in-error"; case ONHOLD: return "on-hold"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class Account extends DomainResource { case ENTEREDINERROR: return "http://hl7.org/fhir/account-status"; case ONHOLD: return "http://hl7.org/fhir/account-status"; case UNKNOWN: return "http://hl7.org/fhir/account-status"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class Account extends DomainResource { case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; case ONHOLD: return "This account is on hold."; case UNKNOWN: return "The account status is unknown."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class Account extends DomainResource { case ENTEREDINERROR: return "Entered in error"; case ONHOLD: return "On Hold"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -1586,210 +1590,6 @@ A coverage may only be responsible for specific types of charges, and the sequen return ResourceType.Account; } - /** - * Search parameter: guarantor - *

- * Description: The parties ultimately responsible for balancing the Account
- * Type: reference
- * Path: Account.guarantor.party
- *

- */ - @SearchParamDefinition(name="guarantor", path="Account.guarantor.party", description="The parties ultimately responsible for balancing the Account", type="reference", target={Organization.class, Patient.class, RelatedPerson.class } ) - public static final String SP_GUARANTOR = "guarantor"; - /** - * Fluent Client search parameter constant for guarantor - *

- * Description: The parties ultimately responsible for balancing the Account
- * Type: reference
- * Path: Account.guarantor.party
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GUARANTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GUARANTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Account:guarantor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GUARANTOR = new ca.uhn.fhir.model.api.Include("Account:guarantor").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Account number
- * Type: token
- * Path: Account.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Account.identifier", description="Account number", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Account number
- * Type: token
- * Path: Account.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: Human-readable label
- * Type: string
- * Path: Account.name
- *

- */ - @SearchParamDefinition(name="name", path="Account.name", description="Human-readable label", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Human-readable label
- * Type: string
- * Path: Account.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: owner - *

- * Description: Entity managing the Account
- * Type: reference
- * Path: Account.owner
- *

- */ - @SearchParamDefinition(name="owner", path="Account.owner", description="Entity managing the Account", type="reference", target={Organization.class } ) - public static final String SP_OWNER = "owner"; - /** - * Fluent Client search parameter constant for owner - *

- * Description: Entity managing the Account
- * Type: reference
- * Path: Account.owner
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OWNER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Account:owner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNER = new ca.uhn.fhir.model.api.Include("Account:owner").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The entity that caused the expenses
- * Type: reference
- * Path: Account.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Account.subject.where(resolve() is Patient)", description="The entity that caused the expenses", type="reference", target={Device.class, HealthcareService.class, Location.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The entity that caused the expenses
- * Type: reference
- * Path: Account.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Account:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Account:patient").toLocked(); - - /** - * Search parameter: period - *

- * Description: Transaction window
- * Type: date
- * Path: Account.servicePeriod
- *

- */ - @SearchParamDefinition(name="period", path="Account.servicePeriod", description="Transaction window", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: Transaction window
- * Type: date
- * Path: Account.servicePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: status - *

- * Description: active | inactive | entered-in-error | on-hold | unknown
- * Type: token
- * Path: Account.status
- *

- */ - @SearchParamDefinition(name="status", path="Account.status", description="active | inactive | entered-in-error | on-hold | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | inactive | entered-in-error | on-hold | unknown
- * Type: token
- * Path: Account.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The entity that caused the expenses
- * Type: reference
- * Path: Account.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Account.subject", description="The entity that caused the expenses", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, HealthcareService.class, Location.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The entity that caused the expenses
- * Type: reference
- * Path: Account.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Account:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Account:subject").toLocked(); - - /** - * Search parameter: type - *

- * Description: E.g. patient, expense, depreciation
- * Type: token
- * Path: Account.type
- *

- */ - @SearchParamDefinition(name="type", path="Account.type", description="E.g. patient, expense, depreciation", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: E.g. patient, expense, depreciation
- * Type: token
- * Path: Account.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ActivityDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ActivityDefinition.java index 49ed8a574..58e017284 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ActivityDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ActivityDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -173,6 +173,7 @@ public class ActivityDefinition extends MetadataResource { case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case VISIONPRESCRIPTION: return "VisionPrescription"; + case NULL: return null; default: return "?"; } } @@ -193,6 +194,7 @@ public class ActivityDefinition extends MetadataResource { case SUPPLYREQUEST: return "http://hl7.org/fhir/request-resource-types"; case TASK: return "http://hl7.org/fhir/request-resource-types"; case VISIONPRESCRIPTION: return "http://hl7.org/fhir/request-resource-types"; + case NULL: return null; default: return "?"; } } @@ -213,6 +215,7 @@ public class ActivityDefinition extends MetadataResource { case SUPPLYREQUEST: return "Request for a medication, substance or device."; case TASK: return "A task to be performed."; case VISIONPRESCRIPTION: return "Prescription for vision correction products for a patient."; + case NULL: return null; default: return "?"; } } @@ -233,6 +236,7 @@ public class ActivityDefinition extends MetadataResource { case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case VISIONPRESCRIPTION: return "VisionPrescription"; + case NULL: return null; default: return "?"; } } @@ -4435,496 +4439,6 @@ public class ActivityDefinition extends MetadataResource { return ResourceType.ActivityDefinition; } - /** - * Search parameter: composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='composed-of').resource
- *

- */ - @SearchParamDefinition(name="composed-of", path="ActivityDefinition.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_COMPOSED_OF = "composed-of"; - /** - * Fluent Client search parameter constant for composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='composed-of').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ActivityDefinition:composed-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("ActivityDefinition:composed-of").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the activity definition
- * Type: quantity
- * Path: (ActivityDefinition.useContext.value as Quantity) | (ActivityDefinition.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(ActivityDefinition.useContext.value as Quantity) | (ActivityDefinition.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the activity definition", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the activity definition
- * Type: quantity
- * Path: (ActivityDefinition.useContext.value as Quantity) | (ActivityDefinition.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the activity definition
- * Type: composite
- * Path: ActivityDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="ActivityDefinition.useContext", description="A use context type and quantity- or range-based value assigned to the activity definition", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the activity definition
- * Type: composite
- * Path: ActivityDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the activity definition
- * Type: composite
- * Path: ActivityDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="ActivityDefinition.useContext", description="A use context type and value assigned to the activity definition", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the activity definition
- * Type: composite
- * Path: ActivityDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the activity definition
- * Type: token
- * Path: ActivityDefinition.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="ActivityDefinition.useContext.code", description="A type of use context assigned to the activity definition", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the activity definition
- * Type: token
- * Path: ActivityDefinition.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the activity definition
- * Type: token
- * Path: (ActivityDefinition.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(ActivityDefinition.useContext.value as CodeableConcept)", description="A use context assigned to the activity definition", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the activity definition
- * Type: token
- * Path: (ActivityDefinition.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The activity definition publication date
- * Type: date
- * Path: ActivityDefinition.date
- *

- */ - @SearchParamDefinition(name="date", path="ActivityDefinition.date", description="The activity definition publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The activity definition publication date
- * Type: date
- * Path: ActivityDefinition.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library
- *

- */ - @SearchParamDefinition(name="depends-on", path="ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ActivityDefinition:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("ActivityDefinition:depends-on").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='derived-from').resource
- *

- */ - @SearchParamDefinition(name="derived-from", path="ActivityDefinition.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='derived-from').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ActivityDefinition:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("ActivityDefinition:derived-from").toLocked(); - - /** - * Search parameter: description - *

- * Description: The description of the activity definition
- * Type: string
- * Path: ActivityDefinition.description
- *

- */ - @SearchParamDefinition(name="description", path="ActivityDefinition.description", description="The description of the activity definition", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the activity definition
- * Type: string
- * Path: ActivityDefinition.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the activity definition is intended to be in use
- * Type: date
- * Path: ActivityDefinition.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="ActivityDefinition.effectivePeriod", description="The time during which the activity definition is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the activity definition is intended to be in use
- * Type: date
- * Path: ActivityDefinition.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the activity definition
- * Type: token
- * Path: ActivityDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ActivityDefinition.identifier", description="External identifier for the activity definition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the activity definition
- * Type: token
- * Path: ActivityDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the activity definition
- * Type: token
- * Path: ActivityDefinition.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="ActivityDefinition.jurisdiction", description="Intended jurisdiction for the activity definition", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the activity definition
- * Type: token
- * Path: ActivityDefinition.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: kind - *

- * Description: The kind of activity definition
- * Type: token
- * Path: ActivityDefinition.kind
- *

- */ - @SearchParamDefinition(name="kind", path="ActivityDefinition.kind", description="The kind of activity definition", type="token" ) - public static final String SP_KIND = "kind"; - /** - * Fluent Client search parameter constant for kind - *

- * Description: The kind of activity definition
- * Type: token
- * Path: ActivityDefinition.kind
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_KIND); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the activity definition
- * Type: string
- * Path: ActivityDefinition.name
- *

- */ - @SearchParamDefinition(name="name", path="ActivityDefinition.name", description="Computationally friendly name of the activity definition", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the activity definition
- * Type: string
- * Path: ActivityDefinition.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='predecessor').resource
- *

- */ - @SearchParamDefinition(name="predecessor", path="ActivityDefinition.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PREDECESSOR = "predecessor"; - /** - * Fluent Client search parameter constant for predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='predecessor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ActivityDefinition:predecessor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("ActivityDefinition:predecessor").toLocked(); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the activity definition
- * Type: string
- * Path: ActivityDefinition.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="ActivityDefinition.publisher", description="Name of the publisher of the activity definition", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the activity definition
- * Type: string
- * Path: ActivityDefinition.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the activity definition
- * Type: token
- * Path: ActivityDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="ActivityDefinition.status", description="The current status of the activity definition", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the activity definition
- * Type: token
- * Path: ActivityDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='successor').resource
- *

- */ - @SearchParamDefinition(name="successor", path="ActivityDefinition.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUCCESSOR = "successor"; - /** - * Fluent Client search parameter constant for successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: ActivityDefinition.relatedArtifact.where(type='successor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ActivityDefinition:successor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("ActivityDefinition:successor").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the activity definition
- * Type: string
- * Path: ActivityDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="ActivityDefinition.title", description="The human-friendly name of the activity definition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the activity definition
- * Type: string
- * Path: ActivityDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: ActivityDefinition.topic
- *

- */ - @SearchParamDefinition(name="topic", path="ActivityDefinition.topic", description="Topics associated with the module", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: ActivityDefinition.topic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the activity definition
- * Type: uri
- * Path: ActivityDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="ActivityDefinition.url", description="The uri that identifies the activity definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the activity definition
- * Type: uri
- * Path: ActivityDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the activity definition
- * Type: token
- * Path: ActivityDefinition.version
- *

- */ - @SearchParamDefinition(name="version", path="ActivityDefinition.version", description="The business version of the activity definition", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the activity definition
- * Type: token
- * Path: ActivityDefinition.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Address.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Address.java index 4088ad8bf..d1ca8f89d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Address.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Address.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -87,6 +87,7 @@ public class Address extends DataType implements ICompositeType { case POSTAL: return "postal"; case PHYSICAL: return "physical"; case BOTH: return "both"; + case NULL: return null; default: return "?"; } } @@ -95,6 +96,7 @@ public class Address extends DataType implements ICompositeType { 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"; + case NULL: return null; default: return "?"; } } @@ -103,6 +105,7 @@ public class Address extends DataType implements ICompositeType { 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."; + case NULL: return null; default: return "?"; } } @@ -111,6 +114,7 @@ public class Address extends DataType implements ICompositeType { case POSTAL: return "Postal"; case PHYSICAL: return "Physical"; case BOTH: return "Postal & Physical"; + case NULL: return null; default: return "?"; } } @@ -209,6 +213,7 @@ public class Address extends DataType implements ICompositeType { case TEMP: return "temp"; case OLD: return "old"; case BILLING: return "billing"; + case NULL: return null; default: return "?"; } } @@ -219,6 +224,7 @@ public class Address extends DataType implements ICompositeType { case TEMP: return "http://hl7.org/fhir/address-use"; case OLD: return "http://hl7.org/fhir/address-use"; case BILLING: return "http://hl7.org/fhir/address-use"; + case NULL: return null; default: return "?"; } } @@ -229,6 +235,7 @@ public class Address extends DataType implements ICompositeType { case TEMP: return "A temporary address. The period can provide more detailed information."; case OLD: return "This address is no longer in use (or was never correct but retained for records)."; case BILLING: return "An address to be used to send bills, invoices, receipts etc."; + case NULL: return null; default: return "?"; } } @@ -239,6 +246,7 @@ public class Address extends DataType implements ICompositeType { case TEMP: return "Temporary"; case OLD: return "Old / Incorrect"; case BILLING: return "Billing"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdministrableProductDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdministrableProductDefinition.java index 81be7ae35..59cc67747 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdministrableProductDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdministrableProductDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -60,6 +60,7 @@ public class AdministrableProductDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="A code expressing the type of characteristic", formalDefinition="A code expressing the type of characteristic." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-characteristic-codes") protected CodeableConcept type; /** @@ -74,6 +75,7 @@ public class AdministrableProductDefinition extends DomainResource { */ @Child(name = "status", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The status of characteristic e.g. assigned or pending", formalDefinition="The status of characteristic e.g. assigned or pending." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; private static final long serialVersionUID = -872048207L; @@ -411,27 +413,28 @@ public class AdministrableProductDefinition extends DomainResource { */ @Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Coded expression for the route", formalDefinition="Coded expression for the route." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/route-codes") protected CodeableConcept code; /** * The first dose (dose quantity) administered can be specified for the product, using a numerical value and its unit of measurement. */ @Child(name = "firstDose", type = {Quantity.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The first dose (dose quantity) administered can be specified for the product, using a numerical value and its unit of measurement", formalDefinition="The first dose (dose quantity) administered can be specified for the product, using a numerical value and its unit of measurement." ) + @Description(shortDefinition="The first dose (dose quantity) administered can be specified for the product", formalDefinition="The first dose (dose quantity) administered can be specified for the product, using a numerical value and its unit of measurement." ) protected Quantity firstDose; /** - * The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement. + * The maximum single dose that can be administered, specified using a numerical value and its unit of measurement. */ @Child(name = "maxSingleDose", type = {Quantity.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement", formalDefinition="The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement." ) + @Description(shortDefinition="The maximum single dose that can be administered", formalDefinition="The maximum single dose that can be administered, specified using a numerical value and its unit of measurement." ) protected Quantity maxSingleDose; /** * The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered. */ @Child(name = "maxDosePerDay", type = {Quantity.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered", formalDefinition="The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered." ) + @Description(shortDefinition="The maximum dose quantity to be administered in any one 24-h period", formalDefinition="The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered." ) protected Quantity maxDosePerDay; /** @@ -442,10 +445,10 @@ public class AdministrableProductDefinition extends DomainResource { protected Ratio maxDosePerTreatmentPeriod; /** - * The maximum treatment period during which an Investigational Medicinal Product can be administered. + * The maximum treatment period during which the product can be administered. */ @Child(name = "maxTreatmentPeriod", type = {Duration.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The maximum treatment period during which an Investigational Medicinal Product can be administered", formalDefinition="The maximum treatment period during which an Investigational Medicinal Product can be administered." ) + @Description(shortDefinition="The maximum treatment period during which the product can be administered", formalDefinition="The maximum treatment period during which the product can be administered." ) protected Duration maxTreatmentPeriod; /** @@ -521,7 +524,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #maxSingleDose} (The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement.) + * @return {@link #maxSingleDose} (The maximum single dose that can be administered, specified using a numerical value and its unit of measurement.) */ public Quantity getMaxSingleDose() { if (this.maxSingleDose == null) @@ -537,7 +540,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @param value {@link #maxSingleDose} (The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement.) + * @param value {@link #maxSingleDose} (The maximum single dose that can be administered, specified using a numerical value and its unit of measurement.) */ public AdministrableProductDefinitionRouteOfAdministrationComponent setMaxSingleDose(Quantity value) { this.maxSingleDose = value; @@ -593,7 +596,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #maxTreatmentPeriod} (The maximum treatment period during which an Investigational Medicinal Product can be administered.) + * @return {@link #maxTreatmentPeriod} (The maximum treatment period during which the product can be administered.) */ public Duration getMaxTreatmentPeriod() { if (this.maxTreatmentPeriod == null) @@ -609,7 +612,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @param value {@link #maxTreatmentPeriod} (The maximum treatment period during which an Investigational Medicinal Product can be administered.) + * @param value {@link #maxTreatmentPeriod} (The maximum treatment period during which the product can be administered.) */ public AdministrableProductDefinitionRouteOfAdministrationComponent setMaxTreatmentPeriod(Duration value) { this.maxTreatmentPeriod = value; @@ -673,10 +676,10 @@ public class AdministrableProductDefinition extends DomainResource { super.listChildren(children); children.add(new Property("code", "CodeableConcept", "Coded expression for the route.", 0, 1, code)); children.add(new Property("firstDose", "Quantity", "The first dose (dose quantity) administered can be specified for the product, using a numerical value and its unit of measurement.", 0, 1, firstDose)); - children.add(new Property("maxSingleDose", "Quantity", "The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement.", 0, 1, maxSingleDose)); + children.add(new Property("maxSingleDose", "Quantity", "The maximum single dose that can be administered, specified using a numerical value and its unit of measurement.", 0, 1, maxSingleDose)); children.add(new Property("maxDosePerDay", "Quantity", "The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered.", 0, 1, maxDosePerDay)); children.add(new Property("maxDosePerTreatmentPeriod", "Ratio", "The maximum dose per treatment period that can be administered.", 0, 1, maxDosePerTreatmentPeriod)); - children.add(new Property("maxTreatmentPeriod", "Duration", "The maximum treatment period during which an Investigational Medicinal Product can be administered.", 0, 1, maxTreatmentPeriod)); + children.add(new Property("maxTreatmentPeriod", "Duration", "The maximum treatment period during which the product can be administered.", 0, 1, maxTreatmentPeriod)); children.add(new Property("targetSpecies", "", "A species for which this route applies.", 0, java.lang.Integer.MAX_VALUE, targetSpecies)); } @@ -685,10 +688,10 @@ public class AdministrableProductDefinition extends DomainResource { switch (_hash) { case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Coded expression for the route.", 0, 1, code); case 132551405: /*firstDose*/ return new Property("firstDose", "Quantity", "The first dose (dose quantity) administered can be specified for the product, using a numerical value and its unit of measurement.", 0, 1, firstDose); - case -259207927: /*maxSingleDose*/ return new Property("maxSingleDose", "Quantity", "The maximum single dose that can be administered, can be specified using a numerical value and its unit of measurement.", 0, 1, maxSingleDose); + case -259207927: /*maxSingleDose*/ return new Property("maxSingleDose", "Quantity", "The maximum single dose that can be administered, specified using a numerical value and its unit of measurement.", 0, 1, maxSingleDose); case -2017475520: /*maxDosePerDay*/ return new Property("maxDosePerDay", "Quantity", "The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered.", 0, 1, maxDosePerDay); case -608040195: /*maxDosePerTreatmentPeriod*/ return new Property("maxDosePerTreatmentPeriod", "Ratio", "The maximum dose per treatment period that can be administered.", 0, 1, maxDosePerTreatmentPeriod); - case 920698453: /*maxTreatmentPeriod*/ return new Property("maxTreatmentPeriod", "Duration", "The maximum treatment period during which an Investigational Medicinal Product can be administered.", 0, 1, maxTreatmentPeriod); + case 920698453: /*maxTreatmentPeriod*/ return new Property("maxTreatmentPeriod", "Duration", "The maximum treatment period during which the product can be administered.", 0, 1, maxTreatmentPeriod); case 295481963: /*targetSpecies*/ return new Property("targetSpecies", "", "A species for which this route applies.", 0, java.lang.Integer.MAX_VALUE, targetSpecies); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -886,6 +889,7 @@ public class AdministrableProductDefinition extends DomainResource { */ @Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Coded expression for the species", formalDefinition="Coded expression for the species." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/target-species") protected CodeableConcept code; /** @@ -1124,10 +1128,11 @@ public class AdministrableProductDefinition extends DomainResource { @Block() public static class AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesWithdrawalPeriodComponent extends BackboneElement implements IBaseBackboneElement { /** - * Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk. + * Coded expression for the type of tissue for which the withdrawal period applies, e.g. meat, milk. */ @Child(name = "tissue", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk", formalDefinition="Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk." ) + @Description(shortDefinition="The type of tissue for which the withdrawal period applies, e.g. meat, milk", formalDefinition="Coded expression for the type of tissue for which the withdrawal period applies, e.g. meat, milk." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/animal-tissue-type") protected CodeableConcept tissue; /** @@ -1163,7 +1168,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #tissue} (Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk.) + * @return {@link #tissue} (Coded expression for the type of tissue for which the withdrawal period applies, e.g. meat, milk.) */ public CodeableConcept getTissue() { if (this.tissue == null) @@ -1179,7 +1184,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @param value {@link #tissue} (Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk.) + * @param value {@link #tissue} (Coded expression for the type of tissue for which the withdrawal period applies, e.g. meat, milk.) */ public AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesWithdrawalPeriodComponent setTissue(CodeableConcept value) { this.tissue = value; @@ -1261,7 +1266,7 @@ public class AdministrableProductDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("tissue", "CodeableConcept", "Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk.", 0, 1, tissue)); + children.add(new Property("tissue", "CodeableConcept", "Coded expression for the type of tissue for which the withdrawal period applies, e.g. meat, milk.", 0, 1, tissue)); children.add(new Property("value", "Quantity", "A value for the time.", 0, 1, value)); children.add(new Property("supportingInformation", "string", "Extra information about the withdrawal period.", 0, 1, supportingInformation)); } @@ -1269,7 +1274,7 @@ public class AdministrableProductDefinition extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -873475867: /*tissue*/ return new Property("tissue", "CodeableConcept", "Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk.", 0, 1, tissue); + case -873475867: /*tissue*/ return new Property("tissue", "CodeableConcept", "Coded expression for the type of tissue for which the withdrawal period applies, e.g. meat, milk.", 0, 1, tissue); case 111972721: /*value*/ return new Property("value", "Quantity", "A value for the time.", 0, 1, value); case -1248768647: /*supportingInformation*/ return new Property("supportingInformation", "string", "Extra information about the withdrawal period.", 0, 1, supportingInformation); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1419,59 +1424,62 @@ public class AdministrableProductDefinition extends DomainResource { protected Enumeration status; /** - * The medicinal product that this is a prepared administrable form of. This element is not a reference to the item(s) that make up this administrable form (for which see AdministrableProductDefinition.producedFrom). It is medicinal product as a whole, which may have several components (as well as packaging, devices etc.), that are given to the patient in this final administrable form. A single medicinal product may have several different administrable products (e.g. a tablet and a cream), and these could have different administrable forms (e.g. tablet as oral solid, or tablet crushed). + * References a product from which one or more of the constituent parts of that product can be prepared and used as described by this administrable product. If this administrable product describes the administration of a crushed tablet, the 'formOf' would be the product representing a distribution containing tablets and possibly also a cream. This is distinct from the 'producedFrom' which refers to the specific components of the product that are used in this preparation, rather than the product as a whole. */ @Child(name = "formOf", type = {MedicinalProductDefinition.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The medicinal product that this is a prepared administrable form of. This element is not a reference to the item(s) that make up this administrable form (for which see AdministrableProductDefinition.producedFrom). It is medicinal product as a whole, which may have several components (as well as packaging, devices etc.), that are given to the patient in this final administrable form. A single medicinal product may have several different administrable products (e.g. a tablet and a cream), and these could have different administrable forms (e.g. tablet as oral solid, or tablet crushed)", formalDefinition="The medicinal product that this is a prepared administrable form of. This element is not a reference to the item(s) that make up this administrable form (for which see AdministrableProductDefinition.producedFrom). It is medicinal product as a whole, which may have several components (as well as packaging, devices etc.), that are given to the patient in this final administrable form. A single medicinal product may have several different administrable products (e.g. a tablet and a cream), and these could have different administrable forms (e.g. tablet as oral solid, or tablet crushed)." ) + @Description(shortDefinition="References a product from which one or more of the constituent parts of that product can be prepared and used as described by this administrable product", formalDefinition="References a product from which one or more of the constituent parts of that product can be prepared and used as described by this administrable product. If this administrable product describes the administration of a crushed tablet, the 'formOf' would be the product representing a distribution containing tablets and possibly also a cream. This is distinct from the 'producedFrom' which refers to the specific components of the product that are used in this preparation, rather than the product as a whole." ) protected List formOf; /** * The dose form of the final product after necessary reconstitution or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition). If the manufactured form was 'powder for solution for injection', the administrable dose form could be 'solution for injection' (once mixed with another item having manufactured form 'solvent for solution for injection'). */ @Child(name = "administrableDoseForm", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The dose form of the final product after necessary reconstitution or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition). If the manufactured form was 'powder for solution for injection', the administrable dose form could be 'solution for injection' (once mixed with another item having manufactured form 'solvent for solution for injection')", formalDefinition="The dose form of the final product after necessary reconstitution or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition). If the manufactured form was 'powder for solution for injection', the administrable dose form could be 'solution for injection' (once mixed with another item having manufactured form 'solvent for solution for injection')." ) + @Description(shortDefinition="The dose form of the final product after necessary reconstitution or processing", formalDefinition="The dose form of the final product after necessary reconstitution or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition). If the manufactured form was 'powder for solution for injection', the administrable dose form could be 'solution for injection' (once mixed with another item having manufactured form 'solvent for solution for injection')." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/administrable-dose-form") protected CodeableConcept administrableDoseForm; /** * The presentation type in which this item is given to a patient. e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a liquid - 'vial' (as in 'contains 5 ml per vial'). */ @Child(name = "unitOfPresentation", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The presentation type in which this item is given to a patient. e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a liquid - 'vial' (as in 'contains 5 ml per vial')", formalDefinition="The presentation type in which this item is given to a patient. e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a liquid - 'vial' (as in 'contains 5 ml per vial')." ) + @Description(shortDefinition="The presentation type in which this item is given to a patient. e.g. for a spray - 'puff'", formalDefinition="The presentation type in which this item is given to a patient. e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a liquid - 'vial' (as in 'contains 5 ml per vial')." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/unit-of-presentation") protected CodeableConcept unitOfPresentation; /** - * The constituent manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solvent item, to make a consumable solution). Note the items this is produced from are not raw ingredients (see AdministrableProductDefinition.ingredient), but manufactured medication items (ManufacturedItemDefinitions), which may be combined or prepared and transformed for patient use. The constituent items that this administrable form is produced from are all part of the product (for which see AdministrableProductDefinition.formOf). + * Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream. */ @Child(name = "producedFrom", type = {ManufacturedItemDefinition.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The constituent manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solvent item, to make a consumable solution). Note the items this is produced from are not raw ingredients (see AdministrableProductDefinition.ingredient), but manufactured medication items (ManufacturedItemDefinitions), which may be combined or prepared and transformed for patient use. The constituent items that this administrable form is produced from are all part of the product (for which see AdministrableProductDefinition.formOf)", formalDefinition="The constituent manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solvent item, to make a consumable solution). Note the items this is produced from are not raw ingredients (see AdministrableProductDefinition.ingredient), but manufactured medication items (ManufacturedItemDefinitions), which may be combined or prepared and transformed for patient use. The constituent items that this administrable form is produced from are all part of the product (for which see AdministrableProductDefinition.formOf)." ) + @Description(shortDefinition="Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form", formalDefinition="Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream." ) protected List producedFrom; /** * The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used. */ @Child(name = "ingredient", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used", formalDefinition="The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used." ) + @Description(shortDefinition="The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton, or using by incoming references from the Ingredient resource", formalDefinition="The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-codes") protected List ingredient; /** * A device that is integral to the medicinal product, in effect being considered as an "ingredient" of the medicinal product. This is not intended for devices that are just co-packaged. */ @Child(name = "device", type = {DeviceDefinition.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged", formalDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged." ) + @Description(shortDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product", formalDefinition="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged." ) protected Reference device; /** - * Characteristics e.g. a products onset of action. + * Characteristics e.g. a product's onset of action. */ @Child(name = "property", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Characteristics e.g. a products onset of action", formalDefinition="Characteristics e.g. a products onset of action." ) + @Description(shortDefinition="Characteristics e.g. a product's onset of action", formalDefinition="Characteristics e.g. a product's onset of action." ) protected List property; /** - * The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. + * The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa). */ @Child(name = "routeOfAdministration", type = {}, order=9, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route", formalDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route." ) + @Description(shortDefinition="The path by which the product is taken into or makes contact with the body", formalDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa)." ) protected List routeOfAdministration; private static final long serialVersionUID = 1447528370L; @@ -1591,7 +1599,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #formOf} (The medicinal product that this is a prepared administrable form of. This element is not a reference to the item(s) that make up this administrable form (for which see AdministrableProductDefinition.producedFrom). It is medicinal product as a whole, which may have several components (as well as packaging, devices etc.), that are given to the patient in this final administrable form. A single medicinal product may have several different administrable products (e.g. a tablet and a cream), and these could have different administrable forms (e.g. tablet as oral solid, or tablet crushed).) + * @return {@link #formOf} (References a product from which one or more of the constituent parts of that product can be prepared and used as described by this administrable product. If this administrable product describes the administration of a crushed tablet, the 'formOf' would be the product representing a distribution containing tablets and possibly also a cream. This is distinct from the 'producedFrom' which refers to the specific components of the product that are used in this preparation, rather than the product as a whole.) */ public List getFormOf() { if (this.formOf == null) @@ -1692,7 +1700,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #producedFrom} (The constituent manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solvent item, to make a consumable solution). Note the items this is produced from are not raw ingredients (see AdministrableProductDefinition.ingredient), but manufactured medication items (ManufacturedItemDefinitions), which may be combined or prepared and transformed for patient use. The constituent items that this administrable form is produced from are all part of the product (for which see AdministrableProductDefinition.formOf).) + * @return {@link #producedFrom} (Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.) */ public List getProducedFrom() { if (this.producedFrom == null) @@ -1822,7 +1830,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #property} (Characteristics e.g. a products onset of action.) + * @return {@link #property} (Characteristics e.g. a product's onset of action.) */ public List getProperty() { if (this.property == null) @@ -1875,7 +1883,7 @@ public class AdministrableProductDefinition extends DomainResource { } /** - * @return {@link #routeOfAdministration} (The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route.) + * @return {@link #routeOfAdministration} (The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).) */ public List getRouteOfAdministration() { if (this.routeOfAdministration == null) @@ -1931,14 +1939,14 @@ public class AdministrableProductDefinition extends DomainResource { super.listChildren(children); children.add(new Property("identifier", "Identifier", "An identifier for the administrable product.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("status", "code", "The status of this administrable product. Enables tracking the life-cycle of the content.", 0, 1, status)); - children.add(new Property("formOf", "Reference(MedicinalProductDefinition)", "The medicinal product that this is a prepared administrable form of. This element is not a reference to the item(s) that make up this administrable form (for which see AdministrableProductDefinition.producedFrom). It is medicinal product as a whole, which may have several components (as well as packaging, devices etc.), that are given to the patient in this final administrable form. A single medicinal product may have several different administrable products (e.g. a tablet and a cream), and these could have different administrable forms (e.g. tablet as oral solid, or tablet crushed).", 0, java.lang.Integer.MAX_VALUE, formOf)); + children.add(new Property("formOf", "Reference(MedicinalProductDefinition)", "References a product from which one or more of the constituent parts of that product can be prepared and used as described by this administrable product. If this administrable product describes the administration of a crushed tablet, the 'formOf' would be the product representing a distribution containing tablets and possibly also a cream. This is distinct from the 'producedFrom' which refers to the specific components of the product that are used in this preparation, rather than the product as a whole.", 0, java.lang.Integer.MAX_VALUE, formOf)); children.add(new Property("administrableDoseForm", "CodeableConcept", "The dose form of the final product after necessary reconstitution or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition). If the manufactured form was 'powder for solution for injection', the administrable dose form could be 'solution for injection' (once mixed with another item having manufactured form 'solvent for solution for injection').", 0, 1, administrableDoseForm)); children.add(new Property("unitOfPresentation", "CodeableConcept", "The presentation type in which this item is given to a patient. e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a liquid - 'vial' (as in 'contains 5 ml per vial').", 0, 1, unitOfPresentation)); - children.add(new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "The constituent manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solvent item, to make a consumable solution). Note the items this is produced from are not raw ingredients (see AdministrableProductDefinition.ingredient), but manufactured medication items (ManufacturedItemDefinitions), which may be combined or prepared and transformed for patient use. The constituent items that this administrable form is produced from are all part of the product (for which see AdministrableProductDefinition.formOf).", 0, java.lang.Integer.MAX_VALUE, producedFrom)); + children.add(new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.", 0, java.lang.Integer.MAX_VALUE, producedFrom)); children.add(new Property("ingredient", "CodeableConcept", "The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used.", 0, java.lang.Integer.MAX_VALUE, ingredient)); children.add(new Property("device", "Reference(DeviceDefinition)", "A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged.", 0, 1, device)); - children.add(new Property("property", "", "Characteristics e.g. a products onset of action.", 0, java.lang.Integer.MAX_VALUE, property)); - children.add(new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route.", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration)); + children.add(new Property("property", "", "Characteristics e.g. a product's onset of action.", 0, java.lang.Integer.MAX_VALUE, property)); + children.add(new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration)); } @Override @@ -1946,14 +1954,14 @@ public class AdministrableProductDefinition extends DomainResource { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "An identifier for the administrable product.", 0, java.lang.Integer.MAX_VALUE, identifier); case -892481550: /*status*/ return new Property("status", "code", "The status of this administrable product. Enables tracking the life-cycle of the content.", 0, 1, status); - case -1268779589: /*formOf*/ return new Property("formOf", "Reference(MedicinalProductDefinition)", "The medicinal product that this is a prepared administrable form of. This element is not a reference to the item(s) that make up this administrable form (for which see AdministrableProductDefinition.producedFrom). It is medicinal product as a whole, which may have several components (as well as packaging, devices etc.), that are given to the patient in this final administrable form. A single medicinal product may have several different administrable products (e.g. a tablet and a cream), and these could have different administrable forms (e.g. tablet as oral solid, or tablet crushed).", 0, java.lang.Integer.MAX_VALUE, formOf); + case -1268779589: /*formOf*/ return new Property("formOf", "Reference(MedicinalProductDefinition)", "References a product from which one or more of the constituent parts of that product can be prepared and used as described by this administrable product. If this administrable product describes the administration of a crushed tablet, the 'formOf' would be the product representing a distribution containing tablets and possibly also a cream. This is distinct from the 'producedFrom' which refers to the specific components of the product that are used in this preparation, rather than the product as a whole.", 0, java.lang.Integer.MAX_VALUE, formOf); case 1446105202: /*administrableDoseForm*/ return new Property("administrableDoseForm", "CodeableConcept", "The dose form of the final product after necessary reconstitution or processing. Contrasts to the manufactured dose form (see ManufacturedItemDefinition). If the manufactured form was 'powder for solution for injection', the administrable dose form could be 'solution for injection' (once mixed with another item having manufactured form 'solvent for solution for injection').", 0, 1, administrableDoseForm); case -1427765963: /*unitOfPresentation*/ return new Property("unitOfPresentation", "CodeableConcept", "The presentation type in which this item is given to a patient. e.g. for a spray - 'puff' (as in 'contains 100 mcg per puff'), or for a liquid - 'vial' (as in 'contains 5 ml per vial').", 0, 1, unitOfPresentation); - case 588380494: /*producedFrom*/ return new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "The constituent manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solvent item, to make a consumable solution). Note the items this is produced from are not raw ingredients (see AdministrableProductDefinition.ingredient), but manufactured medication items (ManufacturedItemDefinitions), which may be combined or prepared and transformed for patient use. The constituent items that this administrable form is produced from are all part of the product (for which see AdministrableProductDefinition.formOf).", 0, java.lang.Integer.MAX_VALUE, producedFrom); + case 588380494: /*producedFrom*/ return new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "Indicates the specific manufactured items that are part of the 'formOf' product that are used in the preparation of this specific administrable form. In some cases, an administrable form might use all of the items from the overall product (or there might only be one item), while in other cases, an administrable form might use only a subset of the items available in the overall product. For example, an administrable form might involve combining a liquid and a powder available as part of an overall product, but not involve applying the also supplied cream.", 0, java.lang.Integer.MAX_VALUE, producedFrom); case -206409263: /*ingredient*/ return new Property("ingredient", "CodeableConcept", "The ingredients of this administrable medicinal product. This is only needed if the ingredients are not specified either using ManufacturedItemDefiniton (via AdministrableProductDefinition.producedFrom) to state which component items are used to make this, or using by incoming references from the Ingredient resource, to state in detail which substances exist within this. This element allows a basic coded ingredient to be used.", 0, java.lang.Integer.MAX_VALUE, ingredient); case -1335157162: /*device*/ return new Property("device", "Reference(DeviceDefinition)", "A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged.", 0, 1, device); - case -993141291: /*property*/ return new Property("property", "", "Characteristics e.g. a products onset of action.", 0, java.lang.Integer.MAX_VALUE, property); - case 1742084734: /*routeOfAdministration*/ return new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route.", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration); + case -993141291: /*property*/ return new Property("property", "", "Characteristics e.g. a product's onset of action.", 0, java.lang.Integer.MAX_VALUE, property); + case 1742084734: /*routeOfAdministration*/ return new Property("routeOfAdministration", "", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. RouteOfAdministration cannot be used when the 'formOf' product already uses MedicinalProductDefinition.route (and vice versa).", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2207,184 +2215,6 @@ public class AdministrableProductDefinition extends DomainResource { return ResourceType.AdministrableProductDefinition; } - /** - * Search parameter: device - *

- * Description: A device that is integral to the medicinal product, in effect being considered as an "ingredient" of the medicinal product. This is not intended for devices that are just co-packaged
- * Type: reference
- * Path: AdministrableProductDefinition.device
- *

- */ - @SearchParamDefinition(name="device", path="AdministrableProductDefinition.device", description="A device that is integral to the medicinal product, in effect being considered as an \"ingredient\" of the medicinal product. This is not intended for devices that are just co-packaged", type="reference", target={DeviceDefinition.class } ) - public static final String SP_DEVICE = "device"; - /** - * Fluent Client search parameter constant for device - *

- * Description: A device that is integral to the medicinal product, in effect being considered as an "ingredient" of the medicinal product. This is not intended for devices that are just co-packaged
- * Type: reference
- * Path: AdministrableProductDefinition.device
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdministrableProductDefinition:device". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE = new ca.uhn.fhir.model.api.Include("AdministrableProductDefinition:device").toLocked(); - - /** - * Search parameter: dose-form - *

- * Description: The administrable dose form, i.e. the dose form of the final product after necessary reconstitution or processing
- * Type: token
- * Path: AdministrableProductDefinition.administrableDoseForm
- *

- */ - @SearchParamDefinition(name="dose-form", path="AdministrableProductDefinition.administrableDoseForm", description="The administrable dose form, i.e. the dose form of the final product after necessary reconstitution or processing", type="token" ) - public static final String SP_DOSE_FORM = "dose-form"; - /** - * Fluent Client search parameter constant for dose-form - *

- * Description: The administrable dose form, i.e. the dose form of the final product after necessary reconstitution or processing
- * Type: token
- * Path: AdministrableProductDefinition.administrableDoseForm
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOSE_FORM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOSE_FORM); - - /** - * Search parameter: form-of - *

- * Description: The medicinal product that this is an administrable form of. This is not a reference to the item(s) that make up this administrable form - it is the whole product
- * Type: reference
- * Path: AdministrableProductDefinition.formOf
- *

- */ - @SearchParamDefinition(name="form-of", path="AdministrableProductDefinition.formOf", description="The medicinal product that this is an administrable form of. This is not a reference to the item(s) that make up this administrable form - it is the whole product", type="reference", target={MedicinalProductDefinition.class } ) - public static final String SP_FORM_OF = "form-of"; - /** - * Fluent Client search parameter constant for form-of - *

- * Description: The medicinal product that this is an administrable form of. This is not a reference to the item(s) that make up this administrable form - it is the whole product
- * Type: reference
- * Path: AdministrableProductDefinition.formOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FORM_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FORM_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdministrableProductDefinition:form-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FORM_OF = new ca.uhn.fhir.model.api.Include("AdministrableProductDefinition:form-of").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: An identifier for the administrable product
- * Type: token
- * Path: AdministrableProductDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AdministrableProductDefinition.identifier", description="An identifier for the administrable product", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An identifier for the administrable product
- * Type: token
- * Path: AdministrableProductDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: ingredient - *

- * Description: The ingredients of this administrable medicinal product
- * Type: token
- * Path: AdministrableProductDefinition.ingredient
- *

- */ - @SearchParamDefinition(name="ingredient", path="AdministrableProductDefinition.ingredient", description="The ingredients of this administrable medicinal product", type="token" ) - public static final String SP_INGREDIENT = "ingredient"; - /** - * Fluent Client search parameter constant for ingredient - *

- * Description: The ingredients of this administrable medicinal product
- * Type: token
- * Path: AdministrableProductDefinition.ingredient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INGREDIENT); - - /** - * Search parameter: manufactured-item - *

- * Description: The manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solution item). Note that these are not raw ingredients
- * Type: reference
- * Path: AdministrableProductDefinition.producedFrom
- *

- */ - @SearchParamDefinition(name="manufactured-item", path="AdministrableProductDefinition.producedFrom", description="The manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solution item). Note that these are not raw ingredients", type="reference", target={ManufacturedItemDefinition.class } ) - public static final String SP_MANUFACTURED_ITEM = "manufactured-item"; - /** - * Fluent Client search parameter constant for manufactured-item - *

- * Description: The manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solution item). Note that these are not raw ingredients
- * Type: reference
- * Path: AdministrableProductDefinition.producedFrom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANUFACTURED_ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANUFACTURED_ITEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdministrableProductDefinition:manufactured-item". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANUFACTURED_ITEM = new ca.uhn.fhir.model.api.Include("AdministrableProductDefinition:manufactured-item").toLocked(); - - /** - * Search parameter: route - *

- * Description: Coded expression for the route
- * Type: token
- * Path: AdministrableProductDefinition.routeOfAdministration.code
- *

- */ - @SearchParamDefinition(name="route", path="AdministrableProductDefinition.routeOfAdministration.code", description="Coded expression for the route", type="token" ) - public static final String SP_ROUTE = "route"; - /** - * Fluent Client search parameter constant for route - *

- * Description: Coded expression for the route
- * Type: token
- * Path: AdministrableProductDefinition.routeOfAdministration.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROUTE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ROUTE); - - /** - * Search parameter: target-species - *

- * Description: Coded expression for the species
- * Type: token
- * Path: AdministrableProductDefinition.routeOfAdministration.targetSpecies.code
- *

- */ - @SearchParamDefinition(name="target-species", path="AdministrableProductDefinition.routeOfAdministration.targetSpecies.code", description="Coded expression for the species", type="token" ) - public static final String SP_TARGET_SPECIES = "target-species"; - /** - * Fluent Client search parameter constant for target-species - *

- * Description: Coded expression for the species
- * Type: token
- * Path: AdministrableProductDefinition.routeOfAdministration.targetSpecies.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_SPECIES = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_SPECIES); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdverseEvent.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdverseEvent.java index d5f1e7a7e..24bb5a0d3 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdverseEvent.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AdverseEvent.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class AdverseEvent extends DomainResource { switch (this) { case ACTUAL: return "actual"; case POTENTIAL: return "potential"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class AdverseEvent extends DomainResource { switch (this) { case ACTUAL: return "http://hl7.org/fhir/adverse-event-actuality"; case POTENTIAL: return "http://hl7.org/fhir/adverse-event-actuality"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class AdverseEvent extends DomainResource { switch (this) { case ACTUAL: return "The adverse event actually happened regardless of whether anyone was affected or harmed."; case POTENTIAL: return "A potential adverse event."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class AdverseEvent extends DomainResource { switch (this) { case ACTUAL: return "Adverse Event"; case POTENTIAL: return "Potential Adverse Event"; + case NULL: return null; default: return "?"; } } @@ -188,6 +192,7 @@ public class AdverseEvent extends DomainResource { case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -197,6 +202,7 @@ public class AdverseEvent extends DomainResource { case COMPLETED: return "http://hl7.org/fhir/event-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/event-status"; case UNKNOWN: return "http://hl7.org/fhir/event-status"; + case NULL: return null; default: return "?"; } } @@ -206,6 +212,7 @@ public class AdverseEvent extends DomainResource { case COMPLETED: return "The event has now concluded."; case ENTEREDINERROR: return "This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"stopped\" rather than \"entered-in-error\".)."; case UNKNOWN: return "The authoring/source system does not know which of the status values currently applies for this event. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which."; + case NULL: return null; default: return "?"; } } @@ -215,6 +222,7 @@ public class AdverseEvent extends DomainResource { case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -484,7 +492,7 @@ public class AdverseEvent extends DomainResource { /** * Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device. */ - @Child(name = "instance", type = {CodeableConcept.class, Immunization.class, Procedure.class, Substance.class, Medication.class, MedicationAdministration.class, MedicationUsage.class, Device.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Child(name = "instance", type = {CodeableConcept.class, Immunization.class, Procedure.class, Substance.class, Medication.class, MedicationAdministration.class, MedicationUsage.class, Device.class, BiologicallyDerivedProduct.class, ResearchStudy.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Refers to the specific entity that caused the adverse event", formalDefinition="Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device." ) protected DataType instance; @@ -589,17 +597,17 @@ public class AdverseEvent extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("instance[x]", "CodeableConcept|Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance)); + children.add(new Property("instance[x]", "CodeableConcept|Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device|BiologicallyDerivedProduct|ResearchStudy)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance)); children.add(new Property("causality", "", "Information on the possible cause of the event.", 0, 1, causality)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -2101998645: /*instance[x]*/ return new Property("instance[x]", "CodeableConcept|Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); - case 555127957: /*instance*/ return new Property("instance[x]", "CodeableConcept|Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); + case -2101998645: /*instance[x]*/ return new Property("instance[x]", "CodeableConcept|Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device|BiologicallyDerivedProduct|ResearchStudy)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); + case 555127957: /*instance*/ return new Property("instance[x]", "CodeableConcept|Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device|BiologicallyDerivedProduct|ResearchStudy)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); case 697546316: /*instanceCodeableConcept*/ return new Property("instance[x]", "CodeableConcept", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); - case -1675877834: /*instanceReference*/ return new Property("instance[x]", "Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); + case -1675877834: /*instanceReference*/ return new Property("instance[x]", "Reference(Immunization|Procedure|Substance|Medication|MedicationAdministration|MedicationUsage|Device|BiologicallyDerivedProduct|ResearchStudy)", "Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.", 0, 1, instance); case -1446450521: /*causality*/ return new Property("causality", "", "Information on the possible cause of the event.", 0, 1, causality); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1786,10 +1794,10 @@ public class AdverseEvent extends DomainResource { protected Enumeration status; /** - * Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely. + * Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely. */ @Child(name = "actuality", type = {CodeType.class}, order=2, min=1, max=1, modifier=true, summary=true) - @Description(shortDefinition="actual | potential", formalDefinition="Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely." ) + @Description(shortDefinition="actual | potential", formalDefinition="Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/adverse-event-actuality") protected Enumeration actuality; @@ -1888,49 +1896,56 @@ public class AdverseEvent extends DomainResource { @Description(shortDefinition="Who was involved in the adverse event or the potential adverse event and what they did", formalDefinition="Indicates who or what participated in the adverse event and how they were involved." ) protected List participant; + /** + * Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely. + */ + @Child(name = "expectedInResearchStudy", type = {BooleanType.class}, order=16, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Considered likely or probable or anticipated in the research study", formalDefinition="Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely." ) + protected BooleanType expectedInResearchStudy; + /** * Describes the entity that is suspected to have caused the adverse event. */ - @Child(name = "suspectEntity", type = {}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "suspectEntity", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The suspected agent causing the adverse event", formalDefinition="Describes the entity that is suspected to have caused the adverse event." ) protected List suspectEntity; /** * The contributing factors suspected to have increased the probability or severity of the adverse event. */ - @Child(name = "contributingFactor", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "contributingFactor", type = {}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Contributing factors suspected to have increased the probability or severity of the adverse event", formalDefinition="The contributing factors suspected to have increased the probability or severity of the adverse event." ) protected List contributingFactor; /** * Preventive actions that contributed to avoiding the adverse event. */ - @Child(name = "preventiveAction", type = {}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "preventiveAction", type = {}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Preventive actions that contributed to avoiding the adverse event", formalDefinition="Preventive actions that contributed to avoiding the adverse event." ) protected List preventiveAction; /** * The ameliorating action taken after the adverse event occured in order to reduce the extent of harm. */ - @Child(name = "mitigatingAction", type = {}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "mitigatingAction", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Ameliorating actions taken after the adverse event occured in order to reduce the extent of harm", formalDefinition="The ameliorating action taken after the adverse event occured in order to reduce the extent of harm." ) protected List mitigatingAction; /** * Supporting information relevant to the event. */ - @Child(name = "supportingInfo", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "supportingInfo", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Supporting information relevant to the event", formalDefinition="Supporting information relevant to the event." ) protected List supportingInfo; /** * The research study that the subject is enrolled in. */ - @Child(name = "study", type = {ResearchStudy.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "study", type = {ResearchStudy.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Research study that the subject is enrolled in", formalDefinition="The research study that the subject is enrolled in." ) protected List study; - private static final long serialVersionUID = 1528004510L; + private static final long serialVersionUID = 1950308679L; /** * Constructor @@ -2048,7 +2063,7 @@ public class AdverseEvent extends DomainResource { } /** - * @return {@link #actuality} (Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.). This is the underlying object with id, value and extensions. The accessor "getActuality" gives direct access to the value + * @return {@link #actuality} (Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely.). This is the underlying object with id, value and extensions. The accessor "getActuality" gives direct access to the value */ public Enumeration getActualityElement() { if (this.actuality == null) @@ -2068,7 +2083,7 @@ public class AdverseEvent extends DomainResource { } /** - * @param value {@link #actuality} (Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.). This is the underlying object with id, value and extensions. The accessor "getActuality" gives direct access to the value + * @param value {@link #actuality} (Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely.). This is the underlying object with id, value and extensions. The accessor "getActuality" gives direct access to the value */ public AdverseEvent setActualityElement(Enumeration value) { this.actuality = value; @@ -2076,14 +2091,14 @@ public class AdverseEvent extends DomainResource { } /** - * @return Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely. + * @return Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely. */ public AdverseEventActuality getActuality() { return this.actuality == null ? null : this.actuality.getValue(); } /** - * @param value Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely. + * @param value Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely. */ public AdverseEvent setActuality(AdverseEventActuality value) { if (this.actuality == null) @@ -2612,6 +2627,51 @@ public class AdverseEvent extends DomainResource { return getParticipant().get(0); } + /** + * @return {@link #expectedInResearchStudy} (Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely.). This is the underlying object with id, value and extensions. The accessor "getExpectedInResearchStudy" gives direct access to the value + */ + public BooleanType getExpectedInResearchStudyElement() { + if (this.expectedInResearchStudy == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create AdverseEvent.expectedInResearchStudy"); + else if (Configuration.doAutoCreate()) + this.expectedInResearchStudy = new BooleanType(); // bb + return this.expectedInResearchStudy; + } + + public boolean hasExpectedInResearchStudyElement() { + return this.expectedInResearchStudy != null && !this.expectedInResearchStudy.isEmpty(); + } + + public boolean hasExpectedInResearchStudy() { + return this.expectedInResearchStudy != null && !this.expectedInResearchStudy.isEmpty(); + } + + /** + * @param value {@link #expectedInResearchStudy} (Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely.). This is the underlying object with id, value and extensions. The accessor "getExpectedInResearchStudy" gives direct access to the value + */ + public AdverseEvent setExpectedInResearchStudyElement(BooleanType value) { + this.expectedInResearchStudy = value; + return this; + } + + /** + * @return Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely. + */ + public boolean getExpectedInResearchStudy() { + return this.expectedInResearchStudy == null || this.expectedInResearchStudy.isEmpty() ? false : this.expectedInResearchStudy.getValue(); + } + + /** + * @param value Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely. + */ + public AdverseEvent setExpectedInResearchStudy(boolean value) { + if (this.expectedInResearchStudy == null) + this.expectedInResearchStudy = new BooleanType(); + this.expectedInResearchStudy.setValue(value); + return this; + } + /** * @return {@link #suspectEntity} (Describes the entity that is suspected to have caused the adverse event.) */ @@ -2934,7 +2994,7 @@ public class AdverseEvent extends DomainResource { super.listChildren(children); children.add(new Property("identifier", "Identifier", "Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("status", "code", "The current state of the adverse event or potential adverse event.", 0, 1, status)); - children.add(new Property("actuality", "code", "Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.", 0, 1, actuality)); + children.add(new Property("actuality", "code", "Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely.", 0, 1, actuality)); children.add(new Property("category", "CodeableConcept", "The overall type of event, intended for search and filtering purposes.", 0, java.lang.Integer.MAX_VALUE, category)); children.add(new Property("code", "CodeableConcept", "Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.", 0, 1, code)); children.add(new Property("subject", "Reference(Patient|Group|Practitioner|RelatedPerson)", "This subject or group impacted by the event.", 0, 1, subject)); @@ -2948,6 +3008,7 @@ public class AdverseEvent extends DomainResource { children.add(new Property("outcome", "CodeableConcept", "Describes the type of outcome from the adverse event, such as resolved, recovering, ongoing, resolved-with-sequelae, or fatal.", 0, java.lang.Integer.MAX_VALUE, outcome)); children.add(new Property("recorder", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson)", "Information on who recorded the adverse event. May be the patient or a practitioner.", 0, 1, recorder)); children.add(new Property("participant", "", "Indicates who or what participated in the adverse event and how they were involved.", 0, java.lang.Integer.MAX_VALUE, participant)); + children.add(new Property("expectedInResearchStudy", "boolean", "Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely.", 0, 1, expectedInResearchStudy)); children.add(new Property("suspectEntity", "", "Describes the entity that is suspected to have caused the adverse event.", 0, java.lang.Integer.MAX_VALUE, suspectEntity)); children.add(new Property("contributingFactor", "", "The contributing factors suspected to have increased the probability or severity of the adverse event.", 0, java.lang.Integer.MAX_VALUE, contributingFactor)); children.add(new Property("preventiveAction", "", "Preventive actions that contributed to avoiding the adverse event.", 0, java.lang.Integer.MAX_VALUE, preventiveAction)); @@ -2961,7 +3022,7 @@ public class AdverseEvent extends DomainResource { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier); case -892481550: /*status*/ return new Property("status", "code", "The current state of the adverse event or potential adverse event.", 0, 1, status); - case 528866400: /*actuality*/ return new Property("actuality", "code", "Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.", 0, 1, actuality); + case 528866400: /*actuality*/ return new Property("actuality", "code", "Whether the event actually happened or was a near miss. Note that this is independent of whether anyone was affected or harmed or how severely.", 0, 1, actuality); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "The overall type of event, intended for search and filtering purposes.", 0, java.lang.Integer.MAX_VALUE, category); case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.", 0, 1, code); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Practitioner|RelatedPerson)", "This subject or group impacted by the event.", 0, 1, subject); @@ -2979,6 +3040,7 @@ public class AdverseEvent extends DomainResource { case -1106507950: /*outcome*/ return new Property("outcome", "CodeableConcept", "Describes the type of outcome from the adverse event, such as resolved, recovering, ongoing, resolved-with-sequelae, or fatal.", 0, java.lang.Integer.MAX_VALUE, outcome); case -799233858: /*recorder*/ return new Property("recorder", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson)", "Information on who recorded the adverse event. May be the patient or a practitioner.", 0, 1, recorder); case 767422259: /*participant*/ return new Property("participant", "", "Indicates who or what participated in the adverse event and how they were involved.", 0, java.lang.Integer.MAX_VALUE, participant); + case -1071467023: /*expectedInResearchStudy*/ return new Property("expectedInResearchStudy", "boolean", "Considered likely or probable or anticipated in the research study. Whether the reported event matches any of the outcomes for the patient that are considered by the study as known or likely.", 0, 1, expectedInResearchStudy); case -1957422662: /*suspectEntity*/ return new Property("suspectEntity", "", "Describes the entity that is suspected to have caused the adverse event.", 0, java.lang.Integer.MAX_VALUE, suspectEntity); case -219647527: /*contributingFactor*/ return new Property("contributingFactor", "", "The contributing factors suspected to have increased the probability or severity of the adverse event.", 0, java.lang.Integer.MAX_VALUE, contributingFactor); case 2052341334: /*preventiveAction*/ return new Property("preventiveAction", "", "Preventive actions that contributed to avoiding the adverse event.", 0, java.lang.Integer.MAX_VALUE, preventiveAction); @@ -3009,6 +3071,7 @@ public class AdverseEvent extends DomainResource { case -1106507950: /*outcome*/ return this.outcome == null ? new Base[0] : this.outcome.toArray(new Base[this.outcome.size()]); // CodeableConcept case -799233858: /*recorder*/ return this.recorder == null ? new Base[0] : new Base[] {this.recorder}; // Reference case 767422259: /*participant*/ return this.participant == null ? new Base[0] : this.participant.toArray(new Base[this.participant.size()]); // AdverseEventParticipantComponent + case -1071467023: /*expectedInResearchStudy*/ return this.expectedInResearchStudy == null ? new Base[0] : new Base[] {this.expectedInResearchStudy}; // BooleanType case -1957422662: /*suspectEntity*/ return this.suspectEntity == null ? new Base[0] : this.suspectEntity.toArray(new Base[this.suspectEntity.size()]); // AdverseEventSuspectEntityComponent case -219647527: /*contributingFactor*/ return this.contributingFactor == null ? new Base[0] : this.contributingFactor.toArray(new Base[this.contributingFactor.size()]); // AdverseEventContributingFactorComponent case 2052341334: /*preventiveAction*/ return this.preventiveAction == null ? new Base[0] : this.preventiveAction.toArray(new Base[this.preventiveAction.size()]); // AdverseEventPreventiveActionComponent @@ -3073,6 +3136,9 @@ public class AdverseEvent extends DomainResource { case 767422259: // participant this.getParticipant().add((AdverseEventParticipantComponent) value); // AdverseEventParticipantComponent return value; + case -1071467023: // expectedInResearchStudy + this.expectedInResearchStudy = TypeConvertor.castToBoolean(value); // BooleanType + return value; case -1957422662: // suspectEntity this.getSuspectEntity().add((AdverseEventSuspectEntityComponent) value); // AdverseEventSuspectEntityComponent return value; @@ -3132,6 +3198,8 @@ public class AdverseEvent extends DomainResource { this.recorder = TypeConvertor.castToReference(value); // Reference } else if (name.equals("participant")) { this.getParticipant().add((AdverseEventParticipantComponent) value); + } else if (name.equals("expectedInResearchStudy")) { + this.expectedInResearchStudy = TypeConvertor.castToBoolean(value); // BooleanType } else if (name.equals("suspectEntity")) { this.getSuspectEntity().add((AdverseEventSuspectEntityComponent) value); } else if (name.equals("contributingFactor")) { @@ -3169,6 +3237,7 @@ public class AdverseEvent extends DomainResource { case -1106507950: return addOutcome(); case -799233858: return getRecorder(); case 767422259: return addParticipant(); + case -1071467023: return getExpectedInResearchStudyElement(); case -1957422662: return addSuspectEntity(); case -219647527: return addContributingFactor(); case 2052341334: return addPreventiveAction(); @@ -3199,6 +3268,7 @@ public class AdverseEvent extends DomainResource { case -1106507950: /*outcome*/ return new String[] {"CodeableConcept"}; case -799233858: /*recorder*/ return new String[] {"Reference"}; case 767422259: /*participant*/ return new String[] {}; + case -1071467023: /*expectedInResearchStudy*/ return new String[] {"boolean"}; case -1957422662: /*suspectEntity*/ return new String[] {}; case -219647527: /*contributingFactor*/ return new String[] {}; case 2052341334: /*preventiveAction*/ return new String[] {}; @@ -3275,6 +3345,9 @@ public class AdverseEvent extends DomainResource { else if (name.equals("participant")) { return addParticipant(); } + else if (name.equals("expectedInResearchStudy")) { + throw new FHIRException("Cannot call addChild on a primitive type AdverseEvent.expectedInResearchStudy"); + } else if (name.equals("suspectEntity")) { return addSuspectEntity(); } @@ -3346,6 +3419,7 @@ public class AdverseEvent extends DomainResource { for (AdverseEventParticipantComponent i : participant) dst.participant.add(i.copy()); }; + dst.expectedInResearchStudy = expectedInResearchStudy == null ? null : expectedInResearchStudy.copy(); if (suspectEntity != null) { dst.suspectEntity = new ArrayList(); for (AdverseEventSuspectEntityComponent i : suspectEntity) @@ -3394,10 +3468,10 @@ public class AdverseEvent extends DomainResource { && compareDeep(encounter, o.encounter, true) && compareDeep(occurrence, o.occurrence, true) && compareDeep(detected, o.detected, true) && compareDeep(recordedDate, o.recordedDate, true) && compareDeep(resultingCondition, o.resultingCondition, true) && compareDeep(location, o.location, true) && compareDeep(seriousness, o.seriousness, true) && compareDeep(outcome, o.outcome, true) - && compareDeep(recorder, o.recorder, true) && compareDeep(participant, o.participant, true) && compareDeep(suspectEntity, o.suspectEntity, true) - && compareDeep(contributingFactor, o.contributingFactor, true) && compareDeep(preventiveAction, o.preventiveAction, true) - && compareDeep(mitigatingAction, o.mitigatingAction, true) && compareDeep(supportingInfo, o.supportingInfo, true) - && compareDeep(study, o.study, true); + && compareDeep(recorder, o.recorder, true) && compareDeep(participant, o.participant, true) && compareDeep(expectedInResearchStudy, o.expectedInResearchStudy, true) + && compareDeep(suspectEntity, o.suspectEntity, true) && compareDeep(contributingFactor, o.contributingFactor, true) + && compareDeep(preventiveAction, o.preventiveAction, true) && compareDeep(mitigatingAction, o.mitigatingAction, true) + && compareDeep(supportingInfo, o.supportingInfo, true) && compareDeep(study, o.study, true); } @Override @@ -3408,14 +3482,16 @@ public class AdverseEvent extends DomainResource { return false; AdverseEvent o = (AdverseEvent) other_; return compareValues(status, o.status, true) && compareValues(actuality, o.actuality, true) && compareValues(detected, o.detected, true) - && compareValues(recordedDate, o.recordedDate, true); + && compareValues(recordedDate, o.recordedDate, true) && compareValues(expectedInResearchStudy, o.expectedInResearchStudy, true) + ; } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, actuality , category, code, subject, encounter, occurrence, detected, recordedDate, resultingCondition - , location, seriousness, outcome, recorder, participant, suspectEntity, contributingFactor - , preventiveAction, mitigatingAction, supportingInfo, study); + , location, seriousness, outcome, recorder, participant, expectedInResearchStudy + , suspectEntity, contributingFactor, preventiveAction, mitigatingAction, supportingInfo + , study); } @Override @@ -3423,328 +3499,6 @@ public class AdverseEvent extends DomainResource { return ResourceType.AdverseEvent; } - /** - * Search parameter: actuality - *

- * Description: actual | potential
- * Type: token
- * Path: AdverseEvent.actuality
- *

- */ - @SearchParamDefinition(name="actuality", path="AdverseEvent.actuality", description="actual | potential", type="token" ) - public static final String SP_ACTUALITY = "actuality"; - /** - * Fluent Client search parameter constant for actuality - *

- * Description: actual | potential
- * Type: token
- * Path: AdverseEvent.actuality
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTUALITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTUALITY); - - /** - * Search parameter: category - *

- * Description: wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site
- * Type: token
- * Path: AdverseEvent.category
- *

- */ - @SearchParamDefinition(name="category", path="AdverseEvent.category", description="wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site
- * Type: token
- * Path: AdverseEvent.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: code - *

- * Description: Event or incident that occurred or was averted
- * Type: token
- * Path: AdverseEvent.code
- *

- */ - @SearchParamDefinition(name="code", path="AdverseEvent.code", description="Event or incident that occurred or was averted", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Event or incident that occurred or was averted
- * Type: token
- * Path: AdverseEvent.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: When the event occurred
- * Type: date
- * Path: AdverseEvent.occurrence
- *

- */ - @SearchParamDefinition(name="date", path="AdverseEvent.occurrence", description="When the event occurred", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: When the event occurred
- * Type: date
- * Path: AdverseEvent.occurrence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Business identifier for the event
- * Type: token
- * Path: AdverseEvent.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AdverseEvent.identifier", description="Business identifier for the event", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier for the event
- * Type: token
- * Path: AdverseEvent.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: Location where adverse event occurred
- * Type: reference
- * Path: AdverseEvent.location
- *

- */ - @SearchParamDefinition(name="location", path="AdverseEvent.location", description="Location where adverse event occurred", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Location where adverse event occurred
- * Type: reference
- * Path: AdverseEvent.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("AdverseEvent:location").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Subject impacted by event
- * Type: reference
- * Path: AdverseEvent.subject
- *

- */ - @SearchParamDefinition(name="patient", path="AdverseEvent.subject", description="Subject impacted by event", type="reference", target={Group.class, Patient.class, Practitioner.class, RelatedPerson.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Subject impacted by event
- * Type: reference
- * Path: AdverseEvent.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("AdverseEvent:patient").toLocked(); - - /** - * Search parameter: recorder - *

- * Description: Who recorded the adverse event
- * Type: reference
- * Path: AdverseEvent.recorder
- *

- */ - @SearchParamDefinition(name="recorder", path="AdverseEvent.recorder", description="Who recorded the adverse event", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_RECORDER = "recorder"; - /** - * Fluent Client search parameter constant for recorder - *

- * Description: Who recorded the adverse event
- * Type: reference
- * Path: AdverseEvent.recorder
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECORDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECORDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:recorder". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECORDER = new ca.uhn.fhir.model.api.Include("AdverseEvent:recorder").toLocked(); - - /** - * Search parameter: resultingcondition - *

- * Description: Effect on the subject due to this event
- * Type: reference
- * Path: AdverseEvent.resultingCondition
- *

- */ - @SearchParamDefinition(name="resultingcondition", path="AdverseEvent.resultingCondition", description="Effect on the subject due to this event", type="reference", target={Condition.class } ) - public static final String SP_RESULTINGCONDITION = "resultingcondition"; - /** - * Fluent Client search parameter constant for resultingcondition - *

- * Description: Effect on the subject due to this event
- * Type: reference
- * Path: AdverseEvent.resultingCondition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESULTINGCONDITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESULTINGCONDITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:resultingcondition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESULTINGCONDITION = new ca.uhn.fhir.model.api.Include("AdverseEvent:resultingcondition").toLocked(); - - /** - * Search parameter: seriousness - *

- * Description: Seriousness or gravity of the event
- * Type: token
- * Path: AdverseEvent.seriousness
- *

- */ - @SearchParamDefinition(name="seriousness", path="AdverseEvent.seriousness", description="Seriousness or gravity of the event", type="token" ) - public static final String SP_SERIOUSNESS = "seriousness"; - /** - * Fluent Client search parameter constant for seriousness - *

- * Description: Seriousness or gravity of the event
- * Type: token
- * Path: AdverseEvent.seriousness
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERIOUSNESS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERIOUSNESS); - - /** - * Search parameter: status - *

- * Description: in-progress | completed | entered-in-error | unknown
- * Type: token
- * Path: AdverseEvent.status
- *

- */ - @SearchParamDefinition(name="status", path="AdverseEvent.status", description="in-progress | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: in-progress | completed | entered-in-error | unknown
- * Type: token
- * Path: AdverseEvent.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: study - *

- * Description: Research study that the subject is enrolled in
- * Type: reference
- * Path: AdverseEvent.study
- *

- */ - @SearchParamDefinition(name="study", path="AdverseEvent.study", description="Research study that the subject is enrolled in", type="reference", target={ResearchStudy.class } ) - public static final String SP_STUDY = "study"; - /** - * Fluent Client search parameter constant for study - *

- * Description: Research study that the subject is enrolled in
- * Type: reference
- * Path: AdverseEvent.study
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam STUDY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_STUDY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:study". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_STUDY = new ca.uhn.fhir.model.api.Include("AdverseEvent:study").toLocked(); - - /** - * Search parameter: subject - *

- * Description: Subject impacted by event
- * Type: reference
- * Path: AdverseEvent.subject
- *

- */ - @SearchParamDefinition(name="subject", path="AdverseEvent.subject", description="Subject impacted by event", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class, Practitioner.class, RelatedPerson.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Subject impacted by event
- * Type: reference
- * Path: AdverseEvent.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("AdverseEvent:subject").toLocked(); - - /** - * Search parameter: substance - *

- * Description: Refers to the specific entity that caused the adverse event
- * Type: reference
- * Path: (AdverseEvent.suspectEntity.instance as Reference)
- *

- */ - @SearchParamDefinition(name="substance", path="(AdverseEvent.suspectEntity.instance as Reference)", description="Refers to the specific entity that caused the adverse event", type="reference", target={Device.class, Immunization.class, Medication.class, MedicationAdministration.class, MedicationUsage.class, Procedure.class, Substance.class } ) - public static final String SP_SUBSTANCE = "substance"; - /** - * Fluent Client search parameter constant for substance - *

- * Description: Refers to the specific entity that caused the adverse event
- * Type: reference
- * Path: (AdverseEvent.suspectEntity.instance as Reference)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSTANCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBSTANCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AdverseEvent:substance". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSTANCE = new ca.uhn.fhir.model.api.Include("AdverseEvent:substance").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Age.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Age.java index d638707f1..02f291bb8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Age.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Age.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AllergyIntolerance.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AllergyIntolerance.java index 971a605f6..a17ee707b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AllergyIntolerance.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AllergyIntolerance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class AllergyIntolerance extends DomainResource { case MEDICATION: return "medication"; case ENVIRONMENT: return "environment"; case BIOLOGIC: return "biologic"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class AllergyIntolerance extends DomainResource { case MEDICATION: return "http://hl7.org/fhir/allergy-intolerance-category"; case ENVIRONMENT: return "http://hl7.org/fhir/allergy-intolerance-category"; case BIOLOGIC: return "http://hl7.org/fhir/allergy-intolerance-category"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class AllergyIntolerance extends DomainResource { case MEDICATION: return "Substances administered to achieve a physiological effect."; case ENVIRONMENT: return "Any substances that are encountered in the environment, including any substance not already classified as food, medication, or biologic."; case BIOLOGIC: return "A preparation that is synthesized from living organisms or their products, especially a human or animal protein, such as a hormone or antitoxin, that is used as a diagnostic, preventive, or therapeutic agent. Examples of biologic medications include: vaccines; allergenic extracts, which are used for both diagnosis and treatment (for example, allergy shots); gene therapies; cellular therapies. There are other biologic products, such as tissues, which are not typically associated with allergies."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class AllergyIntolerance extends DomainResource { case MEDICATION: return "Medication"; case ENVIRONMENT: return "Environment"; case BIOLOGIC: return "Biologic"; + case NULL: return null; default: return "?"; } } @@ -213,6 +217,7 @@ public class AllergyIntolerance extends DomainResource { case LOW: return "low"; case HIGH: return "high"; case UNABLETOASSESS: return "unable-to-assess"; + case NULL: return null; default: return "?"; } } @@ -221,6 +226,7 @@ public class AllergyIntolerance extends DomainResource { case LOW: return "http://hl7.org/fhir/allergy-intolerance-criticality"; case HIGH: return "http://hl7.org/fhir/allergy-intolerance-criticality"; case UNABLETOASSESS: return "http://hl7.org/fhir/allergy-intolerance-criticality"; + case NULL: return null; default: return "?"; } } @@ -229,6 +235,7 @@ public class AllergyIntolerance extends DomainResource { case LOW: return "Worst case result of a future exposure is not assessed to be life-threatening or having high potential for organ system failure."; case HIGH: return "Worst case result of a future exposure is assessed to be life-threatening or having high potential for organ system failure."; case UNABLETOASSESS: return "Unable to assess the worst case result of a future exposure."; + case NULL: return null; default: return "?"; } } @@ -237,6 +244,7 @@ public class AllergyIntolerance extends DomainResource { case LOW: return "Low Risk"; case HIGH: return "High Risk"; case UNABLETOASSESS: return "Unable to Assess Risk"; + case NULL: return null; default: return "?"; } } @@ -321,6 +329,7 @@ public class AllergyIntolerance extends DomainResource { case MILD: return "mild"; case MODERATE: return "moderate"; case SEVERE: return "severe"; + case NULL: return null; default: return "?"; } } @@ -329,6 +338,7 @@ public class AllergyIntolerance extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -337,6 +347,7 @@ public class AllergyIntolerance extends DomainResource { case MILD: return "Causes mild physiological effects."; case MODERATE: return "Causes moderate physiological effects."; case SEVERE: return "Causes severe physiological effects."; + case NULL: return null; default: return "?"; } } @@ -345,6 +356,7 @@ public class AllergyIntolerance extends DomainResource { case MILD: return "Mild"; case MODERATE: return "Moderate"; case SEVERE: return "Severe"; + case NULL: return null; default: return "?"; } } @@ -399,7 +411,7 @@ public class AllergyIntolerance extends DomainResource { */ ALLERGY, /** - * A propensity for adverse reactions to a substance that is not judged to be allergic or \"allergy-like\". These reactions are typically (but not necessarily) non-immune. They are to some degree idiosyncratic and/or patient-specific (i.e. are not a reaction that is expected to occur with most or all patients given similar circumstances). + * A propensity for adverse reactions to a substance that is judged to be not allergic or \"allergy-like\". These reactions are typically (but not necessarily) non-immune. They are to some degree idiosyncratic and/or patient-specific (i.e. are not a reaction that is expected to occur with most or all patients given similar circumstances). */ INTOLERANCE, /** @@ -422,6 +434,7 @@ public class AllergyIntolerance extends DomainResource { switch (this) { case ALLERGY: return "allergy"; case INTOLERANCE: return "intolerance"; + case NULL: return null; default: return "?"; } } @@ -429,13 +442,15 @@ public class AllergyIntolerance extends DomainResource { switch (this) { case ALLERGY: return "http://hl7.org/fhir/allergy-intolerance-type"; case INTOLERANCE: return "http://hl7.org/fhir/allergy-intolerance-type"; + case NULL: return null; default: return "?"; } } public String getDefinition() { switch (this) { case ALLERGY: return "A propensity for hypersensitive reaction(s) to a substance. These reactions are most typically type I hypersensitivity, plus other \"allergy-like\" reactions, including pseudoallergy."; - case INTOLERANCE: return "A propensity for adverse reactions to a substance that is not judged to be allergic or \"allergy-like\". These reactions are typically (but not necessarily) non-immune. They are to some degree idiosyncratic and/or patient-specific (i.e. are not a reaction that is expected to occur with most or all patients given similar circumstances)."; + case INTOLERANCE: return "A propensity for adverse reactions to a substance that is judged to be not allergic or \"allergy-like\". These reactions are typically (but not necessarily) non-immune. They are to some degree idiosyncratic and/or patient-specific (i.e. are not a reaction that is expected to occur with most or all patients given similar circumstances)."; + case NULL: return null; default: return "?"; } } @@ -443,6 +458,7 @@ public class AllergyIntolerance extends DomainResource { switch (this) { case ALLERGY: return "Allergy"; case INTOLERANCE: return "Intolerance"; + case NULL: return null; default: return "?"; } } @@ -485,6 +501,216 @@ public class AllergyIntolerance extends DomainResource { } } + @Block() + public static class AllergyIntoleranceParticipantComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance. + */ + @Child(name = "function", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Type of involvement", formalDefinition="Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participation-role-type") + protected CodeableConcept function; + + /** + * Indicates who or what participated in the activities related to the allergy or intolerance. + */ + @Child(name = "actor", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Device.class, Organization.class, CareTeam.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Who or what participated in the activities related to the allergy or intolerance", formalDefinition="Indicates who or what participated in the activities related to the allergy or intolerance." ) + protected Reference actor; + + private static final long serialVersionUID = -576943815L; + + /** + * Constructor + */ + public AllergyIntoleranceParticipantComponent() { + super(); + } + + /** + * Constructor + */ + public AllergyIntoleranceParticipantComponent(Reference actor) { + super(); + this.setActor(actor); + } + + /** + * @return {@link #function} (Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance.) + */ + public CodeableConcept getFunction() { + if (this.function == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create AllergyIntoleranceParticipantComponent.function"); + else if (Configuration.doAutoCreate()) + this.function = new CodeableConcept(); // cc + return this.function; + } + + public boolean hasFunction() { + return this.function != null && !this.function.isEmpty(); + } + + /** + * @param value {@link #function} (Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance.) + */ + public AllergyIntoleranceParticipantComponent setFunction(CodeableConcept value) { + this.function = value; + return this; + } + + /** + * @return {@link #actor} (Indicates who or what participated in the activities related to the allergy or intolerance.) + */ + public Reference getActor() { + if (this.actor == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create AllergyIntoleranceParticipantComponent.actor"); + else if (Configuration.doAutoCreate()) + this.actor = new Reference(); // cc + return this.actor; + } + + public boolean hasActor() { + return this.actor != null && !this.actor.isEmpty(); + } + + /** + * @param value {@link #actor} (Indicates who or what participated in the activities related to the allergy or intolerance.) + */ + public AllergyIntoleranceParticipantComponent setActor(Reference value) { + this.actor = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("function", "CodeableConcept", "Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance.", 0, 1, function)); + children.add(new Property("actor", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Device|Organization|CareTeam)", "Indicates who or what participated in the activities related to the allergy or intolerance.", 0, 1, actor)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 1380938712: /*function*/ return new Property("function", "CodeableConcept", "Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance.", 0, 1, function); + case 92645877: /*actor*/ return new Property("actor", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Device|Organization|CareTeam)", "Indicates who or what participated in the activities related to the allergy or intolerance.", 0, 1, actor); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 1380938712: /*function*/ return this.function == null ? new Base[0] : new Base[] {this.function}; // CodeableConcept + case 92645877: /*actor*/ return this.actor == null ? new Base[0] : new Base[] {this.actor}; // Reference + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 1380938712: // function + this.function = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 92645877: // actor + this.actor = TypeConvertor.castToReference(value); // Reference + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("function")) { + this.function = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("actor")) { + this.actor = TypeConvertor.castToReference(value); // Reference + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 1380938712: return getFunction(); + case 92645877: return getActor(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 1380938712: /*function*/ return new String[] {"CodeableConcept"}; + case 92645877: /*actor*/ return new String[] {"Reference"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("function")) { + this.function = new CodeableConcept(); + return this.function; + } + else if (name.equals("actor")) { + this.actor = new Reference(); + return this.actor; + } + else + return super.addChild(name); + } + + public AllergyIntoleranceParticipantComponent copy() { + AllergyIntoleranceParticipantComponent dst = new AllergyIntoleranceParticipantComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(AllergyIntoleranceParticipantComponent dst) { + super.copyValues(dst); + dst.function = function == null ? null : function.copy(); + dst.actor = actor == null ? null : actor.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof AllergyIntoleranceParticipantComponent)) + return false; + AllergyIntoleranceParticipantComponent o = (AllergyIntoleranceParticipantComponent) other_; + return compareDeep(function, o.function, true) && compareDeep(actor, o.actor, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof AllergyIntoleranceParticipantComponent)) + return false; + AllergyIntoleranceParticipantComponent o = (AllergyIntoleranceParticipantComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(function, actor); + } + + public String fhirType() { + return "AllergyIntolerance.participant"; + + } + + } + @Block() public static class AllergyIntoleranceReactionComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -1150,45 +1376,38 @@ public class AllergyIntolerance extends DomainResource { * The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date. */ @Child(name = "recordedDate", type = {DateTimeType.class}, order=10, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Date first version of the resource instance was recorded", formalDefinition="The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date." ) + @Description(shortDefinition="Date allergy or intolerance was first recorded", formalDefinition="The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date." ) protected DateTimeType recordedDate; /** - * Individual who recorded the record and takes responsibility for its content. + * Indicates who or what participated in the activities related to the allergy or intolerance and how they were involved. */ - @Child(name = "recorder", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Organization.class}, order=11, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Who recorded the sensitivity", formalDefinition="Individual who recorded the record and takes responsibility for its content." ) - protected Reference recorder; - - /** - * The source of the information about the allergy that is recorded. - */ - @Child(name = "asserter", type = {Patient.class, RelatedPerson.class, Practitioner.class, PractitionerRole.class}, order=12, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Source of the information about the allergy", formalDefinition="The source of the information about the allergy that is recorded." ) - protected Reference asserter; + @Child(name = "participant", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Who or what participated in the activities related to the allergy or intolerance and how they were involved", formalDefinition="Indicates who or what participated in the activities related to the allergy or intolerance and how they were involved." ) + protected List participant; /** * Represents the date and/or time of the last known occurrence of a reaction event. */ - @Child(name = "lastOccurrence", type = {DateTimeType.class}, order=13, min=0, max=1, modifier=false, summary=false) + @Child(name = "lastOccurrence", type = {DateTimeType.class}, order=12, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Date(/time) of last known occurrence of a reaction", formalDefinition="Represents the date and/or time of the last known occurrence of a reaction event." ) protected DateTimeType lastOccurrence; /** * Additional narrative about the propensity for the Adverse Reaction, not captured in other fields. */ - @Child(name = "note", type = {Annotation.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Additional text not captured in other fields", formalDefinition="Additional narrative about the propensity for the Adverse Reaction, not captured in other fields." ) protected List note; /** * Details about each adverse reaction event linked to exposure to the identified substance. */ - @Child(name = "reaction", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reaction", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Adverse Reaction Events linked to exposure to substance", formalDefinition="Details about each adverse reaction event linked to exposure to the identified substance." ) protected List reaction; - private static final long serialVersionUID = 1489554196L; + private static final long serialVersionUID = -1256090316L; /** * Constructor @@ -1683,51 +1902,56 @@ public class AllergyIntolerance extends DomainResource { } /** - * @return {@link #recorder} (Individual who recorded the record and takes responsibility for its content.) + * @return {@link #participant} (Indicates who or what participated in the activities related to the allergy or intolerance and how they were involved.) */ - public Reference getRecorder() { - if (this.recorder == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create AllergyIntolerance.recorder"); - else if (Configuration.doAutoCreate()) - this.recorder = new Reference(); // cc - return this.recorder; - } - - public boolean hasRecorder() { - return this.recorder != null && !this.recorder.isEmpty(); + public List getParticipant() { + if (this.participant == null) + this.participant = new ArrayList(); + return this.participant; } /** - * @param value {@link #recorder} (Individual who recorded the record and takes responsibility for its content.) + * @return Returns a reference to this for easy method chaining */ - public AllergyIntolerance setRecorder(Reference value) { - this.recorder = value; + public AllergyIntolerance setParticipant(List theParticipant) { + this.participant = theParticipant; + return this; + } + + public boolean hasParticipant() { + if (this.participant == null) + return false; + for (AllergyIntoleranceParticipantComponent item : this.participant) + if (!item.isEmpty()) + return true; + return false; + } + + public AllergyIntoleranceParticipantComponent addParticipant() { //3 + AllergyIntoleranceParticipantComponent t = new AllergyIntoleranceParticipantComponent(); + if (this.participant == null) + this.participant = new ArrayList(); + this.participant.add(t); + return t; + } + + public AllergyIntolerance addParticipant(AllergyIntoleranceParticipantComponent t) { //3 + if (t == null) + return this; + if (this.participant == null) + this.participant = new ArrayList(); + this.participant.add(t); return this; } /** - * @return {@link #asserter} (The source of the information about the allergy that is recorded.) + * @return The first repetition of repeating field {@link #participant}, creating it if it does not already exist {3} */ - public Reference getAsserter() { - if (this.asserter == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create AllergyIntolerance.asserter"); - else if (Configuration.doAutoCreate()) - this.asserter = new Reference(); // cc - return this.asserter; - } - - public boolean hasAsserter() { - return this.asserter != null && !this.asserter.isEmpty(); - } - - /** - * @param value {@link #asserter} (The source of the information about the allergy that is recorded.) - */ - public AllergyIntolerance setAsserter(Reference value) { - this.asserter = value; - return this; + public AllergyIntoleranceParticipantComponent getParticipantFirstRep() { + if (getParticipant().isEmpty()) { + addParticipant(); + } + return getParticipant().get(0); } /** @@ -1898,8 +2122,7 @@ public class AllergyIntolerance extends DomainResource { children.add(new Property("encounter", "Reference(Encounter)", "The encounter when the allergy or intolerance was asserted.", 0, 1, encounter)); children.add(new Property("onset[x]", "dateTime|Age|Period|Range|string", "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", 0, 1, onset)); children.add(new Property("recordedDate", "dateTime", "The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.", 0, 1, recordedDate)); - children.add(new Property("recorder", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization)", "Individual who recorded the record and takes responsibility for its content.", 0, 1, recorder)); - children.add(new Property("asserter", "Reference(Patient|RelatedPerson|Practitioner|PractitionerRole)", "The source of the information about the allergy that is recorded.", 0, 1, asserter)); + children.add(new Property("participant", "", "Indicates who or what participated in the activities related to the allergy or intolerance and how they were involved.", 0, java.lang.Integer.MAX_VALUE, participant)); children.add(new Property("lastOccurrence", "dateTime", "Represents the date and/or time of the last known occurrence of a reaction event.", 0, 1, lastOccurrence)); children.add(new Property("note", "Annotation", "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("reaction", "", "Details about each adverse reaction event linked to exposure to the identified substance.", 0, java.lang.Integer.MAX_VALUE, reaction)); @@ -1925,8 +2148,7 @@ public class AllergyIntolerance extends DomainResource { case -186664742: /*onsetRange*/ return new Property("onset[x]", "Range", "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", 0, 1, onset); case -1445342188: /*onsetString*/ return new Property("onset[x]", "string", "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", 0, 1, onset); case -1952893826: /*recordedDate*/ return new Property("recordedDate", "dateTime", "The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.", 0, 1, recordedDate); - case -799233858: /*recorder*/ return new Property("recorder", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization)", "Individual who recorded the record and takes responsibility for its content.", 0, 1, recorder); - case -373242253: /*asserter*/ return new Property("asserter", "Reference(Patient|RelatedPerson|Practitioner|PractitionerRole)", "The source of the information about the allergy that is recorded.", 0, 1, asserter); + case 767422259: /*participant*/ return new Property("participant", "", "Indicates who or what participated in the activities related to the allergy or intolerance and how they were involved.", 0, java.lang.Integer.MAX_VALUE, participant); case 1896977671: /*lastOccurrence*/ return new Property("lastOccurrence", "dateTime", "Represents the date and/or time of the last known occurrence of a reaction event.", 0, 1, lastOccurrence); case 3387378: /*note*/ return new Property("note", "Annotation", "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.", 0, java.lang.Integer.MAX_VALUE, note); case -867509719: /*reaction*/ return new Property("reaction", "", "Details about each adverse reaction event linked to exposure to the identified substance.", 0, java.lang.Integer.MAX_VALUE, reaction); @@ -1949,8 +2171,7 @@ public class AllergyIntolerance extends DomainResource { case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 105901603: /*onset*/ return this.onset == null ? new Base[0] : new Base[] {this.onset}; // DataType case -1952893826: /*recordedDate*/ return this.recordedDate == null ? new Base[0] : new Base[] {this.recordedDate}; // DateTimeType - case -799233858: /*recorder*/ return this.recorder == null ? new Base[0] : new Base[] {this.recorder}; // Reference - case -373242253: /*asserter*/ return this.asserter == null ? new Base[0] : new Base[] {this.asserter}; // Reference + case 767422259: /*participant*/ return this.participant == null ? new Base[0] : this.participant.toArray(new Base[this.participant.size()]); // AllergyIntoleranceParticipantComponent case 1896977671: /*lastOccurrence*/ return this.lastOccurrence == null ? new Base[0] : new Base[] {this.lastOccurrence}; // DateTimeType case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case -867509719: /*reaction*/ return this.reaction == null ? new Base[0] : this.reaction.toArray(new Base[this.reaction.size()]); // AllergyIntoleranceReactionComponent @@ -1998,11 +2219,8 @@ public class AllergyIntolerance extends DomainResource { case -1952893826: // recordedDate this.recordedDate = TypeConvertor.castToDateTime(value); // DateTimeType return value; - case -799233858: // recorder - this.recorder = TypeConvertor.castToReference(value); // Reference - return value; - case -373242253: // asserter - this.asserter = TypeConvertor.castToReference(value); // Reference + case 767422259: // participant + this.getParticipant().add((AllergyIntoleranceParticipantComponent) value); // AllergyIntoleranceParticipantComponent return value; case 1896977671: // lastOccurrence this.lastOccurrence = TypeConvertor.castToDateTime(value); // DateTimeType @@ -2045,10 +2263,8 @@ public class AllergyIntolerance extends DomainResource { this.onset = TypeConvertor.castToType(value); // DataType } else if (name.equals("recordedDate")) { this.recordedDate = TypeConvertor.castToDateTime(value); // DateTimeType - } else if (name.equals("recorder")) { - this.recorder = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("asserter")) { - this.asserter = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("participant")) { + this.getParticipant().add((AllergyIntoleranceParticipantComponent) value); } else if (name.equals("lastOccurrence")) { this.lastOccurrence = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("note")) { @@ -2075,8 +2291,7 @@ public class AllergyIntolerance extends DomainResource { case -1886216323: return getOnset(); case 105901603: return getOnset(); case -1952893826: return getRecordedDateElement(); - case -799233858: return getRecorder(); - case -373242253: return getAsserter(); + case 767422259: return addParticipant(); case 1896977671: return getLastOccurrenceElement(); case 3387378: return addNote(); case -867509719: return addReaction(); @@ -2099,8 +2314,7 @@ public class AllergyIntolerance extends DomainResource { case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 105901603: /*onset*/ return new String[] {"dateTime", "Age", "Period", "Range", "string"}; case -1952893826: /*recordedDate*/ return new String[] {"dateTime"}; - case -799233858: /*recorder*/ return new String[] {"Reference"}; - case -373242253: /*asserter*/ return new String[] {"Reference"}; + case 767422259: /*participant*/ return new String[] {}; case 1896977671: /*lastOccurrence*/ return new String[] {"dateTime"}; case 3387378: /*note*/ return new String[] {"Annotation"}; case -867509719: /*reaction*/ return new String[] {}; @@ -2166,13 +2380,8 @@ public class AllergyIntolerance extends DomainResource { else if (name.equals("recordedDate")) { throw new FHIRException("Cannot call addChild on a primitive type AllergyIntolerance.recordedDate"); } - else if (name.equals("recorder")) { - this.recorder = new Reference(); - return this.recorder; - } - else if (name.equals("asserter")) { - this.asserter = new Reference(); - return this.asserter; + else if (name.equals("participant")) { + return addParticipant(); } else if (name.equals("lastOccurrence")) { throw new FHIRException("Cannot call addChild on a primitive type AllergyIntolerance.lastOccurrence"); @@ -2219,8 +2428,11 @@ public class AllergyIntolerance extends DomainResource { dst.encounter = encounter == null ? null : encounter.copy(); dst.onset = onset == null ? null : onset.copy(); dst.recordedDate = recordedDate == null ? null : recordedDate.copy(); - dst.recorder = recorder == null ? null : recorder.copy(); - dst.asserter = asserter == null ? null : asserter.copy(); + if (participant != null) { + dst.participant = new ArrayList(); + for (AllergyIntoleranceParticipantComponent i : participant) + dst.participant.add(i.copy()); + }; dst.lastOccurrence = lastOccurrence == null ? null : lastOccurrence.copy(); if (note != null) { dst.note = new ArrayList(); @@ -2249,7 +2461,7 @@ public class AllergyIntolerance extends DomainResource { && compareDeep(verificationStatus, o.verificationStatus, true) && compareDeep(type, o.type, true) && compareDeep(category, o.category, true) && compareDeep(criticality, o.criticality, true) && compareDeep(code, o.code, true) && compareDeep(patient, o.patient, true) && compareDeep(encounter, o.encounter, true) && compareDeep(onset, o.onset, true) - && compareDeep(recordedDate, o.recordedDate, true) && compareDeep(recorder, o.recorder, true) && compareDeep(asserter, o.asserter, true) + && compareDeep(recordedDate, o.recordedDate, true) && compareDeep(participant, o.participant, true) && compareDeep(lastOccurrence, o.lastOccurrence, true) && compareDeep(note, o.note, true) && compareDeep(reaction, o.reaction, true) ; } @@ -2269,7 +2481,7 @@ public class AllergyIntolerance extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, clinicalStatus , verificationStatus, type, category, criticality, code, patient, encounter, onset - , recordedDate, recorder, asserter, lastOccurrence, note, reaction); + , recordedDate, participant, lastOccurrence, note, reaction); } @Override @@ -2277,568 +2489,6 @@ public class AllergyIntolerance extends DomainResource { return ResourceType.AllergyIntolerance; } - /** - * Search parameter: asserter - *

- * Description: Source of the information about the allergy
- * Type: reference
- * Path: AllergyIntolerance.asserter
- *

- */ - @SearchParamDefinition(name="asserter", path="AllergyIntolerance.asserter", description="Source of the information about the allergy", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ASSERTER = "asserter"; - /** - * Fluent Client search parameter constant for asserter - *

- * Description: Source of the information about the allergy
- * Type: reference
- * Path: AllergyIntolerance.asserter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ASSERTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ASSERTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AllergyIntolerance:asserter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ASSERTER = new ca.uhn.fhir.model.api.Include("AllergyIntolerance:asserter").toLocked(); - - /** - * Search parameter: category - *

- * Description: food | medication | environment | biologic
- * Type: token
- * Path: AllergyIntolerance.category
- *

- */ - @SearchParamDefinition(name="category", path="AllergyIntolerance.category", description="food | medication | environment | biologic", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: food | medication | environment | biologic
- * Type: token
- * Path: AllergyIntolerance.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: clinical-status - *

- * Description: active | inactive | resolved
- * Type: token
- * Path: AllergyIntolerance.clinicalStatus
- *

- */ - @SearchParamDefinition(name="clinical-status", path="AllergyIntolerance.clinicalStatus", description="active | inactive | resolved", type="token" ) - public static final String SP_CLINICAL_STATUS = "clinical-status"; - /** - * Fluent Client search parameter constant for clinical-status - *

- * Description: active | inactive | resolved
- * Type: token
- * Path: AllergyIntolerance.clinicalStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLINICAL_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLINICAL_STATUS); - - /** - * Search parameter: criticality - *

- * Description: low | high | unable-to-assess
- * Type: token
- * Path: AllergyIntolerance.criticality
- *

- */ - @SearchParamDefinition(name="criticality", path="AllergyIntolerance.criticality", description="low | high | unable-to-assess", type="token" ) - public static final String SP_CRITICALITY = "criticality"; - /** - * Fluent Client search parameter constant for criticality - *

- * Description: low | high | unable-to-assess
- * Type: token
- * Path: AllergyIntolerance.criticality
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CRITICALITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CRITICALITY); - - /** - * Search parameter: last-date - *

- * Description: Date(/time) of last known occurrence of a reaction
- * Type: date
- * Path: AllergyIntolerance.lastOccurrence
- *

- */ - @SearchParamDefinition(name="last-date", path="AllergyIntolerance.lastOccurrence", description="Date(/time) of last known occurrence of a reaction", type="date" ) - public static final String SP_LAST_DATE = "last-date"; - /** - * Fluent Client search parameter constant for last-date - *

- * Description: Date(/time) of last known occurrence of a reaction
- * Type: date
- * Path: AllergyIntolerance.lastOccurrence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam LAST_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_LAST_DATE); - - /** - * Search parameter: manifestation-code - *

- * Description: Clinical symptoms/signs associated with the Event
- * Type: token
- * Path: AllergyIntolerance.reaction.manifestation.concept
- *

- */ - @SearchParamDefinition(name="manifestation-code", path="AllergyIntolerance.reaction.manifestation.concept", description="Clinical symptoms/signs associated with the Event", type="token" ) - public static final String SP_MANIFESTATION_CODE = "manifestation-code"; - /** - * Fluent Client search parameter constant for manifestation-code - *

- * Description: Clinical symptoms/signs associated with the Event
- * Type: token
- * Path: AllergyIntolerance.reaction.manifestation.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MANIFESTATION_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MANIFESTATION_CODE); - - /** - * Search parameter: manifestation-reference - *

- * Description: Clinical symptoms/signs associated with the Event
- * Type: reference
- * Path: AllergyIntolerance.reaction.manifestation.reference
- *

- */ - @SearchParamDefinition(name="manifestation-reference", path="AllergyIntolerance.reaction.manifestation.reference", description="Clinical symptoms/signs associated with the Event", type="reference" ) - public static final String SP_MANIFESTATION_REFERENCE = "manifestation-reference"; - /** - * Fluent Client search parameter constant for manifestation-reference - *

- * Description: Clinical symptoms/signs associated with the Event
- * Type: reference
- * Path: AllergyIntolerance.reaction.manifestation.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANIFESTATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANIFESTATION_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AllergyIntolerance:manifestation-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANIFESTATION_REFERENCE = new ca.uhn.fhir.model.api.Include("AllergyIntolerance:manifestation-reference").toLocked(); - - /** - * Search parameter: recorder - *

- * Description: Who recorded the sensitivity
- * Type: reference
- * Path: AllergyIntolerance.recorder
- *

- */ - @SearchParamDefinition(name="recorder", path="AllergyIntolerance.recorder", description="Who recorded the sensitivity", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_RECORDER = "recorder"; - /** - * Fluent Client search parameter constant for recorder - *

- * Description: Who recorded the sensitivity
- * Type: reference
- * Path: AllergyIntolerance.recorder
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECORDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECORDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AllergyIntolerance:recorder". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECORDER = new ca.uhn.fhir.model.api.Include("AllergyIntolerance:recorder").toLocked(); - - /** - * Search parameter: route - *

- * Description: How the subject was exposed to the substance
- * Type: token
- * Path: AllergyIntolerance.reaction.exposureRoute
- *

- */ - @SearchParamDefinition(name="route", path="AllergyIntolerance.reaction.exposureRoute", description="How the subject was exposed to the substance", type="token" ) - public static final String SP_ROUTE = "route"; - /** - * Fluent Client search parameter constant for route - *

- * Description: How the subject was exposed to the substance
- * Type: token
- * Path: AllergyIntolerance.reaction.exposureRoute
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROUTE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ROUTE); - - /** - * Search parameter: severity - *

- * Description: mild | moderate | severe (of event as a whole)
- * Type: token
- * Path: AllergyIntolerance.reaction.severity
- *

- */ - @SearchParamDefinition(name="severity", path="AllergyIntolerance.reaction.severity", description="mild | moderate | severe (of event as a whole)", type="token" ) - public static final String SP_SEVERITY = "severity"; - /** - * Fluent Client search parameter constant for severity - *

- * Description: mild | moderate | severe (of event as a whole)
- * Type: token
- * Path: AllergyIntolerance.reaction.severity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SEVERITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SEVERITY); - - /** - * Search parameter: verification-status - *

- * Description: unconfirmed | presumed | confirmed | refuted | entered-in-error
- * Type: token
- * Path: AllergyIntolerance.verificationStatus
- *

- */ - @SearchParamDefinition(name="verification-status", path="AllergyIntolerance.verificationStatus", description="unconfirmed | presumed | confirmed | refuted | entered-in-error", type="token" ) - public static final String SP_VERIFICATION_STATUS = "verification-status"; - /** - * Fluent Client search parameter constant for verification-status - *

- * Description: unconfirmed | presumed | confirmed | refuted | entered-in-error
- * Type: token
- * Path: AllergyIntolerance.verificationStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERIFICATION_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERIFICATION_STATUS); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AllergyIntolerance:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("AllergyIntolerance:patient").toLocked(); - - /** - * Search parameter: type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - @SearchParamDefinition(name="type", path="AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html): Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html): Kind of document set\r\n* [DocumentReference](documentreference.html): Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html): Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management\r\n", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Annotation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Annotation.java index 39f92c0c1..375fee196 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Annotation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Annotation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Appointment.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Appointment.java index c33c393c6..a8888b1cb 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Appointment.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Appointment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -138,6 +138,7 @@ public class Appointment extends DomainResource { case ENTEREDINERROR: return "entered-in-error"; case CHECKEDIN: return "checked-in"; case WAITLIST: return "waitlist"; + case NULL: return null; default: return "?"; } } @@ -153,6 +154,7 @@ public class Appointment extends DomainResource { case ENTEREDINERROR: return "http://hl7.org/fhir/appointmentstatus"; case CHECKEDIN: return "http://hl7.org/fhir/appointmentstatus"; case WAITLIST: return "http://hl7.org/fhir/appointmentstatus"; + case NULL: return null; default: return "?"; } } @@ -168,6 +170,7 @@ public class Appointment extends DomainResource { case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; case CHECKEDIN: return "When checked in, all pre-encounter administrative work is complete, and the encounter may begin. (where multiple patients are involved, they are all present)."; case WAITLIST: return "The appointment has been placed on a waitlist, to be scheduled/confirmed in the future when a slot/service is available.\nA specific time might or might not be pre-allocated."; + case NULL: return null; default: return "?"; } } @@ -183,6 +186,7 @@ public class Appointment extends DomainResource { case ENTEREDINERROR: return "Entered in error"; case CHECKEDIN: return "Checked In"; case WAITLIST: return "Waitlisted"; + case NULL: return null; default: return "?"; } } @@ -732,10 +736,10 @@ public class Appointment extends DomainResource { /** * The specific service that is to be performed during this appointment. */ - @Child(name = "serviceType", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "serviceType", type = {CodeableReference.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The specific service that is to be performed during this appointment", formalDefinition="The specific service that is to be performed during this appointment." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-type") - protected List serviceType; + protected List serviceType; /** * The specialty of a practitioner that would be required to perform the service requested in this appointment. @@ -847,10 +851,10 @@ public class Appointment extends DomainResource { protected List patientInstruction; /** - * The service request this appointment is allocated to assess (e.g. incoming referral or procedure request). + * The request this appointment is allocated to assess (e.g. incoming referral or procedure request). */ - @Child(name = "basedOn", type = {ServiceRequest.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="The service request this appointment is allocated to assess", formalDefinition="The service request this appointment is allocated to assess (e.g. incoming referral or procedure request)." ) + @Child(name = "basedOn", type = {CarePlan.class, DeviceRequest.class, MedicationRequest.class, ServiceRequest.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The request this appointment is allocated to assess", formalDefinition="The request this appointment is allocated to assess (e.g. incoming referral or procedure request)." ) protected List basedOn; /** @@ -876,7 +880,7 @@ The duration (usually in minutes) could also be provided to indicate the length @Description(shortDefinition="Potential date/time interval(s) requested to allocate the appointment within", formalDefinition="A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within.\n\nThe duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system." ) protected List requestedPeriod; - private static final long serialVersionUID = -1812760665L; + private static final long serialVersionUID = -1643708854L; /** * Constructor @@ -1072,16 +1076,16 @@ The duration (usually in minutes) could also be provided to indicate the length /** * @return {@link #serviceType} (The specific service that is to be performed during this appointment.) */ - public List getServiceType() { + public List getServiceType() { if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); return this.serviceType; } /** * @return Returns a reference to this for easy method chaining */ - public Appointment setServiceType(List theServiceType) { + public Appointment setServiceType(List theServiceType) { this.serviceType = theServiceType; return this; } @@ -1089,25 +1093,25 @@ The duration (usually in minutes) could also be provided to indicate the length public boolean hasServiceType() { if (this.serviceType == null) return false; - for (CodeableConcept item : this.serviceType) + for (CodeableReference item : this.serviceType) if (!item.isEmpty()) return true; return false; } - public CodeableConcept addServiceType() { //3 - CodeableConcept t = new CodeableConcept(); + public CodeableReference addServiceType() { //3 + CodeableReference t = new CodeableReference(); if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); this.serviceType.add(t); return t; } - public Appointment addServiceType(CodeableConcept t) { //3 + public Appointment addServiceType(CodeableReference t) { //3 if (t == null) return this; if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); this.serviceType.add(t); return this; } @@ -1115,7 +1119,7 @@ The duration (usually in minutes) could also be provided to indicate the length /** * @return The first repetition of repeating field {@link #serviceType}, creating it if it does not already exist {3} */ - public CodeableConcept getServiceTypeFirstRep() { + public CodeableReference getServiceTypeFirstRep() { if (getServiceType().isEmpty()) { addServiceType(); } @@ -1836,7 +1840,7 @@ The duration (usually in minutes) could also be provided to indicate the length } /** - * @return {@link #basedOn} (The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).) + * @return {@link #basedOn} (The request this appointment is allocated to assess (e.g. incoming referral or procedure request).) */ public List getBasedOn() { if (this.basedOn == null) @@ -2026,7 +2030,7 @@ The duration (usually in minutes) could also be provided to indicate the length children.add(new Property("status", "code", "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.", 0, 1, status)); children.add(new Property("cancellationReason", "CodeableConcept", "The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.", 0, 1, cancellationReason)); children.add(new Property("serviceCategory", "CodeableConcept", "A broad categorization of the service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceCategory)); - children.add(new Property("serviceType", "CodeableConcept", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType)); + children.add(new Property("serviceType", "CodeableReference(HealthcareService)", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType)); children.add(new Property("specialty", "CodeableConcept", "The specialty of a practitioner that would be required to perform the service requested in this appointment.", 0, java.lang.Integer.MAX_VALUE, specialty)); children.add(new Property("appointmentType", "CodeableConcept", "The style of appointment or patient that has been booked in the slot (not service type).", 0, 1, appointmentType)); children.add(new Property("reason", "CodeableReference(Condition|Procedure|Observation|ImmunizationRecommendation)", "The reason that this appointment is being scheduled. This is more clinical than administrative. This can be coded, or as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.", 0, java.lang.Integer.MAX_VALUE, reason)); @@ -2042,7 +2046,7 @@ The duration (usually in minutes) could also be provided to indicate the length children.add(new Property("created", "dateTime", "The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.", 0, 1, created)); children.add(new Property("note", "Annotation", "Additional notes/comments about the appointment.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("patientInstruction", "CodeableReference(DocumentReference|Binary|Communication)", "While Appointment.note contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before).", 0, java.lang.Integer.MAX_VALUE, patientInstruction)); - children.add(new Property("basedOn", "Reference(ServiceRequest)", "The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("basedOn", "Reference(CarePlan|DeviceRequest|MedicationRequest|ServiceRequest)", "The request this appointment is allocated to assess (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn)); children.add(new Property("subject", "Reference(Patient|Group)", "The patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.", 0, 1, subject)); children.add(new Property("participant", "", "List of participants involved in the appointment.", 0, java.lang.Integer.MAX_VALUE, participant)); children.add(new Property("requestedPeriod", "Period", "A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within.\n\nThe duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system.", 0, java.lang.Integer.MAX_VALUE, requestedPeriod)); @@ -2055,7 +2059,7 @@ The duration (usually in minutes) could also be provided to indicate the length case -892481550: /*status*/ return new Property("status", "code", "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.", 0, 1, status); case 2135095591: /*cancellationReason*/ return new Property("cancellationReason", "CodeableConcept", "The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.", 0, 1, cancellationReason); case 1281188563: /*serviceCategory*/ return new Property("serviceCategory", "CodeableConcept", "A broad categorization of the service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceCategory); - case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableConcept", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType); + case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableReference(HealthcareService)", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType); case -1694759682: /*specialty*/ return new Property("specialty", "CodeableConcept", "The specialty of a practitioner that would be required to perform the service requested in this appointment.", 0, java.lang.Integer.MAX_VALUE, specialty); case -1596426375: /*appointmentType*/ return new Property("appointmentType", "CodeableConcept", "The style of appointment or patient that has been booked in the slot (not service type).", 0, 1, appointmentType); case -934964668: /*reason*/ return new Property("reason", "CodeableReference(Condition|Procedure|Observation|ImmunizationRecommendation)", "The reason that this appointment is being scheduled. This is more clinical than administrative. This can be coded, or as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.", 0, java.lang.Integer.MAX_VALUE, reason); @@ -2071,7 +2075,7 @@ The duration (usually in minutes) could also be provided to indicate the length case 1028554472: /*created*/ return new Property("created", "dateTime", "The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment.", 0, 1, created); case 3387378: /*note*/ return new Property("note", "Annotation", "Additional notes/comments about the appointment.", 0, java.lang.Integer.MAX_VALUE, note); case 737543241: /*patientInstruction*/ return new Property("patientInstruction", "CodeableReference(DocumentReference|Binary|Communication)", "While Appointment.note contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before).", 0, java.lang.Integer.MAX_VALUE, patientInstruction); - case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(ServiceRequest)", "The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|DeviceRequest|MedicationRequest|ServiceRequest)", "The request this appointment is allocated to assess (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group)", "The patient or group associated with the appointment, if they are to be present (usually) then they should also be included in the participant backbone element.", 0, 1, subject); case 767422259: /*participant*/ return new Property("participant", "", "List of participants involved in the appointment.", 0, java.lang.Integer.MAX_VALUE, participant); case -897241393: /*requestedPeriod*/ return new Property("requestedPeriod", "Period", "A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within.\n\nThe duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system.", 0, java.lang.Integer.MAX_VALUE, requestedPeriod); @@ -2087,7 +2091,7 @@ The duration (usually in minutes) could also be provided to indicate the length case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 2135095591: /*cancellationReason*/ return this.cancellationReason == null ? new Base[0] : new Base[] {this.cancellationReason}; // CodeableConcept case 1281188563: /*serviceCategory*/ return this.serviceCategory == null ? new Base[0] : this.serviceCategory.toArray(new Base[this.serviceCategory.size()]); // CodeableConcept - case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : this.serviceType.toArray(new Base[this.serviceType.size()]); // CodeableConcept + case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : this.serviceType.toArray(new Base[this.serviceType.size()]); // CodeableReference case -1694759682: /*specialty*/ return this.specialty == null ? new Base[0] : this.specialty.toArray(new Base[this.specialty.size()]); // CodeableConcept case -1596426375: /*appointmentType*/ return this.appointmentType == null ? new Base[0] : new Base[] {this.appointmentType}; // CodeableConcept case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableReference @@ -2129,7 +2133,7 @@ The duration (usually in minutes) could also be provided to indicate the length this.getServiceCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; case -1928370289: // serviceType - this.getServiceType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + this.getServiceType().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference return value; case -1694759682: // specialty this.getSpecialty().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept @@ -2205,7 +2209,7 @@ The duration (usually in minutes) could also be provided to indicate the length } else if (name.equals("serviceCategory")) { this.getServiceCategory().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("serviceType")) { - this.getServiceType().add(TypeConvertor.castToCodeableConcept(value)); + this.getServiceType().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("specialty")) { this.getSpecialty().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("appointmentType")) { @@ -2288,7 +2292,7 @@ The duration (usually in minutes) could also be provided to indicate the length case -892481550: /*status*/ return new String[] {"code"}; case 2135095591: /*cancellationReason*/ return new String[] {"CodeableConcept"}; case 1281188563: /*serviceCategory*/ return new String[] {"CodeableConcept"}; - case -1928370289: /*serviceType*/ return new String[] {"CodeableConcept"}; + case -1928370289: /*serviceType*/ return new String[] {"CodeableReference"}; case -1694759682: /*specialty*/ return new String[] {"CodeableConcept"}; case -1596426375: /*appointmentType*/ return new String[] {"CodeableConcept"}; case -934964668: /*reason*/ return new String[] {"CodeableReference"}; @@ -2421,8 +2425,8 @@ The duration (usually in minutes) could also be provided to indicate the length dst.serviceCategory.add(i.copy()); }; if (serviceType != null) { - dst.serviceType = new ArrayList(); - for (CodeableConcept i : serviceType) + dst.serviceType = new ArrayList(); + for (CodeableReference i : serviceType) dst.serviceType.add(i.copy()); }; if (specialty != null) { @@ -2538,466 +2542,6 @@ The duration (usually in minutes) could also be provided to indicate the length return ResourceType.Appointment; } - /** - * Search parameter: actor - *

- * Description: Any one of the individuals participating in the appointment
- * Type: reference
- * Path: Appointment.participant.actor
- *

- */ - @SearchParamDefinition(name="actor", path="Appointment.participant.actor", description="Any one of the individuals participating in the appointment", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ACTOR = "actor"; - /** - * Fluent Client search parameter constant for actor - *

- * Description: Any one of the individuals participating in the appointment
- * Type: reference
- * Path: Appointment.participant.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:actor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR = new ca.uhn.fhir.model.api.Include("Appointment:actor").toLocked(); - - /** - * Search parameter: appointment-type - *

- * Description: The style of appointment or patient that has been booked in the slot (not service type)
- * Type: token
- * Path: Appointment.appointmentType
- *

- */ - @SearchParamDefinition(name="appointment-type", path="Appointment.appointmentType", description="The style of appointment or patient that has been booked in the slot (not service type)", type="token" ) - public static final String SP_APPOINTMENT_TYPE = "appointment-type"; - /** - * Fluent Client search parameter constant for appointment-type - *

- * Description: The style of appointment or patient that has been booked in the slot (not service type)
- * Type: token
- * Path: Appointment.appointmentType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam APPOINTMENT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_APPOINTMENT_TYPE); - - /** - * Search parameter: based-on - *

- * Description: The service request this appointment is allocated to assess
- * Type: reference
- * Path: Appointment.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Appointment.basedOn", description="The service request this appointment is allocated to assess", type="reference", target={ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: The service request this appointment is allocated to assess
- * Type: reference
- * Path: Appointment.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Appointment:based-on").toLocked(); - - /** - * Search parameter: date - *

- * Description: Appointment date/time.
- * Type: date
- * Path: (start | requestedPeriod.start).first()
- *

- */ - @SearchParamDefinition(name="date", path="(start | requestedPeriod.start).first()", description="Appointment date/time.", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Appointment date/time.
- * Type: date
- * Path: (start | requestedPeriod.start).first()
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: group - *

- * Description: One of the individuals of the appointment is this patient
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Group) | Appointment.subject.where(resolve() is Group)
- *

- */ - @SearchParamDefinition(name="group", path="Appointment.participant.actor.where(resolve() is Group) | Appointment.subject.where(resolve() is Group)", description="One of the individuals of the appointment is this patient", type="reference", target={CareTeam.class, Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_GROUP = "group"; - /** - * Fluent Client search parameter constant for group - *

- * Description: One of the individuals of the appointment is this patient
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Group) | Appointment.subject.where(resolve() is Group)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GROUP = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GROUP); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:group". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GROUP = new ca.uhn.fhir.model.api.Include("Appointment:group").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: An Identifier of the Appointment
- * Type: token
- * Path: Appointment.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Appointment.identifier", description="An Identifier of the Appointment", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An Identifier of the Appointment
- * Type: token
- * Path: Appointment.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: This location is listed in the participants of the appointment
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Location)
- *

- */ - @SearchParamDefinition(name="location", path="Appointment.participant.actor.where(resolve() is Location)", description="This location is listed in the participants of the appointment", type="reference", target={CareTeam.class, Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: This location is listed in the participants of the appointment
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Location)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("Appointment:location").toLocked(); - - /** - * Search parameter: part-status - *

- * Description: The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.
- * Type: token
- * Path: Appointment.participant.status
- *

- */ - @SearchParamDefinition(name="part-status", path="Appointment.participant.status", description="The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.", type="token" ) - public static final String SP_PART_STATUS = "part-status"; - /** - * Fluent Client search parameter constant for part-status - *

- * Description: The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.
- * Type: token
- * Path: Appointment.participant.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PART_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PART_STATUS); - - /** - * Search parameter: patient - *

- * Description: One of the individuals of the appointment is this patient
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient)", description="One of the individuals of the appointment is this patient", type="reference", target={CareTeam.class, Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: One of the individuals of the appointment is this patient
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Patient) | Appointment.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Appointment:patient").toLocked(); - - /** - * Search parameter: practitioner - *

- * Description: One of the individuals of the appointment is this practitioner
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Practitioner)
- *

- */ - @SearchParamDefinition(name="practitioner", path="Appointment.participant.actor.where(resolve() is Practitioner)", description="One of the individuals of the appointment is this practitioner", type="reference", target={CareTeam.class, Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PRACTITIONER = "practitioner"; - /** - * Fluent Client search parameter constant for practitioner - *

- * Description: One of the individuals of the appointment is this practitioner
- * Type: reference
- * Path: Appointment.participant.actor.where(resolve() is Practitioner)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRACTITIONER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:practitioner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER = new ca.uhn.fhir.model.api.Include("Appointment:practitioner").toLocked(); - - /** - * Search parameter: reason-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Appointment.reason.concept
- *

- */ - @SearchParamDefinition(name="reason-code", path="Appointment.reason.concept", description="Reference to a concept (by class)", type="token" ) - public static final String SP_REASON_CODE = "reason-code"; - /** - * Fluent Client search parameter constant for reason-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Appointment.reason.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON_CODE); - - /** - * Search parameter: reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Appointment.reason.reference
- *

- */ - @SearchParamDefinition(name="reason-reference", path="Appointment.reason.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_REASON_REFERENCE = "reason-reference"; - /** - * Fluent Client search parameter constant for reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Appointment.reason.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REASON_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:reason-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_REFERENCE = new ca.uhn.fhir.model.api.Include("Appointment:reason-reference").toLocked(); - - /** - * Search parameter: requested-period - *

- * Description: During what period was the Appointment requested to take place
- * Type: date
- * Path: requestedPeriod
- *

- */ - @SearchParamDefinition(name="requested-period", path="requestedPeriod", description="During what period was the Appointment requested to take place", type="date" ) - public static final String SP_REQUESTED_PERIOD = "requested-period"; - /** - * Fluent Client search parameter constant for requested-period - *

- * Description: During what period was the Appointment requested to take place
- * Type: date
- * Path: requestedPeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam REQUESTED_PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_REQUESTED_PERIOD); - - /** - * Search parameter: service-category - *

- * Description: A broad categorization of the service that is to be performed during this appointment
- * Type: token
- * Path: Appointment.serviceCategory
- *

- */ - @SearchParamDefinition(name="service-category", path="Appointment.serviceCategory", description="A broad categorization of the service that is to be performed during this appointment", type="token" ) - public static final String SP_SERVICE_CATEGORY = "service-category"; - /** - * Fluent Client search parameter constant for service-category - *

- * Description: A broad categorization of the service that is to be performed during this appointment
- * Type: token
- * Path: Appointment.serviceCategory
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_CATEGORY); - - /** - * Search parameter: service-type - *

- * Description: The specific service that is to be performed during this appointment
- * Type: token
- * Path: Appointment.serviceType
- *

- */ - @SearchParamDefinition(name="service-type", path="Appointment.serviceType", description="The specific service that is to be performed during this appointment", type="token" ) - public static final String SP_SERVICE_TYPE = "service-type"; - /** - * Fluent Client search parameter constant for service-type - *

- * Description: The specific service that is to be performed during this appointment
- * Type: token
- * Path: Appointment.serviceType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_TYPE); - - /** - * Search parameter: slot - *

- * Description: The slots that this appointment is filling
- * Type: reference
- * Path: Appointment.slot
- *

- */ - @SearchParamDefinition(name="slot", path="Appointment.slot", description="The slots that this appointment is filling", type="reference", target={Slot.class } ) - public static final String SP_SLOT = "slot"; - /** - * Fluent Client search parameter constant for slot - *

- * Description: The slots that this appointment is filling
- * Type: reference
- * Path: Appointment.slot
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SLOT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SLOT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:slot". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SLOT = new ca.uhn.fhir.model.api.Include("Appointment:slot").toLocked(); - - /** - * Search parameter: specialty - *

- * Description: The specialty of a practitioner that would be required to perform the service requested in this appointment
- * Type: token
- * Path: Appointment.specialty
- *

- */ - @SearchParamDefinition(name="specialty", path="Appointment.specialty", description="The specialty of a practitioner that would be required to perform the service requested in this appointment", type="token" ) - public static final String SP_SPECIALTY = "specialty"; - /** - * Fluent Client search parameter constant for specialty - *

- * Description: The specialty of a practitioner that would be required to perform the service requested in this appointment
- * Type: token
- * Path: Appointment.specialty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIALTY); - - /** - * Search parameter: status - *

- * Description: The overall status of the appointment
- * Type: token
- * Path: Appointment.status
- *

- */ - @SearchParamDefinition(name="status", path="Appointment.status", description="The overall status of the appointment", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The overall status of the appointment
- * Type: token
- * Path: Appointment.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: One of the individuals of the appointment is this patient
- * Type: reference
- * Path: Appointment.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Appointment.subject", description="One of the individuals of the appointment is this patient", type="reference", target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: One of the individuals of the appointment is this patient
- * Type: reference
- * Path: Appointment.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Appointment:subject").toLocked(); - - /** - * Search parameter: supporting-info - *

- * Description: Additional information to support the appointment
- * Type: reference
- * Path: Appointment.supportingInformation
- *

- */ - @SearchParamDefinition(name="supporting-info", path="Appointment.supportingInformation", description="Additional information to support the appointment", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUPPORTING_INFO = "supporting-info"; - /** - * Fluent Client search parameter constant for supporting-info - *

- * Description: Additional information to support the appointment
- * Type: reference
- * Path: Appointment.supportingInformation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPORTING_INFO = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPORTING_INFO); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Appointment:supporting-info". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPORTING_INFO = new ca.uhn.fhir.model.api.Include("Appointment:supporting-info").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AppointmentResponse.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AppointmentResponse.java index 7479ff7ad..0251aa8c9 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AppointmentResponse.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AppointmentResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -709,202 +709,6 @@ public class AppointmentResponse extends DomainResource { return ResourceType.AppointmentResponse; } - /** - * Search parameter: actor - *

- * Description: The Person, Location/HealthcareService or Device that this appointment response replies for
- * Type: reference
- * Path: AppointmentResponse.actor
- *

- */ - @SearchParamDefinition(name="actor", path="AppointmentResponse.actor", description="The Person, Location/HealthcareService or Device that this appointment response replies for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ACTOR = "actor"; - /** - * Fluent Client search parameter constant for actor - *

- * Description: The Person, Location/HealthcareService or Device that this appointment response replies for
- * Type: reference
- * Path: AppointmentResponse.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AppointmentResponse:actor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR = new ca.uhn.fhir.model.api.Include("AppointmentResponse:actor").toLocked(); - - /** - * Search parameter: appointment - *

- * Description: The appointment that the response is attached to
- * Type: reference
- * Path: AppointmentResponse.appointment
- *

- */ - @SearchParamDefinition(name="appointment", path="AppointmentResponse.appointment", description="The appointment that the response is attached to", type="reference", target={Appointment.class } ) - public static final String SP_APPOINTMENT = "appointment"; - /** - * Fluent Client search parameter constant for appointment - *

- * Description: The appointment that the response is attached to
- * Type: reference
- * Path: AppointmentResponse.appointment
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam APPOINTMENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_APPOINTMENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AppointmentResponse:appointment". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_APPOINTMENT = new ca.uhn.fhir.model.api.Include("AppointmentResponse:appointment").toLocked(); - - /** - * Search parameter: group - *

- * Description: This Response is for this Group
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Group)
- *

- */ - @SearchParamDefinition(name="group", path="AppointmentResponse.actor.where(resolve() is Group)", description="This Response is for this Group", type="reference", target={Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_GROUP = "group"; - /** - * Fluent Client search parameter constant for group - *

- * Description: This Response is for this Group
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Group)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GROUP = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GROUP); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AppointmentResponse:group". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GROUP = new ca.uhn.fhir.model.api.Include("AppointmentResponse:group").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: An Identifier in this appointment response
- * Type: token
- * Path: AppointmentResponse.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AppointmentResponse.identifier", description="An Identifier in this appointment response", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An Identifier in this appointment response
- * Type: token
- * Path: AppointmentResponse.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: This Response is for this Location
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Location)
- *

- */ - @SearchParamDefinition(name="location", path="AppointmentResponse.actor.where(resolve() is Location)", description="This Response is for this Location", type="reference", target={Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: This Response is for this Location
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Location)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AppointmentResponse:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("AppointmentResponse:location").toLocked(); - - /** - * Search parameter: part-status - *

- * Description: The participants acceptance status for this appointment
- * Type: token
- * Path: AppointmentResponse.participantStatus
- *

- */ - @SearchParamDefinition(name="part-status", path="AppointmentResponse.participantStatus", description="The participants acceptance status for this appointment", type="token" ) - public static final String SP_PART_STATUS = "part-status"; - /** - * Fluent Client search parameter constant for part-status - *

- * Description: The participants acceptance status for this appointment
- * Type: token
- * Path: AppointmentResponse.participantStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PART_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PART_STATUS); - - /** - * Search parameter: patient - *

- * Description: This Response is for this Patient
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="AppointmentResponse.actor.where(resolve() is Patient)", description="This Response is for this Patient", type="reference", target={Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: This Response is for this Patient
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AppointmentResponse:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("AppointmentResponse:patient").toLocked(); - - /** - * Search parameter: practitioner - *

- * Description: This Response is for this Practitioner
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Practitioner)
- *

- */ - @SearchParamDefinition(name="practitioner", path="AppointmentResponse.actor.where(resolve() is Practitioner)", description="This Response is for this Practitioner", type="reference", target={Device.class, Group.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PRACTITIONER = "practitioner"; - /** - * Fluent Client search parameter constant for practitioner - *

- * Description: This Response is for this Practitioner
- * Type: reference
- * Path: AppointmentResponse.actor.where(resolve() is Practitioner)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRACTITIONER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AppointmentResponse:practitioner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER = new ca.uhn.fhir.model.api.Include("AppointmentResponse:practitioner").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ArtifactAssessment.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ArtifactAssessment.java index 0105c59c4..43945a8f2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ArtifactAssessment.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ArtifactAssessment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -51,7 +51,7 @@ import ca.uhn.fhir.model.api.annotation.Block; * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. */ @ResourceDef(name="ArtifactAssessment", profile="http://hl7.org/fhir/StructureDefinition/ArtifactAssessment") -public class ArtifactAssessment extends MetadataResource { +public class ArtifactAssessment extends DomainResource { public enum ArtifactAssessmentDisposition { /** @@ -103,6 +103,7 @@ public class ArtifactAssessment extends MetadataResource { case PERSUASIVE: return "persuasive"; case PERSUASIVEWITHMODIFICATION: return "persuasive-with-modification"; case NOTPERSUASIVEWITHMODIFICATION: return "not-persuasive-with-modification"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class ArtifactAssessment extends MetadataResource { case PERSUASIVE: return "http://hl7.org/fhir/artifactassessment-disposition"; case PERSUASIVEWITHMODIFICATION: return "http://hl7.org/fhir/artifactassessment-disposition"; case NOTPERSUASIVEWITHMODIFICATION: return "http://hl7.org/fhir/artifactassessment-disposition"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class ArtifactAssessment extends MetadataResource { case PERSUASIVE: return "The comment is persuasive (accepted in full)"; case PERSUASIVEWITHMODIFICATION: return "The comment is persuasive with modification (partially accepted)"; case NOTPERSUASIVEWITHMODIFICATION: return "The comment is not persuasive with modification (partially rejected)"; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class ArtifactAssessment extends MetadataResource { case PERSUASIVE: return "Persuasive"; case PERSUASIVEWITHMODIFICATION: return "Persuasive with Modification"; case NOTPERSUASIVEWITHMODIFICATION: return "Not Persuasive with Modification"; + case NULL: return null; default: return "?"; } } @@ -250,6 +254,7 @@ public class ArtifactAssessment extends MetadataResource { case CONTAINER: return "container"; case RESPONSE: return "response"; case CHANGEREQUEST: return "change-request"; + case NULL: return null; default: return "?"; } } @@ -261,6 +266,7 @@ public class ArtifactAssessment extends MetadataResource { case CONTAINER: return "http://hl7.org/fhir/artifactassessment-information-type"; case RESPONSE: return "http://hl7.org/fhir/artifactassessment-information-type"; case CHANGEREQUEST: return "http://hl7.org/fhir/artifactassessment-information-type"; + case NULL: return null; default: return "?"; } } @@ -272,6 +278,7 @@ public class ArtifactAssessment extends MetadataResource { case CONTAINER: return "A container for multiple components"; case RESPONSE: return "A response to a comment"; case CHANGEREQUEST: return "A change request for the artifact"; + case NULL: return null; default: return "?"; } } @@ -283,6 +290,7 @@ public class ArtifactAssessment extends MetadataResource { case CONTAINER: return "Container"; case RESPONSE: return "Response"; case CHANGEREQUEST: return "Change Request"; + case NULL: return null; default: return "?"; } } @@ -427,6 +435,7 @@ public class ArtifactAssessment extends MetadataResource { case DUPLICATE: return "duplicate"; case APPLIED: return "applied"; case PUBLISHED: return "published"; + case NULL: return null; default: return "?"; } } @@ -441,6 +450,7 @@ public class ArtifactAssessment extends MetadataResource { case DUPLICATE: return "http://hl7.org/fhir/artifactassessment-workflow-status"; case APPLIED: return "http://hl7.org/fhir/artifactassessment-workflow-status"; case PUBLISHED: return "http://hl7.org/fhir/artifactassessment-workflow-status"; + case NULL: return null; default: return "?"; } } @@ -455,6 +465,7 @@ public class ArtifactAssessment extends MetadataResource { case DUPLICATE: return "The comment is a duplicate of another comment already received"; case APPLIED: return "The comment is resolved and any necessary changes have been applied"; case PUBLISHED: return "The necessary changes to the artifact have been published in a new version of the artifact"; + case NULL: return null; default: return "?"; } } @@ -469,6 +480,7 @@ public class ArtifactAssessment extends MetadataResource { case DUPLICATE: return "Duplicate"; case APPLIED: return "Applied"; case PUBLISHED: return "Published"; + case NULL: return null; default: return "?"; } } @@ -1896,668 +1908,6 @@ public class ArtifactAssessment extends MetadataResource { return this; } - /** - * not supported on this implementation - */ - @Override - public int getUrlMax() { - return 0; - } - /** - * @return {@link #url} (An absolute URI that is used to identify this artifact assessment when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this artifact assessment is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the artifact assessment is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value - */ - public UriType getUrlElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"url\""); - } - - public boolean hasUrlElement() { - return false; - } - public boolean hasUrl() { - return false; - } - - /** - * @param value {@link #url} (An absolute URI that is used to identify this artifact assessment when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this artifact assessment is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the artifact assessment is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value - */ - public ArtifactAssessment setUrlElement(UriType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"url\""); - } - public String getUrl() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"url\""); - } - /** - * @param value An absolute URI that is used to identify this artifact assessment when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this artifact assessment is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the artifact assessment is stored on different servers. - */ - public ArtifactAssessment setUrl(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"url\""); - } - /** - * not supported on this implementation - */ - @Override - public int getVersionMax() { - return 0; - } - /** - * @return {@link #version} (The identifier that is used to identify this version of the artifact assessment when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the artifact assessment author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value - */ - public StringType getVersionElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"version\""); - } - - public boolean hasVersionElement() { - return false; - } - public boolean hasVersion() { - return false; - } - - /** - * @param value {@link #version} (The identifier that is used to identify this version of the artifact assessment when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the artifact assessment author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value - */ - public ArtifactAssessment setVersionElement(StringType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"version\""); - } - public String getVersion() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"version\""); - } - /** - * @param value The identifier that is used to identify this version of the artifact assessment when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the artifact assessment author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. - */ - public ArtifactAssessment setVersion(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"version\""); - } - /** - * not supported on this implementation - */ - @Override - public int getNameMax() { - return 0; - } - /** - * @return {@link #name} (A natural language name identifying the artifact assessment. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public StringType getNameElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"name\""); - } - - public boolean hasNameElement() { - return false; - } - public boolean hasName() { - return false; - } - - /** - * @param value {@link #name} (A natural language name identifying the artifact assessment. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public ArtifactAssessment setNameElement(StringType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"name\""); - } - public String getName() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"name\""); - } - /** - * @param value A natural language name identifying the artifact assessment. This name should be usable as an identifier for the module by machine processing applications such as code generation. - */ - public ArtifactAssessment setName(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"name\""); - } - /** - * not supported on this implementation - */ - @Override - public int getTitleMax() { - return 0; - } - /** - * @return {@link #title} (A short, descriptive, user-friendly title for the artifact assessment.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value - */ - public StringType getTitleElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"title\""); - } - - public boolean hasTitleElement() { - return false; - } - public boolean hasTitle() { - return false; - } - - /** - * @param value {@link #title} (A short, descriptive, user-friendly title for the artifact assessment.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value - */ - public ArtifactAssessment setTitleElement(StringType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"title\""); - } - public String getTitle() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"title\""); - } - /** - * @param value A short, descriptive, user-friendly title for the artifact assessment. - */ - public ArtifactAssessment setTitle(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"title\""); - } - /** - * not supported on this implementation - */ - @Override - public int getStatusMax() { - return 0; - } - /** - * @return {@link #status} (The status of this artifact assessment. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value - */ - public Enumeration getStatusElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"status\""); - } - - public boolean hasStatusElement() { - return false; - } - public boolean hasStatus() { - return false; - } - - /** - * @param value {@link #status} (The status of this artifact assessment. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value - */ - public ArtifactAssessment setStatusElement(Enumeration value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"status\""); - } - public PublicationStatus getStatus() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"status\""); - } - /** - * @param value The status of this artifact assessment. Enables tracking the life-cycle of the content. - */ - public ArtifactAssessment setStatus(PublicationStatus value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"status\""); - } - /** - * not supported on this implementation - */ - @Override - public int getExperimentalMax() { - return 0; - } - /** - * @return {@link #experimental} (A Boolean value to indicate that this artifact assessment is 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() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"experimental\""); - } - - public boolean hasExperimentalElement() { - return false; - } - public boolean hasExperimental() { - return false; - } - - /** - * @param value {@link #experimental} (A Boolean value to indicate that this artifact assessment is 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 ArtifactAssessment setExperimentalElement(BooleanType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"experimental\""); - } - public boolean getExperimental() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"experimental\""); - } - /** - * @param value A Boolean value to indicate that this artifact assessment is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. - */ - public ArtifactAssessment setExperimental(boolean value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"experimental\""); - } - /** - * not supported on this implementation - */ - @Override - public int getPublisherMax() { - return 0; - } - /** - * @return {@link #publisher} (The name of the organization or individual that published the artifact assessment.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value - */ - public StringType getPublisherElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"publisher\""); - } - - public boolean hasPublisherElement() { - return false; - } - public boolean hasPublisher() { - return false; - } - - /** - * @param value {@link #publisher} (The name of the organization or individual that published the artifact assessment.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value - */ - public ArtifactAssessment setPublisherElement(StringType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"publisher\""); - } - public String getPublisher() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"publisher\""); - } - /** - * @param value The name of the organization or individual that published the artifact assessment. - */ - public ArtifactAssessment setPublisher(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"publisher\""); - } - /** - * not supported on this implementation - */ - @Override - public int getContactMax() { - return 0; - } - /** - * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) - */ - public List getContact() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setContact(List theContact) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"contact\""); - } - public boolean hasContact() { - return false; - } - - public ContactDetail addContact() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"contact\""); - } - public ArtifactAssessment addContact(ContactDetail t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"contact\""); - } - /** - * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {2} - */ - public ContactDetail getContactFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"contact\""); - } - /** - * not supported on this implementation - */ - @Override - public int getDescriptionMax() { - return 0; - } - /** - * @return {@link #description} (A free text natural language description of the artifact assessment from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value - */ - public MarkdownType getDescriptionElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"description\""); - } - - public boolean hasDescriptionElement() { - return false; - } - public boolean hasDescription() { - return false; - } - - /** - * @param value {@link #description} (A free text natural language description of the artifact assessment from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value - */ - public ArtifactAssessment setDescriptionElement(MarkdownType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"description\""); - } - public String getDescription() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"description\""); - } - /** - * @param value A free text natural language description of the artifact assessment from a consumer's perspective. - */ - public ArtifactAssessment setDescription(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"description\""); - } - /** - * not supported on this implementation - */ - @Override - public int getUseContextMax() { - return 0; - } - /** - * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate artifact assessment instances.) - */ - public List getUseContext() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setUseContext(List theUseContext) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"useContext\""); - } - public boolean hasUseContext() { - return false; - } - - public UsageContext addUseContext() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"useContext\""); - } - public ArtifactAssessment addUseContext(UsageContext t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"useContext\""); - } - /** - * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {2} - */ - public UsageContext getUseContextFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"useContext\""); - } - /** - * not supported on this implementation - */ - @Override - public int getJurisdictionMax() { - return 0; - } - /** - * @return {@link #jurisdiction} (A legal or geographic region in which the artifact assessment is intended to be used.) - */ - public List getJurisdiction() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setJurisdiction(List theJurisdiction) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"jurisdiction\""); - } - public boolean hasJurisdiction() { - return false; - } - - public CodeableConcept addJurisdiction() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"jurisdiction\""); - } - public ArtifactAssessment addJurisdiction(CodeableConcept t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"jurisdiction\""); - } - /** - * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {2} - */ - public CodeableConcept getJurisdictionFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"jurisdiction\""); - } - /** - * not supported on this implementation - */ - @Override - public int getPurposeMax() { - return 0; - } - /** - * @return {@link #purpose} (Explanation of why this artifact assessment is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value - */ - public MarkdownType getPurposeElement() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"purpose\""); - } - - public boolean hasPurposeElement() { - return false; - } - public boolean hasPurpose() { - return false; - } - - /** - * @param value {@link #purpose} (Explanation of why this artifact assessment is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value - */ - public ArtifactAssessment setPurposeElement(MarkdownType value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"purpose\""); - } - public String getPurpose() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"purpose\""); - } - /** - * @param value Explanation of why this artifact assessment is needed and why it has been designed as it has. - */ - public ArtifactAssessment setPurpose(String value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"purpose\""); - } - /** - * not supported on this implementation - */ - @Override - public int getEffectivePeriodMax() { - return 0; - } - /** - * @return {@link #effectivePeriod} (The period during which the artifact assessment content was or is planned to be in active use.) - */ - public Period getEffectivePeriod() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"effectivePeriod\""); - } - public boolean hasEffectivePeriod() { - return false; - } - /** - * @param value {@link #effectivePeriod} (The period during which the artifact assessment content was or is planned to be in active use.) - */ - public ArtifactAssessment setEffectivePeriod(Period value) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"effectivePeriod\""); - } - - /** - * not supported on this implementation - */ - @Override - public int getTopicMax() { - return 0; - } - /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) - */ - public List getTopic() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setTopic(List theTopic) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"topic\""); - } - public boolean hasTopic() { - return false; - } - - public CodeableConcept addTopic() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"topic\""); - } - public ArtifactAssessment addTopic(CodeableConcept t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"topic\""); - } - /** - * @return The first repetition of repeating field {@link #topic}, creating it if it does not already exist {2} - */ - public CodeableConcept getTopicFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"topic\""); - } - /** - * not supported on this implementation - */ - @Override - public int getAuthorMax() { - return 0; - } - /** - * @return {@link #author} (An individiual or organization primarily involved in the creation and maintenance of the artifact assessment.) - */ - public List getAuthor() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setAuthor(List theAuthor) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"author\""); - } - public boolean hasAuthor() { - return false; - } - - public ContactDetail addAuthor() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"author\""); - } - public ArtifactAssessment addAuthor(ContactDetail t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"author\""); - } - /** - * @return The first repetition of repeating field {@link #author}, creating it if it does not already exist {2} - */ - public ContactDetail getAuthorFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"author\""); - } - /** - * not supported on this implementation - */ - @Override - public int getEditorMax() { - return 0; - } - /** - * @return {@link #editor} (An individual or organization primarily responsible for internal coherence of the artifact assessment.) - */ - public List getEditor() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setEditor(List theEditor) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"editor\""); - } - public boolean hasEditor() { - return false; - } - - public ContactDetail addEditor() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"editor\""); - } - public ArtifactAssessment addEditor(ContactDetail t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"editor\""); - } - /** - * @return The first repetition of repeating field {@link #editor}, creating it if it does not already exist {2} - */ - public ContactDetail getEditorFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"editor\""); - } - /** - * not supported on this implementation - */ - @Override - public int getReviewerMax() { - return 0; - } - /** - * @return {@link #reviewer} (An individual or organization primarily responsible for review of some aspect of the artifact assessment.) - */ - public List getReviewer() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setReviewer(List theReviewer) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"reviewer\""); - } - public boolean hasReviewer() { - return false; - } - - public ContactDetail addReviewer() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"reviewer\""); - } - public ArtifactAssessment addReviewer(ContactDetail t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"reviewer\""); - } - /** - * @return The first repetition of repeating field {@link #reviewer}, creating it if it does not already exist {2} - */ - public ContactDetail getReviewerFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"reviewer\""); - } - /** - * not supported on this implementation - */ - @Override - public int getEndorserMax() { - return 0; - } - /** - * @return {@link #endorser} (An individual or organization responsible for officially endorsing the artifact assessment for use in some setting.) - */ - public List getEndorser() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setEndorser(List theEndorser) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"endorser\""); - } - public boolean hasEndorser() { - return false; - } - - public ContactDetail addEndorser() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"endorser\""); - } - public ArtifactAssessment addEndorser(ContactDetail t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"endorser\""); - } - /** - * @return The first repetition of repeating field {@link #endorser}, creating it if it does not already exist {2} - */ - public ContactDetail getEndorserFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"endorser\""); - } - /** - * not supported on this implementation - */ - @Override - public int getRelatedArtifactMax() { - return 0; - } - /** - * @return {@link #relatedArtifact} (Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts.) - */ - public List getRelatedArtifact() { - return new ArrayList<>(); - } - /** - * @return Returns a reference to this for easy method chaining - */ - public ArtifactAssessment setRelatedArtifact(List theRelatedArtifact) { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"relatedArtifact\""); - } - public boolean hasRelatedArtifact() { - return false; - } - - public RelatedArtifact addRelatedArtifact() { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"relatedArtifact\""); - } - public ArtifactAssessment addRelatedArtifact(RelatedArtifact t) { //3 - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"relatedArtifact\""); - } - /** - * @return The first repetition of repeating field {@link #relatedArtifact}, creating it if it does not already exist {2} - */ - public RelatedArtifact getRelatedArtifactFirstRep() { - throw new Error("The resource type \"ArtifactAssessment\" does not implement the property \"relatedArtifact\""); - } protected void listChildren(List children) { super.listChildren(children); children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); @@ -2846,26 +2196,6 @@ public class ArtifactAssessment extends MetadataResource { return ResourceType.ArtifactAssessment; } - /** - * Search parameter: date - *

- * Description: The artifact assessment publication date
- * Type: date
- * Path: ArtifactAssessment.date
- *

- */ - @SearchParamDefinition(name="date", path="ArtifactAssessment.date", description="The artifact assessment publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The artifact assessment publication date
- * Type: date
- * Path: ArtifactAssessment.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Attachment.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Attachment.java index fc5a0ec83..1372acfe4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Attachment.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Attachment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AuditEvent.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AuditEvent.java index 865de2eed..9eca7ae65 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AuditEvent.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/AuditEvent.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class AuditEvent extends DomainResource { case U: return "U"; case D: return "D"; case E: return "E"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class AuditEvent extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class AuditEvent extends DomainResource { case U: return "Update data, such as revise patient information."; case D: return "Delete items, such as a doctor master file record."; case E: return "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."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class AuditEvent extends DomainResource { case U: return "Update"; case D: return "Delete"; case E: return "Execute"; + case NULL: return null; default: return "?"; } } @@ -195,35 +199,35 @@ public class AuditEvent extends DomainResource { public enum AuditEventSeverity { /** - * System is unusable. + * System is unusable. e.g., This level should only be reported by infrastructure and should not be used by applications. */ EMERGENCY, /** - * Action must be taken immediately. + * Notification should be sent to trigger action be taken. e.g., Loss of the primary network connection needing attention. */ ALERT, /** - * Critical conditions. + * Critical conditions. e.g., A failure in the system's primary application that will reset automatically. */ CRITICAL, /** - * Error conditions. + * Error conditions. e.g., An application has exceeded its file storage limit and attempts to write are failing. */ ERROR, /** - * Warning conditions. + * Warning conditions. May indicate that an error will occur if action is not taken. e.g., A non-root file system has only 2GB remaining. */ WARNING, /** - * Normal but significant condition. + * Notice messages. Normal but significant condition. Events that are unusual, but not error conditions. */ NOTICE, /** - * Informational messages. + * Normal operational messages that require no action. e.g., An application has started, paused, or ended successfully. */ INFORMATIONAL, /** - * Debug-level messages. + * Debug-level messages. Information useful to developers for debugging the application. */ DEBUG, /** @@ -264,6 +268,7 @@ public class AuditEvent extends DomainResource { case NOTICE: return "notice"; case INFORMATIONAL: return "informational"; case DEBUG: return "debug"; + case NULL: return null; default: return "?"; } } @@ -277,19 +282,21 @@ public class AuditEvent extends DomainResource { case NOTICE: return "http://hl7.org/fhir/audit-event-severity"; case INFORMATIONAL: return "http://hl7.org/fhir/audit-event-severity"; case DEBUG: return "http://hl7.org/fhir/audit-event-severity"; + case NULL: return null; default: return "?"; } } public String getDefinition() { switch (this) { - case EMERGENCY: return "System is unusable."; - case ALERT: return "Action must be taken immediately."; - case CRITICAL: return "Critical conditions."; - case ERROR: return "Error conditions."; - case WARNING: return "Warning conditions."; - case NOTICE: return "Normal but significant condition."; - case INFORMATIONAL: return "Informational messages."; - case DEBUG: return "Debug-level messages."; + case EMERGENCY: return "System is unusable. e.g., This level should only be reported by infrastructure and should not be used by applications."; + case ALERT: return "Notification should be sent to trigger action be taken. e.g., Loss of the primary network connection needing attention."; + case CRITICAL: return "Critical conditions. e.g., A failure in the system's primary application that will reset automatically."; + case ERROR: return "Error conditions. e.g., An application has exceeded its file storage limit and attempts to write are failing. "; + case WARNING: return "Warning conditions. May indicate that an error will occur if action is not taken. e.g., A non-root file system has only 2GB remaining."; + case NOTICE: return "Notice messages. Normal but significant condition. Events that are unusual, but not error conditions."; + case INFORMATIONAL: return "Normal operational messages that require no action. e.g., An application has started, paused, or ended successfully."; + case DEBUG: return "Debug-level messages. Information useful to developers for debugging the application."; + case NULL: return null; default: return "?"; } } @@ -303,6 +310,7 @@ public class AuditEvent extends DomainResource { case NOTICE: return "Notice"; case INFORMATIONAL: return "Informational"; case DEBUG: return "Debug"; + case NULL: return null; default: return "?"; } } @@ -1605,7 +1613,7 @@ public class AuditEvent extends DomainResource { */ @Child(name = "securityLabel", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Security labels on the entity", formalDefinition="Security labels for the identified entity." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-labels") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-label-examples") protected List securityLabel; /** @@ -2587,35 +2595,42 @@ public class AuditEvent extends DomainResource { @Description(shortDefinition="Workflow authorization within which this event occurred", formalDefinition="Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon." ) protected List basedOn; + /** + * The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity. + */ + @Child(name = "patient", type = {Patient.class}, order=9, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The patient is the subject of the data used/created/updated/deleted during the activity", formalDefinition="The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity." ) + protected Reference patient; + /** * This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests). */ - @Child(name = "encounter", type = {Encounter.class}, order=9, min=0, max=1, modifier=false, summary=false) + @Child(name = "encounter", type = {Encounter.class}, order=10, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Encounter within which this event occurred or which the event is tightly associated", formalDefinition="This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests)." ) protected Reference encounter; /** * An actor taking an active role in the event or activity that is logged. */ - @Child(name = "agent", type = {}, order=10, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "agent", type = {}, order=11, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Actor involved in the event", formalDefinition="An actor taking an active role in the event or activity that is logged." ) protected List agent; /** * The actor that is reporting the event. */ - @Child(name = "source", type = {}, order=11, min=1, max=1, modifier=false, summary=false) + @Child(name = "source", type = {}, order=12, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Audit Event Reporter", formalDefinition="The actor that is reporting the event." ) protected AuditEventSourceComponent source; /** * Specific instances of data or objects that have been accessed. */ - @Child(name = "entity", type = {}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "entity", type = {}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Data or objects used", formalDefinition="Specific instances of data or objects that have been accessed." ) protected List entity; - private static final long serialVersionUID = 1019127386L; + private static final long serialVersionUID = -1335832480L; /** * Constructor @@ -3036,6 +3051,30 @@ public class AuditEvent extends DomainResource { return getBasedOn().get(0); } + /** + * @return {@link #patient} (The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.) + */ + public Reference getPatient() { + if (this.patient == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create AuditEvent.patient"); + else if (Configuration.doAutoCreate()) + this.patient = new Reference(); // cc + return this.patient; + } + + public boolean hasPatient() { + return this.patient != null && !this.patient.isEmpty(); + } + + /** + * @param value {@link #patient} (The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.) + */ + public AuditEvent setPatient(Reference value) { + this.patient = value; + return this; + } + /** * @return {@link #encounter} (This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).) */ @@ -3201,6 +3240,7 @@ public class AuditEvent extends DomainResource { children.add(new Property("outcome", "", "Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.", 0, 1, outcome)); children.add(new Property("authorization", "CodeableConcept", "The authorization (e.g., PurposeOfUse) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, authorization)); children.add(new Property("basedOn", "Reference(CarePlan|DeviceRequest|ImmunizationRecommendation|MedicationRequest|NutritionOrder|ServiceRequest|Task)", "Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("patient", "Reference(Patient)", "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.", 0, 1, patient)); children.add(new Property("encounter", "Reference(Encounter)", "This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).", 0, 1, encounter)); children.add(new Property("agent", "", "An actor taking an active role in the event or activity that is logged.", 0, java.lang.Integer.MAX_VALUE, agent)); children.add(new Property("source", "", "The actor that is reporting the event.", 0, 1, source)); @@ -3222,6 +3262,7 @@ public class AuditEvent extends DomainResource { case -1106507950: /*outcome*/ return new Property("outcome", "", "Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.", 0, 1, outcome); case -1385570183: /*authorization*/ return new Property("authorization", "CodeableConcept", "The authorization (e.g., PurposeOfUse) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, authorization); case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|DeviceRequest|ImmunizationRecommendation|MedicationRequest|NutritionOrder|ServiceRequest|Task)", "Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -791418107: /*patient*/ return new Property("patient", "Reference(Patient)", "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.", 0, 1, patient); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).", 0, 1, encounter); case 92750597: /*agent*/ return new Property("agent", "", "An actor taking an active role in the event or activity that is logged.", 0, java.lang.Integer.MAX_VALUE, agent); case -896505829: /*source*/ return new Property("source", "", "The actor that is reporting the event.", 0, 1, source); @@ -3243,6 +3284,7 @@ public class AuditEvent extends DomainResource { case -1106507950: /*outcome*/ return this.outcome == null ? new Base[0] : new Base[] {this.outcome}; // AuditEventOutcomeComponent case -1385570183: /*authorization*/ return this.authorization == null ? new Base[0] : this.authorization.toArray(new Base[this.authorization.size()]); // CodeableConcept case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference + case -791418107: /*patient*/ return this.patient == null ? new Base[0] : new Base[] {this.patient}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 92750597: /*agent*/ return this.agent == null ? new Base[0] : this.agent.toArray(new Base[this.agent.size()]); // AuditEventAgentComponent case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // AuditEventSourceComponent @@ -3284,6 +3326,9 @@ public class AuditEvent extends DomainResource { case -332612366: // basedOn this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference return value; + case -791418107: // patient + this.patient = TypeConvertor.castToReference(value); // Reference + return value; case 1524132147: // encounter this.encounter = TypeConvertor.castToReference(value); // Reference return value; @@ -3323,6 +3368,8 @@ public class AuditEvent extends DomainResource { this.getAuthorization().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("basedOn")) { this.getBasedOn().add(TypeConvertor.castToReference(value)); + } else if (name.equals("patient")) { + this.patient = TypeConvertor.castToReference(value); // Reference } else if (name.equals("encounter")) { this.encounter = TypeConvertor.castToReference(value); // Reference } else if (name.equals("agent")) { @@ -3349,6 +3396,7 @@ public class AuditEvent extends DomainResource { case -1106507950: return getOutcome(); case -1385570183: return addAuthorization(); case -332612366: return addBasedOn(); + case -791418107: return getPatient(); case 1524132147: return getEncounter(); case 92750597: return addAgent(); case -896505829: return getSource(); @@ -3370,6 +3418,7 @@ public class AuditEvent extends DomainResource { case -1106507950: /*outcome*/ return new String[] {}; case -1385570183: /*authorization*/ return new String[] {"CodeableConcept"}; case -332612366: /*basedOn*/ return new String[] {"Reference"}; + case -791418107: /*patient*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 92750597: /*agent*/ return new String[] {}; case -896505829: /*source*/ return new String[] {}; @@ -3415,6 +3464,10 @@ public class AuditEvent extends DomainResource { else if (name.equals("basedOn")) { return addBasedOn(); } + else if (name.equals("patient")) { + this.patient = new Reference(); + return this.patient; + } else if (name.equals("encounter")) { this.encounter = new Reference(); return this.encounter; @@ -3467,6 +3520,7 @@ public class AuditEvent extends DomainResource { for (Reference i : basedOn) dst.basedOn.add(i.copy()); }; + dst.patient = patient == null ? null : patient.copy(); dst.encounter = encounter == null ? null : encounter.copy(); if (agent != null) { dst.agent = new ArrayList(); @@ -3495,8 +3549,8 @@ public class AuditEvent extends DomainResource { return compareDeep(category, o.category, true) && compareDeep(code, o.code, true) && compareDeep(action, o.action, true) && compareDeep(severity, o.severity, true) && compareDeep(occurred, o.occurred, true) && compareDeep(recorded, o.recorded, true) && compareDeep(outcome, o.outcome, true) && compareDeep(authorization, o.authorization, true) && compareDeep(basedOn, o.basedOn, true) - && compareDeep(encounter, o.encounter, true) && compareDeep(agent, o.agent, true) && compareDeep(source, o.source, true) - && compareDeep(entity, o.entity, true); + && compareDeep(patient, o.patient, true) && compareDeep(encounter, o.encounter, true) && compareDeep(agent, o.agent, true) + && compareDeep(source, o.source, true) && compareDeep(entity, o.entity, true); } @Override @@ -3512,8 +3566,8 @@ public class AuditEvent extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(category, code, action, severity - , occurred, recorded, outcome, authorization, basedOn, encounter, agent, source - , entity); + , occurred, recorded, outcome, authorization, basedOn, patient, encounter, agent + , source, entity); } @Override @@ -3521,342 +3575,6 @@ public class AuditEvent extends DomainResource { return ResourceType.AuditEvent; } - /** - * Search parameter: action - *

- * Description: Type of action performed during the event
- * Type: token
- * Path: AuditEvent.action
- *

- */ - @SearchParamDefinition(name="action", path="AuditEvent.action", description="Type of action performed during the event", type="token" ) - public static final String SP_ACTION = "action"; - /** - * Fluent Client search parameter constant for action - *

- * Description: Type of action performed during the event
- * Type: token
- * Path: AuditEvent.action
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTION); - - /** - * Search parameter: agent-role - *

- * Description: Agent role in the event
- * Type: token
- * Path: AuditEvent.agent.role
- *

- */ - @SearchParamDefinition(name="agent-role", path="AuditEvent.agent.role", description="Agent role in the event", type="token" ) - public static final String SP_AGENT_ROLE = "agent-role"; - /** - * Fluent Client search parameter constant for agent-role - *

- * Description: Agent role in the event
- * Type: token
- * Path: AuditEvent.agent.role
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam AGENT_ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_AGENT_ROLE); - - /** - * Search parameter: agent - *

- * Description: Identifier of who
- * Type: reference
- * Path: AuditEvent.agent.who
- *

- */ - @SearchParamDefinition(name="agent", path="AuditEvent.agent.who", description="Identifier of who", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AGENT = "agent"; - /** - * Fluent Client search parameter constant for agent - *

- * Description: Identifier of who
- * Type: reference
- * Path: AuditEvent.agent.who
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AGENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AGENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AuditEvent:agent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AGENT = new ca.uhn.fhir.model.api.Include("AuditEvent:agent").toLocked(); - - /** - * Search parameter: based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: AuditEvent.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="AuditEvent.basedOn", description="Reference to the service request.", type="reference", target={CarePlan.class, DeviceRequest.class, ImmunizationRecommendation.class, MedicationRequest.class, NutritionOrder.class, ServiceRequest.class, Task.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: AuditEvent.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AuditEvent:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("AuditEvent:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: Category of event
- * Type: token
- * Path: AuditEvent.category
- *

- */ - @SearchParamDefinition(name="category", path="AuditEvent.category", description="Category of event", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Category of event
- * Type: token
- * Path: AuditEvent.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: code - *

- * Description: More specific code for the event
- * Type: token
- * Path: AuditEvent.code
- *

- */ - @SearchParamDefinition(name="code", path="AuditEvent.code", description="More specific code for the event", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: More specific code for the event
- * Type: token
- * Path: AuditEvent.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Time when the event was recorded
- * Type: date
- * Path: AuditEvent.recorded
- *

- */ - @SearchParamDefinition(name="date", path="AuditEvent.recorded", description="Time when the event was recorded", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Time when the event was recorded
- * Type: date
- * Path: AuditEvent.recorded
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Encounter related to the activity recorded in the AuditEvent
- * Type: reference
- * Path: AuditEvent.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="AuditEvent.encounter", description="Encounter related to the activity recorded in the AuditEvent", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Encounter related to the activity recorded in the AuditEvent
- * Type: reference
- * Path: AuditEvent.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AuditEvent:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("AuditEvent:encounter").toLocked(); - - /** - * Search parameter: entity-role - *

- * Description: What role the entity played
- * Type: token
- * Path: AuditEvent.entity.role
- *

- */ - @SearchParamDefinition(name="entity-role", path="AuditEvent.entity.role", description="What role the entity played", type="token" ) - public static final String SP_ENTITY_ROLE = "entity-role"; - /** - * Fluent Client search parameter constant for entity-role - *

- * Description: What role the entity played
- * Type: token
- * Path: AuditEvent.entity.role
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ENTITY_ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ENTITY_ROLE); - - /** - * Search parameter: entity - *

- * Description: Specific instance of resource
- * Type: reference
- * Path: AuditEvent.entity.what
- *

- */ - @SearchParamDefinition(name="entity", path="AuditEvent.entity.what", description="Specific instance of resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_ENTITY = "entity"; - /** - * Fluent Client search parameter constant for entity - *

- * Description: Specific instance of resource
- * Type: reference
- * Path: AuditEvent.entity.what
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AuditEvent:entity". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTITY = new ca.uhn.fhir.model.api.Include("AuditEvent:entity").toLocked(); - - /** - * Search parameter: outcome - *

- * Description: Whether the event succeeded or failed
- * Type: token
- * Path: AuditEvent.outcome.code
- *

- */ - @SearchParamDefinition(name="outcome", path="AuditEvent.outcome.code", description="Whether the event succeeded or failed", type="token" ) - public static final String SP_OUTCOME = "outcome"; - /** - * Fluent Client search parameter constant for outcome - *

- * Description: Whether the event succeeded or failed
- * Type: token
- * Path: AuditEvent.outcome.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam OUTCOME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_OUTCOME); - - /** - * Search parameter: patient - *

- * Description: Identifier of who
- * Type: reference
- * Path: AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient)", description="Identifier of who", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Identifier of who
- * Type: reference
- * Path: AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AuditEvent:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("AuditEvent:patient").toLocked(); - - /** - * Search parameter: policy - *

- * Description: Policy that authorized event
- * Type: uri
- * Path: AuditEvent.agent.policy
- *

- */ - @SearchParamDefinition(name="policy", path="AuditEvent.agent.policy", description="Policy that authorized event", type="uri" ) - public static final String SP_POLICY = "policy"; - /** - * Fluent Client search parameter constant for policy - *

- * Description: Policy that authorized event
- * Type: uri
- * Path: AuditEvent.agent.policy
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam POLICY = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_POLICY); - - /** - * Search parameter: purpose - *

- * Description: The authorization (purposeOfUse) of the event
- * Type: token
- * Path: AuditEvent.authorization | AuditEvent.agent.authorization
- *

- */ - @SearchParamDefinition(name="purpose", path="AuditEvent.authorization | AuditEvent.agent.authorization", description="The authorization (purposeOfUse) of the event", type="token" ) - public static final String SP_PURPOSE = "purpose"; - /** - * Fluent Client search parameter constant for purpose - *

- * Description: The authorization (purposeOfUse) of the event
- * Type: token
- * Path: AuditEvent.authorization | AuditEvent.agent.authorization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PURPOSE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PURPOSE); - - /** - * Search parameter: source - *

- * Description: The identity of source detecting the event
- * Type: reference
- * Path: AuditEvent.source.observer
- *

- */ - @SearchParamDefinition(name="source", path="AuditEvent.source.observer", description="The identity of source detecting the event", type="reference", target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: The identity of source detecting the event
- * Type: reference
- * Path: AuditEvent.source.observer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "AuditEvent:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("AuditEvent:source").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneElement.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneElement.java index 2d74d2919..3128424e6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneElement.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneElement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneType.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneType.java index 58e1c51c2..69a53525c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneType.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BackboneType.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Basic.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Basic.java index 452216fd3..32be52a61 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Basic.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Basic.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -77,18 +77,18 @@ public class Basic extends DomainResource { /** * Identifies when the resource was first created. */ - @Child(name = "created", type = {DateType.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Child(name = "created", type = {DateTimeType.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="When created", formalDefinition="Identifies when the resource was first created." ) - protected DateType created; + protected DateTimeType created; /** * Indicates who was responsible for creating the resource instance. */ - @Child(name = "author", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Organization.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Child(name = "author", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Organization.class, Device.class, CareTeam.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who created", formalDefinition="Indicates who was responsible for creating the resource instance." ) protected Reference author; - private static final long serialVersionUID = 1468819397L; + private static final long serialVersionUID = -1635508686L; /** * Constructor @@ -209,12 +209,12 @@ public class Basic extends DomainResource { /** * @return {@link #created} (Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value */ - public DateType getCreatedElement() { + public DateTimeType getCreatedElement() { if (this.created == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Basic.created"); else if (Configuration.doAutoCreate()) - this.created = new DateType(); // bb + this.created = new DateTimeType(); // bb return this.created; } @@ -229,7 +229,7 @@ public class Basic extends DomainResource { /** * @param value {@link #created} (Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value */ - public Basic setCreatedElement(DateType value) { + public Basic setCreatedElement(DateTimeType value) { this.created = value; return this; } @@ -249,7 +249,7 @@ public class Basic extends DomainResource { this.created = null; else { if (this.created == null) - this.created = new DateType(); + this.created = new DateTimeType(); this.created.setValue(value); } return this; @@ -284,8 +284,8 @@ public class Basic extends DomainResource { children.add(new Property("identifier", "Identifier", "Identifier assigned to the resource for business purposes, outside the context of FHIR.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("code", "CodeableConcept", "Identifies the 'type' of resource - equivalent to the resource name for other resources.", 0, 1, code)); children.add(new Property("subject", "Reference(Any)", "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", 0, 1, subject)); - children.add(new Property("created", "date", "Identifies when the resource was first created.", 0, 1, created)); - children.add(new Property("author", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization)", "Indicates who was responsible for creating the resource instance.", 0, 1, author)); + children.add(new Property("created", "dateTime", "Identifies when the resource was first created.", 0, 1, created)); + children.add(new Property("author", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization|Device|CareTeam)", "Indicates who was responsible for creating the resource instance.", 0, 1, author)); } @Override @@ -294,8 +294,8 @@ public class Basic extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier assigned to the resource for business purposes, outside the context of FHIR.", 0, java.lang.Integer.MAX_VALUE, identifier); case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Identifies the 'type' of resource - equivalent to the resource name for other resources.", 0, 1, code); case -1867885268: /*subject*/ return new Property("subject", "Reference(Any)", "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", 0, 1, subject); - case 1028554472: /*created*/ return new Property("created", "date", "Identifies when the resource was first created.", 0, 1, created); - case -1406328437: /*author*/ return new Property("author", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization)", "Indicates who was responsible for creating the resource instance.", 0, 1, author); + case 1028554472: /*created*/ return new Property("created", "dateTime", "Identifies when the resource was first created.", 0, 1, created); + case -1406328437: /*author*/ return new Property("author", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Organization|Device|CareTeam)", "Indicates who was responsible for creating the resource instance.", 0, 1, author); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -307,7 +307,7 @@ public class Basic extends DomainResource { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference - case 1028554472: /*created*/ return this.created == null ? new Base[0] : new Base[] {this.created}; // DateType + case 1028554472: /*created*/ return this.created == null ? new Base[0] : new Base[] {this.created}; // DateTimeType case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference default: return super.getProperty(hash, name, checkValid); } @@ -327,7 +327,7 @@ public class Basic extends DomainResource { this.subject = TypeConvertor.castToReference(value); // Reference return value; case 1028554472: // created - this.created = TypeConvertor.castToDate(value); // DateType + this.created = TypeConvertor.castToDateTime(value); // DateTimeType return value; case -1406328437: // author this.author = TypeConvertor.castToReference(value); // Reference @@ -346,7 +346,7 @@ public class Basic extends DomainResource { } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference } else if (name.equals("created")) { - this.created = TypeConvertor.castToDate(value); // DateType + this.created = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("author")) { this.author = TypeConvertor.castToReference(value); // Reference } else @@ -373,7 +373,7 @@ public class Basic extends DomainResource { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case 3059181: /*code*/ return new String[] {"CodeableConcept"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; - case 1028554472: /*created*/ return new String[] {"date"}; + case 1028554472: /*created*/ return new String[] {"dateTime"}; case -1406328437: /*author*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -463,144 +463,6 @@ public class Basic extends DomainResource { return ResourceType.Basic; } - /** - * Search parameter: author - *

- * Description: Who created
- * Type: reference
- * Path: Basic.author
- *

- */ - @SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: Who created
- * Type: reference
- * Path: Basic.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Basic:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Basic:author").toLocked(); - - /** - * Search parameter: code - *

- * Description: Kind of Resource
- * Type: token
- * Path: Basic.code
- *

- */ - @SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Kind of Resource
- * Type: token
- * Path: Basic.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: created - *

- * Description: When created
- * Type: date
- * Path: Basic.created
- *

- */ - @SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: When created
- * Type: date
- * Path: Basic.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: identifier - *

- * Description: Business identifier
- * Type: token
- * Path: Basic.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Basic.identifier", description="Business identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier
- * Type: token
- * Path: Basic.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Identifies the focus of this resource
- * Type: reference
- * Path: Basic.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Basic.subject.where(resolve() is Patient)", description="Identifies the focus of this resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Identifies the focus of this resource
- * Type: reference
- * Path: Basic.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Basic:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Basic:patient").toLocked(); - - /** - * Search parameter: subject - *

- * Description: Identifies the focus of this resource
- * Type: reference
- * Path: Basic.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the focus of this resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Identifies the focus of this resource
- * Type: reference
- * Path: Basic.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Basic:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Basic:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Binary.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Binary.java index 936f86151..4ff2212ce 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Binary.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Binary.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BiologicallyDerivedProduct.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BiologicallyDerivedProduct.java index 2d772b7d5..d63348512 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BiologicallyDerivedProduct.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BiologicallyDerivedProduct.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,238 +53,6 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="BiologicallyDerivedProduct", profile="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct") public class BiologicallyDerivedProduct extends DomainResource { - public enum BiologicallyDerivedProductCategory { - /** - * A collection of tissues joined in a structural unit to serve a common function. - */ - ORGAN, - /** - * An ensemble of similar cells and their extracellular matrix from the same origin that together carry out a specific function. - */ - TISSUE, - /** - * Body fluid. - */ - FLUID, - /** - * Collection of cells. - */ - CELLS, - /** - * Biological agent of unspecified type. - */ - BIOLOGICALAGENT, - /** - * added to help the parsers with the generic types - */ - NULL; - public static BiologicallyDerivedProductCategory fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("organ".equals(codeString)) - return ORGAN; - if ("tissue".equals(codeString)) - return TISSUE; - if ("fluid".equals(codeString)) - return FLUID; - if ("cells".equals(codeString)) - return CELLS; - if ("biologicalAgent".equals(codeString)) - return BIOLOGICALAGENT; - if (Configuration.isAcceptInvalidEnums()) - return null; - else - throw new FHIRException("Unknown BiologicallyDerivedProductCategory code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case ORGAN: return "organ"; - case TISSUE: return "tissue"; - case FLUID: return "fluid"; - case CELLS: return "cells"; - case BIOLOGICALAGENT: return "biologicalAgent"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case ORGAN: return "http://hl7.org/fhir/product-category"; - case TISSUE: return "http://hl7.org/fhir/product-category"; - case FLUID: return "http://hl7.org/fhir/product-category"; - case CELLS: return "http://hl7.org/fhir/product-category"; - case BIOLOGICALAGENT: return "http://hl7.org/fhir/product-category"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case ORGAN: return "A collection of tissues joined in a structural unit to serve a common function."; - case TISSUE: return "An ensemble of similar cells and their extracellular matrix from the same origin that together carry out a specific function."; - case FLUID: return "Body fluid."; - case CELLS: return "Collection of cells."; - case BIOLOGICALAGENT: return "Biological agent of unspecified type."; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case ORGAN: return "Organ"; - case TISSUE: return "Tissue"; - case FLUID: return "Fluid"; - case CELLS: return "Cells"; - case BIOLOGICALAGENT: return "BiologicalAgent"; - default: return "?"; - } - } - } - - public static class BiologicallyDerivedProductCategoryEnumFactory implements EnumFactory { - public BiologicallyDerivedProductCategory fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("organ".equals(codeString)) - return BiologicallyDerivedProductCategory.ORGAN; - if ("tissue".equals(codeString)) - return BiologicallyDerivedProductCategory.TISSUE; - if ("fluid".equals(codeString)) - return BiologicallyDerivedProductCategory.FLUID; - if ("cells".equals(codeString)) - return BiologicallyDerivedProductCategory.CELLS; - if ("biologicalAgent".equals(codeString)) - return BiologicallyDerivedProductCategory.BIOLOGICALAGENT; - throw new IllegalArgumentException("Unknown BiologicallyDerivedProductCategory code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("organ".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductCategory.ORGAN); - if ("tissue".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductCategory.TISSUE); - if ("fluid".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductCategory.FLUID); - if ("cells".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductCategory.CELLS); - if ("biologicalAgent".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductCategory.BIOLOGICALAGENT); - throw new FHIRException("Unknown BiologicallyDerivedProductCategory code '"+codeString+"'"); - } - public String toCode(BiologicallyDerivedProductCategory code) { - if (code == BiologicallyDerivedProductCategory.ORGAN) - return "organ"; - if (code == BiologicallyDerivedProductCategory.TISSUE) - return "tissue"; - if (code == BiologicallyDerivedProductCategory.FLUID) - return "fluid"; - if (code == BiologicallyDerivedProductCategory.CELLS) - return "cells"; - if (code == BiologicallyDerivedProductCategory.BIOLOGICALAGENT) - return "biologicalAgent"; - return "?"; - } - public String toSystem(BiologicallyDerivedProductCategory code) { - return code.getSystem(); - } - } - - public enum BiologicallyDerivedProductStatus { - /** - * Product is currently available for use. - */ - AVAILABLE, - /** - * Product is not currently available for use. - */ - UNAVAILABLE, - /** - * added to help the parsers with the generic types - */ - NULL; - public static BiologicallyDerivedProductStatus fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("available".equals(codeString)) - return AVAILABLE; - if ("unavailable".equals(codeString)) - return UNAVAILABLE; - if (Configuration.isAcceptInvalidEnums()) - return null; - else - throw new FHIRException("Unknown BiologicallyDerivedProductStatus code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case AVAILABLE: return "available"; - case UNAVAILABLE: return "unavailable"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case AVAILABLE: return "http://hl7.org/fhir/biological-product-status"; - case UNAVAILABLE: return "http://hl7.org/fhir/biological-product-status"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case AVAILABLE: return "Product is currently available for use."; - case UNAVAILABLE: return "Product is not currently available for use."; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case AVAILABLE: return "Available"; - case UNAVAILABLE: return "Unavailable"; - default: return "?"; - } - } - } - - public static class BiologicallyDerivedProductStatusEnumFactory implements EnumFactory { - public BiologicallyDerivedProductStatus fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("available".equals(codeString)) - return BiologicallyDerivedProductStatus.AVAILABLE; - if ("unavailable".equals(codeString)) - return BiologicallyDerivedProductStatus.UNAVAILABLE; - throw new IllegalArgumentException("Unknown BiologicallyDerivedProductStatus code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("available".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductStatus.AVAILABLE); - if ("unavailable".equals(codeString)) - return new Enumeration(this, BiologicallyDerivedProductStatus.UNAVAILABLE); - throw new FHIRException("Unknown BiologicallyDerivedProductStatus code '"+codeString+"'"); - } - public String toCode(BiologicallyDerivedProductStatus code) { - if (code == BiologicallyDerivedProductStatus.AVAILABLE) - return "available"; - if (code == BiologicallyDerivedProductStatus.UNAVAILABLE) - return "unavailable"; - return "?"; - } - public String toSystem(BiologicallyDerivedProductStatus code) { - return code.getSystem(); - } - } - @Block() public static class BiologicallyDerivedProductCollectionComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -298,7 +66,7 @@ public class BiologicallyDerivedProduct extends DomainResource { * The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product. */ @Child(name = "source", type = {Patient.class, Organization.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Who is product from", formalDefinition="The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product." ) + @Description(shortDefinition="The patient or entity providing the product", formalDefinition="The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product." ) protected Reference source; /** @@ -572,21 +340,21 @@ public class BiologicallyDerivedProduct extends DomainResource { @Block() public static class BiologicallyDerivedProductPropertyComponent extends BackboneElement implements IBaseBackboneElement { /** - * Code that specifies the property. + * Code that specifies the property. It should reference an established coding system. */ - @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Code that specifies the property", formalDefinition="Code that specifies the property." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/NamingSystem/ib") - protected CodeableConcept type; + @Child(name = "type", type = {Coding.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Code that specifies the property", formalDefinition="Code that specifies the property. It should reference an established coding system." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/biologicallyderived-product-property-type-codes") + protected Coding type; /** * Property values. */ - @Child(name = "value", type = {BooleanType.class, IntegerType.class, CodeableConcept.class, Quantity.class, Range.class, StringType.class, Attachment.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Child(name = "value", type = {BooleanType.class, IntegerType.class, CodeableConcept.class, Period.class, Quantity.class, Range.class, Ratio.class, StringType.class, Attachment.class}, order=2, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="Property values", formalDefinition="Property values." ) protected DataType value; - private static final long serialVersionUID = -1659186716L; + private static final long serialVersionUID = -1544667497L; /** * Constructor @@ -598,21 +366,21 @@ public class BiologicallyDerivedProduct extends DomainResource { /** * Constructor */ - public BiologicallyDerivedProductPropertyComponent(CodeableConcept type, DataType value) { + public BiologicallyDerivedProductPropertyComponent(Coding type, DataType value) { super(); this.setType(type); this.setValue(value); } /** - * @return {@link #type} (Code that specifies the property.) + * @return {@link #type} (Code that specifies the property. It should reference an established coding system.) */ - public CodeableConcept getType() { + public Coding getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create BiologicallyDerivedProductPropertyComponent.type"); else if (Configuration.doAutoCreate()) - this.type = new CodeableConcept(); // cc + this.type = new Coding(); // cc return this.type; } @@ -621,9 +389,9 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @param value {@link #type} (Code that specifies the property.) + * @param value {@link #type} (Code that specifies the property. It should reference an established coding system.) */ - public BiologicallyDerivedProductPropertyComponent setType(CodeableConcept value) { + public BiologicallyDerivedProductPropertyComponent setType(Coding value) { this.type = value; return this; } @@ -680,6 +448,21 @@ public class BiologicallyDerivedProduct extends DomainResource { return this != null && this.value instanceof CodeableConcept; } + /** + * @return {@link #value} (Property values.) + */ + public Period getValuePeriod() throws FHIRException { + if (this.value == null) + this.value = new Period(); + if (!(this.value instanceof Period)) + throw new FHIRException("Type mismatch: the type Period was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Period) this.value; + } + + public boolean hasValuePeriod() { + return this != null && this.value instanceof Period; + } + /** * @return {@link #value} (Property values.) */ @@ -710,6 +493,21 @@ public class BiologicallyDerivedProduct extends DomainResource { return this != null && this.value instanceof Range; } + /** + * @return {@link #value} (Property values.) + */ + public Ratio getValueRatio() throws FHIRException { + if (this.value == null) + this.value = new Ratio(); + if (!(this.value instanceof Ratio)) + throw new FHIRException("Type mismatch: the type Ratio was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Ratio) this.value; + } + + public boolean hasValueRatio() { + return this != null && this.value instanceof Ratio; + } + /** * @return {@link #value} (Property values.) */ @@ -748,7 +546,7 @@ public class BiologicallyDerivedProduct extends DomainResource { * @param value {@link #value} (Property values.) */ public BiologicallyDerivedProductPropertyComponent setValue(DataType value) { - if (value != null && !(value instanceof BooleanType || value instanceof IntegerType || value instanceof CodeableConcept || value instanceof Quantity || value instanceof Range || value instanceof StringType || value instanceof Attachment)) + if (value != null && !(value instanceof BooleanType || value instanceof IntegerType || value instanceof CodeableConcept || value instanceof Period || value instanceof Quantity || value instanceof Range || value instanceof Ratio || value instanceof StringType || value instanceof Attachment)) throw new Error("Not the right type for BiologicallyDerivedProduct.property.value[x]: "+value.fhirType()); this.value = value; return this; @@ -756,21 +554,23 @@ public class BiologicallyDerivedProduct extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("type", "CodeableConcept", "Code that specifies the property.", 0, 1, type)); - children.add(new Property("value[x]", "boolean|integer|CodeableConcept|Quantity|Range|string|Attachment", "Property values.", 0, 1, value)); + children.add(new Property("type", "Coding", "Code that specifies the property. It should reference an established coding system.", 0, 1, type)); + children.add(new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Code that specifies the property.", 0, 1, type); - case -1410166417: /*value[x]*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Quantity|Range|string|Attachment", "Property values.", 0, 1, value); - case 111972721: /*value*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Quantity|Range|string|Attachment", "Property values.", 0, 1, value); + case 3575610: /*type*/ return new Property("type", "Coding", "Code that specifies the property. It should reference an established coding system.", 0, 1, type); + case -1410166417: /*value[x]*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "boolean|integer|CodeableConcept|Period|Quantity|Range|Ratio|string|Attachment", "Property values.", 0, 1, value); case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "Property values.", 0, 1, value); case -1668204915: /*valueInteger*/ return new Property("value[x]", "integer", "Property values.", 0, 1, value); case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "Property values.", 0, 1, value); + case -1524344174: /*valuePeriod*/ return new Property("value[x]", "Period", "Property values.", 0, 1, value); case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "Property values.", 0, 1, value); case 2030761548: /*valueRange*/ return new Property("value[x]", "Range", "Property values.", 0, 1, value); + case 2030767386: /*valueRatio*/ return new Property("value[x]", "Ratio", "Property values.", 0, 1, value); case -1424603934: /*valueString*/ return new Property("value[x]", "string", "Property values.", 0, 1, value); case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "Property values.", 0, 1, value); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -781,7 +581,7 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Coding case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType default: return super.getProperty(hash, name, checkValid); } @@ -792,7 +592,7 @@ public class BiologicallyDerivedProduct extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case 3575610: // type - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.type = TypeConvertor.castToCoding(value); // Coding return value; case 111972721: // value this.value = TypeConvertor.castToType(value); // DataType @@ -805,7 +605,7 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("type")) { - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.type = TypeConvertor.castToCoding(value); // Coding } else if (name.equals("value[x]")) { this.value = TypeConvertor.castToType(value); // DataType } else @@ -827,8 +627,8 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3575610: /*type*/ return new String[] {"CodeableConcept"}; - case 111972721: /*value*/ return new String[] {"boolean", "integer", "CodeableConcept", "Quantity", "Range", "string", "Attachment"}; + case 3575610: /*type*/ return new String[] {"Coding"}; + case 111972721: /*value*/ return new String[] {"boolean", "integer", "CodeableConcept", "Period", "Quantity", "Range", "Ratio", "string", "Attachment"}; default: return super.getTypesForProperty(hash, name); } @@ -837,7 +637,7 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base addChild(String name) throws FHIRException { if (name.equals("type")) { - this.type = new CodeableConcept(); + this.type = new Coding(); return this.type; } else if (name.equals("valueBoolean")) { @@ -852,6 +652,10 @@ public class BiologicallyDerivedProduct extends DomainResource { this.value = new CodeableConcept(); return this.value; } + else if (name.equals("valuePeriod")) { + this.value = new Period(); + return this.value; + } else if (name.equals("valueQuantity")) { this.value = new Quantity(); return this.value; @@ -860,6 +664,10 @@ public class BiologicallyDerivedProduct extends DomainResource { this.value = new Range(); return this.value; } + else if (name.equals("valueRatio")) { + this.value = new Ratio(); + return this.value; + } else if (name.equals("valueString")) { this.value = new StringType(); return this.value; @@ -918,73 +726,74 @@ public class BiologicallyDerivedProduct extends DomainResource { /** * Broad category of this product. */ - @Child(name = "productCategory", type = {CodeType.class}, order=0, min=0, max=1, modifier=false, summary=false) + @Child(name = "productCategory", type = {Coding.class}, order=0, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="organ | tissue | fluid | cells | biologicalAgent", formalDefinition="Broad category of this product." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-category") - protected Enumeration productCategory; + protected Coding productCategory; /** - * A code that identifies the kind of this biologically derived product (SNOMED Ctcode). + * A codified value that systematically supports characterization and classification of medical products of human origin inclusive of processing conditions such as additives, volumes and handling conditions. */ - @Child(name = "productCode", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="What this biologically derived product is", formalDefinition="A code that identifies the kind of this biologically derived product (SNOMED Ctcode)." ) - protected CodeableConcept productCode; + @Child(name = "productCode", type = {Coding.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="A code that identifies the kind of this biologically derived product", formalDefinition="A codified value that systematically supports characterization and classification of medical products of human origin inclusive of processing conditions such as additives, volumes and handling conditions." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/biologicallyderived-product-codes") + protected Coding productCode; /** - * Parent product (if any). + * Parent product (if any) for this biologically-derived product. */ @Child(name = "parent", type = {BiologicallyDerivedProduct.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="BiologicallyDerivedProduct parent", formalDefinition="Parent product (if any)." ) + @Description(shortDefinition="The parent biologically-derived product", formalDefinition="Parent product (if any) for this biologically-derived product." ) protected List parent; /** - * Procedure request to obtain this biologically derived product. + * Request to obtain and/or infuse this biologically derived product. */ @Child(name = "request", type = {ServiceRequest.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Procedure request", formalDefinition="Procedure request to obtain this biologically derived product." ) + @Description(shortDefinition="Request to obtain and/or infuse this product", formalDefinition="Request to obtain and/or infuse this biologically derived product." ) protected List request; /** - * This records identifiers associated with this biologically derived product instance 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). + * Unique instance identifiers assigned to a biologically derived product. Note: This is a business identifier, not a resource identifier. */ @Child(name = "identifier", type = {Identifier.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="External ids for this item", formalDefinition="This records identifiers associated with this biologically derived product instance 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)." ) + @Description(shortDefinition="Instance identifier", formalDefinition="Unique instance identifiers assigned to a biologically derived product. Note: This is a business identifier, not a resource identifier." ) protected List identifier; /** - * An identifier that supports traceability to the biological entity that is the source of biological material in the product. + * An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled. */ - @Child(name = "biologicalSource", type = {Identifier.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="An identifier that supports traceability to the biological entity that is the source of biological material in the product", formalDefinition="An identifier that supports traceability to the biological entity that is the source of biological material in the product." ) - protected Identifier biologicalSource; + @Child(name = "biologicalSourceEvent", type = {Identifier.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled", formalDefinition="An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled." ) + protected Identifier biologicalSourceEvent; /** - * Processing facilities for this biologically derived product. + * Processing facilities responsible for the labeling and distribution of this biologically derived product. */ @Child(name = "processingFacility", type = {Organization.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Processing facility", formalDefinition="Processing facilities for this biologically derived product." ) + @Description(shortDefinition="Processing facilities responsible for the labeling and distribution of this biologically derived product", formalDefinition="Processing facilities responsible for the labeling and distribution of this biologically derived product." ) protected List processingFacility; /** - * Description of division. + * A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers. */ @Child(name = "division", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Description of division", formalDefinition="Description of division." ) + @Description(shortDefinition="A unique identifier for an aliquot of a product", formalDefinition="A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers." ) protected StringType division; /** * Whether the product is currently available. */ - @Child(name = "status", type = {CodeType.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "productStatus", type = {Coding.class}, order=8, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="available | unavailable", formalDefinition="Whether the product is currently available." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/biological-product-status") - protected Enumeration status; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/biologicallyderived-product-status") + protected Coding productStatus; /** - * Date of expiration. + * Date, and where relevant time, of expiration. */ @Child(name = "expirationDate", type = {DateTimeType.class}, order=9, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Date of expiration", formalDefinition="Date of expiration." ) + @Description(shortDefinition="Date, and where relevant time, of expiration", formalDefinition="Date, and where relevant time, of expiration." ) protected DateTimeType expirationDate; /** @@ -995,10 +804,10 @@ public class BiologicallyDerivedProduct extends DomainResource { protected BiologicallyDerivedProductCollectionComponent collection; /** - * Product storage temp requirements. + * The temperature requirements for storage of the biologically-derived product. */ @Child(name = "storageTempRequirements", type = {Range.class}, order=11, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Product storage temp requirements", formalDefinition="Product storage temp requirements." ) + @Description(shortDefinition="Product storage temperature requirements", formalDefinition="The temperature requirements for storage of the biologically-derived product." ) protected Range storageTempRequirements; /** @@ -1008,7 +817,7 @@ public class BiologicallyDerivedProduct extends DomainResource { @Description(shortDefinition="A property that is specific to this BiologicallyDerviedProduct instance", formalDefinition="A property that is specific to this BiologicallyDerviedProduct instance." ) protected List property; - private static final long serialVersionUID = -2109673989L; + private static final long serialVersionUID = 823916581L; /** * Constructor @@ -1018,63 +827,38 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #productCategory} (Broad category of this product.). This is the underlying object with id, value and extensions. The accessor "getProductCategory" gives direct access to the value + * @return {@link #productCategory} (Broad category of this product.) */ - public Enumeration getProductCategoryElement() { + public Coding getProductCategory() { if (this.productCategory == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create BiologicallyDerivedProduct.productCategory"); else if (Configuration.doAutoCreate()) - this.productCategory = new Enumeration(new BiologicallyDerivedProductCategoryEnumFactory()); // bb + this.productCategory = new Coding(); // cc return this.productCategory; } - public boolean hasProductCategoryElement() { - return this.productCategory != null && !this.productCategory.isEmpty(); - } - public boolean hasProductCategory() { return this.productCategory != null && !this.productCategory.isEmpty(); } /** - * @param value {@link #productCategory} (Broad category of this product.). This is the underlying object with id, value and extensions. The accessor "getProductCategory" gives direct access to the value + * @param value {@link #productCategory} (Broad category of this product.) */ - public BiologicallyDerivedProduct setProductCategoryElement(Enumeration value) { + public BiologicallyDerivedProduct setProductCategory(Coding value) { this.productCategory = value; return this; } /** - * @return Broad category of this product. + * @return {@link #productCode} (A codified value that systematically supports characterization and classification of medical products of human origin inclusive of processing conditions such as additives, volumes and handling conditions.) */ - public BiologicallyDerivedProductCategory getProductCategory() { - return this.productCategory == null ? null : this.productCategory.getValue(); - } - - /** - * @param value Broad category of this product. - */ - public BiologicallyDerivedProduct setProductCategory(BiologicallyDerivedProductCategory value) { - if (value == null) - this.productCategory = null; - else { - if (this.productCategory == null) - this.productCategory = new Enumeration(new BiologicallyDerivedProductCategoryEnumFactory()); - this.productCategory.setValue(value); - } - return this; - } - - /** - * @return {@link #productCode} (A code that identifies the kind of this biologically derived product (SNOMED Ctcode).) - */ - public CodeableConcept getProductCode() { + public Coding getProductCode() { if (this.productCode == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create BiologicallyDerivedProduct.productCode"); else if (Configuration.doAutoCreate()) - this.productCode = new CodeableConcept(); // cc + this.productCode = new Coding(); // cc return this.productCode; } @@ -1083,15 +867,15 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @param value {@link #productCode} (A code that identifies the kind of this biologically derived product (SNOMED Ctcode).) + * @param value {@link #productCode} (A codified value that systematically supports characterization and classification of medical products of human origin inclusive of processing conditions such as additives, volumes and handling conditions.) */ - public BiologicallyDerivedProduct setProductCode(CodeableConcept value) { + public BiologicallyDerivedProduct setProductCode(Coding value) { this.productCode = value; return this; } /** - * @return {@link #parent} (Parent product (if any).) + * @return {@link #parent} (Parent product (if any) for this biologically-derived product.) */ public List getParent() { if (this.parent == null) @@ -1144,7 +928,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #request} (Procedure request to obtain this biologically derived product.) + * @return {@link #request} (Request to obtain and/or infuse this biologically derived product.) */ public List getRequest() { if (this.request == null) @@ -1197,7 +981,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #identifier} (This records identifiers associated with this biologically derived product instance 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).) + * @return {@link #identifier} (Unique instance identifiers assigned to a biologically derived product. Note: This is a business identifier, not a resource identifier.) */ public List getIdentifier() { if (this.identifier == null) @@ -1250,31 +1034,31 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #biologicalSource} (An identifier that supports traceability to the biological entity that is the source of biological material in the product.) + * @return {@link #biologicalSourceEvent} (An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.) */ - public Identifier getBiologicalSource() { - if (this.biologicalSource == null) + public Identifier getBiologicalSourceEvent() { + if (this.biologicalSourceEvent == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create BiologicallyDerivedProduct.biologicalSource"); + throw new Error("Attempt to auto-create BiologicallyDerivedProduct.biologicalSourceEvent"); else if (Configuration.doAutoCreate()) - this.biologicalSource = new Identifier(); // cc - return this.biologicalSource; + this.biologicalSourceEvent = new Identifier(); // cc + return this.biologicalSourceEvent; } - public boolean hasBiologicalSource() { - return this.biologicalSource != null && !this.biologicalSource.isEmpty(); + public boolean hasBiologicalSourceEvent() { + return this.biologicalSourceEvent != null && !this.biologicalSourceEvent.isEmpty(); } /** - * @param value {@link #biologicalSource} (An identifier that supports traceability to the biological entity that is the source of biological material in the product.) + * @param value {@link #biologicalSourceEvent} (An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.) */ - public BiologicallyDerivedProduct setBiologicalSource(Identifier value) { - this.biologicalSource = value; + public BiologicallyDerivedProduct setBiologicalSourceEvent(Identifier value) { + this.biologicalSourceEvent = value; return this; } /** - * @return {@link #processingFacility} (Processing facilities for this biologically derived product.) + * @return {@link #processingFacility} (Processing facilities responsible for the labeling and distribution of this biologically derived product.) */ public List getProcessingFacility() { if (this.processingFacility == null) @@ -1327,7 +1111,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #division} (Description of division.). This is the underlying object with id, value and extensions. The accessor "getDivision" gives direct access to the value + * @return {@link #division} (A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers.). This is the underlying object with id, value and extensions. The accessor "getDivision" gives direct access to the value */ public StringType getDivisionElement() { if (this.division == null) @@ -1347,7 +1131,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @param value {@link #division} (Description of division.). This is the underlying object with id, value and extensions. The accessor "getDivision" gives direct access to the value + * @param value {@link #division} (A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers.). This is the underlying object with id, value and extensions. The accessor "getDivision" gives direct access to the value */ public BiologicallyDerivedProduct setDivisionElement(StringType value) { this.division = value; @@ -1355,14 +1139,14 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return Description of division. + * @return A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers. */ public String getDivision() { return this.division == null ? null : this.division.getValue(); } /** - * @param value Description of division. + * @param value A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers. */ public BiologicallyDerivedProduct setDivision(String value) { if (Utilities.noString(value)) @@ -1376,56 +1160,31 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #status} (Whether the product is currently available.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + * @return {@link #productStatus} (Whether the product is currently available.) */ - public Enumeration getStatusElement() { - if (this.status == null) + public Coding getProductStatus() { + if (this.productStatus == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create BiologicallyDerivedProduct.status"); + throw new Error("Attempt to auto-create BiologicallyDerivedProduct.productStatus"); else if (Configuration.doAutoCreate()) - this.status = new Enumeration(new BiologicallyDerivedProductStatusEnumFactory()); // bb - return this.status; + this.productStatus = new Coding(); // cc + return this.productStatus; } - public boolean hasStatusElement() { - return this.status != null && !this.status.isEmpty(); - } - - public boolean hasStatus() { - return this.status != null && !this.status.isEmpty(); + public boolean hasProductStatus() { + return this.productStatus != null && !this.productStatus.isEmpty(); } /** - * @param value {@link #status} (Whether the product is currently available.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + * @param value {@link #productStatus} (Whether the product is currently available.) */ - public BiologicallyDerivedProduct setStatusElement(Enumeration value) { - this.status = value; + public BiologicallyDerivedProduct setProductStatus(Coding value) { + this.productStatus = value; return this; } /** - * @return Whether the product is currently available. - */ - public BiologicallyDerivedProductStatus getStatus() { - return this.status == null ? null : this.status.getValue(); - } - - /** - * @param value Whether the product is currently available. - */ - public BiologicallyDerivedProduct setStatus(BiologicallyDerivedProductStatus value) { - if (value == null) - this.status = null; - else { - if (this.status == null) - this.status = new Enumeration(new BiologicallyDerivedProductStatusEnumFactory()); - this.status.setValue(value); - } - return this; - } - - /** - * @return {@link #expirationDate} (Date of expiration.). This is the underlying object with id, value and extensions. The accessor "getExpirationDate" gives direct access to the value + * @return {@link #expirationDate} (Date, and where relevant time, of expiration.). This is the underlying object with id, value and extensions. The accessor "getExpirationDate" gives direct access to the value */ public DateTimeType getExpirationDateElement() { if (this.expirationDate == null) @@ -1445,7 +1204,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @param value {@link #expirationDate} (Date of expiration.). This is the underlying object with id, value and extensions. The accessor "getExpirationDate" gives direct access to the value + * @param value {@link #expirationDate} (Date, and where relevant time, of expiration.). This is the underlying object with id, value and extensions. The accessor "getExpirationDate" gives direct access to the value */ public BiologicallyDerivedProduct setExpirationDateElement(DateTimeType value) { this.expirationDate = value; @@ -1453,14 +1212,14 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return Date of expiration. + * @return Date, and where relevant time, of expiration. */ public Date getExpirationDate() { return this.expirationDate == null ? null : this.expirationDate.getValue(); } /** - * @param value Date of expiration. + * @param value Date, and where relevant time, of expiration. */ public BiologicallyDerivedProduct setExpirationDate(Date value) { if (value == null) @@ -1498,7 +1257,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @return {@link #storageTempRequirements} (Product storage temp requirements.) + * @return {@link #storageTempRequirements} (The temperature requirements for storage of the biologically-derived product.) */ public Range getStorageTempRequirements() { if (this.storageTempRequirements == null) @@ -1514,7 +1273,7 @@ public class BiologicallyDerivedProduct extends DomainResource { } /** - * @param value {@link #storageTempRequirements} (Product storage temp requirements.) + * @param value {@link #storageTempRequirements} (The temperature requirements for storage of the biologically-derived product.) */ public BiologicallyDerivedProduct setStorageTempRequirements(Range value) { this.storageTempRequirements = value; @@ -1576,36 +1335,36 @@ public class BiologicallyDerivedProduct extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("productCategory", "code", "Broad category of this product.", 0, 1, productCategory)); - children.add(new Property("productCode", "CodeableConcept", "A code that identifies the kind of this biologically derived product (SNOMED Ctcode).", 0, 1, productCode)); - children.add(new Property("parent", "Reference(BiologicallyDerivedProduct)", "Parent product (if any).", 0, java.lang.Integer.MAX_VALUE, parent)); - children.add(new Property("request", "Reference(ServiceRequest)", "Procedure request to obtain this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, request)); - children.add(new Property("identifier", "Identifier", "This records identifiers associated with this biologically derived product instance 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).", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("biologicalSource", "Identifier", "An identifier that supports traceability to the biological entity that is the source of biological material in the product.", 0, 1, biologicalSource)); - children.add(new Property("processingFacility", "Reference(Organization)", "Processing facilities for this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, processingFacility)); - children.add(new Property("division", "string", "Description of division.", 0, 1, division)); - children.add(new Property("status", "code", "Whether the product is currently available.", 0, 1, status)); - children.add(new Property("expirationDate", "dateTime", "Date of expiration.", 0, 1, expirationDate)); + children.add(new Property("productCategory", "Coding", "Broad category of this product.", 0, 1, productCategory)); + children.add(new Property("productCode", "Coding", "A codified value that systematically supports characterization and classification of medical products of human origin inclusive of processing conditions such as additives, volumes and handling conditions.", 0, 1, productCode)); + children.add(new Property("parent", "Reference(BiologicallyDerivedProduct)", "Parent product (if any) for this biologically-derived product.", 0, java.lang.Integer.MAX_VALUE, parent)); + children.add(new Property("request", "Reference(ServiceRequest)", "Request to obtain and/or infuse this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, request)); + children.add(new Property("identifier", "Identifier", "Unique instance identifiers assigned to a biologically derived product. Note: This is a business identifier, not a resource identifier.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("biologicalSourceEvent", "Identifier", "An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.", 0, 1, biologicalSourceEvent)); + children.add(new Property("processingFacility", "Reference(Organization)", "Processing facilities responsible for the labeling and distribution of this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, processingFacility)); + children.add(new Property("division", "string", "A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers.", 0, 1, division)); + children.add(new Property("productStatus", "Coding", "Whether the product is currently available.", 0, 1, productStatus)); + children.add(new Property("expirationDate", "dateTime", "Date, and where relevant time, of expiration.", 0, 1, expirationDate)); children.add(new Property("collection", "", "How this product was collected.", 0, 1, collection)); - children.add(new Property("storageTempRequirements", "Range", "Product storage temp requirements.", 0, 1, storageTempRequirements)); + children.add(new Property("storageTempRequirements", "Range", "The temperature requirements for storage of the biologically-derived product.", 0, 1, storageTempRequirements)); children.add(new Property("property", "", "A property that is specific to this BiologicallyDerviedProduct instance.", 0, java.lang.Integer.MAX_VALUE, property)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 197299981: /*productCategory*/ return new Property("productCategory", "code", "Broad category of this product.", 0, 1, productCategory); - case -1492131972: /*productCode*/ return new Property("productCode", "CodeableConcept", "A code that identifies the kind of this biologically derived product (SNOMED Ctcode).", 0, 1, productCode); - case -995424086: /*parent*/ return new Property("parent", "Reference(BiologicallyDerivedProduct)", "Parent product (if any).", 0, java.lang.Integer.MAX_VALUE, parent); - case 1095692943: /*request*/ return new Property("request", "Reference(ServiceRequest)", "Procedure request to obtain this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, request); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "This records identifiers associated with this biologically derived product instance 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).", 0, java.lang.Integer.MAX_VALUE, identifier); - case -883952260: /*biologicalSource*/ return new Property("biologicalSource", "Identifier", "An identifier that supports traceability to the biological entity that is the source of biological material in the product.", 0, 1, biologicalSource); - case 39337686: /*processingFacility*/ return new Property("processingFacility", "Reference(Organization)", "Processing facilities for this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, processingFacility); - case 364720301: /*division*/ return new Property("division", "string", "Description of division.", 0, 1, division); - case -892481550: /*status*/ return new Property("status", "code", "Whether the product is currently available.", 0, 1, status); - case -668811523: /*expirationDate*/ return new Property("expirationDate", "dateTime", "Date of expiration.", 0, 1, expirationDate); + case 197299981: /*productCategory*/ return new Property("productCategory", "Coding", "Broad category of this product.", 0, 1, productCategory); + case -1492131972: /*productCode*/ return new Property("productCode", "Coding", "A codified value that systematically supports characterization and classification of medical products of human origin inclusive of processing conditions such as additives, volumes and handling conditions.", 0, 1, productCode); + case -995424086: /*parent*/ return new Property("parent", "Reference(BiologicallyDerivedProduct)", "Parent product (if any) for this biologically-derived product.", 0, java.lang.Integer.MAX_VALUE, parent); + case 1095692943: /*request*/ return new Property("request", "Reference(ServiceRequest)", "Request to obtain and/or infuse this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, request); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Unique instance identifiers assigned to a biologically derived product. Note: This is a business identifier, not a resource identifier.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -654468482: /*biologicalSourceEvent*/ return new Property("biologicalSourceEvent", "Identifier", "An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.", 0, 1, biologicalSourceEvent); + case 39337686: /*processingFacility*/ return new Property("processingFacility", "Reference(Organization)", "Processing facilities responsible for the labeling and distribution of this biologically derived product.", 0, java.lang.Integer.MAX_VALUE, processingFacility); + case 364720301: /*division*/ return new Property("division", "string", "A unique identifier for an aliquot of a product. Used to distinguish individual aliquots of a product carrying the same biologicalSource and productCode identifiers.", 0, 1, division); + case 1042864577: /*productStatus*/ return new Property("productStatus", "Coding", "Whether the product is currently available.", 0, 1, productStatus); + case -668811523: /*expirationDate*/ return new Property("expirationDate", "dateTime", "Date, and where relevant time, of expiration.", 0, 1, expirationDate); case -1741312354: /*collection*/ return new Property("collection", "", "How this product was collected.", 0, 1, collection); - case 1643599647: /*storageTempRequirements*/ return new Property("storageTempRequirements", "Range", "Product storage temp requirements.", 0, 1, storageTempRequirements); + case 1643599647: /*storageTempRequirements*/ return new Property("storageTempRequirements", "Range", "The temperature requirements for storage of the biologically-derived product.", 0, 1, storageTempRequirements); case -993141291: /*property*/ return new Property("property", "", "A property that is specific to this BiologicallyDerviedProduct instance.", 0, java.lang.Integer.MAX_VALUE, property); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1615,15 +1374,15 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 197299981: /*productCategory*/ return this.productCategory == null ? new Base[0] : new Base[] {this.productCategory}; // Enumeration - case -1492131972: /*productCode*/ return this.productCode == null ? new Base[0] : new Base[] {this.productCode}; // CodeableConcept + case 197299981: /*productCategory*/ return this.productCategory == null ? new Base[0] : new Base[] {this.productCategory}; // Coding + case -1492131972: /*productCode*/ return this.productCode == null ? new Base[0] : new Base[] {this.productCode}; // Coding case -995424086: /*parent*/ return this.parent == null ? new Base[0] : this.parent.toArray(new Base[this.parent.size()]); // Reference case 1095692943: /*request*/ return this.request == null ? new Base[0] : this.request.toArray(new Base[this.request.size()]); // Reference case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case -883952260: /*biologicalSource*/ return this.biologicalSource == null ? new Base[0] : new Base[] {this.biologicalSource}; // Identifier + case -654468482: /*biologicalSourceEvent*/ return this.biologicalSourceEvent == null ? new Base[0] : new Base[] {this.biologicalSourceEvent}; // Identifier case 39337686: /*processingFacility*/ return this.processingFacility == null ? new Base[0] : this.processingFacility.toArray(new Base[this.processingFacility.size()]); // Reference case 364720301: /*division*/ return this.division == null ? new Base[0] : new Base[] {this.division}; // StringType - case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + case 1042864577: /*productStatus*/ return this.productStatus == null ? new Base[0] : new Base[] {this.productStatus}; // Coding case -668811523: /*expirationDate*/ return this.expirationDate == null ? new Base[0] : new Base[] {this.expirationDate}; // DateTimeType case -1741312354: /*collection*/ return this.collection == null ? new Base[0] : new Base[] {this.collection}; // BiologicallyDerivedProductCollectionComponent case 1643599647: /*storageTempRequirements*/ return this.storageTempRequirements == null ? new Base[0] : new Base[] {this.storageTempRequirements}; // Range @@ -1637,11 +1396,10 @@ public class BiologicallyDerivedProduct extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case 197299981: // productCategory - value = new BiologicallyDerivedProductCategoryEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.productCategory = (Enumeration) value; // Enumeration + this.productCategory = TypeConvertor.castToCoding(value); // Coding return value; case -1492131972: // productCode - this.productCode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.productCode = TypeConvertor.castToCoding(value); // Coding return value; case -995424086: // parent this.getParent().add(TypeConvertor.castToReference(value)); // Reference @@ -1652,8 +1410,8 @@ public class BiologicallyDerivedProduct extends DomainResource { case -1618432855: // identifier this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier return value; - case -883952260: // biologicalSource - this.biologicalSource = TypeConvertor.castToIdentifier(value); // Identifier + case -654468482: // biologicalSourceEvent + this.biologicalSourceEvent = TypeConvertor.castToIdentifier(value); // Identifier return value; case 39337686: // processingFacility this.getProcessingFacility().add(TypeConvertor.castToReference(value)); // Reference @@ -1661,9 +1419,8 @@ public class BiologicallyDerivedProduct extends DomainResource { case 364720301: // division this.division = TypeConvertor.castToString(value); // StringType return value; - case -892481550: // status - value = new BiologicallyDerivedProductStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration + case 1042864577: // productStatus + this.productStatus = TypeConvertor.castToCoding(value); // Coding return value; case -668811523: // expirationDate this.expirationDate = TypeConvertor.castToDateTime(value); // DateTimeType @@ -1685,25 +1442,23 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("productCategory")) { - value = new BiologicallyDerivedProductCategoryEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.productCategory = (Enumeration) value; // Enumeration + this.productCategory = TypeConvertor.castToCoding(value); // Coding } else if (name.equals("productCode")) { - this.productCode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.productCode = TypeConvertor.castToCoding(value); // Coding } else if (name.equals("parent")) { this.getParent().add(TypeConvertor.castToReference(value)); } else if (name.equals("request")) { this.getRequest().add(TypeConvertor.castToReference(value)); } else if (name.equals("identifier")) { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else if (name.equals("biologicalSource")) { - this.biologicalSource = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("biologicalSourceEvent")) { + this.biologicalSourceEvent = TypeConvertor.castToIdentifier(value); // Identifier } else if (name.equals("processingFacility")) { this.getProcessingFacility().add(TypeConvertor.castToReference(value)); } else if (name.equals("division")) { this.division = TypeConvertor.castToString(value); // StringType - } else if (name.equals("status")) { - value = new BiologicallyDerivedProductStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration + } else if (name.equals("productStatus")) { + this.productStatus = TypeConvertor.castToCoding(value); // Coding } else if (name.equals("expirationDate")) { this.expirationDate = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("collection")) { @@ -1720,15 +1475,15 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 197299981: return getProductCategoryElement(); + case 197299981: return getProductCategory(); case -1492131972: return getProductCode(); case -995424086: return addParent(); case 1095692943: return addRequest(); case -1618432855: return addIdentifier(); - case -883952260: return getBiologicalSource(); + case -654468482: return getBiologicalSourceEvent(); case 39337686: return addProcessingFacility(); case 364720301: return getDivisionElement(); - case -892481550: return getStatusElement(); + case 1042864577: return getProductStatus(); case -668811523: return getExpirationDateElement(); case -1741312354: return getCollection(); case 1643599647: return getStorageTempRequirements(); @@ -1741,15 +1496,15 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 197299981: /*productCategory*/ return new String[] {"code"}; - case -1492131972: /*productCode*/ return new String[] {"CodeableConcept"}; + case 197299981: /*productCategory*/ return new String[] {"Coding"}; + case -1492131972: /*productCode*/ return new String[] {"Coding"}; case -995424086: /*parent*/ return new String[] {"Reference"}; case 1095692943: /*request*/ return new String[] {"Reference"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - case -883952260: /*biologicalSource*/ return new String[] {"Identifier"}; + case -654468482: /*biologicalSourceEvent*/ return new String[] {"Identifier"}; case 39337686: /*processingFacility*/ return new String[] {"Reference"}; case 364720301: /*division*/ return new String[] {"string"}; - case -892481550: /*status*/ return new String[] {"code"}; + case 1042864577: /*productStatus*/ return new String[] {"Coding"}; case -668811523: /*expirationDate*/ return new String[] {"dateTime"}; case -1741312354: /*collection*/ return new String[] {}; case 1643599647: /*storageTempRequirements*/ return new String[] {"Range"}; @@ -1762,10 +1517,11 @@ public class BiologicallyDerivedProduct extends DomainResource { @Override public Base addChild(String name) throws FHIRException { if (name.equals("productCategory")) { - throw new FHIRException("Cannot call addChild on a primitive type BiologicallyDerivedProduct.productCategory"); + this.productCategory = new Coding(); + return this.productCategory; } else if (name.equals("productCode")) { - this.productCode = new CodeableConcept(); + this.productCode = new Coding(); return this.productCode; } else if (name.equals("parent")) { @@ -1777,9 +1533,9 @@ public class BiologicallyDerivedProduct extends DomainResource { else if (name.equals("identifier")) { return addIdentifier(); } - else if (name.equals("biologicalSource")) { - this.biologicalSource = new Identifier(); - return this.biologicalSource; + else if (name.equals("biologicalSourceEvent")) { + this.biologicalSourceEvent = new Identifier(); + return this.biologicalSourceEvent; } else if (name.equals("processingFacility")) { return addProcessingFacility(); @@ -1787,8 +1543,9 @@ public class BiologicallyDerivedProduct extends DomainResource { else if (name.equals("division")) { throw new FHIRException("Cannot call addChild on a primitive type BiologicallyDerivedProduct.division"); } - else if (name.equals("status")) { - throw new FHIRException("Cannot call addChild on a primitive type BiologicallyDerivedProduct.status"); + else if (name.equals("productStatus")) { + this.productStatus = new Coding(); + return this.productStatus; } else if (name.equals("expirationDate")) { throw new FHIRException("Cannot call addChild on a primitive type BiologicallyDerivedProduct.expirationDate"); @@ -1838,14 +1595,14 @@ public class BiologicallyDerivedProduct extends DomainResource { for (Identifier i : identifier) dst.identifier.add(i.copy()); }; - dst.biologicalSource = biologicalSource == null ? null : biologicalSource.copy(); + dst.biologicalSourceEvent = biologicalSourceEvent == null ? null : biologicalSourceEvent.copy(); if (processingFacility != null) { dst.processingFacility = new ArrayList(); for (Reference i : processingFacility) dst.processingFacility.add(i.copy()); }; dst.division = division == null ? null : division.copy(); - dst.status = status == null ? null : status.copy(); + dst.productStatus = productStatus == null ? null : productStatus.copy(); dst.expirationDate = expirationDate == null ? null : expirationDate.copy(); dst.collection = collection == null ? null : collection.copy(); dst.storageTempRequirements = storageTempRequirements == null ? null : storageTempRequirements.copy(); @@ -1869,10 +1626,11 @@ public class BiologicallyDerivedProduct extends DomainResource { BiologicallyDerivedProduct o = (BiologicallyDerivedProduct) other_; return compareDeep(productCategory, o.productCategory, true) && compareDeep(productCode, o.productCode, true) && compareDeep(parent, o.parent, true) && compareDeep(request, o.request, true) && compareDeep(identifier, o.identifier, true) - && compareDeep(biologicalSource, o.biologicalSource, true) && compareDeep(processingFacility, o.processingFacility, true) - && compareDeep(division, o.division, true) && compareDeep(status, o.status, true) && compareDeep(expirationDate, o.expirationDate, true) - && compareDeep(collection, o.collection, true) && compareDeep(storageTempRequirements, o.storageTempRequirements, true) - && compareDeep(property, o.property, true); + && compareDeep(biologicalSourceEvent, o.biologicalSourceEvent, true) && compareDeep(processingFacility, o.processingFacility, true) + && compareDeep(division, o.division, true) && compareDeep(productStatus, o.productStatus, true) + && compareDeep(expirationDate, o.expirationDate, true) && compareDeep(collection, o.collection, true) + && compareDeep(storageTempRequirements, o.storageTempRequirements, true) && compareDeep(property, o.property, true) + ; } @Override @@ -1882,14 +1640,14 @@ public class BiologicallyDerivedProduct extends DomainResource { if (!(other_ instanceof BiologicallyDerivedProduct)) return false; BiologicallyDerivedProduct o = (BiologicallyDerivedProduct) other_; - return compareValues(productCategory, o.productCategory, true) && compareValues(division, o.division, true) - && compareValues(status, o.status, true) && compareValues(expirationDate, o.expirationDate, true); + return compareValues(division, o.division, true) && compareValues(expirationDate, o.expirationDate, true) + ; } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(productCategory, productCode - , parent, request, identifier, biologicalSource, processingFacility, division, status - , expirationDate, collection, storageTempRequirements, property); + , parent, request, identifier, biologicalSourceEvent, processingFacility, division + , productStatus, expirationDate, collection, storageTempRequirements, property); } @Override @@ -1897,26 +1655,6 @@ public class BiologicallyDerivedProduct extends DomainResource { return ResourceType.BiologicallyDerivedProduct; } - /** - * Search parameter: biological-source - *

- * Description: The biological source for the biologically derived product
- * Type: token
- * Path: BiologicallyDerivedProduct.biologicalSource
- *

- */ - @SearchParamDefinition(name="biological-source", path="BiologicallyDerivedProduct.biologicalSource", description="The biological source for the biologically derived product", type="token" ) - public static final String SP_BIOLOGICAL_SOURCE = "biological-source"; - /** - * Fluent Client search parameter constant for biological-source - *

- * Description: The biological source for the biologically derived product
- * Type: token
- * Path: BiologicallyDerivedProduct.biologicalSource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BIOLOGICAL_SOURCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BIOLOGICAL_SOURCE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BodyStructure.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BodyStructure.java index 78583f651..c447e28d9 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BodyStructure.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/BodyStructure.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -659,50 +659,42 @@ public class BodyStructure extends DomainResource { @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/bodystructure-code") protected CodeableConcept morphology; - /** - * The anatomical location or region of the specimen, lesion, or body structure. - */ - @Child(name = "location", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Body site", formalDefinition="The anatomical location or region of the specimen, lesion, or body structure." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") - protected CodeableConcept location; - /** * The anatomical location(s) or region(s) of the specimen, lesion, or body structure. */ - @Child(name = "includedStructure", type = {}, order=4, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "includedStructure", type = {}, order=3, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Included anatomic location(s)", formalDefinition="The anatomical location(s) or region(s) of the specimen, lesion, or body structure." ) protected List includedStructure; /** * The anatomical location(s) or region(s) not occupied or represented by the specimen, lesion, or body structure. */ - @Child(name = "excludedStructure", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "excludedStructure", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Excluded anatomic locations(s)", formalDefinition="The anatomical location(s) or region(s) not occupied or represented by the specimen, lesion, or body structure." ) protected List excludedStructure; /** * A summary, characterization or explanation of the body structure. */ - @Child(name = "description", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "description", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Text description", formalDefinition="A summary, characterization or explanation of the body structure." ) protected StringType description; /** * Image or images used to identify a location. */ - @Child(name = "image", type = {Attachment.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "image", type = {Attachment.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Attached images", formalDefinition="Image or images used to identify a location." ) protected List image; /** * The person to which the body site belongs. */ - @Child(name = "patient", type = {Patient.class}, order=8, min=1, max=1, modifier=false, summary=true) + @Child(name = "patient", type = {Patient.class}, order=7, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Who this is about", formalDefinition="The person to which the body site belongs." ) protected Reference patient; - private static final long serialVersionUID = 1435296914L; + private static final long serialVersionUID = 1630541250L; /** * Constructor @@ -842,30 +834,6 @@ public class BodyStructure extends DomainResource { return this; } - /** - * @return {@link #location} (The anatomical location or region of the specimen, lesion, or body structure.) - */ - public CodeableConcept getLocation() { - if (this.location == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create BodyStructure.location"); - else if (Configuration.doAutoCreate()) - this.location = new CodeableConcept(); // cc - return this.location; - } - - public boolean hasLocation() { - return this.location != null && !this.location.isEmpty(); - } - - /** - * @param value {@link #location} (The anatomical location or region of the specimen, lesion, or body structure.) - */ - public BodyStructure setLocation(CodeableConcept value) { - this.location = value; - return this; - } - /** * @return {@link #includedStructure} (The anatomical location(s) or region(s) of the specimen, lesion, or body structure.) */ @@ -1103,7 +1071,6 @@ public class BodyStructure extends DomainResource { children.add(new Property("identifier", "Identifier", "Identifier for this instance of the anatomical structure.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("active", "boolean", "Whether this body site is in active use.", 0, 1, active)); children.add(new Property("morphology", "CodeableConcept", "The kind of structure being represented by the body structure at `BodyStructure.location`. This can define both normal and abnormal morphologies.", 0, 1, morphology)); - children.add(new Property("location", "CodeableConcept", "The anatomical location or region of the specimen, lesion, or body structure.", 0, 1, location)); children.add(new Property("includedStructure", "", "The anatomical location(s) or region(s) of the specimen, lesion, or body structure.", 0, java.lang.Integer.MAX_VALUE, includedStructure)); children.add(new Property("excludedStructure", "", "The anatomical location(s) or region(s) not occupied or represented by the specimen, lesion, or body structure.", 0, java.lang.Integer.MAX_VALUE, excludedStructure)); children.add(new Property("description", "string", "A summary, characterization or explanation of the body structure.", 0, 1, description)); @@ -1117,7 +1084,6 @@ public class BodyStructure extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for this instance of the anatomical structure.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1422950650: /*active*/ return new Property("active", "boolean", "Whether this body site is in active use.", 0, 1, active); case 1807231644: /*morphology*/ return new Property("morphology", "CodeableConcept", "The kind of structure being represented by the body structure at `BodyStructure.location`. This can define both normal and abnormal morphologies.", 0, 1, morphology); - case 1901043637: /*location*/ return new Property("location", "CodeableConcept", "The anatomical location or region of the specimen, lesion, or body structure.", 0, 1, location); case -1174069225: /*includedStructure*/ return new Property("includedStructure", "", "The anatomical location(s) or region(s) of the specimen, lesion, or body structure.", 0, java.lang.Integer.MAX_VALUE, includedStructure); case 1192252105: /*excludedStructure*/ return new Property("excludedStructure", "", "The anatomical location(s) or region(s) not occupied or represented by the specimen, lesion, or body structure.", 0, java.lang.Integer.MAX_VALUE, excludedStructure); case -1724546052: /*description*/ return new Property("description", "string", "A summary, characterization or explanation of the body structure.", 0, 1, description); @@ -1134,7 +1100,6 @@ public class BodyStructure extends DomainResource { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -1422950650: /*active*/ return this.active == null ? new Base[0] : new Base[] {this.active}; // BooleanType case 1807231644: /*morphology*/ return this.morphology == null ? new Base[0] : new Base[] {this.morphology}; // CodeableConcept - case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // CodeableConcept case -1174069225: /*includedStructure*/ return this.includedStructure == null ? new Base[0] : this.includedStructure.toArray(new Base[this.includedStructure.size()]); // BodyStructureIncludedStructureComponent case 1192252105: /*excludedStructure*/ return this.excludedStructure == null ? new Base[0] : this.excludedStructure.toArray(new Base[this.excludedStructure.size()]); // BodyStructureExcludedStructureComponent case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType @@ -1157,9 +1122,6 @@ public class BodyStructure extends DomainResource { case 1807231644: // morphology this.morphology = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; - case 1901043637: // location - this.location = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; case -1174069225: // includedStructure this.getIncludedStructure().add((BodyStructureIncludedStructureComponent) value); // BodyStructureIncludedStructureComponent return value; @@ -1188,8 +1150,6 @@ public class BodyStructure extends DomainResource { this.active = TypeConvertor.castToBoolean(value); // BooleanType } else if (name.equals("morphology")) { this.morphology = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("location")) { - this.location = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("includedStructure")) { this.getIncludedStructure().add((BodyStructureIncludedStructureComponent) value); } else if (name.equals("excludedStructure")) { @@ -1211,7 +1171,6 @@ public class BodyStructure extends DomainResource { case -1618432855: return addIdentifier(); case -1422950650: return getActiveElement(); case 1807231644: return getMorphology(); - case 1901043637: return getLocation(); case -1174069225: return addIncludedStructure(); case 1192252105: return addExcludedStructure(); case -1724546052: return getDescriptionElement(); @@ -1228,7 +1187,6 @@ public class BodyStructure extends DomainResource { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -1422950650: /*active*/ return new String[] {"boolean"}; case 1807231644: /*morphology*/ return new String[] {"CodeableConcept"}; - case 1901043637: /*location*/ return new String[] {"CodeableConcept"}; case -1174069225: /*includedStructure*/ return new String[] {}; case 1192252105: /*excludedStructure*/ return new String[] {}; case -1724546052: /*description*/ return new String[] {"string"}; @@ -1251,10 +1209,6 @@ public class BodyStructure extends DomainResource { this.morphology = new CodeableConcept(); return this.morphology; } - else if (name.equals("location")) { - this.location = new CodeableConcept(); - return this.location; - } else if (name.equals("includedStructure")) { return addIncludedStructure(); } @@ -1295,7 +1249,6 @@ public class BodyStructure extends DomainResource { }; dst.active = active == null ? null : active.copy(); dst.morphology = morphology == null ? null : morphology.copy(); - dst.location = location == null ? null : location.copy(); if (includedStructure != null) { dst.includedStructure = new ArrayList(); for (BodyStructureIncludedStructureComponent i : includedStructure) @@ -1327,9 +1280,9 @@ public class BodyStructure extends DomainResource { return false; BodyStructure o = (BodyStructure) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(active, o.active, true) && compareDeep(morphology, o.morphology, true) - && compareDeep(location, o.location, true) && compareDeep(includedStructure, o.includedStructure, true) - && compareDeep(excludedStructure, o.excludedStructure, true) && compareDeep(description, o.description, true) - && compareDeep(image, o.image, true) && compareDeep(patient, o.patient, true); + && compareDeep(includedStructure, o.includedStructure, true) && compareDeep(excludedStructure, o.excludedStructure, true) + && compareDeep(description, o.description, true) && compareDeep(image, o.image, true) && compareDeep(patient, o.patient, true) + ; } @Override @@ -1344,7 +1297,7 @@ public class BodyStructure extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, active, morphology - , location, includedStructure, excludedStructure, description, image, patient); + , includedStructure, excludedStructure, description, image, patient); } @Override @@ -1352,92 +1305,6 @@ public class BodyStructure extends DomainResource { return ResourceType.BodyStructure; } - /** - * Search parameter: identifier - *

- * Description: Bodystructure identifier
- * Type: token
- * Path: BodyStructure.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="BodyStructure.identifier", description="Bodystructure identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Bodystructure identifier
- * Type: token
- * Path: BodyStructure.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: Body site
- * Type: token
- * Path: BodyStructure.location
- *

- */ - @SearchParamDefinition(name="location", path="BodyStructure.location", description="Body site", type="token" ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Body site
- * Type: token
- * Path: BodyStructure.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LOCATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LOCATION); - - /** - * Search parameter: morphology - *

- * Description: Kind of Structure
- * Type: token
- * Path: BodyStructure.morphology
- *

- */ - @SearchParamDefinition(name="morphology", path="BodyStructure.morphology", description="Kind of Structure", type="token" ) - public static final String SP_MORPHOLOGY = "morphology"; - /** - * Fluent Client search parameter constant for morphology - *

- * Description: Kind of Structure
- * Type: token
- * Path: BodyStructure.morphology
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MORPHOLOGY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MORPHOLOGY); - - /** - * Search parameter: patient - *

- * Description: Who this is about
- * Type: reference
- * Path: BodyStructure.patient
- *

- */ - @SearchParamDefinition(name="patient", path="BodyStructure.patient", description="Who this is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Who this is about
- * Type: reference
- * Path: BodyStructure.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "BodyStructure:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("BodyStructure:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Bundle.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Bundle.java index f09a66596..6323d37f3 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Bundle.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Bundle.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -140,6 +140,7 @@ public class Bundle extends Resource implements IBaseBundle { case SEARCHSET: return "searchset"; case COLLECTION: return "collection"; case SUBSCRIPTIONNOTIFICATION: return "subscription-notification"; + case NULL: return null; default: return "?"; } } @@ -155,6 +156,7 @@ public class Bundle extends Resource implements IBaseBundle { case SEARCHSET: return "http://hl7.org/fhir/bundle-type"; case COLLECTION: return "http://hl7.org/fhir/bundle-type"; case SUBSCRIPTIONNOTIFICATION: return "http://hl7.org/fhir/bundle-type"; + case NULL: return null; default: return "?"; } } @@ -170,6 +172,7 @@ public class Bundle extends Resource implements IBaseBundle { case SEARCHSET: return "The bundle is a list of resources returned as a result of a search/query interaction, operation, or message."; case COLLECTION: return "The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence."; case SUBSCRIPTIONNOTIFICATION: return "The bundle has been generated by a Subscription to communicate information to a client."; + case NULL: return null; default: return "?"; } } @@ -185,6 +188,7 @@ public class Bundle extends Resource implements IBaseBundle { case SEARCHSET: return "Search Results"; case COLLECTION: return "Collection"; case SUBSCRIPTIONNOTIFICATION: return "Subscription Notification"; + case NULL: return null; default: return "?"; } } @@ -332,6 +336,7 @@ public class Bundle extends Resource implements IBaseBundle { case PUT: return "PUT"; case DELETE: return "DELETE"; case PATCH: return "PATCH"; + case NULL: return null; default: return "?"; } } @@ -343,6 +348,7 @@ public class Bundle extends Resource implements IBaseBundle { case PUT: return "http://hl7.org/fhir/http-verb"; case DELETE: return "http://hl7.org/fhir/http-verb"; case PATCH: return "http://hl7.org/fhir/http-verb"; + case NULL: return null; default: return "?"; } } @@ -354,6 +360,7 @@ public class Bundle extends Resource implements IBaseBundle { case PUT: return "HTTP PUT Command."; case DELETE: return "HTTP DELETE Command."; case PATCH: return "HTTP PATCH Command."; + case NULL: return null; default: return "?"; } } @@ -365,6 +372,7 @@ public class Bundle extends Resource implements IBaseBundle { case PUT: return "PUT"; case DELETE: return "DELETE"; case PATCH: return "PATCH"; + case NULL: return null; default: return "?"; } } @@ -467,6 +475,7 @@ public class Bundle extends Resource implements IBaseBundle { case MATCH: return "match"; case INCLUDE: return "include"; case OUTCOME: return "outcome"; + case NULL: return null; default: return "?"; } } @@ -475,6 +484,7 @@ public class Bundle extends Resource implements IBaseBundle { 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"; + case NULL: return null; default: return "?"; } } @@ -483,6 +493,7 @@ public class Bundle extends Resource implements IBaseBundle { 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."; + case NULL: return null; default: return "?"; } } @@ -491,6 +502,7 @@ public class Bundle extends Resource implements IBaseBundle { case MATCH: return "Match"; case INCLUDE: return "Include"; case OUTCOME: return "Outcome"; + case NULL: return null; default: return "?"; } } @@ -2574,10 +2586,10 @@ public class Bundle extends Resource implements IBaseBundle { protected List entry; /** - * Digital Signature - base64 encoded. XML-DSig or a JWT. + * Digital Signature - base64 encoded. XML-DSig or a JWS. */ @Child(name = "signature", type = {Signature.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Digital Signature", formalDefinition="Digital Signature - base64 encoded. XML-DSig or a JWT." ) + @Description(shortDefinition="Digital Signature", formalDefinition="Digital Signature - base64 encoded. XML-DSig or a JWS." ) protected Signature signature; private static final long serialVersionUID = 1740470158L; @@ -2867,7 +2879,7 @@ public class Bundle extends Resource implements IBaseBundle { } /** - * @return {@link #signature} (Digital Signature - base64 encoded. XML-DSig or a JWT.) + * @return {@link #signature} (Digital Signature - base64 encoded. XML-DSig or a JWS.) */ public Signature getSignature() { if (this.signature == null) @@ -2883,7 +2895,7 @@ public class Bundle extends Resource implements IBaseBundle { } /** - * @param value {@link #signature} (Digital Signature - base64 encoded. XML-DSig or a JWT.) + * @param value {@link #signature} (Digital Signature - base64 encoded. XML-DSig or a JWS.) */ public Bundle setSignature(Signature value) { this.signature = value; @@ -2898,7 +2910,7 @@ public class Bundle extends Resource implements IBaseBundle { children.add(new Property("total", "unsignedInt", "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", 0, 1, total)); children.add(new Property("link", "", "A series of links that provide context to this bundle.", 0, java.lang.Integer.MAX_VALUE, link)); children.add(new Property("entry", "", "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", 0, java.lang.Integer.MAX_VALUE, entry)); - children.add(new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWT.", 0, 1, signature)); + children.add(new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWS.", 0, 1, signature)); } @Override @@ -2910,7 +2922,7 @@ public class Bundle extends Resource implements IBaseBundle { case 110549828: /*total*/ return new Property("total", "unsignedInt", "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.", 0, 1, total); case 3321850: /*link*/ return new Property("link", "", "A series of links that provide context to this bundle.", 0, java.lang.Integer.MAX_VALUE, link); case 96667762: /*entry*/ return new Property("entry", "", "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).", 0, java.lang.Integer.MAX_VALUE, entry); - case 1073584312: /*signature*/ return new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWT.", 0, 1, signature); + case 1073584312: /*signature*/ return new Property("signature", "Signature", "Digital Signature - base64 encoded. XML-DSig or a JWS.", 0, 1, signature); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3109,118 +3121,6 @@ public class Bundle extends Resource implements IBaseBundle { return ResourceType.Bundle; } - /** - * Search parameter: composition - *

- * Description: The first resource in the bundle, if the bundle type is "document" - this is a composition, and this parameter provides access to search its contents
- * Type: reference
- * Path: Bundle.entry[0].resource
- *

- */ - @SearchParamDefinition(name="composition", path="Bundle.entry[0].resource", description="The first resource in the bundle, if the bundle type is \"document\" - this is a composition, and this parameter provides access to search its contents", type="reference" ) - public static final String SP_COMPOSITION = "composition"; - /** - * Fluent Client search parameter constant for composition - *

- * Description: The first resource in the bundle, if the bundle type is "document" - this is a composition, and this parameter provides access to search its contents
- * Type: reference
- * Path: Bundle.entry[0].resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Bundle:composition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSITION = new ca.uhn.fhir.model.api.Include("Bundle:composition").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Persistent identifier for the bundle
- * Type: token
- * Path: Bundle.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Bundle.identifier", description="Persistent identifier for the bundle", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Persistent identifier for the bundle
- * Type: token
- * Path: Bundle.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: message - *

- * Description: The first resource in the bundle, if the bundle type is "message" - this is a message header, and this parameter provides access to search its contents
- * Type: reference
- * Path: Bundle.entry[0].resource
- *

- */ - @SearchParamDefinition(name="message", path="Bundle.entry[0].resource", description="The first resource in the bundle, if the bundle type is \"message\" - this is a message header, and this parameter provides access to search its contents", type="reference" ) - public static final String SP_MESSAGE = "message"; - /** - * Fluent Client search parameter constant for message - *

- * Description: The first resource in the bundle, if the bundle type is "message" - this is a message header, and this parameter provides access to search its contents
- * Type: reference
- * Path: Bundle.entry[0].resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MESSAGE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MESSAGE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Bundle:message". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MESSAGE = new ca.uhn.fhir.model.api.Include("Bundle:message").toLocked(); - - /** - * Search parameter: timestamp - *

- * Description: When the bundle was assembled
- * Type: date
- * Path: Bundle.timestamp
- *

- */ - @SearchParamDefinition(name="timestamp", path="Bundle.timestamp", description="When the bundle was assembled", type="date" ) - public static final String SP_TIMESTAMP = "timestamp"; - /** - * Fluent Client search parameter constant for timestamp - *

- * Description: When the bundle was assembled
- * Type: date
- * Path: Bundle.timestamp
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam TIMESTAMP = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_TIMESTAMP); - - /** - * Search parameter: type - *

- * Description: document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification
- * Type: token
- * Path: Bundle.type
- *

- */ - @SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification
- * Type: token
- * Path: Bundle.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - // Manual code (from Configuration.txt): /** * Returns the {@link #getLink() link} which matches a given {@link BundleLinkComponent#getRelation() relation}. diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java index 2994cf550..9f365c300 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -554,10 +554,6 @@ public abstract class CanonicalResource extends DomainResource { return true; } - public boolean supportsExperimental() { - return true; - } - public String getVersionedUrl() { return hasVersion() ? getUrl()+"|"+getVersion() : getUrl(); } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement.java index 011c51b9f..24d7a419e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -90,6 +90,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOTSUPPORTED: return "not-supported"; case SINGLE: return "single"; case MULTIPLE: return "multiple"; + case NULL: return null; default: return "?"; } } @@ -98,6 +99,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOTSUPPORTED: return "http://hl7.org/fhir/conditional-delete-status"; case SINGLE: return "http://hl7.org/fhir/conditional-delete-status"; case MULTIPLE: return "http://hl7.org/fhir/conditional-delete-status"; + case NULL: return null; default: return "?"; } } @@ -106,6 +108,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOTSUPPORTED: return "No support for conditional deletes."; case SINGLE: return "Conditional deletes are supported, but only single resources at a time."; case MULTIPLE: return "Conditional deletes are supported, and multiple resources can be deleted in a single interaction."; + case NULL: return null; default: return "?"; } } @@ -114,6 +117,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOTSUPPORTED: return "Not Supported"; case SINGLE: return "Single Deletes Supported"; case MULTIPLE: return "Multiple Deletes Supported"; + case NULL: return null; default: return "?"; } } @@ -205,6 +209,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case MODIFIEDSINCE: return "modified-since"; case NOTMATCH: return "not-match"; case FULLSUPPORT: return "full-support"; + case NULL: return null; default: return "?"; } } @@ -214,6 +219,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case MODIFIEDSINCE: return "http://hl7.org/fhir/conditional-read-status"; case NOTMATCH: return "http://hl7.org/fhir/conditional-read-status"; case FULLSUPPORT: return "http://hl7.org/fhir/conditional-read-status"; + case NULL: return null; default: return "?"; } } @@ -223,6 +229,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case MODIFIEDSINCE: return "Conditional reads are supported, but only with the If-Modified-Since HTTP Header."; case NOTMATCH: return "Conditional reads are supported, but only with the If-None-Match HTTP Header."; case FULLSUPPORT: return "Conditional reads are supported, with both If-Modified-Since and If-None-Match HTTP Headers."; + case NULL: return null; default: return "?"; } } @@ -232,6 +239,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case MODIFIEDSINCE: return "If-Modified-Since"; case NOTMATCH: return "If-None-Match"; case FULLSUPPORT: return "Full Support"; + case NULL: return null; default: return "?"; } } @@ -315,6 +323,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case PRODUCER: return "producer"; case CONSUMER: return "consumer"; + case NULL: return null; default: return "?"; } } @@ -322,6 +331,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case PRODUCER: return "http://hl7.org/fhir/document-mode"; case CONSUMER: return "http://hl7.org/fhir/document-mode"; + case NULL: return null; default: return "?"; } } @@ -329,6 +339,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case PRODUCER: return "The application produces documents of the specified type."; case CONSUMER: return "The application consumes documents of the specified type."; + case NULL: return null; default: return "?"; } } @@ -336,6 +347,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case PRODUCER: return "Producer"; case CONSUMER: return "Consumer"; + case NULL: return null; default: return "?"; } } @@ -407,6 +419,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case SENDER: return "sender"; case RECEIVER: return "receiver"; + case NULL: return null; default: return "?"; } } @@ -414,6 +427,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case SENDER: return "http://hl7.org/fhir/event-capability-mode"; case RECEIVER: return "http://hl7.org/fhir/event-capability-mode"; + case NULL: return null; default: return "?"; } } @@ -421,6 +435,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case SENDER: return "The application sends requests and receives responses."; case RECEIVER: return "The application receives requests and sends responses."; + case NULL: return null; default: return "?"; } } @@ -428,6 +443,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo switch (this) { case SENDER: return "Sender"; case RECEIVER: return "Receiver"; + case NULL: return null; default: return "?"; } } @@ -520,6 +536,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case RESOLVES: return "resolves"; case ENFORCED: return "enforced"; case LOCAL: return "local"; + case NULL: return null; default: return "?"; } } @@ -530,6 +547,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case RESOLVES: return "http://hl7.org/fhir/reference-handling-policy"; case ENFORCED: return "http://hl7.org/fhir/reference-handling-policy"; case LOCAL: return "http://hl7.org/fhir/reference-handling-policy"; + case NULL: return null; default: return "?"; } } @@ -540,6 +558,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case RESOLVES: return "The server will attempt to resolve logical references to literal references - i.e. converting Reference.identifier to Reference.reference (if resolution fails, the server may still accept resources; see logical)."; case ENFORCED: return "The server enforces that references have integrity - e.g. it ensures that references can always be resolved. This is typically the case for clinical record systems, but often not the case for middleware/proxy systems."; case LOCAL: return "The server does not support references that point to other servers."; + case NULL: return null; default: return "?"; } } @@ -550,6 +569,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case RESOLVES: return "Resolves References"; case ENFORCED: return "Reference Integrity Enforced"; case LOCAL: return "Local References Only"; + case NULL: return null; default: return "?"; } } @@ -646,6 +666,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOVERSION: return "no-version"; case VERSIONED: return "versioned"; case VERSIONEDUPDATE: return "versioned-update"; + case NULL: return null; default: return "?"; } } @@ -654,6 +675,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo 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 NULL: return null; default: return "?"; } } @@ -662,6 +684,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOVERSION: return "VersionId meta-property is not supported (server) or used (client)."; case VERSIONED: return "VersionId meta-property is supported (server) or used (client)."; case VERSIONEDUPDATE: return "VersionId must be correct for updates (server) or will be specified (If-match header) for updates (client)."; + case NULL: return null; default: return "?"; } } @@ -670,6 +693,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case NOVERSION: return "No VersionId Support"; case VERSIONED: return "Versioned"; case VERSIONEDUPDATE: return "VersionId tracked fully"; + case NULL: return null; default: return "?"; } } @@ -761,6 +785,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case BATCH: return "batch"; case SEARCHSYSTEM: return "search-system"; case HISTORYSYSTEM: return "history-system"; + case NULL: return null; default: return "?"; } } @@ -770,6 +795,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case BATCH: return "http://hl7.org/fhir/restful-interaction"; case SEARCHSYSTEM: return "http://hl7.org/fhir/restful-interaction"; case HISTORYSYSTEM: return "http://hl7.org/fhir/restful-interaction"; + case NULL: return null; default: return "?"; } } @@ -779,6 +805,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case BATCH: return "perform a set of a separate interactions in a single http operation"; case SEARCHSYSTEM: return "Search all resources based on some filter criteria."; case HISTORYSYSTEM: return "Retrieve the change history for all resources on a system."; + case NULL: return null; default: return "?"; } } @@ -788,6 +815,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case BATCH: return "batch"; case SEARCHSYSTEM: return "search-system"; case HISTORYSYSTEM: return "history-system"; + case NULL: return null; default: return "?"; } } @@ -920,6 +948,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case HISTORYTYPE: return "history-type"; case CREATE: return "create"; case SEARCHTYPE: return "search-type"; + case NULL: return null; default: return "?"; } } @@ -934,6 +963,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case HISTORYTYPE: return "http://hl7.org/fhir/restful-interaction"; case CREATE: return "http://hl7.org/fhir/restful-interaction"; case SEARCHTYPE: return "http://hl7.org/fhir/restful-interaction"; + case NULL: return null; default: return "?"; } } @@ -948,6 +978,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case HISTORYTYPE: return "Retrieve the change history for all resources of a particular type."; case CREATE: return "Create a new resource with a server assigned id."; case SEARCHTYPE: return "Search all resources of the specified type based on some filter criteria."; + case NULL: return null; default: return "?"; } } @@ -962,6 +993,7 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo case HISTORYTYPE: return "history-type"; case CREATE: return "create"; case SEARCHTYPE: return "search-type"; + case NULL: return null; default: return "?"; } } @@ -8624,922 +8656,6 @@ public class CapabilityStatement extends CanonicalResource implements IBaseConfo return ResourceType.CapabilityStatement; } - /** - * Search parameter: fhirversion - *

- * Description: The version of FHIR
- * Type: token
- * Path: CapabilityStatement.version
- *

- */ - @SearchParamDefinition(name="fhirversion", path="CapabilityStatement.version", description="The version of FHIR", type="token" ) - public static final String SP_FHIRVERSION = "fhirversion"; - /** - * Fluent Client search parameter constant for fhirversion - *

- * Description: The version of FHIR
- * Type: token
- * Path: CapabilityStatement.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FHIRVERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FHIRVERSION); - - /** - * Search parameter: format - *

- * Description: formats supported (xml | json | ttl | mime type)
- * Type: token
- * Path: CapabilityStatement.format
- *

- */ - @SearchParamDefinition(name="format", path="CapabilityStatement.format", description="formats supported (xml | json | ttl | mime type)", type="token" ) - public static final String SP_FORMAT = "format"; - /** - * Fluent Client search parameter constant for format - *

- * Description: formats supported (xml | json | ttl | mime type)
- * Type: token
- * Path: CapabilityStatement.format
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORMAT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FORMAT); - - /** - * Search parameter: guide - *

- * Description: Implementation guides supported
- * Type: reference
- * Path: CapabilityStatement.implementationGuide
- *

- */ - @SearchParamDefinition(name="guide", path="CapabilityStatement.implementationGuide", description="Implementation guides supported", type="reference", target={ImplementationGuide.class } ) - public static final String SP_GUIDE = "guide"; - /** - * Fluent Client search parameter constant for guide - *

- * Description: Implementation guides supported
- * Type: reference
- * Path: CapabilityStatement.implementationGuide
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GUIDE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GUIDE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CapabilityStatement:guide". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GUIDE = new ca.uhn.fhir.model.api.Include("CapabilityStatement:guide").toLocked(); - - /** - * Search parameter: mode - *

- * Description: Mode - restful (server/client) or messaging (sender/receiver)
- * Type: token
- * Path: CapabilityStatement.rest.mode
- *

- */ - @SearchParamDefinition(name="mode", path="CapabilityStatement.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" ) - public static final String SP_MODE = "mode"; - /** - * Fluent Client search parameter constant for mode - *

- * Description: Mode - restful (server/client) or messaging (sender/receiver)
- * Type: token
- * Path: CapabilityStatement.rest.mode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MODE); - - /** - * Search parameter: resource-profile - *

- * Description: A profile id invoked in a capability statement
- * Type: reference
- * Path: CapabilityStatement.rest.resource.profile
- *

- */ - @SearchParamDefinition(name="resource-profile", path="CapabilityStatement.rest.resource.profile", description="A profile id invoked in a capability statement", type="reference", target={StructureDefinition.class } ) - public static final String SP_RESOURCE_PROFILE = "resource-profile"; - /** - * Fluent Client search parameter constant for resource-profile - *

- * Description: A profile id invoked in a capability statement
- * Type: reference
- * Path: CapabilityStatement.rest.resource.profile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESOURCE_PROFILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESOURCE_PROFILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CapabilityStatement:resource-profile". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESOURCE_PROFILE = new ca.uhn.fhir.model.api.Include("CapabilityStatement:resource-profile").toLocked(); - - /** - * Search parameter: resource - *

- * Description: Name of a resource mentioned in a capability statement
- * Type: token
- * Path: CapabilityStatement.rest.resource.type
- *

- */ - @SearchParamDefinition(name="resource", path="CapabilityStatement.rest.resource.type", description="Name of a resource mentioned in a capability statement", type="token" ) - public static final String SP_RESOURCE = "resource"; - /** - * Fluent Client search parameter constant for resource - *

- * Description: Name of a resource mentioned in a capability statement
- * Type: token
- * Path: CapabilityStatement.rest.resource.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESOURCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RESOURCE); - - /** - * Search parameter: security-service - *

- * Description: OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
- * Type: token
- * Path: CapabilityStatement.rest.security.service
- *

- */ - @SearchParamDefinition(name="security-service", path="CapabilityStatement.rest.security.service", description="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates", type="token" ) - public static final String SP_SECURITY_SERVICE = "security-service"; - /** - * Fluent Client search parameter constant for security-service - *

- * Description: OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
- * Type: token
- * Path: CapabilityStatement.rest.security.service
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECURITY_SERVICE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SECURITY_SERVICE); - - /** - * Search parameter: software - *

- * Description: Part of the name of a software application
- * Type: string
- * Path: CapabilityStatement.software.name
- *

- */ - @SearchParamDefinition(name="software", path="CapabilityStatement.software.name", description="Part of the name of a software application", type="string" ) - public static final String SP_SOFTWARE = "software"; - /** - * Fluent Client search parameter constant for software - *

- * Description: Part of the name of a software application
- * Type: string
- * Path: CapabilityStatement.software.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam SOFTWARE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_SOFTWARE); - - /** - * Search parameter: supported-profile - *

- * Description: Profiles for use cases supported
- * Type: reference
- * Path: CapabilityStatement.rest.resource.supportedProfile
- *

- */ - @SearchParamDefinition(name="supported-profile", path="CapabilityStatement.rest.resource.supportedProfile", description="Profiles for use cases supported", type="reference", target={StructureDefinition.class } ) - public static final String SP_SUPPORTED_PROFILE = "supported-profile"; - /** - * Fluent Client search parameter constant for supported-profile - *

- * Description: Profiles for use cases supported
- * Type: reference
- * Path: CapabilityStatement.rest.resource.supportedProfile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPORTED_PROFILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPORTED_PROFILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CapabilityStatement:supported-profile". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPORTED_PROFILE = new ca.uhn.fhir.model.api.Include("CapabilityStatement:supported-profile").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): // end addition diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement2.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement2.java index c0ecb5be3..f0600d59d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement2.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CapabilityStatement2.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -159,6 +159,7 @@ public class CapabilityStatement2 extends CanonicalResource { case REFERENCEPOLICY: return "referencePolicy"; case SEARCHINCLUDE: return "searchInclude"; case SEARCHREVINCLUDE: return "searchRevInclude"; + case NULL: return null; default: return "?"; } } @@ -177,6 +178,7 @@ public class CapabilityStatement2 extends CanonicalResource { case REFERENCEPOLICY: return "http://hl7.org/fhir/CodeSystem/capability-features"; case SEARCHINCLUDE: return "http://hl7.org/fhir/CodeSystem/capability-features"; case SEARCHREVINCLUDE: return "http://hl7.org/fhir/CodeSystem/capability-features"; + case NULL: return null; default: return "?"; } } @@ -195,6 +197,7 @@ public class CapabilityStatement2 extends CanonicalResource { case REFERENCEPOLICY: return ""; case SEARCHINCLUDE: return ""; case SEARCHREVINCLUDE: return ""; + case NULL: return null; default: return "?"; } } @@ -213,6 +216,7 @@ public class CapabilityStatement2 extends CanonicalResource { case REFERENCEPOLICY: return "referencePolicy"; case SEARCHINCLUDE: return "searchInclude"; case SEARCHREVINCLUDE: return "searchRevInclude"; + case NULL: return null; default: return "?"; } } @@ -448,6 +452,7 @@ public class CapabilityStatement2 extends CanonicalResource { case RESOLVES: return "resolves"; case ENFORCED: return "enforced"; case LOCAL: return "local"; + case NULL: return null; default: return "?"; } } @@ -469,6 +474,7 @@ public class CapabilityStatement2 extends CanonicalResource { case RESOLVES: return "http://hl7.org/fhir/CodeSystem/capability-features"; case ENFORCED: return "http://hl7.org/fhir/CodeSystem/capability-features"; case LOCAL: return "http://hl7.org/fhir/CodeSystem/capability-features"; + case NULL: return null; default: return "?"; } } @@ -490,6 +496,7 @@ public class CapabilityStatement2 extends CanonicalResource { case RESOLVES: return "The server will attempt to resolve logical references to literal references - i.e. converting Reference.identifier to Reference.reference (if resolution fails, the server may still accept resources; see logical)."; case ENFORCED: return "The server enforces that references have integrity - e.g. it ensures that references can always be resolved. This is typically the case for clinical record systems, but often not the case for middleware/proxy systems."; case LOCAL: return "The server does not support references that point to other servers."; + case NULL: return null; default: return "?"; } } @@ -511,6 +518,7 @@ public class CapabilityStatement2 extends CanonicalResource { case RESOLVES: return "Resolves References"; case ENFORCED: return "Reference Integrity Enforced"; case LOCAL: return "Local References Only"; + case NULL: return null; default: return "?"; } } @@ -680,6 +688,7 @@ public class CapabilityStatement2 extends CanonicalResource { case BATCH: return "batch"; case SEARCHSYSTEM: return "search-system"; case HISTORYSYSTEM: return "history-system"; + case NULL: return null; default: return "?"; } } @@ -689,6 +698,7 @@ public class CapabilityStatement2 extends CanonicalResource { case BATCH: return "http://hl7.org/fhir/restful-interaction"; case SEARCHSYSTEM: return "http://hl7.org/fhir/restful-interaction"; case HISTORYSYSTEM: return "http://hl7.org/fhir/restful-interaction"; + case NULL: return null; default: return "?"; } } @@ -698,6 +708,7 @@ public class CapabilityStatement2 extends CanonicalResource { case BATCH: return "perform a set of a separate interactions in a single http operation"; case SEARCHSYSTEM: return "Search all resources based on some filter criteria."; case HISTORYSYSTEM: return "Retrieve the change history for all resources on a system."; + case NULL: return null; default: return "?"; } } @@ -707,6 +718,7 @@ public class CapabilityStatement2 extends CanonicalResource { case BATCH: return "batch"; case SEARCHSYSTEM: return "search-system"; case HISTORYSYSTEM: return "history-system"; + case NULL: return null; default: return "?"; } } @@ -839,6 +851,7 @@ public class CapabilityStatement2 extends CanonicalResource { case HISTORYTYPE: return "history-type"; case CREATE: return "create"; case SEARCHTYPE: return "search-type"; + case NULL: return null; default: return "?"; } } @@ -853,6 +866,7 @@ public class CapabilityStatement2 extends CanonicalResource { case HISTORYTYPE: return "http://hl7.org/fhir/restful-interaction"; case CREATE: return "http://hl7.org/fhir/restful-interaction"; case SEARCHTYPE: return "http://hl7.org/fhir/restful-interaction"; + case NULL: return null; default: return "?"; } } @@ -867,6 +881,7 @@ public class CapabilityStatement2 extends CanonicalResource { case HISTORYTYPE: return "Retrieve the change history for all resources of a particular type."; case CREATE: return "Create a new resource with a server assigned id."; case SEARCHTYPE: return "Search all resources of the specified type based on some filter criteria."; + case NULL: return null; default: return "?"; } } @@ -881,6 +896,7 @@ public class CapabilityStatement2 extends CanonicalResource { case HISTORYTYPE: return "history-type"; case CREATE: return "create"; case SEARCHTYPE: return "search-type"; + case NULL: return null; default: return "?"; } } @@ -6772,464 +6788,6 @@ public class CapabilityStatement2 extends CanonicalResource { return ResourceType.CapabilityStatement2; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the capability statement2
- * Type: quantity
- * Path: (CapabilityStatement2.useContext.value as Quantity) | (CapabilityStatement2.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement2.useContext.value as Quantity) | (CapabilityStatement2.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the capability statement2", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the capability statement2
- * Type: quantity
- * Path: (CapabilityStatement2.useContext.value as Quantity) | (CapabilityStatement2.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the capability statement2
- * Type: composite
- * Path: CapabilityStatement2.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement2.useContext", description="A use context type and quantity- or range-based value assigned to the capability statement2", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the capability statement2
- * Type: composite
- * Path: CapabilityStatement2.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the capability statement2
- * Type: composite
- * Path: CapabilityStatement2.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement2.useContext", description="A use context type and value assigned to the capability statement2", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the capability statement2
- * Type: composite
- * Path: CapabilityStatement2.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the capability statement2
- * Type: token
- * Path: CapabilityStatement2.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement2.useContext.code", description="A type of use context assigned to the capability statement2", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the capability statement2
- * Type: token
- * Path: CapabilityStatement2.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the capability statement2
- * Type: token
- * Path: (CapabilityStatement2.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement2.useContext.value as CodeableConcept)", description="A use context assigned to the capability statement2", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the capability statement2
- * Type: token
- * Path: (CapabilityStatement2.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The capability statement2 publication date
- * Type: date
- * Path: CapabilityStatement2.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement2.date", description="The capability statement2 publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The capability statement2 publication date
- * Type: date
- * Path: CapabilityStatement2.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: The description of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement2.description", description="The description of the capability statement2", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: fhirversion - *

- * Description: The version of FHIR
- * Type: token
- * Path: CapabilityStatement2.version
- *

- */ - @SearchParamDefinition(name="fhirversion", path="CapabilityStatement2.version", description="The version of FHIR", type="token" ) - public static final String SP_FHIRVERSION = "fhirversion"; - /** - * Fluent Client search parameter constant for fhirversion - *

- * Description: The version of FHIR
- * Type: token
- * Path: CapabilityStatement2.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FHIRVERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FHIRVERSION); - - /** - * Search parameter: format - *

- * Description: formats supported (xml | json | ttl | mime type)
- * Type: token
- * Path: CapabilityStatement2.format
- *

- */ - @SearchParamDefinition(name="format", path="CapabilityStatement2.format", description="formats supported (xml | json | ttl | mime type)", type="token" ) - public static final String SP_FORMAT = "format"; - /** - * Fluent Client search parameter constant for format - *

- * Description: formats supported (xml | json | ttl | mime type)
- * Type: token
- * Path: CapabilityStatement2.format
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORMAT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FORMAT); - - /** - * Search parameter: guide - *

- * Description: Implementation guides supported
- * Type: reference
- * Path: CapabilityStatement2.implementationGuide
- *

- */ - @SearchParamDefinition(name="guide", path="CapabilityStatement2.implementationGuide", description="Implementation guides supported", type="reference", target={ImplementationGuide.class } ) - public static final String SP_GUIDE = "guide"; - /** - * Fluent Client search parameter constant for guide - *

- * Description: Implementation guides supported
- * Type: reference
- * Path: CapabilityStatement2.implementationGuide
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GUIDE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GUIDE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CapabilityStatement2:guide". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GUIDE = new ca.uhn.fhir.model.api.Include("CapabilityStatement2:guide").toLocked(); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the capability statement2
- * Type: token
- * Path: CapabilityStatement2.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement2.jurisdiction", description="Intended jurisdiction for the capability statement2", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the capability statement2
- * Type: token
- * Path: CapabilityStatement2.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: mode - *

- * Description: Mode - restful (server/client) or messaging (sender/receiver)
- * Type: token
- * Path: CapabilityStatement2.rest.mode
- *

- */ - @SearchParamDefinition(name="mode", path="CapabilityStatement2.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" ) - public static final String SP_MODE = "mode"; - /** - * Fluent Client search parameter constant for mode - *

- * Description: Mode - restful (server/client) or messaging (sender/receiver)
- * Type: token
- * Path: CapabilityStatement2.rest.mode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MODE); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement2.name", description="Computationally friendly name of the capability statement2", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement2.publisher", description="Name of the publisher of the capability statement2", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: resource-profile - *

- * Description: A profile id invoked in a capability statement
- * Type: reference
- * Path: CapabilityStatement2.rest.resource.profile
- *

- */ - @SearchParamDefinition(name="resource-profile", path="CapabilityStatement2.rest.resource.profile", description="A profile id invoked in a capability statement", type="reference", target={StructureDefinition.class } ) - public static final String SP_RESOURCE_PROFILE = "resource-profile"; - /** - * Fluent Client search parameter constant for resource-profile - *

- * Description: A profile id invoked in a capability statement
- * Type: reference
- * Path: CapabilityStatement2.rest.resource.profile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESOURCE_PROFILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESOURCE_PROFILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CapabilityStatement2:resource-profile". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESOURCE_PROFILE = new ca.uhn.fhir.model.api.Include("CapabilityStatement2:resource-profile").toLocked(); - - /** - * Search parameter: resource - *

- * Description: Name of a resource mentioned in a capability statement
- * Type: token
- * Path: CapabilityStatement2.rest.resource.type
- *

- */ - @SearchParamDefinition(name="resource", path="CapabilityStatement2.rest.resource.type", description="Name of a resource mentioned in a capability statement", type="token" ) - public static final String SP_RESOURCE = "resource"; - /** - * Fluent Client search parameter constant for resource - *

- * Description: Name of a resource mentioned in a capability statement
- * Type: token
- * Path: CapabilityStatement2.rest.resource.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESOURCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RESOURCE); - - /** - * Search parameter: software - *

- * Description: Part of the name of a software application
- * Type: string
- * Path: CapabilityStatement2.software.name
- *

- */ - @SearchParamDefinition(name="software", path="CapabilityStatement2.software.name", description="Part of the name of a software application", type="string" ) - public static final String SP_SOFTWARE = "software"; - /** - * Fluent Client search parameter constant for software - *

- * Description: Part of the name of a software application
- * Type: string
- * Path: CapabilityStatement2.software.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam SOFTWARE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_SOFTWARE); - - /** - * Search parameter: status - *

- * Description: The current status of the capability statement2
- * Type: token
- * Path: CapabilityStatement2.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement2.status", description="The current status of the capability statement2", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the capability statement2
- * Type: token
- * Path: CapabilityStatement2.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: supported-profile - *

- * Description: Profiles for use cases supported
- * Type: reference
- * Path: CapabilityStatement2.rest.resource.supportedProfile
- *

- */ - @SearchParamDefinition(name="supported-profile", path="CapabilityStatement2.rest.resource.supportedProfile", description="Profiles for use cases supported", type="reference", target={StructureDefinition.class } ) - public static final String SP_SUPPORTED_PROFILE = "supported-profile"; - /** - * Fluent Client search parameter constant for supported-profile - *

- * Description: Profiles for use cases supported
- * Type: reference
- * Path: CapabilityStatement2.rest.resource.supportedProfile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPORTED_PROFILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPORTED_PROFILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CapabilityStatement2:supported-profile". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPORTED_PROFILE = new ca.uhn.fhir.model.api.Include("CapabilityStatement2:supported-profile").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement2.title", description="The human-friendly name of the capability statement2", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the capability statement2
- * Type: string
- * Path: CapabilityStatement2.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the capability statement2
- * Type: uri
- * Path: CapabilityStatement2.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement2.url", description="The uri that identifies the capability statement2", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the capability statement2
- * Type: uri
- * Path: CapabilityStatement2.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the capability statement2
- * Type: token
- * Path: CapabilityStatement2.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement2.version", description="The business version of the capability statement2", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the capability statement2
- * Type: token
- * Path: CapabilityStatement2.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CarePlan.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CarePlan.java index acd7c01b5..353119d76 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CarePlan.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CarePlan.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -124,6 +124,7 @@ public class CarePlan extends DomainResource { case TASK: return "Task"; case SERVICEREQUEST: return "ServiceRequest"; case VISIONPRESCRIPTION: return "VisionPrescription"; + case NULL: return null; default: return "?"; } } @@ -137,6 +138,7 @@ public class CarePlan extends DomainResource { case TASK: return "http://hl7.org/fhir/resource-types"; case SERVICEREQUEST: return "http://hl7.org/fhir/resource-types"; case VISIONPRESCRIPTION: return "http://hl7.org/fhir/resource-types"; + case NULL: return null; default: return "?"; } } @@ -150,6 +152,7 @@ public class CarePlan extends DomainResource { case TASK: return "A task to be performed."; case SERVICEREQUEST: return "A record of a request for service such as diagnostic investigations, treatments, or operations to be performed."; case VISIONPRESCRIPTION: return "An authorization for the provision of glasses and/or contact lenses to a patient."; + case NULL: return null; default: return "?"; } } @@ -163,6 +166,7 @@ public class CarePlan extends DomainResource { case TASK: return "Task"; case SERVICEREQUEST: return "ServiceRequest"; case VISIONPRESCRIPTION: return "VisionPrescription"; + case NULL: return null; default: return "?"; } } @@ -319,6 +323,7 @@ public class CarePlan extends DomainResource { case STOPPED: return "stopped"; case UNKNOWN: return "unknown"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -333,6 +338,7 @@ public class CarePlan extends DomainResource { case STOPPED: return "http://hl7.org/fhir/care-plan-activity-status"; case UNKNOWN: return "http://hl7.org/fhir/care-plan-activity-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/care-plan-activity-status"; + case NULL: return null; default: return "?"; } } @@ -347,6 +353,7 @@ public class CarePlan extends DomainResource { case STOPPED: return "The planned care plan activity has been ended prior to completion after the activity was started."; case UNKNOWN: return "The current state of the care plan activity is not known. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which one."; case ENTEREDINERROR: return "Care plan activity was entered in error and voided."; + case NULL: return null; default: return "?"; } } @@ -361,6 +368,7 @@ public class CarePlan extends DomainResource { case STOPPED: return "Stopped"; case UNKNOWN: return "Unknown"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -495,6 +503,7 @@ public class CarePlan extends DomainResource { case ORDER: return "order"; case OPTION: return "option"; case DIRECTIVE: return "directive"; + case NULL: return null; default: return "?"; } } @@ -505,6 +514,7 @@ public class CarePlan extends DomainResource { case ORDER: return "http://hl7.org/fhir/request-intent"; case OPTION: return "http://hl7.org/fhir/request-intent"; case DIRECTIVE: return "http://hl7.org/fhir/request-intent"; + case NULL: return null; default: return "?"; } } @@ -515,6 +525,7 @@ public class CarePlan extends DomainResource { case ORDER: return "The request represents a request/demand and authorization for action by a Practitioner."; case OPTION: return "The request represents a component or option for a RequestGroup that establishes timing, conditionality and/or other constraints among a set of requests. Refer to [[[RequestGroup]]] for additional information on how this status is used."; case DIRECTIVE: return "The request represents a legally binding instruction authored by a Patient or RelatedPerson."; + case NULL: return null; default: return "?"; } } @@ -525,6 +536,7 @@ public class CarePlan extends DomainResource { case ORDER: return "Order"; case OPTION: return "Option"; case DIRECTIVE: return "Directive"; + case NULL: return null; default: return "?"; } } @@ -2365,17 +2377,17 @@ public class CarePlan extends DomainResource { protected DateTimeType created; /** - * When populated, the author is responsible for the care plan. The care plan is attributed to the author. + * When populated, the custodian is responsible for the care plan. The care plan is attributed to the custodian. */ - @Child(name = "author", type = {Patient.class, Practitioner.class, PractitionerRole.class, Device.class, RelatedPerson.class, Organization.class, CareTeam.class}, order=15, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Who is the designated responsible party", formalDefinition="When populated, the author is responsible for the care plan. The care plan is attributed to the author." ) - protected Reference author; + @Child(name = "custodian", type = {Patient.class, Practitioner.class, PractitionerRole.class, Device.class, RelatedPerson.class, Organization.class, CareTeam.class}, order=15, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Who is the designated responsible party", formalDefinition="When populated, the custodian is responsible for the care plan. The care plan is attributed to the custodian." ) + protected Reference custodian; /** - * Identifies the individual(s) or organization who provided the contents of the care plan. + * Identifies the individual(s), organization or device who provided the contents of the care plan. */ @Child(name = "contributor", type = {Patient.class, Practitioner.class, PractitionerRole.class, Device.class, RelatedPerson.class, Organization.class, CareTeam.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Who provided the content of the care plan", formalDefinition="Identifies the individual(s) or organization who provided the contents of the care plan." ) + @Description(shortDefinition="Who provided the content of the care plan", formalDefinition="Identifies the individual(s), organization or device who provided the contents of the care plan." ) protected List contributor; /** @@ -2421,7 +2433,7 @@ public class CarePlan extends DomainResource { @Description(shortDefinition="Comments about the plan", formalDefinition="General notes about the care plan not covered elsewhere." ) protected List note; - private static final long serialVersionUID = 1467908871L; + private static final long serialVersionUID = -700769298L; /** * Constructor @@ -3137,31 +3149,31 @@ public class CarePlan extends DomainResource { } /** - * @return {@link #author} (When populated, the author is responsible for the care plan. The care plan is attributed to the author.) + * @return {@link #custodian} (When populated, the custodian is responsible for the care plan. The care plan is attributed to the custodian.) */ - public Reference getAuthor() { - if (this.author == null) + public Reference getCustodian() { + if (this.custodian == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CarePlan.author"); + throw new Error("Attempt to auto-create CarePlan.custodian"); else if (Configuration.doAutoCreate()) - this.author = new Reference(); // cc - return this.author; + this.custodian = new Reference(); // cc + return this.custodian; } - public boolean hasAuthor() { - return this.author != null && !this.author.isEmpty(); + public boolean hasCustodian() { + return this.custodian != null && !this.custodian.isEmpty(); } /** - * @param value {@link #author} (When populated, the author is responsible for the care plan. The care plan is attributed to the author.) + * @param value {@link #custodian} (When populated, the custodian is responsible for the care plan. The care plan is attributed to the custodian.) */ - public CarePlan setAuthor(Reference value) { - this.author = value; + public CarePlan setCustodian(Reference value) { + this.custodian = value; return this; } /** - * @return {@link #contributor} (Identifies the individual(s) or organization who provided the contents of the care plan.) + * @return {@link #contributor} (Identifies the individual(s), organization or device who provided the contents of the care plan.) */ public List getContributor() { if (this.contributor == null) @@ -3548,8 +3560,8 @@ public class CarePlan extends DomainResource { children.add(new Property("encounter", "Reference(Encounter)", "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.", 0, 1, encounter)); children.add(new Property("period", "Period", "Indicates when the plan did (or is intended to) come into effect and end.", 0, 1, period)); children.add(new Property("created", "dateTime", "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.", 0, 1, created)); - children.add(new Property("author", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "When populated, the author is responsible for the care plan. The care plan is attributed to the author.", 0, 1, author)); - children.add(new Property("contributor", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "Identifies the individual(s) or organization who provided the contents of the care plan.", 0, java.lang.Integer.MAX_VALUE, contributor)); + children.add(new Property("custodian", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "When populated, the custodian is responsible for the care plan. The care plan is attributed to the custodian.", 0, 1, custodian)); + children.add(new Property("contributor", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "Identifies the individual(s), organization or device who provided the contents of the care plan.", 0, java.lang.Integer.MAX_VALUE, contributor)); children.add(new Property("careTeam", "Reference(CareTeam)", "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.", 0, java.lang.Integer.MAX_VALUE, careTeam)); children.add(new Property("addresses", "CodeableReference(Condition)", "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.", 0, java.lang.Integer.MAX_VALUE, addresses)); children.add(new Property("supportingInfo", "Reference(Any)", "Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.", 0, java.lang.Integer.MAX_VALUE, supportingInfo)); @@ -3576,8 +3588,8 @@ public class CarePlan extends DomainResource { case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.", 0, 1, encounter); case -991726143: /*period*/ return new Property("period", "Period", "Indicates when the plan did (or is intended to) come into effect and end.", 0, 1, period); case 1028554472: /*created*/ return new Property("created", "dateTime", "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.", 0, 1, created); - case -1406328437: /*author*/ return new Property("author", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "When populated, the author is responsible for the care plan. The care plan is attributed to the author.", 0, 1, author); - case -1895276325: /*contributor*/ return new Property("contributor", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "Identifies the individual(s) or organization who provided the contents of the care plan.", 0, java.lang.Integer.MAX_VALUE, contributor); + case 1611297262: /*custodian*/ return new Property("custodian", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "When populated, the custodian is responsible for the care plan. The care plan is attributed to the custodian.", 0, 1, custodian); + case -1895276325: /*contributor*/ return new Property("contributor", "Reference(Patient|Practitioner|PractitionerRole|Device|RelatedPerson|Organization|CareTeam)", "Identifies the individual(s), organization or device who provided the contents of the care plan.", 0, java.lang.Integer.MAX_VALUE, contributor); case -7323378: /*careTeam*/ return new Property("careTeam", "Reference(CareTeam)", "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.", 0, java.lang.Integer.MAX_VALUE, careTeam); case 874544034: /*addresses*/ return new Property("addresses", "CodeableReference(Condition)", "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.", 0, java.lang.Integer.MAX_VALUE, addresses); case 1922406657: /*supportingInfo*/ return new Property("supportingInfo", "Reference(Any)", "Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.", 0, java.lang.Integer.MAX_VALUE, supportingInfo); @@ -3607,7 +3619,7 @@ public class CarePlan extends DomainResource { case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period case 1028554472: /*created*/ return this.created == null ? new Base[0] : new Base[] {this.created}; // DateTimeType - case -1406328437: /*author*/ return this.author == null ? new Base[0] : new Base[] {this.author}; // Reference + case 1611297262: /*custodian*/ return this.custodian == null ? new Base[0] : new Base[] {this.custodian}; // Reference case -1895276325: /*contributor*/ return this.contributor == null ? new Base[0] : this.contributor.toArray(new Base[this.contributor.size()]); // Reference case -7323378: /*careTeam*/ return this.careTeam == null ? new Base[0] : this.careTeam.toArray(new Base[this.careTeam.size()]); // Reference case 874544034: /*addresses*/ return this.addresses == null ? new Base[0] : this.addresses.toArray(new Base[this.addresses.size()]); // CodeableReference @@ -3670,8 +3682,8 @@ public class CarePlan extends DomainResource { case 1028554472: // created this.created = TypeConvertor.castToDateTime(value); // DateTimeType return value; - case -1406328437: // author - this.author = TypeConvertor.castToReference(value); // Reference + case 1611297262: // custodian + this.custodian = TypeConvertor.castToReference(value); // Reference return value; case -1895276325: // contributor this.getContributor().add(TypeConvertor.castToReference(value)); // Reference @@ -3733,8 +3745,8 @@ public class CarePlan extends DomainResource { this.period = TypeConvertor.castToPeriod(value); // Period } else if (name.equals("created")) { this.created = TypeConvertor.castToDateTime(value); // DateTimeType - } else if (name.equals("author")) { - this.author = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("custodian")) { + this.custodian = TypeConvertor.castToReference(value); // Reference } else if (name.equals("contributor")) { this.getContributor().add(TypeConvertor.castToReference(value)); } else if (name.equals("careTeam")) { @@ -3772,7 +3784,7 @@ public class CarePlan extends DomainResource { case 1524132147: return getEncounter(); case -991726143: return getPeriod(); case 1028554472: return getCreatedElement(); - case -1406328437: return getAuthor(); + case 1611297262: return getCustodian(); case -1895276325: return addContributor(); case -7323378: return addCareTeam(); case 874544034: return addAddresses(); @@ -3803,7 +3815,7 @@ public class CarePlan extends DomainResource { case 1524132147: /*encounter*/ return new String[] {"Reference"}; case -991726143: /*period*/ return new String[] {"Period"}; case 1028554472: /*created*/ return new String[] {"dateTime"}; - case -1406328437: /*author*/ return new String[] {"Reference"}; + case 1611297262: /*custodian*/ return new String[] {"Reference"}; case -1895276325: /*contributor*/ return new String[] {"Reference"}; case -7323378: /*careTeam*/ return new String[] {"Reference"}; case 874544034: /*addresses*/ return new String[] {"CodeableReference"}; @@ -3866,9 +3878,9 @@ public class CarePlan extends DomainResource { else if (name.equals("created")) { throw new FHIRException("Cannot call addChild on a primitive type CarePlan.created"); } - else if (name.equals("author")) { - this.author = new Reference(); - return this.author; + else if (name.equals("custodian")) { + this.custodian = new Reference(); + return this.custodian; } else if (name.equals("contributor")) { return addContributor(); @@ -3951,7 +3963,7 @@ public class CarePlan extends DomainResource { dst.encounter = encounter == null ? null : encounter.copy(); dst.period = period == null ? null : period.copy(); dst.created = created == null ? null : created.copy(); - dst.author = author == null ? null : author.copy(); + dst.custodian = custodian == null ? null : custodian.copy(); if (contributor != null) { dst.contributor = new ArrayList(); for (Reference i : contributor) @@ -4005,7 +4017,7 @@ public class CarePlan extends DomainResource { && compareDeep(replaces, o.replaces, true) && compareDeep(partOf, o.partOf, true) && compareDeep(status, o.status, true) && compareDeep(intent, o.intent, true) && compareDeep(category, o.category, true) && compareDeep(title, o.title, true) && compareDeep(description, o.description, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) - && compareDeep(period, o.period, true) && compareDeep(created, o.created, true) && compareDeep(author, o.author, true) + && compareDeep(period, o.period, true) && compareDeep(created, o.created, true) && compareDeep(custodian, o.custodian, true) && compareDeep(contributor, o.contributor, true) && compareDeep(careTeam, o.careTeam, true) && compareDeep(addresses, o.addresses, true) && compareDeep(supportingInfo, o.supportingInfo, true) && compareDeep(goal, o.goal, true) && compareDeep(activity, o.activity, true) && compareDeep(note, o.note, true); @@ -4026,7 +4038,7 @@ public class CarePlan extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiatesCanonical , instantiatesUri, basedOn, replaces, partOf, status, intent, category, title - , description, subject, encounter, period, created, author, contributor, careTeam + , description, subject, encounter, period, created, custodian, contributor, careTeam , addresses, supportingInfo, goal, activity, note); } @@ -4035,668 +4047,6 @@ public class CarePlan extends DomainResource { return ResourceType.CarePlan; } - /** - * Search parameter: activity-code - *

- * Description: Detail type of activity
- * Type: token
- * Path: CarePlan.activity.plannedActivityDetail.code
- *

- */ - @SearchParamDefinition(name="activity-code", path="CarePlan.activity.plannedActivityDetail.code", description="Detail type of activity", type="token" ) - public static final String SP_ACTIVITY_CODE = "activity-code"; - /** - * Fluent Client search parameter constant for activity-code - *

- * Description: Detail type of activity
- * Type: token
- * Path: CarePlan.activity.plannedActivityDetail.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVITY_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVITY_CODE); - - /** - * Search parameter: activity-reference - *

- * Description: Activity that is intended to be part of the care plan
- * Type: reference
- * Path: CarePlan.activity.plannedActivityReference
- *

- */ - @SearchParamDefinition(name="activity-reference", path="CarePlan.activity.plannedActivityReference", description="Activity that is intended to be part of the care plan", type="reference", target={Appointment.class, CommunicationRequest.class, DeviceRequest.class, ImmunizationRecommendation.class, MedicationRequest.class, NutritionOrder.class, RequestGroup.class, ServiceRequest.class, Task.class, VisionPrescription.class } ) - public static final String SP_ACTIVITY_REFERENCE = "activity-reference"; - /** - * Fluent Client search parameter constant for activity-reference - *

- * Description: Activity that is intended to be part of the care plan
- * Type: reference
- * Path: CarePlan.activity.plannedActivityReference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTIVITY_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACTIVITY_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:activity-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTIVITY_REFERENCE = new ca.uhn.fhir.model.api.Include("CarePlan:activity-reference").toLocked(); - - /** - * Search parameter: activity-scheduled-date - *

- * Description: Specified date occurs within period specified by CarePlan.activity.plannedActivityDetail.scheduled[x]
- * Type: date
- * Path: CarePlan.activity.plannedActivityDetail.scheduled.as(Timing) | CarePlan.activity.plannedActivityDetail.scheduled.as(Period)
- *

- */ - @SearchParamDefinition(name="activity-scheduled-date", path="CarePlan.activity.plannedActivityDetail.scheduled.as(Timing) | CarePlan.activity.plannedActivityDetail.scheduled.as(Period)", description="Specified date occurs within period specified by CarePlan.activity.plannedActivityDetail.scheduled[x]", type="date" ) - public static final String SP_ACTIVITY_SCHEDULED_DATE = "activity-scheduled-date"; - /** - * Fluent Client search parameter constant for activity-scheduled-date - *

- * Description: Specified date occurs within period specified by CarePlan.activity.plannedActivityDetail.scheduled[x]
- * Type: date
- * Path: CarePlan.activity.plannedActivityDetail.scheduled.as(Timing) | CarePlan.activity.plannedActivityDetail.scheduled.as(Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ACTIVITY_SCHEDULED_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ACTIVITY_SCHEDULED_DATE); - - /** - * Search parameter: activity-scheduled-string - *

- * Description: When activity is to occur
- * Type: string
- * Path: CarePlan.activity.plannedActivityDetail.scheduled.as(string)
- *

- */ - @SearchParamDefinition(name="activity-scheduled-string", path="CarePlan.activity.plannedActivityDetail.scheduled.as(string)", description="When activity is to occur", type="string" ) - public static final String SP_ACTIVITY_SCHEDULED_STRING = "activity-scheduled-string"; - /** - * Fluent Client search parameter constant for activity-scheduled-string - *

- * Description: When activity is to occur
- * Type: string
- * Path: CarePlan.activity.plannedActivityDetail.scheduled.as(string)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ACTIVITY_SCHEDULED_STRING = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ACTIVITY_SCHEDULED_STRING); - - /** - * Search parameter: based-on - *

- * Description: Fulfills CarePlan
- * Type: reference
- * Path: CarePlan.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="CarePlan.basedOn", description="Fulfills CarePlan", type="reference", target={CarePlan.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Fulfills CarePlan
- * Type: reference
- * Path: CarePlan.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("CarePlan:based-on").toLocked(); - - /** - * Search parameter: care-team - *

- * Description: Who's involved in plan?
- * Type: reference
- * Path: CarePlan.careTeam
- *

- */ - @SearchParamDefinition(name="care-team", path="CarePlan.careTeam", description="Who's involved in plan?", type="reference", target={CareTeam.class } ) - public static final String SP_CARE_TEAM = "care-team"; - /** - * Fluent Client search parameter constant for care-team - *

- * Description: Who's involved in plan?
- * Type: reference
- * Path: CarePlan.careTeam
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CARE_TEAM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CARE_TEAM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:care-team". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CARE_TEAM = new ca.uhn.fhir.model.api.Include("CarePlan:care-team").toLocked(); - - /** - * Search parameter: category - *

- * Description: Type of plan
- * Type: token
- * Path: CarePlan.category
- *

- */ - @SearchParamDefinition(name="category", path="CarePlan.category", description="Type of plan", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Type of plan
- * Type: token
- * Path: CarePlan.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: condition - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: CarePlan.addresses.reference
- *

- */ - @SearchParamDefinition(name="condition", path="CarePlan.addresses.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_CONDITION = "condition"; - /** - * Fluent Client search parameter constant for condition - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: CarePlan.addresses.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONDITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:condition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONDITION = new ca.uhn.fhir.model.api.Include("CarePlan:condition").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: The Encounter during which this CarePlan was created
- * Type: reference
- * Path: CarePlan.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="CarePlan.encounter", description="The Encounter during which this CarePlan was created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The Encounter during which this CarePlan was created
- * Type: reference
- * Path: CarePlan.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("CarePlan:encounter").toLocked(); - - /** - * Search parameter: goal - *

- * Description: Desired outcome of plan
- * Type: reference
- * Path: CarePlan.goal
- *

- */ - @SearchParamDefinition(name="goal", path="CarePlan.goal", description="Desired outcome of plan", type="reference", target={Goal.class } ) - public static final String SP_GOAL = "goal"; - /** - * Fluent Client search parameter constant for goal - *

- * Description: Desired outcome of plan
- * Type: reference
- * Path: CarePlan.goal
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GOAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GOAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:goal". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GOAL = new ca.uhn.fhir.model.api.Include("CarePlan:goal").toLocked(); - - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: CarePlan.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="CarePlan.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, Measure.class, OperationDefinition.class, PlanDefinition.class, Questionnaire.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: CarePlan.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("CarePlan:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: CarePlan.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="CarePlan.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: CarePlan.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: intent - *

- * Description: proposal | plan | order | option | directive
- * Type: token
- * Path: CarePlan.intent
- *

- */ - @SearchParamDefinition(name="intent", path="CarePlan.intent", description="proposal | plan | order | option | directive", type="token" ) - public static final String SP_INTENT = "intent"; - /** - * Fluent Client search parameter constant for intent - *

- * Description: proposal | plan | order | option | directive
- * Type: token
- * Path: CarePlan.intent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENT); - - /** - * Search parameter: part-of - *

- * Description: Part of referenced CarePlan
- * Type: reference
- * Path: CarePlan.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="CarePlan.partOf", description="Part of referenced CarePlan", type="reference", target={CarePlan.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Part of referenced CarePlan
- * Type: reference
- * Path: CarePlan.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("CarePlan:part-of").toLocked(); - - /** - * Search parameter: performer - *

- * Description: Matches if the practitioner is listed as a performer in any of the "simple" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)
- * Type: reference
- * Path: CarePlan.activity.plannedActivityDetail.performer
- *

- */ - @SearchParamDefinition(name="performer", path="CarePlan.activity.plannedActivityDetail.performer", description="Matches if the practitioner is listed as a performer in any of the \"simple\" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Matches if the practitioner is listed as a performer in any of the "simple" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)
- * Type: reference
- * Path: CarePlan.activity.plannedActivityDetail.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("CarePlan:performer").toLocked(); - - /** - * Search parameter: replaces - *

- * Description: CarePlan replaced by this CarePlan
- * Type: reference
- * Path: CarePlan.replaces
- *

- */ - @SearchParamDefinition(name="replaces", path="CarePlan.replaces", description="CarePlan replaced by this CarePlan", type="reference", target={CarePlan.class } ) - public static final String SP_REPLACES = "replaces"; - /** - * Fluent Client search parameter constant for replaces - *

- * Description: CarePlan replaced by this CarePlan
- * Type: reference
- * Path: CarePlan.replaces
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPLACES = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REPLACES); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:replaces". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REPLACES = new ca.uhn.fhir.model.api.Include("CarePlan:replaces").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
- * Type: token
- * Path: CarePlan.status
- *

- */ - @SearchParamDefinition(name="status", path="CarePlan.status", description="draft | active | on-hold | revoked | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
- * Type: token
- * Path: CarePlan.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Who the care plan is for
- * Type: reference
- * Path: CarePlan.subject
- *

- */ - @SearchParamDefinition(name="subject", path="CarePlan.subject", description="Who the care plan is for", type="reference", target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who the care plan is for
- * Type: reference
- * Path: CarePlan.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("CarePlan:subject").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CarePlan:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("CarePlan:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CareTeam.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CareTeam.java index 6be131c34..d7a40e082 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CareTeam.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CareTeam.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class CareTeam extends DomainResource { case SUSPENDED: return "suspended"; case INACTIVE: return "inactive"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class CareTeam extends DomainResource { case SUSPENDED: return "http://hl7.org/fhir/care-team-status"; case INACTIVE: return "http://hl7.org/fhir/care-team-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/care-team-status"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class CareTeam extends DomainResource { case SUSPENDED: return "The care team is temporarily on hold or suspended and not participating in the coordination and delivery of care."; case INACTIVE: return "The care team was, but is no longer, participating in the coordination and delivery of care."; case ENTEREDINERROR: return "The care team should have never existed."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class CareTeam extends DomainResource { case SUSPENDED: return "Suspended"; case INACTIVE: return "Inactive"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -1426,354 +1430,6 @@ public class CareTeam extends DomainResource { return ResourceType.CareTeam; } - /** - * Search parameter: category - *

- * Description: Type of team
- * Type: token
- * Path: CareTeam.category
- *

- */ - @SearchParamDefinition(name="category", path="CareTeam.category", description="Type of team", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Type of team
- * Type: token
- * Path: CareTeam.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: name - *

- * Description: Name of the team, such as crisis assessment team
- * Type: string
- * Path: CareTeam.name | CareTeam.extension('http://hl7.org/fhir/StructureDefinition/careteam-alias')
- *

- */ - @SearchParamDefinition(name="name", path="CareTeam.name | CareTeam.extension('http://hl7.org/fhir/StructureDefinition/careteam-alias')", description="Name of the team, such as crisis assessment team", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Name of the team, such as crisis assessment team
- * Type: string
- * Path: CareTeam.name | CareTeam.extension('http://hl7.org/fhir/StructureDefinition/careteam-alias')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: participant - *

- * Description: Who is involved
- * Type: reference
- * Path: CareTeam.participant.member
- *

- */ - @SearchParamDefinition(name="participant", path="CareTeam.participant.member", description="Who is involved", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PARTICIPANT = "participant"; - /** - * Fluent Client search parameter constant for participant - *

- * Description: Who is involved
- * Type: reference
- * Path: CareTeam.participant.member
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTICIPANT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CareTeam:participant". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT = new ca.uhn.fhir.model.api.Include("CareTeam:participant").toLocked(); - - /** - * Search parameter: status - *

- * Description: proposed | active | suspended | inactive | entered-in-error
- * Type: token
- * Path: CareTeam.status
- *

- */ - @SearchParamDefinition(name="status", path="CareTeam.status", description="proposed | active | suspended | inactive | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: proposed | active | suspended | inactive | entered-in-error
- * Type: token
- * Path: CareTeam.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Who care team is for
- * Type: reference
- * Path: CareTeam.subject
- *

- */ - @SearchParamDefinition(name="subject", path="CareTeam.subject", description="Who care team is for", type="reference", target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who care team is for
- * Type: reference
- * Path: CareTeam.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CareTeam:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("CareTeam:subject").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CareTeam:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("CareTeam:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItem.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItem.java index d158eefd5..e16acab83 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItem.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItem.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -118,6 +118,7 @@ public class ChargeItem extends DomainResource { case BILLED: return "billed"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -130,6 +131,7 @@ public class ChargeItem extends DomainResource { case BILLED: return "http://hl7.org/fhir/chargeitem-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/chargeitem-status"; case UNKNOWN: return "http://hl7.org/fhir/chargeitem-status"; + case NULL: return null; default: return "?"; } } @@ -142,6 +144,7 @@ public class ChargeItem extends DomainResource { case BILLED: return "The charge item has been billed (e.g. a billing engine has generated financial transactions by applying the associated ruled for the charge item to the context of the Encounter, and placed them into Claims/Invoices."; case ENTEREDINERROR: return "The charge item has been entered in error and should not be processed for billing."; case UNKNOWN: return "The authoring system does not know which of the status values currently applies for this charge item Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, it's just not known which one."; + case NULL: return null; default: return "?"; } } @@ -154,6 +157,7 @@ public class ChargeItem extends DomainResource { case BILLED: return "Billed"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -2344,400 +2348,6 @@ public class ChargeItem extends DomainResource { return ResourceType.ChargeItem; } - /** - * Search parameter: account - *

- * Description: Account to place this charge
- * Type: reference
- * Path: ChargeItem.account
- *

- */ - @SearchParamDefinition(name="account", path="ChargeItem.account", description="Account to place this charge", type="reference", target={Account.class } ) - public static final String SP_ACCOUNT = "account"; - /** - * Fluent Client search parameter constant for account - *

- * Description: Account to place this charge
- * Type: reference
- * Path: ChargeItem.account
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACCOUNT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACCOUNT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:account". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACCOUNT = new ca.uhn.fhir.model.api.Include("ChargeItem:account").toLocked(); - - /** - * Search parameter: code - *

- * Description: A code that identifies the charge, like a billing code
- * Type: token
- * Path: ChargeItem.code
- *

- */ - @SearchParamDefinition(name="code", path="ChargeItem.code", description="A code that identifies the charge, like a billing code", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: A code that identifies the charge, like a billing code
- * Type: token
- * Path: ChargeItem.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: context - *

- * Description: Encounter / Episode associated with event
- * Type: reference
- * Path: ChargeItem.context
- *

- */ - @SearchParamDefinition(name="context", path="ChargeItem.context", description="Encounter / Episode associated with event", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class, EpisodeOfCare.class } ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Encounter / Episode associated with event
- * Type: reference
- * Path: ChargeItem.context
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTEXT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:context". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTEXT = new ca.uhn.fhir.model.api.Include("ChargeItem:context").toLocked(); - - /** - * Search parameter: entered-date - *

- * Description: Date the charge item was entered
- * Type: date
- * Path: ChargeItem.enteredDate
- *

- */ - @SearchParamDefinition(name="entered-date", path="ChargeItem.enteredDate", description="Date the charge item was entered", type="date" ) - public static final String SP_ENTERED_DATE = "entered-date"; - /** - * Fluent Client search parameter constant for entered-date - *

- * Description: Date the charge item was entered
- * Type: date
- * Path: ChargeItem.enteredDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ENTERED_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ENTERED_DATE); - - /** - * Search parameter: enterer - *

- * Description: Individual who was entering
- * Type: reference
- * Path: ChargeItem.enterer
- *

- */ - @SearchParamDefinition(name="enterer", path="ChargeItem.enterer", description="Individual who was entering", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ENTERER = "enterer"; - /** - * Fluent Client search parameter constant for enterer - *

- * Description: Individual who was entering
- * Type: reference
- * Path: ChargeItem.enterer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTERER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTERER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:enterer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTERER = new ca.uhn.fhir.model.api.Include("ChargeItem:enterer").toLocked(); - - /** - * Search parameter: factor-override - *

- * Description: Factor overriding the associated rules
- * Type: number
- * Path: ChargeItem.factorOverride
- *

- */ - @SearchParamDefinition(name="factor-override", path="ChargeItem.factorOverride", description="Factor overriding the associated rules", type="number" ) - public static final String SP_FACTOR_OVERRIDE = "factor-override"; - /** - * Fluent Client search parameter constant for factor-override - *

- * Description: Factor overriding the associated rules
- * Type: number
- * Path: ChargeItem.factorOverride
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam FACTOR_OVERRIDE = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_FACTOR_OVERRIDE); - - /** - * Search parameter: identifier - *

- * Description: Business Identifier for item
- * Type: token
- * Path: ChargeItem.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ChargeItem.identifier", description="Business Identifier for item", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business Identifier for item
- * Type: token
- * Path: ChargeItem.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: occurrence - *

- * Description: When the charged service was applied
- * Type: date
- * Path: ChargeItem.occurrence
- *

- */ - @SearchParamDefinition(name="occurrence", path="ChargeItem.occurrence", description="When the charged service was applied", type="date" ) - public static final String SP_OCCURRENCE = "occurrence"; - /** - * Fluent Client search parameter constant for occurrence - *

- * Description: When the charged service was applied
- * Type: date
- * Path: ChargeItem.occurrence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam OCCURRENCE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_OCCURRENCE); - - /** - * Search parameter: patient - *

- * Description: Individual service was done for/to
- * Type: reference
- * Path: ChargeItem.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="ChargeItem.subject.where(resolve() is Patient)", description="Individual service was done for/to", type="reference", target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Individual service was done for/to
- * Type: reference
- * Path: ChargeItem.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ChargeItem:patient").toLocked(); - - /** - * Search parameter: performer-actor - *

- * Description: Individual who was performing
- * Type: reference
- * Path: ChargeItem.performer.actor
- *

- */ - @SearchParamDefinition(name="performer-actor", path="ChargeItem.performer.actor", description="Individual who was performing", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER_ACTOR = "performer-actor"; - /** - * Fluent Client search parameter constant for performer-actor - *

- * Description: Individual who was performing
- * Type: reference
- * Path: ChargeItem.performer.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER_ACTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER_ACTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:performer-actor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER_ACTOR = new ca.uhn.fhir.model.api.Include("ChargeItem:performer-actor").toLocked(); - - /** - * Search parameter: performer-function - *

- * Description: What type of performance was done
- * Type: token
- * Path: ChargeItem.performer.function
- *

- */ - @SearchParamDefinition(name="performer-function", path="ChargeItem.performer.function", description="What type of performance was done", type="token" ) - public static final String SP_PERFORMER_FUNCTION = "performer-function"; - /** - * Fluent Client search parameter constant for performer-function - *

- * Description: What type of performance was done
- * Type: token
- * Path: ChargeItem.performer.function
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PERFORMER_FUNCTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PERFORMER_FUNCTION); - - /** - * Search parameter: performing-organization - *

- * Description: Organization providing the charged service
- * Type: reference
- * Path: ChargeItem.performingOrganization
- *

- */ - @SearchParamDefinition(name="performing-organization", path="ChargeItem.performingOrganization", description="Organization providing the charged service", type="reference", target={Organization.class } ) - public static final String SP_PERFORMING_ORGANIZATION = "performing-organization"; - /** - * Fluent Client search parameter constant for performing-organization - *

- * Description: Organization providing the charged service
- * Type: reference
- * Path: ChargeItem.performingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMING_ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMING_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:performing-organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMING_ORGANIZATION = new ca.uhn.fhir.model.api.Include("ChargeItem:performing-organization").toLocked(); - - /** - * Search parameter: price-override - *

- * Description: Price overriding the associated rules
- * Type: quantity
- * Path: ChargeItem.priceOverride
- *

- */ - @SearchParamDefinition(name="price-override", path="ChargeItem.priceOverride", description="Price overriding the associated rules", type="quantity" ) - public static final String SP_PRICE_OVERRIDE = "price-override"; - /** - * Fluent Client search parameter constant for price-override - *

- * Description: Price overriding the associated rules
- * Type: quantity
- * Path: ChargeItem.priceOverride
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam PRICE_OVERRIDE = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_PRICE_OVERRIDE); - - /** - * Search parameter: quantity - *

- * Description: Quantity of which the charge item has been serviced
- * Type: quantity
- * Path: ChargeItem.quantity
- *

- */ - @SearchParamDefinition(name="quantity", path="ChargeItem.quantity", description="Quantity of which the charge item has been serviced", type="quantity" ) - public static final String SP_QUANTITY = "quantity"; - /** - * Fluent Client search parameter constant for quantity - *

- * Description: Quantity of which the charge item has been serviced
- * Type: quantity
- * Path: ChargeItem.quantity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_QUANTITY); - - /** - * Search parameter: requesting-organization - *

- * Description: Organization requesting the charged service
- * Type: reference
- * Path: ChargeItem.requestingOrganization
- *

- */ - @SearchParamDefinition(name="requesting-organization", path="ChargeItem.requestingOrganization", description="Organization requesting the charged service", type="reference", target={Organization.class } ) - public static final String SP_REQUESTING_ORGANIZATION = "requesting-organization"; - /** - * Fluent Client search parameter constant for requesting-organization - *

- * Description: Organization requesting the charged service
- * Type: reference
- * Path: ChargeItem.requestingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTING_ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTING_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:requesting-organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTING_ORGANIZATION = new ca.uhn.fhir.model.api.Include("ChargeItem:requesting-organization").toLocked(); - - /** - * Search parameter: service - *

- * Description: Which rendered service is being charged?
- * Type: reference
- * Path: ChargeItem.service
- *

- */ - @SearchParamDefinition(name="service", path="ChargeItem.service", description="Which rendered service is being charged?", type="reference", target={DiagnosticReport.class, ImagingStudy.class, Immunization.class, MedicationAdministration.class, MedicationDispense.class, Observation.class, Procedure.class, SupplyDelivery.class } ) - public static final String SP_SERVICE = "service"; - /** - * Fluent Client search parameter constant for service - *

- * Description: Which rendered service is being charged?
- * Type: reference
- * Path: ChargeItem.service
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SERVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SERVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:service". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SERVICE = new ca.uhn.fhir.model.api.Include("ChargeItem:service").toLocked(); - - /** - * Search parameter: subject - *

- * Description: Individual service was done for/to
- * Type: reference
- * Path: ChargeItem.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ChargeItem.subject", description="Individual service was done for/to", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Individual service was done for/to
- * Type: reference
- * Path: ChargeItem.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ChargeItem:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ChargeItem:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItemDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItemDefinition.java index d40c8eac1..f0b1efe1f 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItemDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ChargeItemDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1157,7 +1157,7 @@ public class ChargeItemDefinition extends MetadataResource { /** * The defined billing details in this resource pertain to the given product instance(s). */ - @Child(name = "instance", type = {Medication.class, Substance.class, Device.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "instance", type = {Medication.class, Substance.class, Device.class, DeviceDefinition.class, ActivityDefinition.class, PlanDefinition.class, HealthcareService.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Instances this definition applies to", formalDefinition="The defined billing details in this resource pertain to the given product instance(s)." ) protected List instance; @@ -2402,7 +2402,7 @@ public class ChargeItemDefinition extends MetadataResource { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the charge item definition. Topics provide a high-level categorization of the charge item definition that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -2626,7 +2626,7 @@ public class ChargeItemDefinition extends MetadataResource { children.add(new Property("lastReviewDate", "date", "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", 0, 1, lastReviewDate)); children.add(new Property("effectivePeriod", "Period", "The period during which the charge item definition content was or is planned to be in active use.", 0, 1, effectivePeriod)); children.add(new Property("code", "CodeableConcept", "The defined billing details in this resource pertain to the given billing code.", 0, 1, code)); - children.add(new Property("instance", "Reference(Medication|Substance|Device)", "The defined billing details in this resource pertain to the given product instance(s).", 0, java.lang.Integer.MAX_VALUE, instance)); + children.add(new Property("instance", "Reference(Medication|Substance|Device|DeviceDefinition|ActivityDefinition|PlanDefinition|HealthcareService)", "The defined billing details in this resource pertain to the given product instance(s).", 0, java.lang.Integer.MAX_VALUE, instance)); children.add(new Property("applicability", "", "Expressions that describe applicability criteria for the billing code.", 0, java.lang.Integer.MAX_VALUE, applicability)); children.add(new Property("propertyGroup", "", "Group of properties which are applicable under the same conditions. If no applicability rules are established for the group, then all properties always apply.", 0, java.lang.Integer.MAX_VALUE, propertyGroup)); } @@ -2654,7 +2654,7 @@ public class ChargeItemDefinition extends MetadataResource { case -1687512484: /*lastReviewDate*/ return new Property("lastReviewDate", "date", "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", 0, 1, lastReviewDate); case -403934648: /*effectivePeriod*/ return new Property("effectivePeriod", "Period", "The period during which the charge item definition content was or is planned to be in active use.", 0, 1, effectivePeriod); case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The defined billing details in this resource pertain to the given billing code.", 0, 1, code); - case 555127957: /*instance*/ return new Property("instance", "Reference(Medication|Substance|Device)", "The defined billing details in this resource pertain to the given product instance(s).", 0, java.lang.Integer.MAX_VALUE, instance); + case 555127957: /*instance*/ return new Property("instance", "Reference(Medication|Substance|Device|DeviceDefinition|ActivityDefinition|PlanDefinition|HealthcareService)", "The defined billing details in this resource pertain to the given product instance(s).", 0, java.lang.Integer.MAX_VALUE, instance); case -1526770491: /*applicability*/ return new Property("applicability", "", "Expressions that describe applicability criteria for the billing code.", 0, java.lang.Integer.MAX_VALUE, applicability); case -1041594966: /*propertyGroup*/ return new Property("propertyGroup", "", "Group of properties which are applicable under the same conditions. If no applicability rules are established for the group, then all properties always apply.", 0, java.lang.Integer.MAX_VALUE, propertyGroup); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -3092,306 +3092,6 @@ public class ChargeItemDefinition extends MetadataResource { return ResourceType.ChargeItemDefinition; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the charge item definition
- * Type: quantity
- * Path: (ChargeItemDefinition.useContext.value as Quantity) | (ChargeItemDefinition.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(ChargeItemDefinition.useContext.value as Quantity) | (ChargeItemDefinition.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the charge item definition", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the charge item definition
- * Type: quantity
- * Path: (ChargeItemDefinition.useContext.value as Quantity) | (ChargeItemDefinition.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the charge item definition
- * Type: composite
- * Path: ChargeItemDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="ChargeItemDefinition.useContext", description="A use context type and quantity- or range-based value assigned to the charge item definition", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the charge item definition
- * Type: composite
- * Path: ChargeItemDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the charge item definition
- * Type: composite
- * Path: ChargeItemDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="ChargeItemDefinition.useContext", description="A use context type and value assigned to the charge item definition", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the charge item definition
- * Type: composite
- * Path: ChargeItemDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="ChargeItemDefinition.useContext.code", description="A type of use context assigned to the charge item definition", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the charge item definition
- * Type: token
- * Path: (ChargeItemDefinition.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(ChargeItemDefinition.useContext.value as CodeableConcept)", description="A use context assigned to the charge item definition", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the charge item definition
- * Type: token
- * Path: (ChargeItemDefinition.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The charge item definition publication date
- * Type: date
- * Path: ChargeItemDefinition.date
- *

- */ - @SearchParamDefinition(name="date", path="ChargeItemDefinition.date", description="The charge item definition publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The charge item definition publication date
- * Type: date
- * Path: ChargeItemDefinition.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: The description of the charge item definition
- * Type: string
- * Path: ChargeItemDefinition.description
- *

- */ - @SearchParamDefinition(name="description", path="ChargeItemDefinition.description", description="The description of the charge item definition", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the charge item definition
- * Type: string
- * Path: ChargeItemDefinition.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the charge item definition is intended to be in use
- * Type: date
- * Path: ChargeItemDefinition.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="ChargeItemDefinition.effectivePeriod", description="The time during which the charge item definition is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the charge item definition is intended to be in use
- * Type: date
- * Path: ChargeItemDefinition.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ChargeItemDefinition.identifier", description="External identifier for the charge item definition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="ChargeItemDefinition.jurisdiction", description="Intended jurisdiction for the charge item definition", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the charge item definition
- * Type: string
- * Path: ChargeItemDefinition.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="ChargeItemDefinition.publisher", description="Name of the publisher of the charge item definition", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the charge item definition
- * Type: string
- * Path: ChargeItemDefinition.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="ChargeItemDefinition.status", description="The current status of the charge item definition", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the charge item definition
- * Type: string
- * Path: ChargeItemDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="ChargeItemDefinition.title", description="The human-friendly name of the charge item definition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the charge item definition
- * Type: string
- * Path: ChargeItemDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the charge item definition
- * Type: uri
- * Path: ChargeItemDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="ChargeItemDefinition.url", description="The uri that identifies the charge item definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the charge item definition
- * Type: uri
- * Path: ChargeItemDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.version
- *

- */ - @SearchParamDefinition(name="version", path="ChargeItemDefinition.version", description="The business version of the charge item definition", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the charge item definition
- * Type: token
- * Path: ChargeItemDefinition.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Citation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Citation.java index 25ef23d60..0db897ee8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Citation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Citation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,6 +53,662 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="Citation", profile="http://hl7.org/fhir/StructureDefinition/Citation") public class Citation extends MetadataResource { + public enum RelatedArtifactTypeExpanded { + /** + * Additional documentation for the knowledge resource. This would include additional instructions on usage as well as additional information on clinical context or appropriateness + */ + DOCUMENTATION, + /** + * The target artifact is a summary of the justification for the knowledge resource including supporting evidence, relevant guidelines, or other clinically important information. This information is intended to provide a way to make the justification for the knowledge resource available to the consumer of interventions or results produced by the knowledge resource. + */ + JUSTIFICATION, + /** + * The previous version of the knowledge artifact, used to establish an ordering of versions of an artifact, independent of the status of each version. + */ + PREDECESSOR, + /** + * The subsequent version of the knowledge artfact, used to establish an ordering of versions of an artifact, independent of the status of each version. + */ + SUCCESSOR, + /** + * This artifact is derived from the target artifact. This is intended to capture the relationship in which a particular knowledge resource is based on the content of another artifact, but is modified to capture either a different set of overall requirements, or a more specific set of requirements such as those involved in a particular institution or clinical setting. The artifact may be derived from one or more target artifacts. + */ + DERIVEDFROM, + /** + * This artifact depends on the target artifact. There is a requirement to use the target artifact in the implementation or interpretation of this artifact. + */ + DEPENDSON, + /** + * This artifact is composed of the target artifact. This artifact is constructed with the target artifact as a component. The target artifact is a part of this artifact. (A dataset is composed of data.) + */ + COMPOSEDOF, + /** + * This artifact is a part of the target artifact. The target artifact is composed of this artifact (and possibly other artifacts). + */ + PARTOF, + /** + * This artifact amends or changes the target artifact. This artifact adds additional information that is functionally expected to replace information in the target artifact. This artifact replaces a part but not all of the target artifact. + */ + AMENDS, + /** + * This artifact is amended with or changed by the target artifact. There is information in this artifact that should be functionally replaced with information in the target artifact. + */ + AMENDEDWITH, + /** + * This artifact adds additional information to the target artifact. The additional information does not replace or change information in the target artifact. + */ + APPENDS, + /** + * This artifact has additional information in the target artifact. + */ + APPENDEDWITH, + /** + * This artifact cites the target artifact. This may be a bibliographic citation for papers, references, or other relevant material for the knowledge resource. This is intended to allow for citation of related material, but that was not necessarily specifically prepared in connection with this knowledge resource. + */ + CITES, + /** + * This artifact is cited by the target artifact. + */ + CITEDBY, + /** + * This artifact contains comments about the target artifact.  + */ + COMMENTSON, + /** + * This artifact has comments about it in the target artifact.  The type of comments may be expressed in the targetClassifier element such as reply, review, editorial, feedback, solicited, unsolicited, structured, unstructured. + */ + COMMENTIN, + /** + * This artifact is a container in which the target artifact is contained. A container is a data structure whose instances are collections of other objects. (A database contains the dataset.) + */ + CONTAINS, + /** + * This artifact is contained in the target artifact. The target artifact is a data structure whose instances are collections of other objects. + */ + CONTAINEDIN, + /** + * This artifact identifies errors and replacement content for the target artifact. + */ + CORRECTS, + /** + * This artifact has corrections to it in the target artifact. The target artifact identifies errors and replacement content for this artifact. + */ + CORRECTIONIN, + /** + * This artifact replaces or supersedes the target artifact. The target artifact may be considered deprecated. + */ + REPLACES, + /** + * This artifact is replaced with or superseded by the target artifact. This artifact may be considered deprecated. + */ + REPLACEDWITH, + /** + * This artifact retracts the target artifact. The content that was published in the target artifact should be considered removed from publication and should no longer be considered part of the public record. + */ + RETRACTS, + /** + * This artifact is retracted by the target artifact. The content that was published in this artifact should be considered removed from publication and should no longer be considered part of the public record. + */ + RETRACTEDBY, + /** + * This artifact is a signature of the target artifact. + */ + SIGNS, + /** + * This artifact has characteristics in common with the target artifact. This relationship may be used in systems to “deduplicate” knowledge artifacts from different sources, or in systems to show “similar items”. + */ + SIMILARTO, + /** + * This artifact provides additional support for the target artifact. The type of support is not documentation as it does not describe, explain, or instruct regarding the target artifact. + */ + SUPPORTS, + /** + * The target artifact contains additional information related to the knowledge artifact but is not documentation as the additional information does not describe, explain, or instruct regarding the knowledge artifact content or application. This could include an associated dataset. + */ + SUPPORTEDWITH, + /** + * This artifact was generated by transforming the target artifact (e.g., format or language conversion). This is intended to capture the relationship in which a particular knowledge resource is based on the content of another artifact, but changes are only apparent in form and there is only one target artifact with the “transforms” relationship type. + */ + TRANSFORMS, + /** + * This artifact was transformed into the target artifact (e.g., by format or language conversion). + */ + TRANSFORMEDINTO, + /** + * This artifact was generated by transforming a related artifact (e.g., format or language conversion), noted separately with the “transforms” relationship type. This transformation used the target artifact to inform the transformation. The target artifact may be a conversion script or translation guide. + */ + TRANSFORMEDWITH, + /** + * The related artifact is the citation for this artifact. + */ + CITEAS, + /** + * This artifact was created with the target artifact. The target artifact is a tool or support material used in the creation of the artifact, and not content that the artifact was derived from. + */ + CREATEDWITH, + /** + * This artifact provides additional documentation for the target artifact. This could include additional instructions on usage as well as additional information on clinical context or appropriateness. + */ + DOCUMENTS, + /** + * A copy of the artifact in a publication with a different artifact identifier. + */ + REPRINT, + /** + * The original version of record for which the current artifact is a copy. + */ + REPRINTOF, + /** + * The target artifact is a precise description of a concept in this artifact. This may be used when the RelatedArtifact datatype is used in elements contained in this artifact. + */ + SPECIFICATIONOF, + /** + * added to help the parsers with the generic types + */ + NULL; + public static RelatedArtifactTypeExpanded fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("documentation".equals(codeString)) + return DOCUMENTATION; + if ("justification".equals(codeString)) + return JUSTIFICATION; + if ("predecessor".equals(codeString)) + return PREDECESSOR; + if ("successor".equals(codeString)) + return SUCCESSOR; + if ("derived-from".equals(codeString)) + return DERIVEDFROM; + if ("depends-on".equals(codeString)) + return DEPENDSON; + if ("composed-of".equals(codeString)) + return COMPOSEDOF; + if ("part-of".equals(codeString)) + return PARTOF; + if ("amends".equals(codeString)) + return AMENDS; + if ("amended-with".equals(codeString)) + return AMENDEDWITH; + if ("appends".equals(codeString)) + return APPENDS; + if ("appended-with".equals(codeString)) + return APPENDEDWITH; + if ("cites".equals(codeString)) + return CITES; + if ("cited-by".equals(codeString)) + return CITEDBY; + if ("comments-on".equals(codeString)) + return COMMENTSON; + if ("comment-in".equals(codeString)) + return COMMENTIN; + if ("contains".equals(codeString)) + return CONTAINS; + if ("contained-in".equals(codeString)) + return CONTAINEDIN; + if ("corrects".equals(codeString)) + return CORRECTS; + if ("correction-in".equals(codeString)) + return CORRECTIONIN; + if ("replaces".equals(codeString)) + return REPLACES; + if ("replaced-with".equals(codeString)) + return REPLACEDWITH; + if ("retracts".equals(codeString)) + return RETRACTS; + if ("retracted-by".equals(codeString)) + return RETRACTEDBY; + if ("signs".equals(codeString)) + return SIGNS; + if ("similar-to".equals(codeString)) + return SIMILARTO; + if ("supports".equals(codeString)) + return SUPPORTS; + if ("supported-with".equals(codeString)) + return SUPPORTEDWITH; + if ("transforms".equals(codeString)) + return TRANSFORMS; + if ("transformed-into".equals(codeString)) + return TRANSFORMEDINTO; + if ("transformed-with".equals(codeString)) + return TRANSFORMEDWITH; + if ("cite-as".equals(codeString)) + return CITEAS; + if ("created-with".equals(codeString)) + return CREATEDWITH; + if ("documents".equals(codeString)) + return DOCUMENTS; + if ("reprint".equals(codeString)) + return REPRINT; + if ("reprint-of".equals(codeString)) + return REPRINTOF; + if ("specification-of".equals(codeString)) + return SPECIFICATIONOF; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown RelatedArtifactTypeExpanded code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case DOCUMENTATION: return "documentation"; + case JUSTIFICATION: return "justification"; + case PREDECESSOR: return "predecessor"; + case SUCCESSOR: return "successor"; + case DERIVEDFROM: return "derived-from"; + case DEPENDSON: return "depends-on"; + case COMPOSEDOF: return "composed-of"; + case PARTOF: return "part-of"; + case AMENDS: return "amends"; + case AMENDEDWITH: return "amended-with"; + case APPENDS: return "appends"; + case APPENDEDWITH: return "appended-with"; + case CITES: return "cites"; + case CITEDBY: return "cited-by"; + case COMMENTSON: return "comments-on"; + case COMMENTIN: return "comment-in"; + case CONTAINS: return "contains"; + case CONTAINEDIN: return "contained-in"; + case CORRECTS: return "corrects"; + case CORRECTIONIN: return "correction-in"; + case REPLACES: return "replaces"; + case REPLACEDWITH: return "replaced-with"; + case RETRACTS: return "retracts"; + case RETRACTEDBY: return "retracted-by"; + case SIGNS: return "signs"; + case SIMILARTO: return "similar-to"; + case SUPPORTS: return "supports"; + case SUPPORTEDWITH: return "supported-with"; + case TRANSFORMS: return "transforms"; + case TRANSFORMEDINTO: return "transformed-into"; + case TRANSFORMEDWITH: return "transformed-with"; + case CITEAS: return "cite-as"; + case CREATEDWITH: return "created-with"; + case DOCUMENTS: return "documents"; + case REPRINT: return "reprint"; + case REPRINTOF: return "reprint-of"; + case SPECIFICATIONOF: return "specification-of"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case DOCUMENTATION: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case JUSTIFICATION: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case PREDECESSOR: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case SUCCESSOR: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case DERIVEDFROM: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case DEPENDSON: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case COMPOSEDOF: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case PARTOF: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case AMENDS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case AMENDEDWITH: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case APPENDS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case APPENDEDWITH: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CITES: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CITEDBY: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case COMMENTSON: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case COMMENTIN: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CONTAINS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CONTAINEDIN: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CORRECTS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CORRECTIONIN: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case REPLACES: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case REPLACEDWITH: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case RETRACTS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case RETRACTEDBY: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case SIGNS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case SIMILARTO: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case SUPPORTS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case SUPPORTEDWITH: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case TRANSFORMS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case TRANSFORMEDINTO: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case TRANSFORMEDWITH: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CITEAS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case CREATEDWITH: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case DOCUMENTS: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case REPRINT: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case REPRINTOF: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case SPECIFICATIONOF: return "http://terminology.hl7.org/CodeSystem/related-artifact-type-expanded"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case DOCUMENTATION: return "Additional documentation for the knowledge resource. This would include additional instructions on usage as well as additional information on clinical context or appropriateness"; + case JUSTIFICATION: return "The target artifact is a summary of the justification for the knowledge resource including supporting evidence, relevant guidelines, or other clinically important information. This information is intended to provide a way to make the justification for the knowledge resource available to the consumer of interventions or results produced by the knowledge resource."; + case PREDECESSOR: return "The previous version of the knowledge artifact, used to establish an ordering of versions of an artifact, independent of the status of each version."; + case SUCCESSOR: return "The subsequent version of the knowledge artfact, used to establish an ordering of versions of an artifact, independent of the status of each version."; + case DERIVEDFROM: return "This artifact is derived from the target artifact. This is intended to capture the relationship in which a particular knowledge resource is based on the content of another artifact, but is modified to capture either a different set of overall requirements, or a more specific set of requirements such as those involved in a particular institution or clinical setting. The artifact may be derived from one or more target artifacts."; + case DEPENDSON: return "This artifact depends on the target artifact. There is a requirement to use the target artifact in the implementation or interpretation of this artifact."; + case COMPOSEDOF: return "This artifact is composed of the target artifact. This artifact is constructed with the target artifact as a component. The target artifact is a part of this artifact. (A dataset is composed of data.)"; + case PARTOF: return "This artifact is a part of the target artifact. The target artifact is composed of this artifact (and possibly other artifacts)."; + case AMENDS: return "This artifact amends or changes the target artifact. This artifact adds additional information that is functionally expected to replace information in the target artifact. This artifact replaces a part but not all of the target artifact."; + case AMENDEDWITH: return "This artifact is amended with or changed by the target artifact. There is information in this artifact that should be functionally replaced with information in the target artifact."; + case APPENDS: return "This artifact adds additional information to the target artifact. The additional information does not replace or change information in the target artifact."; + case APPENDEDWITH: return "This artifact has additional information in the target artifact."; + case CITES: return "This artifact cites the target artifact. This may be a bibliographic citation for papers, references, or other relevant material for the knowledge resource. This is intended to allow for citation of related material, but that was not necessarily specifically prepared in connection with this knowledge resource."; + case CITEDBY: return "This artifact is cited by the target artifact."; + case COMMENTSON: return "This artifact contains comments about the target artifact. "; + case COMMENTIN: return "This artifact has comments about it in the target artifact.  The type of comments may be expressed in the targetClassifier element such as reply, review, editorial, feedback, solicited, unsolicited, structured, unstructured."; + case CONTAINS: return "This artifact is a container in which the target artifact is contained. A container is a data structure whose instances are collections of other objects. (A database contains the dataset.)"; + case CONTAINEDIN: return "This artifact is contained in the target artifact. The target artifact is a data structure whose instances are collections of other objects."; + case CORRECTS: return "This artifact identifies errors and replacement content for the target artifact."; + case CORRECTIONIN: return "This artifact has corrections to it in the target artifact. The target artifact identifies errors and replacement content for this artifact."; + case REPLACES: return "This artifact replaces or supersedes the target artifact. The target artifact may be considered deprecated."; + case REPLACEDWITH: return "This artifact is replaced with or superseded by the target artifact. This artifact may be considered deprecated."; + case RETRACTS: return "This artifact retracts the target artifact. The content that was published in the target artifact should be considered removed from publication and should no longer be considered part of the public record."; + case RETRACTEDBY: return "This artifact is retracted by the target artifact. The content that was published in this artifact should be considered removed from publication and should no longer be considered part of the public record."; + case SIGNS: return "This artifact is a signature of the target artifact."; + case SIMILARTO: return "This artifact has characteristics in common with the target artifact. This relationship may be used in systems to “deduplicate” knowledge artifacts from different sources, or in systems to show “similar items”."; + case SUPPORTS: return "This artifact provides additional support for the target artifact. The type of support is not documentation as it does not describe, explain, or instruct regarding the target artifact."; + case SUPPORTEDWITH: return "The target artifact contains additional information related to the knowledge artifact but is not documentation as the additional information does not describe, explain, or instruct regarding the knowledge artifact content or application. This could include an associated dataset."; + case TRANSFORMS: return "This artifact was generated by transforming the target artifact (e.g., format or language conversion). This is intended to capture the relationship in which a particular knowledge resource is based on the content of another artifact, but changes are only apparent in form and there is only one target artifact with the “transforms” relationship type."; + case TRANSFORMEDINTO: return "This artifact was transformed into the target artifact (e.g., by format or language conversion)."; + case TRANSFORMEDWITH: return "This artifact was generated by transforming a related artifact (e.g., format or language conversion), noted separately with the “transforms” relationship type. This transformation used the target artifact to inform the transformation. The target artifact may be a conversion script or translation guide."; + case CITEAS: return "The related artifact is the citation for this artifact."; + case CREATEDWITH: return "This artifact was created with the target artifact. The target artifact is a tool or support material used in the creation of the artifact, and not content that the artifact was derived from."; + case DOCUMENTS: return "This artifact provides additional documentation for the target artifact. This could include additional instructions on usage as well as additional information on clinical context or appropriateness."; + case REPRINT: return "A copy of the artifact in a publication with a different artifact identifier."; + case REPRINTOF: return "The original version of record for which the current artifact is a copy."; + case SPECIFICATIONOF: return "The target artifact is a precise description of a concept in this artifact. This may be used when the RelatedArtifact datatype is used in elements contained in this artifact."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case DOCUMENTATION: return "Documentation"; + case JUSTIFICATION: return "Justification"; + case PREDECESSOR: return "Predecessor"; + case SUCCESSOR: return "Successor"; + case DERIVEDFROM: return "Derived From"; + case DEPENDSON: return "Depends On"; + case COMPOSEDOF: return "Composed Of"; + case PARTOF: return "Part Of"; + case AMENDS: return "Amends"; + case AMENDEDWITH: return "Amended With"; + case APPENDS: return "Appends"; + case APPENDEDWITH: return "Appended With"; + case CITES: return "Cites"; + case CITEDBY: return "Cited By"; + case COMMENTSON: return "Is Comment On"; + case COMMENTIN: return "Has Comment In"; + case CONTAINS: return "Contains"; + case CONTAINEDIN: return "Contained In"; + case CORRECTS: return "Corrects"; + case CORRECTIONIN: return "Correction In"; + case REPLACES: return "Replaces"; + case REPLACEDWITH: return "Replaced With"; + case RETRACTS: return "Retracts"; + case RETRACTEDBY: return "Retracted By"; + case SIGNS: return "Signs"; + case SIMILARTO: return "Similar To"; + case SUPPORTS: return "Supports"; + case SUPPORTEDWITH: return "Supported With"; + case TRANSFORMS: return "Transforms"; + case TRANSFORMEDINTO: return "Transformed Into"; + case TRANSFORMEDWITH: return "Transformed With"; + case CITEAS: return "Citation for"; + case CREATEDWITH: return "Created With"; + case DOCUMENTS: return "Documents"; + case REPRINT: return "Reprint"; + case REPRINTOF: return "Reprint Of"; + case SPECIFICATIONOF: return "Specification of"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class RelatedArtifactTypeExpandedEnumFactory implements EnumFactory { + public RelatedArtifactTypeExpanded fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("documentation".equals(codeString)) + return RelatedArtifactTypeExpanded.DOCUMENTATION; + if ("justification".equals(codeString)) + return RelatedArtifactTypeExpanded.JUSTIFICATION; + if ("predecessor".equals(codeString)) + return RelatedArtifactTypeExpanded.PREDECESSOR; + if ("successor".equals(codeString)) + return RelatedArtifactTypeExpanded.SUCCESSOR; + if ("derived-from".equals(codeString)) + return RelatedArtifactTypeExpanded.DERIVEDFROM; + if ("depends-on".equals(codeString)) + return RelatedArtifactTypeExpanded.DEPENDSON; + if ("composed-of".equals(codeString)) + return RelatedArtifactTypeExpanded.COMPOSEDOF; + if ("part-of".equals(codeString)) + return RelatedArtifactTypeExpanded.PARTOF; + if ("amends".equals(codeString)) + return RelatedArtifactTypeExpanded.AMENDS; + if ("amended-with".equals(codeString)) + return RelatedArtifactTypeExpanded.AMENDEDWITH; + if ("appends".equals(codeString)) + return RelatedArtifactTypeExpanded.APPENDS; + if ("appended-with".equals(codeString)) + return RelatedArtifactTypeExpanded.APPENDEDWITH; + if ("cites".equals(codeString)) + return RelatedArtifactTypeExpanded.CITES; + if ("cited-by".equals(codeString)) + return RelatedArtifactTypeExpanded.CITEDBY; + if ("comments-on".equals(codeString)) + return RelatedArtifactTypeExpanded.COMMENTSON; + if ("comment-in".equals(codeString)) + return RelatedArtifactTypeExpanded.COMMENTIN; + if ("contains".equals(codeString)) + return RelatedArtifactTypeExpanded.CONTAINS; + if ("contained-in".equals(codeString)) + return RelatedArtifactTypeExpanded.CONTAINEDIN; + if ("corrects".equals(codeString)) + return RelatedArtifactTypeExpanded.CORRECTS; + if ("correction-in".equals(codeString)) + return RelatedArtifactTypeExpanded.CORRECTIONIN; + if ("replaces".equals(codeString)) + return RelatedArtifactTypeExpanded.REPLACES; + if ("replaced-with".equals(codeString)) + return RelatedArtifactTypeExpanded.REPLACEDWITH; + if ("retracts".equals(codeString)) + return RelatedArtifactTypeExpanded.RETRACTS; + if ("retracted-by".equals(codeString)) + return RelatedArtifactTypeExpanded.RETRACTEDBY; + if ("signs".equals(codeString)) + return RelatedArtifactTypeExpanded.SIGNS; + if ("similar-to".equals(codeString)) + return RelatedArtifactTypeExpanded.SIMILARTO; + if ("supports".equals(codeString)) + return RelatedArtifactTypeExpanded.SUPPORTS; + if ("supported-with".equals(codeString)) + return RelatedArtifactTypeExpanded.SUPPORTEDWITH; + if ("transforms".equals(codeString)) + return RelatedArtifactTypeExpanded.TRANSFORMS; + if ("transformed-into".equals(codeString)) + return RelatedArtifactTypeExpanded.TRANSFORMEDINTO; + if ("transformed-with".equals(codeString)) + return RelatedArtifactTypeExpanded.TRANSFORMEDWITH; + if ("cite-as".equals(codeString)) + return RelatedArtifactTypeExpanded.CITEAS; + if ("created-with".equals(codeString)) + return RelatedArtifactTypeExpanded.CREATEDWITH; + if ("documents".equals(codeString)) + return RelatedArtifactTypeExpanded.DOCUMENTS; + if ("reprint".equals(codeString)) + return RelatedArtifactTypeExpanded.REPRINT; + if ("reprint-of".equals(codeString)) + return RelatedArtifactTypeExpanded.REPRINTOF; + if ("specification-of".equals(codeString)) + return RelatedArtifactTypeExpanded.SPECIFICATIONOF; + throw new IllegalArgumentException("Unknown RelatedArtifactTypeExpanded code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("documentation".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.DOCUMENTATION); + if ("justification".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.JUSTIFICATION); + if ("predecessor".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.PREDECESSOR); + if ("successor".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.SUCCESSOR); + if ("derived-from".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.DERIVEDFROM); + if ("depends-on".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.DEPENDSON); + if ("composed-of".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.COMPOSEDOF); + if ("part-of".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.PARTOF); + if ("amends".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.AMENDS); + if ("amended-with".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.AMENDEDWITH); + if ("appends".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.APPENDS); + if ("appended-with".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.APPENDEDWITH); + if ("cites".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CITES); + if ("cited-by".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CITEDBY); + if ("comments-on".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.COMMENTSON); + if ("comment-in".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.COMMENTIN); + if ("contains".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CONTAINS); + if ("contained-in".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CONTAINEDIN); + if ("corrects".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CORRECTS); + if ("correction-in".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CORRECTIONIN); + if ("replaces".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.REPLACES); + if ("replaced-with".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.REPLACEDWITH); + if ("retracts".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.RETRACTS); + if ("retracted-by".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.RETRACTEDBY); + if ("signs".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.SIGNS); + if ("similar-to".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.SIMILARTO); + if ("supports".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.SUPPORTS); + if ("supported-with".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.SUPPORTEDWITH); + if ("transforms".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.TRANSFORMS); + if ("transformed-into".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.TRANSFORMEDINTO); + if ("transformed-with".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.TRANSFORMEDWITH); + if ("cite-as".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CITEAS); + if ("created-with".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.CREATEDWITH); + if ("documents".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.DOCUMENTS); + if ("reprint".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.REPRINT); + if ("reprint-of".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.REPRINTOF); + if ("specification-of".equals(codeString)) + return new Enumeration(this, RelatedArtifactTypeExpanded.SPECIFICATIONOF); + throw new FHIRException("Unknown RelatedArtifactTypeExpanded code '"+codeString+"'"); + } + public String toCode(RelatedArtifactTypeExpanded code) { + if (code == RelatedArtifactTypeExpanded.DOCUMENTATION) + return "documentation"; + if (code == RelatedArtifactTypeExpanded.JUSTIFICATION) + return "justification"; + if (code == RelatedArtifactTypeExpanded.PREDECESSOR) + return "predecessor"; + if (code == RelatedArtifactTypeExpanded.SUCCESSOR) + return "successor"; + if (code == RelatedArtifactTypeExpanded.DERIVEDFROM) + return "derived-from"; + if (code == RelatedArtifactTypeExpanded.DEPENDSON) + return "depends-on"; + if (code == RelatedArtifactTypeExpanded.COMPOSEDOF) + return "composed-of"; + if (code == RelatedArtifactTypeExpanded.PARTOF) + return "part-of"; + if (code == RelatedArtifactTypeExpanded.AMENDS) + return "amends"; + if (code == RelatedArtifactTypeExpanded.AMENDEDWITH) + return "amended-with"; + if (code == RelatedArtifactTypeExpanded.APPENDS) + return "appends"; + if (code == RelatedArtifactTypeExpanded.APPENDEDWITH) + return "appended-with"; + if (code == RelatedArtifactTypeExpanded.CITES) + return "cites"; + if (code == RelatedArtifactTypeExpanded.CITEDBY) + return "cited-by"; + if (code == RelatedArtifactTypeExpanded.COMMENTSON) + return "comments-on"; + if (code == RelatedArtifactTypeExpanded.COMMENTIN) + return "comment-in"; + if (code == RelatedArtifactTypeExpanded.CONTAINS) + return "contains"; + if (code == RelatedArtifactTypeExpanded.CONTAINEDIN) + return "contained-in"; + if (code == RelatedArtifactTypeExpanded.CORRECTS) + return "corrects"; + if (code == RelatedArtifactTypeExpanded.CORRECTIONIN) + return "correction-in"; + if (code == RelatedArtifactTypeExpanded.REPLACES) + return "replaces"; + if (code == RelatedArtifactTypeExpanded.REPLACEDWITH) + return "replaced-with"; + if (code == RelatedArtifactTypeExpanded.RETRACTS) + return "retracts"; + if (code == RelatedArtifactTypeExpanded.RETRACTEDBY) + return "retracted-by"; + if (code == RelatedArtifactTypeExpanded.SIGNS) + return "signs"; + if (code == RelatedArtifactTypeExpanded.SIMILARTO) + return "similar-to"; + if (code == RelatedArtifactTypeExpanded.SUPPORTS) + return "supports"; + if (code == RelatedArtifactTypeExpanded.SUPPORTEDWITH) + return "supported-with"; + if (code == RelatedArtifactTypeExpanded.TRANSFORMS) + return "transforms"; + if (code == RelatedArtifactTypeExpanded.TRANSFORMEDINTO) + return "transformed-into"; + if (code == RelatedArtifactTypeExpanded.TRANSFORMEDWITH) + return "transformed-with"; + if (code == RelatedArtifactTypeExpanded.CITEAS) + return "cite-as"; + if (code == RelatedArtifactTypeExpanded.CREATEDWITH) + return "created-with"; + if (code == RelatedArtifactTypeExpanded.DOCUMENTS) + return "documents"; + if (code == RelatedArtifactTypeExpanded.REPRINT) + return "reprint"; + if (code == RelatedArtifactTypeExpanded.REPRINTOF) + return "reprint-of"; + if (code == RelatedArtifactTypeExpanded.SPECIFICATIONOF) + return "specification-of"; + return "?"; + } + public String toSystem(RelatedArtifactTypeExpanded code) { + return code.getSystem(); + } + } + @Block() public static class CitationSummaryComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -866,9 +1522,9 @@ public class Citation extends MetadataResource { /** * The artifact related to the cited artifact. */ - @Child(name = "relatesTo", type = {RelatedArtifact.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "relatesTo", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The artifact related to the cited artifact", formalDefinition="The artifact related to the cited artifact." ) - protected List relatesTo; + protected List relatesTo; /** * If multiple, used to represent alternative forms of the article that are not separate citations. @@ -905,7 +1561,7 @@ public class Citation extends MetadataResource { @Description(shortDefinition="Any additional information or content for the article or artifact", formalDefinition="Any additional information or content for the article or artifact." ) protected List note; - private static final long serialVersionUID = 356898023L; + private static final long serialVersionUID = -1685890486L; /** * Constructor @@ -1332,16 +1988,16 @@ public class Citation extends MetadataResource { /** * @return {@link #relatesTo} (The artifact related to the cited artifact.) */ - public List getRelatesTo() { + public List getRelatesTo() { if (this.relatesTo == null) - this.relatesTo = new ArrayList(); + this.relatesTo = new ArrayList(); return this.relatesTo; } /** * @return Returns a reference to this for easy method chaining */ - public CitationCitedArtifactComponent setRelatesTo(List theRelatesTo) { + public CitationCitedArtifactComponent setRelatesTo(List theRelatesTo) { this.relatesTo = theRelatesTo; return this; } @@ -1349,25 +2005,25 @@ public class Citation extends MetadataResource { public boolean hasRelatesTo() { if (this.relatesTo == null) return false; - for (RelatedArtifact item : this.relatesTo) + for (CitationCitedArtifactRelatesToComponent item : this.relatesTo) if (!item.isEmpty()) return true; return false; } - public RelatedArtifact addRelatesTo() { //3 - RelatedArtifact t = new RelatedArtifact(); + public CitationCitedArtifactRelatesToComponent addRelatesTo() { //3 + CitationCitedArtifactRelatesToComponent t = new CitationCitedArtifactRelatesToComponent(); if (this.relatesTo == null) - this.relatesTo = new ArrayList(); + this.relatesTo = new ArrayList(); this.relatesTo.add(t); return t; } - public CitationCitedArtifactComponent addRelatesTo(RelatedArtifact t) { //3 + public CitationCitedArtifactComponent addRelatesTo(CitationCitedArtifactRelatesToComponent t) { //3 if (t == null) return this; if (this.relatesTo == null) - this.relatesTo = new ArrayList(); + this.relatesTo = new ArrayList(); this.relatesTo.add(t); return this; } @@ -1375,7 +2031,7 @@ public class Citation extends MetadataResource { /** * @return The first repetition of repeating field {@link #relatesTo}, creating it if it does not already exist {3} */ - public RelatedArtifact getRelatesToFirstRep() { + public CitationCitedArtifactRelatesToComponent getRelatesToFirstRep() { if (getRelatesTo().isEmpty()) { addRelatesTo(); } @@ -1629,7 +2285,7 @@ public class Citation extends MetadataResource { children.add(new Property("title", "", "The title details of the article or artifact.", 0, java.lang.Integer.MAX_VALUE, title)); children.add(new Property("abstract", "", "Summary of the article or artifact.", 0, java.lang.Integer.MAX_VALUE, abstract_)); children.add(new Property("part", "", "The component of the article or artifact.", 0, 1, part)); - children.add(new Property("relatesTo", "RelatedArtifact", "The artifact related to the cited artifact.", 0, java.lang.Integer.MAX_VALUE, relatesTo)); + children.add(new Property("relatesTo", "", "The artifact related to the cited artifact.", 0, java.lang.Integer.MAX_VALUE, relatesTo)); children.add(new Property("publicationForm", "", "If multiple, used to represent alternative forms of the article that are not separate citations.", 0, java.lang.Integer.MAX_VALUE, publicationForm)); children.add(new Property("webLocation", "", "Used for any URL for the article or artifact cited.", 0, java.lang.Integer.MAX_VALUE, webLocation)); children.add(new Property("classification", "", "The assignment to an organizing scheme.", 0, java.lang.Integer.MAX_VALUE, classification)); @@ -1649,7 +2305,7 @@ public class Citation extends MetadataResource { case 110371416: /*title*/ return new Property("title", "", "The title details of the article or artifact.", 0, java.lang.Integer.MAX_VALUE, title); case 1732898850: /*abstract*/ return new Property("abstract", "", "Summary of the article or artifact.", 0, java.lang.Integer.MAX_VALUE, abstract_); case 3433459: /*part*/ return new Property("part", "", "The component of the article or artifact.", 0, 1, part); - case -7765931: /*relatesTo*/ return new Property("relatesTo", "RelatedArtifact", "The artifact related to the cited artifact.", 0, java.lang.Integer.MAX_VALUE, relatesTo); + case -7765931: /*relatesTo*/ return new Property("relatesTo", "", "The artifact related to the cited artifact.", 0, java.lang.Integer.MAX_VALUE, relatesTo); case 1470639376: /*publicationForm*/ return new Property("publicationForm", "", "If multiple, used to represent alternative forms of the article that are not separate citations.", 0, java.lang.Integer.MAX_VALUE, publicationForm); case -828032215: /*webLocation*/ return new Property("webLocation", "", "Used for any URL for the article or artifact cited.", 0, java.lang.Integer.MAX_VALUE, webLocation); case 382350310: /*classification*/ return new Property("classification", "", "The assignment to an organizing scheme.", 0, java.lang.Integer.MAX_VALUE, classification); @@ -1672,7 +2328,7 @@ public class Citation extends MetadataResource { case 110371416: /*title*/ return this.title == null ? new Base[0] : this.title.toArray(new Base[this.title.size()]); // CitationCitedArtifactTitleComponent case 1732898850: /*abstract*/ return this.abstract_ == null ? new Base[0] : this.abstract_.toArray(new Base[this.abstract_.size()]); // CitationCitedArtifactAbstractComponent case 3433459: /*part*/ return this.part == null ? new Base[0] : new Base[] {this.part}; // CitationCitedArtifactPartComponent - case -7765931: /*relatesTo*/ return this.relatesTo == null ? new Base[0] : this.relatesTo.toArray(new Base[this.relatesTo.size()]); // RelatedArtifact + case -7765931: /*relatesTo*/ return this.relatesTo == null ? new Base[0] : this.relatesTo.toArray(new Base[this.relatesTo.size()]); // CitationCitedArtifactRelatesToComponent case 1470639376: /*publicationForm*/ return this.publicationForm == null ? new Base[0] : this.publicationForm.toArray(new Base[this.publicationForm.size()]); // CitationCitedArtifactPublicationFormComponent case -828032215: /*webLocation*/ return this.webLocation == null ? new Base[0] : this.webLocation.toArray(new Base[this.webLocation.size()]); // CitationCitedArtifactWebLocationComponent case 382350310: /*classification*/ return this.classification == null ? new Base[0] : this.classification.toArray(new Base[this.classification.size()]); // CitationCitedArtifactClassificationComponent @@ -1714,7 +2370,7 @@ public class Citation extends MetadataResource { this.part = (CitationCitedArtifactPartComponent) value; // CitationCitedArtifactPartComponent return value; case -7765931: // relatesTo - this.getRelatesTo().add(TypeConvertor.castToRelatedArtifact(value)); // RelatedArtifact + this.getRelatesTo().add((CitationCitedArtifactRelatesToComponent) value); // CitationCitedArtifactRelatesToComponent return value; case 1470639376: // publicationForm this.getPublicationForm().add((CitationCitedArtifactPublicationFormComponent) value); // CitationCitedArtifactPublicationFormComponent @@ -1757,7 +2413,7 @@ public class Citation extends MetadataResource { } else if (name.equals("part")) { this.part = (CitationCitedArtifactPartComponent) value; // CitationCitedArtifactPartComponent } else if (name.equals("relatesTo")) { - this.getRelatesTo().add(TypeConvertor.castToRelatedArtifact(value)); + this.getRelatesTo().add((CitationCitedArtifactRelatesToComponent) value); } else if (name.equals("publicationForm")) { this.getPublicationForm().add((CitationCitedArtifactPublicationFormComponent) value); } else if (name.equals("webLocation")) { @@ -1808,7 +2464,7 @@ public class Citation extends MetadataResource { case 110371416: /*title*/ return new String[] {}; case 1732898850: /*abstract*/ return new String[] {}; case 3433459: /*part*/ return new String[] {}; - case -7765931: /*relatesTo*/ return new String[] {"RelatedArtifact"}; + case -7765931: /*relatesTo*/ return new String[] {}; case 1470639376: /*publicationForm*/ return new String[] {}; case -828032215: /*webLocation*/ return new String[] {}; case 382350310: /*classification*/ return new String[] {}; @@ -1915,8 +2571,8 @@ public class Citation extends MetadataResource { }; dst.part = part == null ? null : part.copy(); if (relatesTo != null) { - dst.relatesTo = new ArrayList(); - for (RelatedArtifact i : relatesTo) + dst.relatesTo = new ArrayList(); + for (CitationCitedArtifactRelatesToComponent i : relatesTo) dst.relatesTo.add(i.copy()); }; if (publicationForm != null) { @@ -3419,6 +4075,648 @@ public class Citation extends MetadataResource { } + } + + @Block() + public static class CitationCitedArtifactRelatesToComponent extends BackboneElement implements IBaseBackboneElement { + /** + * The type of relationship to the related artifact. + */ + @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="documentation | justification | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | cite-as | created-with | documents | reprint | reprint-of | specification-of", formalDefinition="The type of relationship to the related artifact." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/related-artifact-type-expanded") + protected Enumeration type; + + /** + * Provides additional classifiers of the related artifact. + */ + @Child(name = "classifier", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Additional classifiers", formalDefinition="Provides additional classifiers of the related artifact." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/citation-artifact-classifier") + protected List classifier; + + /** + * A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index. + */ + @Child(name = "label", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Short label", formalDefinition="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index." ) + protected StringType label; + + /** + * A brief description of the document or knowledge resource being referenced, suitable for display to a consumer. + */ + @Child(name = "display", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Brief description of the related artifact", formalDefinition="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer." ) + protected StringType display; + + /** + * A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format. + */ + @Child(name = "citation", type = {MarkdownType.class}, order=5, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Bibliographic citation for the artifact", formalDefinition="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format." ) + protected MarkdownType citation; + + /** + * The document being referenced, represented as an attachment. This is exclusive with the resource element. + */ + @Child(name = "document", type = {Attachment.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="What document is being referenced", formalDefinition="The document being referenced, represented as an attachment. This is exclusive with the resource element." ) + protected Attachment document; + + /** + * The related artifact, such as a library, value set, profile, or other knowledge resource. + */ + @Child(name = "resource", type = {CanonicalType.class}, order=7, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="What artifact is being referenced", formalDefinition="The related artifact, such as a library, value set, profile, or other knowledge resource." ) + protected CanonicalType resource; + + /** + * The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource. + */ + @Child(name = "resourceReference", type = {Reference.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="What artifact, if not a conformance resource", formalDefinition="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource." ) + protected Reference resourceReference; + + private static final long serialVersionUID = 1537406923L; + + /** + * Constructor + */ + public CitationCitedArtifactRelatesToComponent() { + super(); + } + + /** + * Constructor + */ + public CitationCitedArtifactRelatesToComponent(RelatedArtifactTypeExpanded type) { + super(); + this.setType(type); + } + + /** + * @return {@link #type} (The type of relationship to the related artifact.). 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 CitationCitedArtifactRelatesToComponent.type"); + else if (Configuration.doAutoCreate()) + this.type = new Enumeration(new RelatedArtifactTypeExpandedEnumFactory()); // 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 relationship to the related artifact.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + */ + public CitationCitedArtifactRelatesToComponent setTypeElement(Enumeration value) { + this.type = value; + return this; + } + + /** + * @return The type of relationship to the related artifact. + */ + public RelatedArtifactTypeExpanded getType() { + return this.type == null ? null : this.type.getValue(); + } + + /** + * @param value The type of relationship to the related artifact. + */ + public CitationCitedArtifactRelatesToComponent setType(RelatedArtifactTypeExpanded value) { + if (this.type == null) + this.type = new Enumeration(new RelatedArtifactTypeExpandedEnumFactory()); + this.type.setValue(value); + return this; + } + + /** + * @return {@link #classifier} (Provides additional classifiers of the related artifact.) + */ + public List getClassifier() { + if (this.classifier == null) + this.classifier = new ArrayList(); + return this.classifier; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public CitationCitedArtifactRelatesToComponent setClassifier(List theClassifier) { + this.classifier = theClassifier; + return this; + } + + public boolean hasClassifier() { + if (this.classifier == null) + return false; + for (CodeableConcept item : this.classifier) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addClassifier() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.classifier == null) + this.classifier = new ArrayList(); + this.classifier.add(t); + return t; + } + + public CitationCitedArtifactRelatesToComponent addClassifier(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.classifier == null) + this.classifier = new ArrayList(); + this.classifier.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #classifier}, creating it if it does not already exist {3} + */ + public CodeableConcept getClassifierFirstRep() { + if (getClassifier().isEmpty()) { + addClassifier(); + } + return getClassifier().get(0); + } + + /** + * @return {@link #label} (A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value + */ + public StringType getLabelElement() { + if (this.label == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create CitationCitedArtifactRelatesToComponent.label"); + else if (Configuration.doAutoCreate()) + this.label = new StringType(); // bb + return this.label; + } + + public boolean hasLabelElement() { + return this.label != null && !this.label.isEmpty(); + } + + public boolean hasLabel() { + return this.label != null && !this.label.isEmpty(); + } + + /** + * @param value {@link #label} (A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value + */ + public CitationCitedArtifactRelatesToComponent setLabelElement(StringType value) { + this.label = value; + return this; + } + + /** + * @return A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index. + */ + public String getLabel() { + return this.label == null ? null : this.label.getValue(); + } + + /** + * @param value A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index. + */ + public CitationCitedArtifactRelatesToComponent setLabel(String value) { + if (Utilities.noString(value)) + this.label = null; + else { + if (this.label == null) + this.label = new StringType(); + this.label.setValue(value); + } + return this; + } + + /** + * @return {@link #display} (A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value + */ + public StringType getDisplayElement() { + if (this.display == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create CitationCitedArtifactRelatesToComponent.display"); + else if (Configuration.doAutoCreate()) + this.display = new StringType(); // bb + return this.display; + } + + public boolean hasDisplayElement() { + return this.display != null && !this.display.isEmpty(); + } + + public boolean hasDisplay() { + return this.display != null && !this.display.isEmpty(); + } + + /** + * @param value {@link #display} (A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value + */ + public CitationCitedArtifactRelatesToComponent setDisplayElement(StringType value) { + this.display = value; + return this; + } + + /** + * @return A brief description of the document or knowledge resource being referenced, suitable for display to a consumer. + */ + public String getDisplay() { + return this.display == null ? null : this.display.getValue(); + } + + /** + * @param value A brief description of the document or knowledge resource being referenced, suitable for display to a consumer. + */ + public CitationCitedArtifactRelatesToComponent setDisplay(String value) { + if (Utilities.noString(value)) + this.display = null; + else { + if (this.display == null) + this.display = new StringType(); + this.display.setValue(value); + } + return this; + } + + /** + * @return {@link #citation} (A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.). This is the underlying object with id, value and extensions. The accessor "getCitation" gives direct access to the value + */ + public MarkdownType getCitationElement() { + if (this.citation == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create CitationCitedArtifactRelatesToComponent.citation"); + else if (Configuration.doAutoCreate()) + this.citation = new MarkdownType(); // bb + return this.citation; + } + + public boolean hasCitationElement() { + return this.citation != null && !this.citation.isEmpty(); + } + + public boolean hasCitation() { + return this.citation != null && !this.citation.isEmpty(); + } + + /** + * @param value {@link #citation} (A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.). This is the underlying object with id, value and extensions. The accessor "getCitation" gives direct access to the value + */ + public CitationCitedArtifactRelatesToComponent setCitationElement(MarkdownType value) { + this.citation = value; + return this; + } + + /** + * @return A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format. + */ + public String getCitation() { + return this.citation == null ? null : this.citation.getValue(); + } + + /** + * @param value A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format. + */ + public CitationCitedArtifactRelatesToComponent setCitation(String value) { + if (value == null) + this.citation = null; + else { + if (this.citation == null) + this.citation = new MarkdownType(); + this.citation.setValue(value); + } + return this; + } + + /** + * @return {@link #document} (The document being referenced, represented as an attachment. This is exclusive with the resource element.) + */ + public Attachment getDocument() { + if (this.document == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create CitationCitedArtifactRelatesToComponent.document"); + else if (Configuration.doAutoCreate()) + this.document = new Attachment(); // cc + return this.document; + } + + public boolean hasDocument() { + return this.document != null && !this.document.isEmpty(); + } + + /** + * @param value {@link #document} (The document being referenced, represented as an attachment. This is exclusive with the resource element.) + */ + public CitationCitedArtifactRelatesToComponent setDocument(Attachment value) { + this.document = value; + return this; + } + + /** + * @return {@link #resource} (The related artifact, such as a library, value set, profile, or other knowledge resource.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value + */ + public CanonicalType getResourceElement() { + if (this.resource == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create CitationCitedArtifactRelatesToComponent.resource"); + else if (Configuration.doAutoCreate()) + this.resource = new CanonicalType(); // bb + return this.resource; + } + + public boolean hasResourceElement() { + return this.resource != null && !this.resource.isEmpty(); + } + + public boolean hasResource() { + return this.resource != null && !this.resource.isEmpty(); + } + + /** + * @param value {@link #resource} (The related artifact, such as a library, value set, profile, or other knowledge resource.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value + */ + public CitationCitedArtifactRelatesToComponent setResourceElement(CanonicalType value) { + this.resource = value; + return this; + } + + /** + * @return The related artifact, such as a library, value set, profile, or other knowledge resource. + */ + public String getResource() { + return this.resource == null ? null : this.resource.getValue(); + } + + /** + * @param value The related artifact, such as a library, value set, profile, or other knowledge resource. + */ + public CitationCitedArtifactRelatesToComponent setResource(String value) { + if (Utilities.noString(value)) + this.resource = null; + else { + if (this.resource == null) + this.resource = new CanonicalType(); + this.resource.setValue(value); + } + return this; + } + + /** + * @return {@link #resourceReference} (The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource.) + */ + public Reference getResourceReference() { + if (this.resourceReference == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create CitationCitedArtifactRelatesToComponent.resourceReference"); + else if (Configuration.doAutoCreate()) + this.resourceReference = new Reference(); // cc + return this.resourceReference; + } + + public boolean hasResourceReference() { + return this.resourceReference != null && !this.resourceReference.isEmpty(); + } + + /** + * @param value {@link #resourceReference} (The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource.) + */ + public CitationCitedArtifactRelatesToComponent setResourceReference(Reference value) { + this.resourceReference = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("type", "code", "The type of relationship to the related artifact.", 0, 1, type)); + children.add(new Property("classifier", "CodeableConcept", "Provides additional classifiers of the related artifact.", 0, java.lang.Integer.MAX_VALUE, classifier)); + children.add(new Property("label", "string", "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.", 0, 1, label)); + children.add(new Property("display", "string", "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.", 0, 1, display)); + children.add(new Property("citation", "markdown", "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.", 0, 1, citation)); + children.add(new Property("document", "Attachment", "The document being referenced, represented as an attachment. This is exclusive with the resource element.", 0, 1, document)); + children.add(new Property("resource", "canonical", "The related artifact, such as a library, value set, profile, or other knowledge resource.", 0, 1, resource)); + children.add(new Property("resourceReference", "Reference", "The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource.", 0, 1, resourceReference)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3575610: /*type*/ return new Property("type", "code", "The type of relationship to the related artifact.", 0, 1, type); + case -281470431: /*classifier*/ return new Property("classifier", "CodeableConcept", "Provides additional classifiers of the related artifact.", 0, java.lang.Integer.MAX_VALUE, classifier); + case 102727412: /*label*/ return new Property("label", "string", "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.", 0, 1, label); + case 1671764162: /*display*/ return new Property("display", "string", "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.", 0, 1, display); + case -1442706713: /*citation*/ return new Property("citation", "markdown", "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.", 0, 1, citation); + case 861720859: /*document*/ return new Property("document", "Attachment", "The document being referenced, represented as an attachment. This is exclusive with the resource element.", 0, 1, document); + case -341064690: /*resource*/ return new Property("resource", "canonical", "The related artifact, such as a library, value set, profile, or other knowledge resource.", 0, 1, resource); + case -610120995: /*resourceReference*/ return new Property("resourceReference", "Reference", "The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource.", 0, 1, resourceReference); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration + case -281470431: /*classifier*/ return this.classifier == null ? new Base[0] : this.classifier.toArray(new Base[this.classifier.size()]); // CodeableConcept + case 102727412: /*label*/ return this.label == null ? new Base[0] : new Base[] {this.label}; // StringType + case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType + case -1442706713: /*citation*/ return this.citation == null ? new Base[0] : new Base[] {this.citation}; // MarkdownType + case 861720859: /*document*/ return this.document == null ? new Base[0] : new Base[] {this.document}; // Attachment + case -341064690: /*resource*/ return this.resource == null ? new Base[0] : new Base[] {this.resource}; // CanonicalType + case -610120995: /*resourceReference*/ return this.resourceReference == null ? new Base[0] : new Base[] {this.resourceReference}; // Reference + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3575610: // type + value = new RelatedArtifactTypeExpandedEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.type = (Enumeration) value; // Enumeration + return value; + case -281470431: // classifier + this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; + case 102727412: // label + this.label = TypeConvertor.castToString(value); // StringType + return value; + case 1671764162: // display + this.display = TypeConvertor.castToString(value); // StringType + return value; + case -1442706713: // citation + this.citation = TypeConvertor.castToMarkdown(value); // MarkdownType + return value; + case 861720859: // document + this.document = TypeConvertor.castToAttachment(value); // Attachment + return value; + case -341064690: // resource + this.resource = TypeConvertor.castToCanonical(value); // CanonicalType + return value; + case -610120995: // resourceReference + this.resourceReference = TypeConvertor.castToReference(value); // Reference + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("type")) { + value = new RelatedArtifactTypeExpandedEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.type = (Enumeration) value; // Enumeration + } else if (name.equals("classifier")) { + this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("label")) { + this.label = TypeConvertor.castToString(value); // StringType + } else if (name.equals("display")) { + this.display = TypeConvertor.castToString(value); // StringType + } else if (name.equals("citation")) { + this.citation = TypeConvertor.castToMarkdown(value); // MarkdownType + } else if (name.equals("document")) { + this.document = TypeConvertor.castToAttachment(value); // Attachment + } else if (name.equals("resource")) { + this.resource = TypeConvertor.castToCanonical(value); // CanonicalType + } else if (name.equals("resourceReference")) { + this.resourceReference = TypeConvertor.castToReference(value); // Reference + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: return getTypeElement(); + case -281470431: return addClassifier(); + case 102727412: return getLabelElement(); + case 1671764162: return getDisplayElement(); + case -1442706713: return getCitationElement(); + case 861720859: return getDocument(); + case -341064690: return getResourceElement(); + case -610120995: return getResourceReference(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return new String[] {"code"}; + case -281470431: /*classifier*/ return new String[] {"CodeableConcept"}; + case 102727412: /*label*/ return new String[] {"string"}; + case 1671764162: /*display*/ return new String[] {"string"}; + case -1442706713: /*citation*/ return new String[] {"markdown"}; + case 861720859: /*document*/ return new String[] {"Attachment"}; + case -341064690: /*resource*/ return new String[] {"canonical"}; + case -610120995: /*resourceReference*/ return new String[] {"Reference"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("type")) { + throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.relatesTo.type"); + } + else if (name.equals("classifier")) { + return addClassifier(); + } + else if (name.equals("label")) { + throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.relatesTo.label"); + } + else if (name.equals("display")) { + throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.relatesTo.display"); + } + else if (name.equals("citation")) { + throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.relatesTo.citation"); + } + else if (name.equals("document")) { + this.document = new Attachment(); + return this.document; + } + else if (name.equals("resource")) { + throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.relatesTo.resource"); + } + else if (name.equals("resourceReference")) { + this.resourceReference = new Reference(); + return this.resourceReference; + } + else + return super.addChild(name); + } + + public CitationCitedArtifactRelatesToComponent copy() { + CitationCitedArtifactRelatesToComponent dst = new CitationCitedArtifactRelatesToComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(CitationCitedArtifactRelatesToComponent dst) { + super.copyValues(dst); + dst.type = type == null ? null : type.copy(); + if (classifier != null) { + dst.classifier = new ArrayList(); + for (CodeableConcept i : classifier) + dst.classifier.add(i.copy()); + }; + dst.label = label == null ? null : label.copy(); + dst.display = display == null ? null : display.copy(); + dst.citation = citation == null ? null : citation.copy(); + dst.document = document == null ? null : document.copy(); + dst.resource = resource == null ? null : resource.copy(); + dst.resourceReference = resourceReference == null ? null : resourceReference.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof CitationCitedArtifactRelatesToComponent)) + return false; + CitationCitedArtifactRelatesToComponent o = (CitationCitedArtifactRelatesToComponent) other_; + return compareDeep(type, o.type, true) && compareDeep(classifier, o.classifier, true) && compareDeep(label, o.label, true) + && compareDeep(display, o.display, true) && compareDeep(citation, o.citation, true) && compareDeep(document, o.document, true) + && compareDeep(resource, o.resource, true) && compareDeep(resourceReference, o.resourceReference, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof CitationCitedArtifactRelatesToComponent)) + return false; + CitationCitedArtifactRelatesToComponent o = (CitationCitedArtifactRelatesToComponent) other_; + return compareValues(type, o.type, true) && compareValues(label, o.label, true) && compareValues(display, o.display, true) + && compareValues(citation, o.citation, true) && compareValues(resource, o.resource, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, classifier, label + , display, citation, document, resource, resourceReference); + } + + public String fhirType() { + return "Citation.citedArtifact.relatesTo"; + + } + } @Block() @@ -5849,13 +7147,13 @@ public class Citation extends MetadataResource { protected List classifier; /** - * Provenance and copyright of classification. + * Complex or externally created classification. */ - @Child(name = "whoClassified", type = {}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Provenance and copyright of classification", formalDefinition="Provenance and copyright of classification." ) - protected CitationCitedArtifactClassificationWhoClassifiedComponent whoClassified; + @Child(name = "artifactAssessment", type = {ArtifactAssessment.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Complex or externally created classification\n", formalDefinition="Complex or externally created classification." ) + protected List artifactAssessment; - private static final long serialVersionUID = -1887617918L; + private static final long serialVersionUID = 394554928L; /** * Constructor @@ -5942,34 +7240,63 @@ public class Citation extends MetadataResource { } /** - * @return {@link #whoClassified} (Provenance and copyright of classification.) + * @return {@link #artifactAssessment} (Complex or externally created classification.) */ - public CitationCitedArtifactClassificationWhoClassifiedComponent getWhoClassified() { - if (this.whoClassified == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactClassificationComponent.whoClassified"); - else if (Configuration.doAutoCreate()) - this.whoClassified = new CitationCitedArtifactClassificationWhoClassifiedComponent(); // cc - return this.whoClassified; - } - - public boolean hasWhoClassified() { - return this.whoClassified != null && !this.whoClassified.isEmpty(); + public List getArtifactAssessment() { + if (this.artifactAssessment == null) + this.artifactAssessment = new ArrayList(); + return this.artifactAssessment; } /** - * @param value {@link #whoClassified} (Provenance and copyright of classification.) + * @return Returns a reference to this for easy method chaining */ - public CitationCitedArtifactClassificationComponent setWhoClassified(CitationCitedArtifactClassificationWhoClassifiedComponent value) { - this.whoClassified = value; + public CitationCitedArtifactClassificationComponent setArtifactAssessment(List theArtifactAssessment) { + this.artifactAssessment = theArtifactAssessment; return this; } + public boolean hasArtifactAssessment() { + if (this.artifactAssessment == null) + return false; + for (Reference item : this.artifactAssessment) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addArtifactAssessment() { //3 + Reference t = new Reference(); + if (this.artifactAssessment == null) + this.artifactAssessment = new ArrayList(); + this.artifactAssessment.add(t); + return t; + } + + public CitationCitedArtifactClassificationComponent addArtifactAssessment(Reference t) { //3 + if (t == null) + return this; + if (this.artifactAssessment == null) + this.artifactAssessment = new ArrayList(); + this.artifactAssessment.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #artifactAssessment}, creating it if it does not already exist {3} + */ + public Reference getArtifactAssessmentFirstRep() { + if (getArtifactAssessment().isEmpty()) { + addArtifactAssessment(); + } + return getArtifactAssessment().get(0); + } + protected void listChildren(List children) { super.listChildren(children); children.add(new Property("type", "CodeableConcept", "The kind of classifier (e.g. publication type, keyword).", 0, 1, type)); children.add(new Property("classifier", "CodeableConcept", "The specific classification value.", 0, java.lang.Integer.MAX_VALUE, classifier)); - children.add(new Property("whoClassified", "", "Provenance and copyright of classification.", 0, 1, whoClassified)); + children.add(new Property("artifactAssessment", "Reference(ArtifactAssessment)", "Complex or externally created classification.", 0, java.lang.Integer.MAX_VALUE, artifactAssessment)); } @Override @@ -5977,7 +7304,7 @@ public class Citation extends MetadataResource { switch (_hash) { case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The kind of classifier (e.g. publication type, keyword).", 0, 1, type); case -281470431: /*classifier*/ return new Property("classifier", "CodeableConcept", "The specific classification value.", 0, java.lang.Integer.MAX_VALUE, classifier); - case -196629391: /*whoClassified*/ return new Property("whoClassified", "", "Provenance and copyright of classification.", 0, 1, whoClassified); + case 1014987316: /*artifactAssessment*/ return new Property("artifactAssessment", "Reference(ArtifactAssessment)", "Complex or externally created classification.", 0, java.lang.Integer.MAX_VALUE, artifactAssessment); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -5988,7 +7315,7 @@ public class Citation extends MetadataResource { switch (hash) { case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case -281470431: /*classifier*/ return this.classifier == null ? new Base[0] : this.classifier.toArray(new Base[this.classifier.size()]); // CodeableConcept - case -196629391: /*whoClassified*/ return this.whoClassified == null ? new Base[0] : new Base[] {this.whoClassified}; // CitationCitedArtifactClassificationWhoClassifiedComponent + case 1014987316: /*artifactAssessment*/ return this.artifactAssessment == null ? new Base[0] : this.artifactAssessment.toArray(new Base[this.artifactAssessment.size()]); // Reference default: return super.getProperty(hash, name, checkValid); } @@ -6003,8 +7330,8 @@ public class Citation extends MetadataResource { case -281470431: // classifier this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; - case -196629391: // whoClassified - this.whoClassified = (CitationCitedArtifactClassificationWhoClassifiedComponent) value; // CitationCitedArtifactClassificationWhoClassifiedComponent + case 1014987316: // artifactAssessment + this.getArtifactAssessment().add(TypeConvertor.castToReference(value)); // Reference return value; default: return super.setProperty(hash, name, value); } @@ -6017,8 +7344,8 @@ public class Citation extends MetadataResource { this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("classifier")) { this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); - } else if (name.equals("whoClassified")) { - this.whoClassified = (CitationCitedArtifactClassificationWhoClassifiedComponent) value; // CitationCitedArtifactClassificationWhoClassifiedComponent + } else if (name.equals("artifactAssessment")) { + this.getArtifactAssessment().add(TypeConvertor.castToReference(value)); } else return super.setProperty(name, value); return value; @@ -6029,7 +7356,7 @@ public class Citation extends MetadataResource { switch (hash) { case 3575610: return getType(); case -281470431: return addClassifier(); - case -196629391: return getWhoClassified(); + case 1014987316: return addArtifactAssessment(); default: return super.makeProperty(hash, name); } @@ -6040,7 +7367,7 @@ public class Citation extends MetadataResource { switch (hash) { case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case -281470431: /*classifier*/ return new String[] {"CodeableConcept"}; - case -196629391: /*whoClassified*/ return new String[] {}; + case 1014987316: /*artifactAssessment*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -6055,9 +7382,8 @@ public class Citation extends MetadataResource { else if (name.equals("classifier")) { return addClassifier(); } - else if (name.equals("whoClassified")) { - this.whoClassified = new CitationCitedArtifactClassificationWhoClassifiedComponent(); - return this.whoClassified; + else if (name.equals("artifactAssessment")) { + return addArtifactAssessment(); } else return super.addChild(name); @@ -6077,7 +7403,11 @@ public class Citation extends MetadataResource { for (CodeableConcept i : classifier) dst.classifier.add(i.copy()); }; - dst.whoClassified = whoClassified == null ? null : whoClassified.copy(); + if (artifactAssessment != null) { + dst.artifactAssessment = new ArrayList(); + for (Reference i : artifactAssessment) + dst.artifactAssessment.add(i.copy()); + }; } @Override @@ -6087,7 +7417,7 @@ public class Citation extends MetadataResource { if (!(other_ instanceof CitationCitedArtifactClassificationComponent)) return false; CitationCitedArtifactClassificationComponent o = (CitationCitedArtifactClassificationComponent) other_; - return compareDeep(type, o.type, true) && compareDeep(classifier, o.classifier, true) && compareDeep(whoClassified, o.whoClassified, true) + return compareDeep(type, o.type, true) && compareDeep(classifier, o.classifier, true) && compareDeep(artifactAssessment, o.artifactAssessment, true) ; } @@ -6102,7 +7432,7 @@ public class Citation extends MetadataResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, classifier, whoClassified + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, classifier, artifactAssessment ); } @@ -6111,393 +7441,6 @@ public class Citation extends MetadataResource { } - } - - @Block() - public static class CitationCitedArtifactClassificationWhoClassifiedComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Person who created the classification. - */ - @Child(name = "person", type = {Person.class, Practitioner.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Person who created the classification", formalDefinition="Person who created the classification." ) - protected Reference person; - - /** - * Organization who created the classification. - */ - @Child(name = "organization", type = {Organization.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Organization who created the classification", formalDefinition="Organization who created the classification." ) - protected Reference organization; - - /** - * The publisher of the classification, not the publisher of the article or artifact being cited. - */ - @Child(name = "publisher", type = {Organization.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="The publisher of the classification, not the publisher of the article or artifact being cited", formalDefinition="The publisher of the classification, not the publisher of the article or artifact being cited." ) - protected Reference publisher; - - /** - * Rights management statement for the classification. - */ - @Child(name = "classifierCopyright", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Rights management statement for the classification", formalDefinition="Rights management statement for the classification." ) - protected StringType classifierCopyright; - - /** - * Acceptable to re-use the classification. - */ - @Child(name = "freeToShare", type = {BooleanType.class}, order=5, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Acceptable to re-use the classification", formalDefinition="Acceptable to re-use the classification." ) - protected BooleanType freeToShare; - - private static final long serialVersionUID = -1835300032L; - - /** - * Constructor - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent() { - super(); - } - - /** - * @return {@link #person} (Person who created the classification.) - */ - public Reference getPerson() { - if (this.person == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactClassificationWhoClassifiedComponent.person"); - else if (Configuration.doAutoCreate()) - this.person = new Reference(); // cc - return this.person; - } - - public boolean hasPerson() { - return this.person != null && !this.person.isEmpty(); - } - - /** - * @param value {@link #person} (Person who created the classification.) - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setPerson(Reference value) { - this.person = value; - return this; - } - - /** - * @return {@link #organization} (Organization who created the classification.) - */ - public Reference getOrganization() { - if (this.organization == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactClassificationWhoClassifiedComponent.organization"); - else if (Configuration.doAutoCreate()) - this.organization = new Reference(); // cc - return this.organization; - } - - public boolean hasOrganization() { - return this.organization != null && !this.organization.isEmpty(); - } - - /** - * @param value {@link #organization} (Organization who created the classification.) - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setOrganization(Reference value) { - this.organization = value; - return this; - } - - /** - * @return {@link #publisher} (The publisher of the classification, not the publisher of the article or artifact being cited.) - */ - public Reference getPublisher() { - if (this.publisher == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactClassificationWhoClassifiedComponent.publisher"); - else if (Configuration.doAutoCreate()) - this.publisher = new Reference(); // cc - return this.publisher; - } - - public boolean hasPublisher() { - return this.publisher != null && !this.publisher.isEmpty(); - } - - /** - * @param value {@link #publisher} (The publisher of the classification, not the publisher of the article or artifact being cited.) - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setPublisher(Reference value) { - this.publisher = value; - return this; - } - - /** - * @return {@link #classifierCopyright} (Rights management statement for the classification.). This is the underlying object with id, value and extensions. The accessor "getClassifierCopyright" gives direct access to the value - */ - public StringType getClassifierCopyrightElement() { - if (this.classifierCopyright == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactClassificationWhoClassifiedComponent.classifierCopyright"); - else if (Configuration.doAutoCreate()) - this.classifierCopyright = new StringType(); // bb - return this.classifierCopyright; - } - - public boolean hasClassifierCopyrightElement() { - return this.classifierCopyright != null && !this.classifierCopyright.isEmpty(); - } - - public boolean hasClassifierCopyright() { - return this.classifierCopyright != null && !this.classifierCopyright.isEmpty(); - } - - /** - * @param value {@link #classifierCopyright} (Rights management statement for the classification.). This is the underlying object with id, value and extensions. The accessor "getClassifierCopyright" gives direct access to the value - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setClassifierCopyrightElement(StringType value) { - this.classifierCopyright = value; - return this; - } - - /** - * @return Rights management statement for the classification. - */ - public String getClassifierCopyright() { - return this.classifierCopyright == null ? null : this.classifierCopyright.getValue(); - } - - /** - * @param value Rights management statement for the classification. - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setClassifierCopyright(String value) { - if (Utilities.noString(value)) - this.classifierCopyright = null; - else { - if (this.classifierCopyright == null) - this.classifierCopyright = new StringType(); - this.classifierCopyright.setValue(value); - } - return this; - } - - /** - * @return {@link #freeToShare} (Acceptable to re-use the classification.). This is the underlying object with id, value and extensions. The accessor "getFreeToShare" gives direct access to the value - */ - public BooleanType getFreeToShareElement() { - if (this.freeToShare == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactClassificationWhoClassifiedComponent.freeToShare"); - else if (Configuration.doAutoCreate()) - this.freeToShare = new BooleanType(); // bb - return this.freeToShare; - } - - public boolean hasFreeToShareElement() { - return this.freeToShare != null && !this.freeToShare.isEmpty(); - } - - public boolean hasFreeToShare() { - return this.freeToShare != null && !this.freeToShare.isEmpty(); - } - - /** - * @param value {@link #freeToShare} (Acceptable to re-use the classification.). This is the underlying object with id, value and extensions. The accessor "getFreeToShare" gives direct access to the value - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setFreeToShareElement(BooleanType value) { - this.freeToShare = value; - return this; - } - - /** - * @return Acceptable to re-use the classification. - */ - public boolean getFreeToShare() { - return this.freeToShare == null || this.freeToShare.isEmpty() ? false : this.freeToShare.getValue(); - } - - /** - * @param value Acceptable to re-use the classification. - */ - public CitationCitedArtifactClassificationWhoClassifiedComponent setFreeToShare(boolean value) { - if (this.freeToShare == null) - this.freeToShare = new BooleanType(); - this.freeToShare.setValue(value); - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("person", "Reference(Person|Practitioner)", "Person who created the classification.", 0, 1, person)); - children.add(new Property("organization", "Reference(Organization)", "Organization who created the classification.", 0, 1, organization)); - children.add(new Property("publisher", "Reference(Organization)", "The publisher of the classification, not the publisher of the article or artifact being cited.", 0, 1, publisher)); - children.add(new Property("classifierCopyright", "string", "Rights management statement for the classification.", 0, 1, classifierCopyright)); - children.add(new Property("freeToShare", "boolean", "Acceptable to re-use the classification.", 0, 1, freeToShare)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -991716523: /*person*/ return new Property("person", "Reference(Person|Practitioner)", "Person who created the classification.", 0, 1, person); - case 1178922291: /*organization*/ return new Property("organization", "Reference(Organization)", "Organization who created the classification.", 0, 1, organization); - case 1447404028: /*publisher*/ return new Property("publisher", "Reference(Organization)", "The publisher of the classification, not the publisher of the article or artifact being cited.", 0, 1, publisher); - case -434942298: /*classifierCopyright*/ return new Property("classifierCopyright", "string", "Rights management statement for the classification.", 0, 1, classifierCopyright); - case -1268656616: /*freeToShare*/ return new Property("freeToShare", "boolean", "Acceptable to re-use the classification.", 0, 1, freeToShare); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -991716523: /*person*/ return this.person == null ? new Base[0] : new Base[] {this.person}; // Reference - case 1178922291: /*organization*/ return this.organization == null ? new Base[0] : new Base[] {this.organization}; // Reference - case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // Reference - case -434942298: /*classifierCopyright*/ return this.classifierCopyright == null ? new Base[0] : new Base[] {this.classifierCopyright}; // StringType - case -1268656616: /*freeToShare*/ return this.freeToShare == null ? new Base[0] : new Base[] {this.freeToShare}; // BooleanType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -991716523: // person - this.person = TypeConvertor.castToReference(value); // Reference - return value; - case 1178922291: // organization - this.organization = TypeConvertor.castToReference(value); // Reference - return value; - case 1447404028: // publisher - this.publisher = TypeConvertor.castToReference(value); // Reference - return value; - case -434942298: // classifierCopyright - this.classifierCopyright = TypeConvertor.castToString(value); // StringType - return value; - case -1268656616: // freeToShare - this.freeToShare = TypeConvertor.castToBoolean(value); // BooleanType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("person")) { - this.person = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("organization")) { - this.organization = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("publisher")) { - this.publisher = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("classifierCopyright")) { - this.classifierCopyright = TypeConvertor.castToString(value); // StringType - } else if (name.equals("freeToShare")) { - this.freeToShare = TypeConvertor.castToBoolean(value); // BooleanType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -991716523: return getPerson(); - case 1178922291: return getOrganization(); - case 1447404028: return getPublisher(); - case -434942298: return getClassifierCopyrightElement(); - case -1268656616: return getFreeToShareElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -991716523: /*person*/ return new String[] {"Reference"}; - case 1178922291: /*organization*/ return new String[] {"Reference"}; - case 1447404028: /*publisher*/ return new String[] {"Reference"}; - case -434942298: /*classifierCopyright*/ return new String[] {"string"}; - case -1268656616: /*freeToShare*/ return new String[] {"boolean"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("person")) { - this.person = new Reference(); - return this.person; - } - else if (name.equals("organization")) { - this.organization = new Reference(); - return this.organization; - } - else if (name.equals("publisher")) { - this.publisher = new Reference(); - return this.publisher; - } - else if (name.equals("classifierCopyright")) { - throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.classification.whoClassified.classifierCopyright"); - } - else if (name.equals("freeToShare")) { - throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.classification.whoClassified.freeToShare"); - } - else - return super.addChild(name); - } - - public CitationCitedArtifactClassificationWhoClassifiedComponent copy() { - CitationCitedArtifactClassificationWhoClassifiedComponent dst = new CitationCitedArtifactClassificationWhoClassifiedComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(CitationCitedArtifactClassificationWhoClassifiedComponent dst) { - super.copyValues(dst); - dst.person = person == null ? null : person.copy(); - dst.organization = organization == null ? null : organization.copy(); - dst.publisher = publisher == null ? null : publisher.copy(); - dst.classifierCopyright = classifierCopyright == null ? null : classifierCopyright.copy(); - dst.freeToShare = freeToShare == null ? null : freeToShare.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof CitationCitedArtifactClassificationWhoClassifiedComponent)) - return false; - CitationCitedArtifactClassificationWhoClassifiedComponent o = (CitationCitedArtifactClassificationWhoClassifiedComponent) other_; - return compareDeep(person, o.person, true) && compareDeep(organization, o.organization, true) && compareDeep(publisher, o.publisher, true) - && compareDeep(classifierCopyright, o.classifierCopyright, true) && compareDeep(freeToShare, o.freeToShare, true) - ; - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof CitationCitedArtifactClassificationWhoClassifiedComponent)) - return false; - CitationCitedArtifactClassificationWhoClassifiedComponent o = (CitationCitedArtifactClassificationWhoClassifiedComponent) other_; - return compareValues(classifierCopyright, o.classifierCopyright, true) && compareValues(freeToShare, o.freeToShare, true) - ; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(person, organization, publisher - , classifierCopyright, freeToShare); - } - - public String fhirType() { - return "Citation.citedArtifact.classification.whoClassified"; - - } - } @Block() @@ -6521,9 +7464,9 @@ public class Citation extends MetadataResource { */ @Child(name = "summary", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Used to record a display of the author/contributor list without separate coding for each list member", formalDefinition="Used to record a display of the author/contributor list without separate coding for each list member." ) - protected List summary; + protected List summary; - private static final long serialVersionUID = 78346599L; + private static final long serialVersionUID = 662810405L; /** * Constructor @@ -6633,16 +7576,16 @@ public class Citation extends MetadataResource { /** * @return {@link #summary} (Used to record a display of the author/contributor list without separate coding for each list member.) */ - public List getSummary() { + public List getSummary() { if (this.summary == null) - this.summary = new ArrayList(); + this.summary = new ArrayList(); return this.summary; } /** * @return Returns a reference to this for easy method chaining */ - public CitationCitedArtifactContributorshipComponent setSummary(List theSummary) { + public CitationCitedArtifactContributorshipComponent setSummary(List theSummary) { this.summary = theSummary; return this; } @@ -6650,25 +7593,25 @@ public class Citation extends MetadataResource { public boolean hasSummary() { if (this.summary == null) return false; - for (CitationCitedArtifactContributorshipSummaryComponent item : this.summary) + for (ContributorshipSummaryComponent item : this.summary) if (!item.isEmpty()) return true; return false; } - public CitationCitedArtifactContributorshipSummaryComponent addSummary() { //3 - CitationCitedArtifactContributorshipSummaryComponent t = new CitationCitedArtifactContributorshipSummaryComponent(); + public ContributorshipSummaryComponent addSummary() { //3 + ContributorshipSummaryComponent t = new ContributorshipSummaryComponent(); if (this.summary == null) - this.summary = new ArrayList(); + this.summary = new ArrayList(); this.summary.add(t); return t; } - public CitationCitedArtifactContributorshipComponent addSummary(CitationCitedArtifactContributorshipSummaryComponent t) { //3 + public CitationCitedArtifactContributorshipComponent addSummary(ContributorshipSummaryComponent t) { //3 if (t == null) return this; if (this.summary == null) - this.summary = new ArrayList(); + this.summary = new ArrayList(); this.summary.add(t); return this; } @@ -6676,7 +7619,7 @@ public class Citation extends MetadataResource { /** * @return The first repetition of repeating field {@link #summary}, creating it if it does not already exist {3} */ - public CitationCitedArtifactContributorshipSummaryComponent getSummaryFirstRep() { + public ContributorshipSummaryComponent getSummaryFirstRep() { if (getSummary().isEmpty()) { addSummary(); } @@ -6706,7 +7649,7 @@ public class Citation extends MetadataResource { switch (hash) { case -599445191: /*complete*/ return this.complete == null ? new Base[0] : new Base[] {this.complete}; // BooleanType case 96667762: /*entry*/ return this.entry == null ? new Base[0] : this.entry.toArray(new Base[this.entry.size()]); // CitationCitedArtifactContributorshipEntryComponent - case -1857640538: /*summary*/ return this.summary == null ? new Base[0] : this.summary.toArray(new Base[this.summary.size()]); // CitationCitedArtifactContributorshipSummaryComponent + case -1857640538: /*summary*/ return this.summary == null ? new Base[0] : this.summary.toArray(new Base[this.summary.size()]); // ContributorshipSummaryComponent default: return super.getProperty(hash, name, checkValid); } @@ -6722,7 +7665,7 @@ public class Citation extends MetadataResource { this.getEntry().add((CitationCitedArtifactContributorshipEntryComponent) value); // CitationCitedArtifactContributorshipEntryComponent return value; case -1857640538: // summary - this.getSummary().add((CitationCitedArtifactContributorshipSummaryComponent) value); // CitationCitedArtifactContributorshipSummaryComponent + this.getSummary().add((ContributorshipSummaryComponent) value); // ContributorshipSummaryComponent return value; default: return super.setProperty(hash, name, value); } @@ -6736,7 +7679,7 @@ public class Citation extends MetadataResource { } else if (name.equals("entry")) { this.getEntry().add((CitationCitedArtifactContributorshipEntryComponent) value); } else if (name.equals("summary")) { - this.getSummary().add((CitationCitedArtifactContributorshipSummaryComponent) value); + this.getSummary().add((ContributorshipSummaryComponent) value); } else return super.setProperty(name, value); return value; @@ -6794,8 +7737,8 @@ public class Citation extends MetadataResource { dst.entry.add(i.copy()); }; if (summary != null) { - dst.summary = new ArrayList(); - for (CitationCitedArtifactContributorshipSummaryComponent i : summary) + dst.summary = new ArrayList(); + for (ContributorshipSummaryComponent i : summary) dst.summary.add(i.copy()); }; } @@ -6836,58 +7779,30 @@ public class Citation extends MetadataResource { @Block() public static class CitationCitedArtifactContributorshipEntryComponent extends BackboneElement implements IBaseBackboneElement { /** - * A name associated with the individual. + * The identity of the individual entity. */ - @Child(name = "name", type = {HumanName.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="A name associated with the person", formalDefinition="A name associated with the individual." ) - protected HumanName name; + @Child(name = "contributor", type = {Practitioner.class, Organization.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="The identity of the individual entity", formalDefinition="The identity of the individual entity." ) + protected Reference contributor; /** * Initials for forename. */ - @Child(name = "initials", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "forenameInitials", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Initials for forename", formalDefinition="Initials for forename." ) - protected StringType initials; - - /** - * Used for collective or corporate name as an author. - */ - @Child(name = "collectiveName", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Used for collective or corporate name as an author", formalDefinition="Used for collective or corporate name as an author." ) - protected StringType collectiveName; - - /** - * Unique person identifier. - */ - @Child(name = "identifier", type = {Identifier.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Author identifier, e.g., ORCID", formalDefinition="Unique person identifier." ) - protected List identifier; + protected StringType forenameInitials; /** * Organization affiliated with the entity. */ - @Child(name = "affiliationInfo", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "affiliation", type = {Organization.class, PractitionerRole.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Organizational affiliation", formalDefinition="Organization affiliated with the entity." ) - protected List affiliationInfo; - - /** - * Physical mailing address for the author or contributor. - */ - @Child(name = "address", type = {Address.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Physical mailing address", formalDefinition="Physical mailing address for the author or contributor." ) - protected List
address; - - /** - * Email or telephone contact methods for the author or contributor. - */ - @Child(name = "telecom", type = {ContactPoint.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Email or telephone contact methods for the author or contributor", formalDefinition="Email or telephone contact methods for the author or contributor." ) - protected List telecom; + protected List affiliation; /** * This element identifies the specific nature of an individual’s contribution with respect to the cited work. */ - @Child(name = "contributionType", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "contributionType", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The specific contribution", formalDefinition="This element identifies the specific nature of an individual’s contribution with respect to the cited work." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/artifact-contribution-type") protected List contributionType; @@ -6895,7 +7810,7 @@ public class Citation extends MetadataResource { /** * The role of the contributor (e.g. author, editor, reviewer). */ - @Child(name = "role", type = {CodeableConcept.class}, order=9, min=0, max=1, modifier=false, summary=false) + @Child(name = "role", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The role of the contributor (e.g. author, editor, reviewer)", formalDefinition="The role of the contributor (e.g. author, editor, reviewer)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contributor-role") protected CodeableConcept role; @@ -6903,25 +7818,25 @@ public class Citation extends MetadataResource { /** * Contributions with accounting for time or number. */ - @Child(name = "contributionInstance", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "contributionInstance", type = {}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Contributions with accounting for time or number", formalDefinition="Contributions with accounting for time or number." ) protected List contributionInstance; /** * Indication of which contributor is the corresponding contributor for the role. */ - @Child(name = "correspondingContact", type = {BooleanType.class}, order=11, min=0, max=1, modifier=false, summary=false) + @Child(name = "correspondingContact", type = {BooleanType.class}, order=7, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Indication of which contributor is the corresponding contributor for the role", formalDefinition="Indication of which contributor is the corresponding contributor for the role." ) protected BooleanType correspondingContact; /** * Provides a numerical ranking to represent the degree of contributorship relative to other contributors, such as 1 for first author and 2 for second author. */ - @Child(name = "rankingOrder", type = {PositiveIntType.class}, order=12, min=0, max=1, modifier=false, summary=false) + @Child(name = "rankingOrder", type = {PositiveIntType.class}, order=8, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Ranked order of contribution", formalDefinition="Provides a numerical ranking to represent the degree of contributorship relative to other contributors, such as 1 for first author and 2 for second author." ) protected PositiveIntType rankingOrder; - private static final long serialVersionUID = -1625647137L; + private static final long serialVersionUID = 1654594857L; /** * Constructor @@ -6930,338 +7845,138 @@ public class Citation extends MetadataResource { super(); } + /** + * Constructor + */ + public CitationCitedArtifactContributorshipEntryComponent(Reference contributor) { + super(); + this.setContributor(contributor); + } + /** - * @return {@link #name} (A name associated with the individual.) + * @return {@link #contributor} (The identity of the individual entity.) */ - public HumanName getName() { - if (this.name == null) + public Reference getContributor() { + if (this.contributor == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryComponent.name"); + throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryComponent.contributor"); else if (Configuration.doAutoCreate()) - this.name = new HumanName(); // cc - return this.name; + this.contributor = new Reference(); // cc + return this.contributor; } - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); + public boolean hasContributor() { + return this.contributor != null && !this.contributor.isEmpty(); } /** - * @param value {@link #name} (A name associated with the individual.) + * @param value {@link #contributor} (The identity of the individual entity.) */ - public CitationCitedArtifactContributorshipEntryComponent setName(HumanName value) { - this.name = value; + public CitationCitedArtifactContributorshipEntryComponent setContributor(Reference value) { + this.contributor = value; return this; } /** - * @return {@link #initials} (Initials for forename.). This is the underlying object with id, value and extensions. The accessor "getInitials" gives direct access to the value + * @return {@link #forenameInitials} (Initials for forename.). This is the underlying object with id, value and extensions. The accessor "getForenameInitials" gives direct access to the value */ - public StringType getInitialsElement() { - if (this.initials == null) + public StringType getForenameInitialsElement() { + if (this.forenameInitials == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryComponent.initials"); + throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryComponent.forenameInitials"); else if (Configuration.doAutoCreate()) - this.initials = new StringType(); // bb - return this.initials; + this.forenameInitials = new StringType(); // bb + return this.forenameInitials; } - public boolean hasInitialsElement() { - return this.initials != null && !this.initials.isEmpty(); + public boolean hasForenameInitialsElement() { + return this.forenameInitials != null && !this.forenameInitials.isEmpty(); } - public boolean hasInitials() { - return this.initials != null && !this.initials.isEmpty(); + public boolean hasForenameInitials() { + return this.forenameInitials != null && !this.forenameInitials.isEmpty(); } /** - * @param value {@link #initials} (Initials for forename.). This is the underlying object with id, value and extensions. The accessor "getInitials" gives direct access to the value + * @param value {@link #forenameInitials} (Initials for forename.). This is the underlying object with id, value and extensions. The accessor "getForenameInitials" gives direct access to the value */ - public CitationCitedArtifactContributorshipEntryComponent setInitialsElement(StringType value) { - this.initials = value; + public CitationCitedArtifactContributorshipEntryComponent setForenameInitialsElement(StringType value) { + this.forenameInitials = value; return this; } /** * @return Initials for forename. */ - public String getInitials() { - return this.initials == null ? null : this.initials.getValue(); + public String getForenameInitials() { + return this.forenameInitials == null ? null : this.forenameInitials.getValue(); } /** * @param value Initials for forename. */ - public CitationCitedArtifactContributorshipEntryComponent setInitials(String value) { + public CitationCitedArtifactContributorshipEntryComponent setForenameInitials(String value) { if (Utilities.noString(value)) - this.initials = null; + this.forenameInitials = null; else { - if (this.initials == null) - this.initials = new StringType(); - this.initials.setValue(value); + if (this.forenameInitials == null) + this.forenameInitials = new StringType(); + this.forenameInitials.setValue(value); } return this; } /** - * @return {@link #collectiveName} (Used for collective or corporate name as an author.). This is the underlying object with id, value and extensions. The accessor "getCollectiveName" gives direct access to the value + * @return {@link #affiliation} (Organization affiliated with the entity.) */ - public StringType getCollectiveNameElement() { - if (this.collectiveName == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryComponent.collectiveName"); - else if (Configuration.doAutoCreate()) - this.collectiveName = new StringType(); // bb - return this.collectiveName; - } - - public boolean hasCollectiveNameElement() { - return this.collectiveName != null && !this.collectiveName.isEmpty(); - } - - public boolean hasCollectiveName() { - return this.collectiveName != null && !this.collectiveName.isEmpty(); - } - - /** - * @param value {@link #collectiveName} (Used for collective or corporate name as an author.). This is the underlying object with id, value and extensions. The accessor "getCollectiveName" gives direct access to the value - */ - public CitationCitedArtifactContributorshipEntryComponent setCollectiveNameElement(StringType value) { - this.collectiveName = value; - return this; - } - - /** - * @return Used for collective or corporate name as an author. - */ - public String getCollectiveName() { - return this.collectiveName == null ? null : this.collectiveName.getValue(); - } - - /** - * @param value Used for collective or corporate name as an author. - */ - public CitationCitedArtifactContributorshipEntryComponent setCollectiveName(String value) { - if (Utilities.noString(value)) - this.collectiveName = null; - else { - if (this.collectiveName == null) - this.collectiveName = new StringType(); - this.collectiveName.setValue(value); - } - return this; - } - - /** - * @return {@link #identifier} (Unique person identifier.) - */ - public List getIdentifier() { - if (this.identifier == null) - this.identifier = new ArrayList(); - return this.identifier; + public List getAffiliation() { + if (this.affiliation == null) + this.affiliation = new ArrayList(); + return this.affiliation; } /** * @return Returns a reference to this for easy method chaining */ - public CitationCitedArtifactContributorshipEntryComponent setIdentifier(List theIdentifier) { - this.identifier = theIdentifier; + public CitationCitedArtifactContributorshipEntryComponent setAffiliation(List theAffiliation) { + this.affiliation = theAffiliation; return this; } - public boolean hasIdentifier() { - if (this.identifier == null) + public boolean hasAffiliation() { + if (this.affiliation == null) return false; - for (Identifier item : this.identifier) + for (Reference item : this.affiliation) if (!item.isEmpty()) return true; return false; } - public Identifier addIdentifier() { //3 - Identifier t = new Identifier(); - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); + public Reference addAffiliation() { //3 + Reference t = new Reference(); + if (this.affiliation == null) + this.affiliation = new ArrayList(); + this.affiliation.add(t); return t; } - public CitationCitedArtifactContributorshipEntryComponent addIdentifier(Identifier t) { //3 + public CitationCitedArtifactContributorshipEntryComponent addAffiliation(Reference t) { //3 if (t == null) return this; - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); + if (this.affiliation == null) + this.affiliation = new ArrayList(); + this.affiliation.add(t); return this; } /** - * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #affiliation}, creating it if it does not already exist {3} */ - public Identifier getIdentifierFirstRep() { - if (getIdentifier().isEmpty()) { - addIdentifier(); + public Reference getAffiliationFirstRep() { + if (getAffiliation().isEmpty()) { + addAffiliation(); } - return getIdentifier().get(0); - } - - /** - * @return {@link #affiliationInfo} (Organization affiliated with the entity.) - */ - public List getAffiliationInfo() { - if (this.affiliationInfo == null) - this.affiliationInfo = new ArrayList(); - return this.affiliationInfo; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public CitationCitedArtifactContributorshipEntryComponent setAffiliationInfo(List theAffiliationInfo) { - this.affiliationInfo = theAffiliationInfo; - return this; - } - - public boolean hasAffiliationInfo() { - if (this.affiliationInfo == null) - return false; - for (CitationCitedArtifactContributorshipEntryAffiliationInfoComponent item : this.affiliationInfo) - if (!item.isEmpty()) - return true; - return false; - } - - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent addAffiliationInfo() { //3 - CitationCitedArtifactContributorshipEntryAffiliationInfoComponent t = new CitationCitedArtifactContributorshipEntryAffiliationInfoComponent(); - if (this.affiliationInfo == null) - this.affiliationInfo = new ArrayList(); - this.affiliationInfo.add(t); - return t; - } - - public CitationCitedArtifactContributorshipEntryComponent addAffiliationInfo(CitationCitedArtifactContributorshipEntryAffiliationInfoComponent t) { //3 - if (t == null) - return this; - if (this.affiliationInfo == null) - this.affiliationInfo = new ArrayList(); - this.affiliationInfo.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #affiliationInfo}, creating it if it does not already exist {3} - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent getAffiliationInfoFirstRep() { - if (getAffiliationInfo().isEmpty()) { - addAffiliationInfo(); - } - return getAffiliationInfo().get(0); - } - - /** - * @return {@link #address} (Physical mailing address for the author or contributor.) - */ - public List
getAddress() { - if (this.address == null) - this.address = new ArrayList
(); - return this.address; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public CitationCitedArtifactContributorshipEntryComponent setAddress(List
theAddress) { - this.address = theAddress; - return this; - } - - public boolean hasAddress() { - if (this.address == null) - return false; - for (Address item : this.address) - if (!item.isEmpty()) - return true; - return false; - } - - public Address addAddress() { //3 - Address t = new Address(); - if (this.address == null) - this.address = new ArrayList
(); - this.address.add(t); - return t; - } - - public CitationCitedArtifactContributorshipEntryComponent addAddress(Address t) { //3 - if (t == null) - return this; - if (this.address == null) - this.address = new ArrayList
(); - this.address.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #address}, creating it if it does not already exist {3} - */ - public Address getAddressFirstRep() { - if (getAddress().isEmpty()) { - addAddress(); - } - return getAddress().get(0); - } - - /** - * @return {@link #telecom} (Email or telephone contact methods for the author or contributor.) - */ - public List getTelecom() { - if (this.telecom == null) - this.telecom = new ArrayList(); - return this.telecom; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public CitationCitedArtifactContributorshipEntryComponent setTelecom(List theTelecom) { - this.telecom = theTelecom; - return this; - } - - public boolean hasTelecom() { - if (this.telecom == null) - return false; - for (ContactPoint item : this.telecom) - if (!item.isEmpty()) - return true; - return false; - } - - public ContactPoint addTelecom() { //3 - ContactPoint t = new ContactPoint(); - if (this.telecom == null) - this.telecom = new ArrayList(); - this.telecom.add(t); - return t; - } - - public CitationCitedArtifactContributorshipEntryComponent addTelecom(ContactPoint t) { //3 - if (t == null) - return this; - if (this.telecom == null) - this.telecom = new ArrayList(); - this.telecom.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #telecom}, creating it if it does not already exist {3} - */ - public ContactPoint getTelecomFirstRep() { - if (getTelecom().isEmpty()) { - addTelecom(); - } - return getTelecom().get(0); + return getAffiliation().get(0); } /** @@ -7486,13 +8201,9 @@ public class Citation extends MetadataResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("name", "HumanName", "A name associated with the individual.", 0, 1, name)); - children.add(new Property("initials", "string", "Initials for forename.", 0, 1, initials)); - children.add(new Property("collectiveName", "string", "Used for collective or corporate name as an author.", 0, 1, collectiveName)); - children.add(new Property("identifier", "Identifier", "Unique person identifier.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("affiliationInfo", "", "Organization affiliated with the entity.", 0, java.lang.Integer.MAX_VALUE, affiliationInfo)); - children.add(new Property("address", "Address", "Physical mailing address for the author or contributor.", 0, java.lang.Integer.MAX_VALUE, address)); - children.add(new Property("telecom", "ContactPoint", "Email or telephone contact methods for the author or contributor.", 0, java.lang.Integer.MAX_VALUE, telecom)); + children.add(new Property("contributor", "Reference(Practitioner|Organization)", "The identity of the individual entity.", 0, 1, contributor)); + children.add(new Property("forenameInitials", "string", "Initials for forename.", 0, 1, forenameInitials)); + children.add(new Property("affiliation", "Reference(Organization|PractitionerRole)", "Organization affiliated with the entity.", 0, java.lang.Integer.MAX_VALUE, affiliation)); children.add(new Property("contributionType", "CodeableConcept", "This element identifies the specific nature of an individual’s contribution with respect to the cited work.", 0, java.lang.Integer.MAX_VALUE, contributionType)); children.add(new Property("role", "CodeableConcept", "The role of the contributor (e.g. author, editor, reviewer).", 0, 1, role)); children.add(new Property("contributionInstance", "", "Contributions with accounting for time or number.", 0, java.lang.Integer.MAX_VALUE, contributionInstance)); @@ -7503,13 +8214,9 @@ public class Citation extends MetadataResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3373707: /*name*/ return new Property("name", "HumanName", "A name associated with the individual.", 0, 1, name); - case 269062575: /*initials*/ return new Property("initials", "string", "Initials for forename.", 0, 1, initials); - case 502871833: /*collectiveName*/ return new Property("collectiveName", "string", "Used for collective or corporate name as an author.", 0, 1, collectiveName); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Unique person identifier.", 0, java.lang.Integer.MAX_VALUE, identifier); - case -215129154: /*affiliationInfo*/ return new Property("affiliationInfo", "", "Organization affiliated with the entity.", 0, java.lang.Integer.MAX_VALUE, affiliationInfo); - case -1147692044: /*address*/ return new Property("address", "Address", "Physical mailing address for the author or contributor.", 0, java.lang.Integer.MAX_VALUE, address); - case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "Email or telephone contact methods for the author or contributor.", 0, java.lang.Integer.MAX_VALUE, telecom); + case -1895276325: /*contributor*/ return new Property("contributor", "Reference(Practitioner|Organization)", "The identity of the individual entity.", 0, 1, contributor); + case -740521962: /*forenameInitials*/ return new Property("forenameInitials", "string", "Initials for forename.", 0, 1, forenameInitials); + case 2019918576: /*affiliation*/ return new Property("affiliation", "Reference(Organization|PractitionerRole)", "Organization affiliated with the entity.", 0, java.lang.Integer.MAX_VALUE, affiliation); case -1600446614: /*contributionType*/ return new Property("contributionType", "CodeableConcept", "This element identifies the specific nature of an individual’s contribution with respect to the cited work.", 0, java.lang.Integer.MAX_VALUE, contributionType); case 3506294: /*role*/ return new Property("role", "CodeableConcept", "The role of the contributor (e.g. author, editor, reviewer).", 0, 1, role); case -547910459: /*contributionInstance*/ return new Property("contributionInstance", "", "Contributions with accounting for time or number.", 0, java.lang.Integer.MAX_VALUE, contributionInstance); @@ -7523,13 +8230,9 @@ public class Citation extends MetadataResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // HumanName - case 269062575: /*initials*/ return this.initials == null ? new Base[0] : new Base[] {this.initials}; // StringType - case 502871833: /*collectiveName*/ return this.collectiveName == null ? new Base[0] : new Base[] {this.collectiveName}; // StringType - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case -215129154: /*affiliationInfo*/ return this.affiliationInfo == null ? new Base[0] : this.affiliationInfo.toArray(new Base[this.affiliationInfo.size()]); // CitationCitedArtifactContributorshipEntryAffiliationInfoComponent - case -1147692044: /*address*/ return this.address == null ? new Base[0] : this.address.toArray(new Base[this.address.size()]); // Address - case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint + case -1895276325: /*contributor*/ return this.contributor == null ? new Base[0] : new Base[] {this.contributor}; // Reference + case -740521962: /*forenameInitials*/ return this.forenameInitials == null ? new Base[0] : new Base[] {this.forenameInitials}; // StringType + case 2019918576: /*affiliation*/ return this.affiliation == null ? new Base[0] : this.affiliation.toArray(new Base[this.affiliation.size()]); // Reference case -1600446614: /*contributionType*/ return this.contributionType == null ? new Base[0] : this.contributionType.toArray(new Base[this.contributionType.size()]); // CodeableConcept case 3506294: /*role*/ return this.role == null ? new Base[0] : new Base[] {this.role}; // CodeableConcept case -547910459: /*contributionInstance*/ return this.contributionInstance == null ? new Base[0] : this.contributionInstance.toArray(new Base[this.contributionInstance.size()]); // CitationCitedArtifactContributorshipEntryContributionInstanceComponent @@ -7543,26 +8246,14 @@ public class Citation extends MetadataResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case 3373707: // name - this.name = TypeConvertor.castToHumanName(value); // HumanName + case -1895276325: // contributor + this.contributor = TypeConvertor.castToReference(value); // Reference return value; - case 269062575: // initials - this.initials = TypeConvertor.castToString(value); // StringType + case -740521962: // forenameInitials + this.forenameInitials = TypeConvertor.castToString(value); // StringType return value; - case 502871833: // collectiveName - this.collectiveName = TypeConvertor.castToString(value); // StringType - return value; - case -1618432855: // identifier - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier - return value; - case -215129154: // affiliationInfo - this.getAffiliationInfo().add((CitationCitedArtifactContributorshipEntryAffiliationInfoComponent) value); // CitationCitedArtifactContributorshipEntryAffiliationInfoComponent - return value; - case -1147692044: // address - this.getAddress().add(TypeConvertor.castToAddress(value)); // Address - return value; - case -1429363305: // telecom - this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint + case 2019918576: // affiliation + this.getAffiliation().add(TypeConvertor.castToReference(value)); // Reference return value; case -1600446614: // contributionType this.getContributionType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept @@ -7586,20 +8277,12 @@ public class Citation extends MetadataResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("name")) { - this.name = TypeConvertor.castToHumanName(value); // HumanName - } else if (name.equals("initials")) { - this.initials = TypeConvertor.castToString(value); // StringType - } else if (name.equals("collectiveName")) { - this.collectiveName = TypeConvertor.castToString(value); // StringType - } else if (name.equals("identifier")) { - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else if (name.equals("affiliationInfo")) { - this.getAffiliationInfo().add((CitationCitedArtifactContributorshipEntryAffiliationInfoComponent) value); - } else if (name.equals("address")) { - this.getAddress().add(TypeConvertor.castToAddress(value)); - } else if (name.equals("telecom")) { - this.getTelecom().add(TypeConvertor.castToContactPoint(value)); + if (name.equals("contributor")) { + this.contributor = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("forenameInitials")) { + this.forenameInitials = TypeConvertor.castToString(value); // StringType + } else if (name.equals("affiliation")) { + this.getAffiliation().add(TypeConvertor.castToReference(value)); } else if (name.equals("contributionType")) { this.getContributionType().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("role")) { @@ -7618,13 +8301,9 @@ public class Citation extends MetadataResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3373707: return getName(); - case 269062575: return getInitialsElement(); - case 502871833: return getCollectiveNameElement(); - case -1618432855: return addIdentifier(); - case -215129154: return addAffiliationInfo(); - case -1147692044: return addAddress(); - case -1429363305: return addTelecom(); + case -1895276325: return getContributor(); + case -740521962: return getForenameInitialsElement(); + case 2019918576: return addAffiliation(); case -1600446614: return addContributionType(); case 3506294: return getRole(); case -547910459: return addContributionInstance(); @@ -7638,13 +8317,9 @@ public class Citation extends MetadataResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3373707: /*name*/ return new String[] {"HumanName"}; - case 269062575: /*initials*/ return new String[] {"string"}; - case 502871833: /*collectiveName*/ return new String[] {"string"}; - case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - case -215129154: /*affiliationInfo*/ return new String[] {}; - case -1147692044: /*address*/ return new String[] {"Address"}; - case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; + case -1895276325: /*contributor*/ return new String[] {"Reference"}; + case -740521962: /*forenameInitials*/ return new String[] {"string"}; + case 2019918576: /*affiliation*/ return new String[] {"Reference"}; case -1600446614: /*contributionType*/ return new String[] {"CodeableConcept"}; case 3506294: /*role*/ return new String[] {"CodeableConcept"}; case -547910459: /*contributionInstance*/ return new String[] {}; @@ -7657,27 +8332,15 @@ public class Citation extends MetadataResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("name")) { - this.name = new HumanName(); - return this.name; + if (name.equals("contributor")) { + this.contributor = new Reference(); + return this.contributor; } - else if (name.equals("initials")) { - throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.contributorship.entry.initials"); + else if (name.equals("forenameInitials")) { + throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.contributorship.entry.forenameInitials"); } - else if (name.equals("collectiveName")) { - throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.contributorship.entry.collectiveName"); - } - else if (name.equals("identifier")) { - return addIdentifier(); - } - else if (name.equals("affiliationInfo")) { - return addAffiliationInfo(); - } - else if (name.equals("address")) { - return addAddress(); - } - else if (name.equals("telecom")) { - return addTelecom(); + else if (name.equals("affiliation")) { + return addAffiliation(); } else if (name.equals("contributionType")) { return addContributionType(); @@ -7707,28 +8370,12 @@ public class Citation extends MetadataResource { public void copyValues(CitationCitedArtifactContributorshipEntryComponent dst) { super.copyValues(dst); - dst.name = name == null ? null : name.copy(); - dst.initials = initials == null ? null : initials.copy(); - dst.collectiveName = collectiveName == null ? null : collectiveName.copy(); - if (identifier != null) { - dst.identifier = new ArrayList(); - for (Identifier i : identifier) - dst.identifier.add(i.copy()); - }; - if (affiliationInfo != null) { - dst.affiliationInfo = new ArrayList(); - for (CitationCitedArtifactContributorshipEntryAffiliationInfoComponent i : affiliationInfo) - dst.affiliationInfo.add(i.copy()); - }; - if (address != null) { - dst.address = new ArrayList
(); - for (Address i : address) - dst.address.add(i.copy()); - }; - if (telecom != null) { - dst.telecom = new ArrayList(); - for (ContactPoint i : telecom) - dst.telecom.add(i.copy()); + dst.contributor = contributor == null ? null : contributor.copy(); + dst.forenameInitials = forenameInitials == null ? null : forenameInitials.copy(); + if (affiliation != null) { + dst.affiliation = new ArrayList(); + for (Reference i : affiliation) + dst.affiliation.add(i.copy()); }; if (contributionType != null) { dst.contributionType = new ArrayList(); @@ -7752,9 +8399,8 @@ public class Citation extends MetadataResource { if (!(other_ instanceof CitationCitedArtifactContributorshipEntryComponent)) return false; CitationCitedArtifactContributorshipEntryComponent o = (CitationCitedArtifactContributorshipEntryComponent) other_; - return compareDeep(name, o.name, true) && compareDeep(initials, o.initials, true) && compareDeep(collectiveName, o.collectiveName, true) - && compareDeep(identifier, o.identifier, true) && compareDeep(affiliationInfo, o.affiliationInfo, true) - && compareDeep(address, o.address, true) && compareDeep(telecom, o.telecom, true) && compareDeep(contributionType, o.contributionType, true) + return compareDeep(contributor, o.contributor, true) && compareDeep(forenameInitials, o.forenameInitials, true) + && compareDeep(affiliation, o.affiliation, true) && compareDeep(contributionType, o.contributionType, true) && compareDeep(role, o.role, true) && compareDeep(contributionInstance, o.contributionInstance, true) && compareDeep(correspondingContact, o.correspondingContact, true) && compareDeep(rankingOrder, o.rankingOrder, true) ; @@ -7767,15 +8413,14 @@ public class Citation extends MetadataResource { if (!(other_ instanceof CitationCitedArtifactContributorshipEntryComponent)) return false; CitationCitedArtifactContributorshipEntryComponent o = (CitationCitedArtifactContributorshipEntryComponent) other_; - return compareValues(initials, o.initials, true) && compareValues(collectiveName, o.collectiveName, true) - && compareValues(correspondingContact, o.correspondingContact, true) && compareValues(rankingOrder, o.rankingOrder, true) - ; + return compareValues(forenameInitials, o.forenameInitials, true) && compareValues(correspondingContact, o.correspondingContact, true) + && compareValues(rankingOrder, o.rankingOrder, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, initials, collectiveName - , identifier, affiliationInfo, address, telecom, contributionType, role, contributionInstance - , correspondingContact, rankingOrder); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(contributor, forenameInitials + , affiliation, contributionType, role, contributionInstance, correspondingContact + , rankingOrder); } public String fhirType() { @@ -7783,335 +8428,6 @@ public class Citation extends MetadataResource { } - } - - @Block() - public static class CitationCitedArtifactContributorshipEntryAffiliationInfoComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Display for the organization. - */ - @Child(name = "affiliation", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Display for the organization", formalDefinition="Display for the organization." ) - protected StringType affiliation; - - /** - * Role within the organization, such as professional title. - */ - @Child(name = "role", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Role within the organization, such as professional title", formalDefinition="Role within the organization, such as professional title." ) - protected StringType role; - - /** - * Identifier for the organization. - */ - @Child(name = "identifier", type = {Identifier.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Identifier for the organization", formalDefinition="Identifier for the organization." ) - protected List identifier; - - private static final long serialVersionUID = 548335522L; - - /** - * Constructor - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent() { - super(); - } - - /** - * @return {@link #affiliation} (Display for the organization.). This is the underlying object with id, value and extensions. The accessor "getAffiliation" gives direct access to the value - */ - public StringType getAffiliationElement() { - if (this.affiliation == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryAffiliationInfoComponent.affiliation"); - else if (Configuration.doAutoCreate()) - this.affiliation = new StringType(); // bb - return this.affiliation; - } - - public boolean hasAffiliationElement() { - return this.affiliation != null && !this.affiliation.isEmpty(); - } - - public boolean hasAffiliation() { - return this.affiliation != null && !this.affiliation.isEmpty(); - } - - /** - * @param value {@link #affiliation} (Display for the organization.). This is the underlying object with id, value and extensions. The accessor "getAffiliation" gives direct access to the value - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent setAffiliationElement(StringType value) { - this.affiliation = value; - return this; - } - - /** - * @return Display for the organization. - */ - public String getAffiliation() { - return this.affiliation == null ? null : this.affiliation.getValue(); - } - - /** - * @param value Display for the organization. - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent setAffiliation(String value) { - if (Utilities.noString(value)) - this.affiliation = null; - else { - if (this.affiliation == null) - this.affiliation = new StringType(); - this.affiliation.setValue(value); - } - return this; - } - - /** - * @return {@link #role} (Role within the organization, such as professional title.). This is the underlying object with id, value and extensions. The accessor "getRole" gives direct access to the value - */ - public StringType getRoleElement() { - if (this.role == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipEntryAffiliationInfoComponent.role"); - else if (Configuration.doAutoCreate()) - this.role = new StringType(); // bb - return this.role; - } - - public boolean hasRoleElement() { - return this.role != null && !this.role.isEmpty(); - } - - public boolean hasRole() { - return this.role != null && !this.role.isEmpty(); - } - - /** - * @param value {@link #role} (Role within the organization, such as professional title.). This is the underlying object with id, value and extensions. The accessor "getRole" gives direct access to the value - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent setRoleElement(StringType value) { - this.role = value; - return this; - } - - /** - * @return Role within the organization, such as professional title. - */ - public String getRole() { - return this.role == null ? null : this.role.getValue(); - } - - /** - * @param value Role within the organization, such as professional title. - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent setRole(String value) { - if (Utilities.noString(value)) - this.role = null; - else { - if (this.role == null) - this.role = new StringType(); - this.role.setValue(value); - } - return this; - } - - /** - * @return {@link #identifier} (Identifier for the organization.) - */ - public List getIdentifier() { - if (this.identifier == null) - this.identifier = new ArrayList(); - return this.identifier; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent setIdentifier(List theIdentifier) { - this.identifier = theIdentifier; - return this; - } - - public boolean hasIdentifier() { - if (this.identifier == null) - return false; - for (Identifier item : this.identifier) - if (!item.isEmpty()) - return true; - return false; - } - - public Identifier addIdentifier() { //3 - Identifier t = new Identifier(); - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return t; - } - - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent addIdentifier(Identifier t) { //3 - if (t == null) - return this; - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} - */ - public Identifier getIdentifierFirstRep() { - if (getIdentifier().isEmpty()) { - addIdentifier(); - } - return getIdentifier().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("affiliation", "string", "Display for the organization.", 0, 1, affiliation)); - children.add(new Property("role", "string", "Role within the organization, such as professional title.", 0, 1, role)); - children.add(new Property("identifier", "Identifier", "Identifier for the organization.", 0, java.lang.Integer.MAX_VALUE, identifier)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 2019918576: /*affiliation*/ return new Property("affiliation", "string", "Display for the organization.", 0, 1, affiliation); - case 3506294: /*role*/ return new Property("role", "string", "Role within the organization, such as professional title.", 0, 1, role); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for the organization.", 0, java.lang.Integer.MAX_VALUE, identifier); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 2019918576: /*affiliation*/ return this.affiliation == null ? new Base[0] : new Base[] {this.affiliation}; // StringType - case 3506294: /*role*/ return this.role == null ? new Base[0] : new Base[] {this.role}; // StringType - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 2019918576: // affiliation - this.affiliation = TypeConvertor.castToString(value); // StringType - return value; - case 3506294: // role - this.role = TypeConvertor.castToString(value); // StringType - return value; - case -1618432855: // identifier - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("affiliation")) { - this.affiliation = TypeConvertor.castToString(value); // StringType - } else if (name.equals("role")) { - this.role = TypeConvertor.castToString(value); // StringType - } else if (name.equals("identifier")) { - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 2019918576: return getAffiliationElement(); - case 3506294: return getRoleElement(); - case -1618432855: return addIdentifier(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 2019918576: /*affiliation*/ return new String[] {"string"}; - case 3506294: /*role*/ return new String[] {"string"}; - case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("affiliation")) { - throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.contributorship.entry.affiliationInfo.affiliation"); - } - else if (name.equals("role")) { - throw new FHIRException("Cannot call addChild on a primitive type Citation.citedArtifact.contributorship.entry.affiliationInfo.role"); - } - else if (name.equals("identifier")) { - return addIdentifier(); - } - else - return super.addChild(name); - } - - public CitationCitedArtifactContributorshipEntryAffiliationInfoComponent copy() { - CitationCitedArtifactContributorshipEntryAffiliationInfoComponent dst = new CitationCitedArtifactContributorshipEntryAffiliationInfoComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(CitationCitedArtifactContributorshipEntryAffiliationInfoComponent dst) { - super.copyValues(dst); - dst.affiliation = affiliation == null ? null : affiliation.copy(); - dst.role = role == null ? null : role.copy(); - if (identifier != null) { - dst.identifier = new ArrayList(); - for (Identifier i : identifier) - dst.identifier.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof CitationCitedArtifactContributorshipEntryAffiliationInfoComponent)) - return false; - CitationCitedArtifactContributorshipEntryAffiliationInfoComponent o = (CitationCitedArtifactContributorshipEntryAffiliationInfoComponent) other_; - return compareDeep(affiliation, o.affiliation, true) && compareDeep(role, o.role, true) && compareDeep(identifier, o.identifier, true) - ; - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof CitationCitedArtifactContributorshipEntryAffiliationInfoComponent)) - return false; - CitationCitedArtifactContributorshipEntryAffiliationInfoComponent o = (CitationCitedArtifactContributorshipEntryAffiliationInfoComponent) other_; - return compareValues(affiliation, o.affiliation, true) && compareValues(role, o.role, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(affiliation, role, identifier - ); - } - - public String fhirType() { - return "Citation.citedArtifact.contributorship.entry.affiliationInfo"; - - } - } @Block() @@ -8349,7 +8665,7 @@ public class Citation extends MetadataResource { } @Block() - public static class CitationCitedArtifactContributorshipSummaryComponent extends BackboneElement implements IBaseBackboneElement { + public static class ContributorshipSummaryComponent extends BackboneElement implements IBaseBackboneElement { /** * Used most commonly to express an author list or a contributorship statement. */ @@ -8386,14 +8702,14 @@ public class Citation extends MetadataResource { /** * Constructor */ - public CitationCitedArtifactContributorshipSummaryComponent() { + public ContributorshipSummaryComponent() { super(); } /** * Constructor */ - public CitationCitedArtifactContributorshipSummaryComponent(String value) { + public ContributorshipSummaryComponent(String value) { super(); this.setValue(value); } @@ -8404,7 +8720,7 @@ public class Citation extends MetadataResource { public CodeableConcept getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipSummaryComponent.type"); + throw new Error("Attempt to auto-create ContributorshipSummaryComponent.type"); else if (Configuration.doAutoCreate()) this.type = new CodeableConcept(); // cc return this.type; @@ -8417,7 +8733,7 @@ public class Citation extends MetadataResource { /** * @param value {@link #type} (Used most commonly to express an author list or a contributorship statement.) */ - public CitationCitedArtifactContributorshipSummaryComponent setType(CodeableConcept value) { + public ContributorshipSummaryComponent setType(CodeableConcept value) { this.type = value; return this; } @@ -8428,7 +8744,7 @@ public class Citation extends MetadataResource { public CodeableConcept getStyle() { if (this.style == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipSummaryComponent.style"); + throw new Error("Attempt to auto-create ContributorshipSummaryComponent.style"); else if (Configuration.doAutoCreate()) this.style = new CodeableConcept(); // cc return this.style; @@ -8441,7 +8757,7 @@ public class Citation extends MetadataResource { /** * @param value {@link #style} (The format for the display string.) */ - public CitationCitedArtifactContributorshipSummaryComponent setStyle(CodeableConcept value) { + public ContributorshipSummaryComponent setStyle(CodeableConcept value) { this.style = value; return this; } @@ -8452,7 +8768,7 @@ public class Citation extends MetadataResource { public CodeableConcept getSource() { if (this.source == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipSummaryComponent.source"); + throw new Error("Attempt to auto-create ContributorshipSummaryComponent.source"); else if (Configuration.doAutoCreate()) this.source = new CodeableConcept(); // cc return this.source; @@ -8465,7 +8781,7 @@ public class Citation extends MetadataResource { /** * @param value {@link #source} (Used to code the producer or rule for creating the display string.) */ - public CitationCitedArtifactContributorshipSummaryComponent setSource(CodeableConcept value) { + public ContributorshipSummaryComponent setSource(CodeableConcept value) { this.source = value; return this; } @@ -8476,7 +8792,7 @@ public class Citation extends MetadataResource { public MarkdownType getValueElement() { if (this.value == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create CitationCitedArtifactContributorshipSummaryComponent.value"); + throw new Error("Attempt to auto-create ContributorshipSummaryComponent.value"); else if (Configuration.doAutoCreate()) this.value = new MarkdownType(); // bb return this.value; @@ -8493,7 +8809,7 @@ public class Citation extends MetadataResource { /** * @param value {@link #value} (The display string for the author list, contributor list, or contributorship statement.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value */ - public CitationCitedArtifactContributorshipSummaryComponent setValueElement(MarkdownType value) { + public ContributorshipSummaryComponent setValueElement(MarkdownType value) { this.value = value; return this; } @@ -8508,7 +8824,7 @@ public class Citation extends MetadataResource { /** * @param value The display string for the author list, contributor list, or contributorship statement. */ - public CitationCitedArtifactContributorshipSummaryComponent setValue(String value) { + public ContributorshipSummaryComponent setValue(String value) { if (this.value == null) this.value = new MarkdownType(); this.value.setValue(value); @@ -8627,13 +8943,13 @@ public class Citation extends MetadataResource { return super.addChild(name); } - public CitationCitedArtifactContributorshipSummaryComponent copy() { - CitationCitedArtifactContributorshipSummaryComponent dst = new CitationCitedArtifactContributorshipSummaryComponent(); + public ContributorshipSummaryComponent copy() { + ContributorshipSummaryComponent dst = new ContributorshipSummaryComponent(); copyValues(dst); return dst; } - public void copyValues(CitationCitedArtifactContributorshipSummaryComponent dst) { + public void copyValues(ContributorshipSummaryComponent dst) { super.copyValues(dst); dst.type = type == null ? null : type.copy(); dst.style = style == null ? null : style.copy(); @@ -8645,9 +8961,9 @@ public class Citation extends MetadataResource { public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof CitationCitedArtifactContributorshipSummaryComponent)) + if (!(other_ instanceof ContributorshipSummaryComponent)) return false; - CitationCitedArtifactContributorshipSummaryComponent o = (CitationCitedArtifactContributorshipSummaryComponent) other_; + ContributorshipSummaryComponent o = (ContributorshipSummaryComponent) other_; return compareDeep(type, o.type, true) && compareDeep(style, o.style, true) && compareDeep(source, o.source, true) && compareDeep(value, o.value, true); } @@ -8656,9 +8972,9 @@ public class Citation extends MetadataResource { public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof CitationCitedArtifactContributorshipSummaryComponent)) + if (!(other_ instanceof ContributorshipSummaryComponent)) return false; - CitationCitedArtifactContributorshipSummaryComponent o = (CitationCitedArtifactContributorshipSummaryComponent) other_; + ContributorshipSummaryComponent o = (ContributorshipSummaryComponent) other_; return compareValues(value, o.value, true); } @@ -10324,7 +10640,7 @@ public class Citation extends MetadataResource { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the citation. Topics provide a high-level categorization of the citation that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -10941,326 +11257,6 @@ public class Citation extends MetadataResource { return ResourceType.Citation; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the citation
- * Type: quantity
- * Path: (Citation.useContext.value as Quantity) | (Citation.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(Citation.useContext.value as Quantity) | (Citation.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the citation", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the citation
- * Type: quantity
- * Path: (Citation.useContext.value as Quantity) | (Citation.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the citation
- * Type: composite
- * Path: Citation.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="Citation.useContext", description="A use context type and quantity- or range-based value assigned to the citation", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the citation
- * Type: composite
- * Path: Citation.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the citation
- * Type: composite
- * Path: Citation.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="Citation.useContext", description="A use context type and value assigned to the citation", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the citation
- * Type: composite
- * Path: Citation.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the citation
- * Type: token
- * Path: Citation.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="Citation.useContext.code", description="A type of use context assigned to the citation", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the citation
- * Type: token
- * Path: Citation.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the citation
- * Type: token
- * Path: (Citation.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(Citation.useContext.value as CodeableConcept)", description="A use context assigned to the citation", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the citation
- * Type: token
- * Path: (Citation.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The citation publication date
- * Type: date
- * Path: Citation.date
- *

- */ - @SearchParamDefinition(name="date", path="Citation.date", description="The citation publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The citation publication date
- * Type: date
- * Path: Citation.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: The description of the citation
- * Type: string
- * Path: Citation.description
- *

- */ - @SearchParamDefinition(name="description", path="Citation.description", description="The description of the citation", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the citation
- * Type: string
- * Path: Citation.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the citation is intended to be in use
- * Type: date
- * Path: Citation.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="Citation.effectivePeriod", description="The time during which the citation is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the citation is intended to be in use
- * Type: date
- * Path: Citation.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the citation
- * Type: token
- * Path: Citation.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Citation.identifier", description="External identifier for the citation", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the citation
- * Type: token
- * Path: Citation.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the citation
- * Type: token
- * Path: Citation.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="Citation.jurisdiction", description="Intended jurisdiction for the citation", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the citation
- * Type: token
- * Path: Citation.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the citation
- * Type: string
- * Path: Citation.name
- *

- */ - @SearchParamDefinition(name="name", path="Citation.name", description="Computationally friendly name of the citation", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the citation
- * Type: string
- * Path: Citation.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the citation
- * Type: string
- * Path: Citation.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="Citation.publisher", description="Name of the publisher of the citation", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the citation
- * Type: string
- * Path: Citation.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the citation
- * Type: token
- * Path: Citation.status
- *

- */ - @SearchParamDefinition(name="status", path="Citation.status", description="The current status of the citation", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the citation
- * Type: token
- * Path: Citation.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the citation
- * Type: string
- * Path: Citation.title
- *

- */ - @SearchParamDefinition(name="title", path="Citation.title", description="The human-friendly name of the citation", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the citation
- * Type: string
- * Path: Citation.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the citation
- * Type: uri
- * Path: Citation.url
- *

- */ - @SearchParamDefinition(name="url", path="Citation.url", description="The uri that identifies the citation", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the citation
- * Type: uri
- * Path: Citation.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the citation
- * Type: token
- * Path: Citation.version
- *

- */ - @SearchParamDefinition(name="version", path="Citation.version", description="The business version of the citation", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the citation
- * Type: token
- * Path: Citation.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Claim.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Claim.java index 1d410108b..5b18e1820 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Claim.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Claim.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -8242,418 +8242,6 @@ public class Claim extends DomainResource { return ResourceType.Claim; } - /** - * Search parameter: care-team - *

- * Description: Member of the CareTeam
- * Type: reference
- * Path: Claim.careTeam.provider
- *

- */ - @SearchParamDefinition(name="care-team", path="Claim.careTeam.provider", description="Member of the CareTeam", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_CARE_TEAM = "care-team"; - /** - * Fluent Client search parameter constant for care-team - *

- * Description: Member of the CareTeam
- * Type: reference
- * Path: Claim.careTeam.provider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CARE_TEAM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CARE_TEAM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:care-team". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CARE_TEAM = new ca.uhn.fhir.model.api.Include("Claim:care-team").toLocked(); - - /** - * Search parameter: created - *

- * Description: The creation date for the Claim
- * Type: date
- * Path: Claim.created
- *

- */ - @SearchParamDefinition(name="created", path="Claim.created", description="The creation date for the Claim", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: The creation date for the Claim
- * Type: date
- * Path: Claim.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: detail-udi - *

- * Description: UDI associated with a line item, detail product or service
- * Type: reference
- * Path: Claim.item.detail.udi
- *

- */ - @SearchParamDefinition(name="detail-udi", path="Claim.item.detail.udi", description="UDI associated with a line item, detail product or service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_DETAIL_UDI = "detail-udi"; - /** - * Fluent Client search parameter constant for detail-udi - *

- * Description: UDI associated with a line item, detail product or service
- * Type: reference
- * Path: Claim.item.detail.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DETAIL_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DETAIL_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:detail-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DETAIL_UDI = new ca.uhn.fhir.model.api.Include("Claim:detail-udi").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: Encounters associated with a billed line item
- * Type: reference
- * Path: Claim.item.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Claim.item.encounter", description="Encounters associated with a billed line item", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Encounters associated with a billed line item
- * Type: reference
- * Path: Claim.item.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Claim:encounter").toLocked(); - - /** - * Search parameter: enterer - *

- * Description: The party responsible for the entry of the Claim
- * Type: reference
- * Path: Claim.enterer
- *

- */ - @SearchParamDefinition(name="enterer", path="Claim.enterer", description="The party responsible for the entry of the Claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_ENTERER = "enterer"; - /** - * Fluent Client search parameter constant for enterer - *

- * Description: The party responsible for the entry of the Claim
- * Type: reference
- * Path: Claim.enterer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTERER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTERER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:enterer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTERER = new ca.uhn.fhir.model.api.Include("Claim:enterer").toLocked(); - - /** - * Search parameter: facility - *

- * Description: Facility where the products or services have been or will be provided
- * Type: reference
- * Path: Claim.facility
- *

- */ - @SearchParamDefinition(name="facility", path="Claim.facility", description="Facility where the products or services have been or will be provided", type="reference", target={Location.class } ) - public static final String SP_FACILITY = "facility"; - /** - * Fluent Client search parameter constant for facility - *

- * Description: Facility where the products or services have been or will be provided
- * Type: reference
- * Path: Claim.facility
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FACILITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FACILITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:facility". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FACILITY = new ca.uhn.fhir.model.api.Include("Claim:facility").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: The primary identifier of the financial resource
- * Type: token
- * Path: Claim.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Claim.identifier", description="The primary identifier of the financial resource", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The primary identifier of the financial resource
- * Type: token
- * Path: Claim.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: insurer - *

- * Description: The target payor/insurer for the Claim
- * Type: reference
- * Path: Claim.insurer
- *

- */ - @SearchParamDefinition(name="insurer", path="Claim.insurer", description="The target payor/insurer for the Claim", type="reference", target={Organization.class } ) - public static final String SP_INSURER = "insurer"; - /** - * Fluent Client search parameter constant for insurer - *

- * Description: The target payor/insurer for the Claim
- * Type: reference
- * Path: Claim.insurer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSURER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSURER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:insurer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSURER = new ca.uhn.fhir.model.api.Include("Claim:insurer").toLocked(); - - /** - * Search parameter: item-udi - *

- * Description: UDI associated with a line item product or service
- * Type: reference
- * Path: Claim.item.udi
- *

- */ - @SearchParamDefinition(name="item-udi", path="Claim.item.udi", description="UDI associated with a line item product or service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_ITEM_UDI = "item-udi"; - /** - * Fluent Client search parameter constant for item-udi - *

- * Description: UDI associated with a line item product or service
- * Type: reference
- * Path: Claim.item.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:item-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM_UDI = new ca.uhn.fhir.model.api.Include("Claim:item-udi").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Patient receiving the products or services
- * Type: reference
- * Path: Claim.patient
- *

- */ - @SearchParamDefinition(name="patient", path="Claim.patient", description="Patient receiving the products or services", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Patient receiving the products or services
- * Type: reference
- * Path: Claim.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Claim:patient").toLocked(); - - /** - * Search parameter: payee - *

- * Description: The party receiving any payment for the Claim
- * Type: reference
- * Path: Claim.payee.party
- *

- */ - @SearchParamDefinition(name="payee", path="Claim.payee.party", description="The party receiving any payment for the Claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PAYEE = "payee"; - /** - * Fluent Client search parameter constant for payee - *

- * Description: The party receiving any payment for the Claim
- * Type: reference
- * Path: Claim.payee.party
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PAYEE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PAYEE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:payee". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PAYEE = new ca.uhn.fhir.model.api.Include("Claim:payee").toLocked(); - - /** - * Search parameter: priority - *

- * Description: Processing priority requested
- * Type: token
- * Path: Claim.priority
- *

- */ - @SearchParamDefinition(name="priority", path="Claim.priority", description="Processing priority requested", type="token" ) - public static final String SP_PRIORITY = "priority"; - /** - * Fluent Client search parameter constant for priority - *

- * Description: Processing priority requested
- * Type: token
- * Path: Claim.priority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRIORITY); - - /** - * Search parameter: procedure-udi - *

- * Description: UDI associated with a procedure
- * Type: reference
- * Path: Claim.procedure.udi
- *

- */ - @SearchParamDefinition(name="procedure-udi", path="Claim.procedure.udi", description="UDI associated with a procedure", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_PROCEDURE_UDI = "procedure-udi"; - /** - * Fluent Client search parameter constant for procedure-udi - *

- * Description: UDI associated with a procedure
- * Type: reference
- * Path: Claim.procedure.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROCEDURE_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROCEDURE_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:procedure-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROCEDURE_UDI = new ca.uhn.fhir.model.api.Include("Claim:procedure-udi").toLocked(); - - /** - * Search parameter: provider - *

- * Description: Provider responsible for the Claim
- * Type: reference
- * Path: Claim.provider
- *

- */ - @SearchParamDefinition(name="provider", path="Claim.provider", description="Provider responsible for the Claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PROVIDER = "provider"; - /** - * Fluent Client search parameter constant for provider - *

- * Description: Provider responsible for the Claim
- * Type: reference
- * Path: Claim.provider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROVIDER = new ca.uhn.fhir.model.api.Include("Claim:provider").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the Claim instance.
- * Type: token
- * Path: Claim.status
- *

- */ - @SearchParamDefinition(name="status", path="Claim.status", description="The status of the Claim instance.", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the Claim instance.
- * Type: token
- * Path: Claim.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subdetail-udi - *

- * Description: UDI associated with a line item, detail, subdetail product or service
- * Type: reference
- * Path: Claim.item.detail.subDetail.udi
- *

- */ - @SearchParamDefinition(name="subdetail-udi", path="Claim.item.detail.subDetail.udi", description="UDI associated with a line item, detail, subdetail product or service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_SUBDETAIL_UDI = "subdetail-udi"; - /** - * Fluent Client search parameter constant for subdetail-udi - *

- * Description: UDI associated with a line item, detail, subdetail product or service
- * Type: reference
- * Path: Claim.item.detail.subDetail.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBDETAIL_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBDETAIL_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Claim:subdetail-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBDETAIL_UDI = new ca.uhn.fhir.model.api.Include("Claim:subdetail-udi").toLocked(); - - /** - * Search parameter: use - *

- * Description: The kind of financial resource
- * Type: token
- * Path: Claim.use
- *

- */ - @SearchParamDefinition(name="use", path="Claim.use", description="The kind of financial resource", type="token" ) - public static final String SP_USE = "use"; - /** - * Fluent Client search parameter constant for use - *

- * Description: The kind of financial resource
- * Type: token
- * Path: Claim.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_USE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClaimResponse.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClaimResponse.java index bb7a6012f..a7c6fda29 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClaimResponse.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClaimResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -8016,250 +8016,6 @@ public class ClaimResponse extends DomainResource { return ResourceType.ClaimResponse; } - /** - * Search parameter: created - *

- * Description: The creation date
- * Type: date
- * Path: ClaimResponse.created
- *

- */ - @SearchParamDefinition(name="created", path="ClaimResponse.created", description="The creation date", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: The creation date
- * Type: date
- * Path: ClaimResponse.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: ClaimResponse.disposition
- *

- */ - @SearchParamDefinition(name="disposition", path="ClaimResponse.disposition", description="The contents of the disposition message", type="string" ) - public static final String SP_DISPOSITION = "disposition"; - /** - * Fluent Client search parameter constant for disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: ClaimResponse.disposition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DISPOSITION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DISPOSITION); - - /** - * Search parameter: identifier - *

- * Description: The identity of the ClaimResponse
- * Type: token
- * Path: ClaimResponse.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ClaimResponse.identifier", description="The identity of the ClaimResponse", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The identity of the ClaimResponse
- * Type: token
- * Path: ClaimResponse.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: insurer - *

- * Description: The organization which generated this resource
- * Type: reference
- * Path: ClaimResponse.insurer
- *

- */ - @SearchParamDefinition(name="insurer", path="ClaimResponse.insurer", description="The organization which generated this resource", type="reference", target={Organization.class } ) - public static final String SP_INSURER = "insurer"; - /** - * Fluent Client search parameter constant for insurer - *

- * Description: The organization which generated this resource
- * Type: reference
- * Path: ClaimResponse.insurer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSURER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSURER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClaimResponse:insurer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSURER = new ca.uhn.fhir.model.api.Include("ClaimResponse:insurer").toLocked(); - - /** - * Search parameter: outcome - *

- * Description: The processing outcome
- * Type: token
- * Path: ClaimResponse.outcome
- *

- */ - @SearchParamDefinition(name="outcome", path="ClaimResponse.outcome", description="The processing outcome", type="token" ) - public static final String SP_OUTCOME = "outcome"; - /** - * Fluent Client search parameter constant for outcome - *

- * Description: The processing outcome
- * Type: token
- * Path: ClaimResponse.outcome
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam OUTCOME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_OUTCOME); - - /** - * Search parameter: patient - *

- * Description: The subject of care
- * Type: reference
- * Path: ClaimResponse.patient
- *

- */ - @SearchParamDefinition(name="patient", path="ClaimResponse.patient", description="The subject of care", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The subject of care
- * Type: reference
- * Path: ClaimResponse.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClaimResponse:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ClaimResponse:patient").toLocked(); - - /** - * Search parameter: payment-date - *

- * Description: The expected payment date
- * Type: date
- * Path: ClaimResponse.payment.date
- *

- */ - @SearchParamDefinition(name="payment-date", path="ClaimResponse.payment.date", description="The expected payment date", type="date" ) - public static final String SP_PAYMENT_DATE = "payment-date"; - /** - * Fluent Client search parameter constant for payment-date - *

- * Description: The expected payment date
- * Type: date
- * Path: ClaimResponse.payment.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PAYMENT_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PAYMENT_DATE); - - /** - * Search parameter: request - *

- * Description: The claim reference
- * Type: reference
- * Path: ClaimResponse.request
- *

- */ - @SearchParamDefinition(name="request", path="ClaimResponse.request", description="The claim reference", type="reference", target={Claim.class } ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The claim reference
- * Type: reference
- * Path: ClaimResponse.request
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClaimResponse:request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("ClaimResponse:request").toLocked(); - - /** - * Search parameter: requestor - *

- * Description: The Provider of the claim
- * Type: reference
- * Path: ClaimResponse.requestor
- *

- */ - @SearchParamDefinition(name="requestor", path="ClaimResponse.requestor", description="The Provider of the claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_REQUESTOR = "requestor"; - /** - * Fluent Client search parameter constant for requestor - *

- * Description: The Provider of the claim
- * Type: reference
- * Path: ClaimResponse.requestor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClaimResponse:requestor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTOR = new ca.uhn.fhir.model.api.Include("ClaimResponse:requestor").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the ClaimResponse
- * Type: token
- * Path: ClaimResponse.status
- *

- */ - @SearchParamDefinition(name="status", path="ClaimResponse.status", description="The status of the ClaimResponse", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the ClaimResponse
- * Type: token
- * Path: ClaimResponse.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: use - *

- * Description: The type of claim
- * Type: token
- * Path: ClaimResponse.use
- *

- */ - @SearchParamDefinition(name="use", path="ClaimResponse.use", description="The type of claim", type="token" ) - public static final String SP_USE = "use"; - /** - * Fluent Client search parameter constant for use - *

- * Description: The type of claim
- * Type: token
- * Path: ClaimResponse.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_USE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalImpression.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalImpression.java index 1a95cb654..996bc0e53 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalImpression.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalImpression.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1636,400 +1636,6 @@ public class ClinicalImpression extends DomainResource { return ResourceType.ClinicalImpression; } - /** - * Search parameter: encounter - *

- * Description: The Encounter during which this ClinicalImpression was created
- * Type: reference
- * Path: ClinicalImpression.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="ClinicalImpression.encounter", description="The Encounter during which this ClinicalImpression was created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The Encounter during which this ClinicalImpression was created
- * Type: reference
- * Path: ClinicalImpression.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("ClinicalImpression:encounter").toLocked(); - - /** - * Search parameter: finding-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: ClinicalImpression.finding.item.concept
- *

- */ - @SearchParamDefinition(name="finding-code", path="ClinicalImpression.finding.item.concept", description="Reference to a concept (by class)", type="token" ) - public static final String SP_FINDING_CODE = "finding-code"; - /** - * Fluent Client search parameter constant for finding-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: ClinicalImpression.finding.item.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FINDING_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FINDING_CODE); - - /** - * Search parameter: finding-ref - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: ClinicalImpression.finding.item.reference
- *

- */ - @SearchParamDefinition(name="finding-ref", path="ClinicalImpression.finding.item.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_FINDING_REF = "finding-ref"; - /** - * Fluent Client search parameter constant for finding-ref - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: ClinicalImpression.finding.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FINDING_REF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FINDING_REF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:finding-ref". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FINDING_REF = new ca.uhn.fhir.model.api.Include("ClinicalImpression:finding-ref").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Business identifier
- * Type: token
- * Path: ClinicalImpression.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ClinicalImpression.identifier", description="Business identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier
- * Type: token
- * Path: ClinicalImpression.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: performer - *

- * Description: The clinician performing the assessment
- * Type: reference
- * Path: ClinicalImpression.performer
- *

- */ - @SearchParamDefinition(name="performer", path="ClinicalImpression.performer", description="The clinician performing the assessment", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: The clinician performing the assessment
- * Type: reference
- * Path: ClinicalImpression.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("ClinicalImpression:performer").toLocked(); - - /** - * Search parameter: previous - *

- * Description: Reference to last assessment
- * Type: reference
- * Path: ClinicalImpression.previous
- *

- */ - @SearchParamDefinition(name="previous", path="ClinicalImpression.previous", description="Reference to last assessment", type="reference", target={ClinicalImpression.class } ) - public static final String SP_PREVIOUS = "previous"; - /** - * Fluent Client search parameter constant for previous - *

- * Description: Reference to last assessment
- * Type: reference
- * Path: ClinicalImpression.previous
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREVIOUS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREVIOUS); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:previous". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREVIOUS = new ca.uhn.fhir.model.api.Include("ClinicalImpression:previous").toLocked(); - - /** - * Search parameter: problem - *

- * Description: Relevant impressions of patient state
- * Type: reference
- * Path: ClinicalImpression.problem
- *

- */ - @SearchParamDefinition(name="problem", path="ClinicalImpression.problem", description="Relevant impressions of patient state", type="reference", target={AllergyIntolerance.class, Condition.class } ) - public static final String SP_PROBLEM = "problem"; - /** - * Fluent Client search parameter constant for problem - *

- * Description: Relevant impressions of patient state
- * Type: reference
- * Path: ClinicalImpression.problem
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROBLEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROBLEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:problem". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROBLEM = new ca.uhn.fhir.model.api.Include("ClinicalImpression:problem").toLocked(); - - /** - * Search parameter: status - *

- * Description: preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- * Type: token
- * Path: ClinicalImpression.status
- *

- */ - @SearchParamDefinition(name="status", path="ClinicalImpression.status", description="preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- * Type: token
- * Path: ClinicalImpression.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Patient or group assessed
- * Type: reference
- * Path: ClinicalImpression.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ClinicalImpression.subject", description="Patient or group assessed", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Patient or group assessed
- * Type: reference
- * Path: ClinicalImpression.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ClinicalImpression:subject").toLocked(); - - /** - * Search parameter: supporting-info - *

- * Description: Information supporting the clinical impression
- * Type: reference
- * Path: ClinicalImpression.supportingInfo
- *

- */ - @SearchParamDefinition(name="supporting-info", path="ClinicalImpression.supportingInfo", description="Information supporting the clinical impression", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUPPORTING_INFO = "supporting-info"; - /** - * Fluent Client search parameter constant for supporting-info - *

- * Description: Information supporting the clinical impression
- * Type: reference
- * Path: ClinicalImpression.supportingInfo
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPORTING_INFO = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPORTING_INFO); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:supporting-info". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPORTING_INFO = new ca.uhn.fhir.model.api.Include("ClinicalImpression:supporting-info").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalImpression:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ClinicalImpression:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseDefinition.java index 356c54301..45b777aa7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,6 +53,150 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="ClinicalUseDefinition", profile="http://hl7.org/fhir/StructureDefinition/ClinicalUseDefinition") public class ClinicalUseDefinition extends DomainResource { + public enum ClinicalUseDefinitionType { + /** + * A reason for giving the medication. + */ + INDICATION, + /** + * A reason for not giving the medication. + */ + CONTRAINDICATION, + /** + * Interactions between the medication and other substances. + */ + INTERACTION, + /** + * Side effects or adverse effects associated with the medication. + */ + UNDESIRABLEEFFECT, + /** + * A general warning or issue that is not specifically one of the other types. + */ + WARNING, + /** + * added to help the parsers with the generic types + */ + NULL; + public static ClinicalUseDefinitionType fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("indication".equals(codeString)) + return INDICATION; + if ("contraindication".equals(codeString)) + return CONTRAINDICATION; + if ("interaction".equals(codeString)) + return INTERACTION; + if ("undesirable-effect".equals(codeString)) + return UNDESIRABLEEFFECT; + if ("warning".equals(codeString)) + return WARNING; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown ClinicalUseDefinitionType code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case INDICATION: return "indication"; + case CONTRAINDICATION: return "contraindication"; + case INTERACTION: return "interaction"; + case UNDESIRABLEEFFECT: return "undesirable-effect"; + case WARNING: return "warning"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case INDICATION: return "http://hl7.org/fhir/clinical-use-definition-type"; + case CONTRAINDICATION: return "http://hl7.org/fhir/clinical-use-definition-type"; + case INTERACTION: return "http://hl7.org/fhir/clinical-use-definition-type"; + case UNDESIRABLEEFFECT: return "http://hl7.org/fhir/clinical-use-definition-type"; + case WARNING: return "http://hl7.org/fhir/clinical-use-definition-type"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case INDICATION: return "A reason for giving the medication."; + case CONTRAINDICATION: return "A reason for not giving the medication."; + case INTERACTION: return "Interactions between the medication and other substances."; + case UNDESIRABLEEFFECT: return "Side effects or adverse effects associated with the medication."; + case WARNING: return "A general warning or issue that is not specifically one of the other types."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case INDICATION: return "Indication"; + case CONTRAINDICATION: return "Contraindication"; + case INTERACTION: return "Interaction"; + case UNDESIRABLEEFFECT: return "Undesirable Effect"; + case WARNING: return "Warning"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class ClinicalUseDefinitionTypeEnumFactory implements EnumFactory { + public ClinicalUseDefinitionType fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("indication".equals(codeString)) + return ClinicalUseDefinitionType.INDICATION; + if ("contraindication".equals(codeString)) + return ClinicalUseDefinitionType.CONTRAINDICATION; + if ("interaction".equals(codeString)) + return ClinicalUseDefinitionType.INTERACTION; + if ("undesirable-effect".equals(codeString)) + return ClinicalUseDefinitionType.UNDESIRABLEEFFECT; + if ("warning".equals(codeString)) + return ClinicalUseDefinitionType.WARNING; + throw new IllegalArgumentException("Unknown ClinicalUseDefinitionType code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("indication".equals(codeString)) + return new Enumeration(this, ClinicalUseDefinitionType.INDICATION); + if ("contraindication".equals(codeString)) + return new Enumeration(this, ClinicalUseDefinitionType.CONTRAINDICATION); + if ("interaction".equals(codeString)) + return new Enumeration(this, ClinicalUseDefinitionType.INTERACTION); + if ("undesirable-effect".equals(codeString)) + return new Enumeration(this, ClinicalUseDefinitionType.UNDESIRABLEEFFECT); + if ("warning".equals(codeString)) + return new Enumeration(this, ClinicalUseDefinitionType.WARNING); + throw new FHIRException("Unknown ClinicalUseDefinitionType code '"+codeString+"'"); + } + public String toCode(ClinicalUseDefinitionType code) { + if (code == ClinicalUseDefinitionType.INDICATION) + return "indication"; + if (code == ClinicalUseDefinitionType.CONTRAINDICATION) + return "contraindication"; + if (code == ClinicalUseDefinitionType.INTERACTION) + return "interaction"; + if (code == ClinicalUseDefinitionType.UNDESIRABLEEFFECT) + return "undesirable-effect"; + if (code == ClinicalUseDefinitionType.WARNING) + return "warning"; + return "?"; + } + public String toSystem(ClinicalUseDefinitionType code) { + return code.getSystem(); + } + } + @Block() public static class ClinicalUseDefinitionContraindicationComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -60,13 +204,15 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "diseaseSymptomProcedure", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The situation that is being documented as contraindicating against this item", formalDefinition="The situation that is being documented as contraindicating against this item." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/disease-symptom-procedure") protected CodeableReference diseaseSymptomProcedure; /** - * The status of the disease or symptom for the contraindication. + * The status of the disease or symptom for the contraindication, for example "chronic" or "metastatic". */ @Child(name = "diseaseStatus", type = {CodeableReference.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status of the disease or symptom for the contraindication", formalDefinition="The status of the disease or symptom for the contraindication." ) + @Description(shortDefinition="The status of the disease or symptom for the contraindication", formalDefinition="The status of the disease or symptom for the contraindication, for example \"chronic\" or \"metastatic\"." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/disease-status") protected CodeableReference diseaseStatus; /** @@ -74,6 +220,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "comorbidity", type = {CodeableReference.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="A comorbidity (concurrent condition) or coinfection", formalDefinition="A comorbidity (concurrent condition) or coinfection." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/disease-symptom-procedure") protected List comorbidity; /** @@ -87,7 +234,7 @@ public class ClinicalUseDefinition extends DomainResource { * Information about the use of the medicinal product in relation to other therapies described as part of the contraindication. */ @Child(name = "otherTherapy", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the contraindication", formalDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the contraindication." ) + @Description(shortDefinition="Information about use of the product in relation to other therapies described as part of the contraindication", formalDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the contraindication." ) protected List otherTherapy; private static final long serialVersionUID = 832395863L; @@ -124,7 +271,7 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @return {@link #diseaseStatus} (The status of the disease or symptom for the contraindication.) + * @return {@link #diseaseStatus} (The status of the disease or symptom for the contraindication, for example "chronic" or "metastatic".) */ public CodeableReference getDiseaseStatus() { if (this.diseaseStatus == null) @@ -140,7 +287,7 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @param value {@link #diseaseStatus} (The status of the disease or symptom for the contraindication.) + * @param value {@link #diseaseStatus} (The status of the disease or symptom for the contraindication, for example "chronic" or "metastatic".) */ public ClinicalUseDefinitionContraindicationComponent setDiseaseStatus(CodeableReference value) { this.diseaseStatus = value; @@ -309,7 +456,7 @@ public class ClinicalUseDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as contraindicating against this item.", 0, 1, diseaseSymptomProcedure)); - children.add(new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the contraindication.", 0, 1, diseaseStatus)); + children.add(new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the contraindication, for example \"chronic\" or \"metastatic\".", 0, 1, diseaseStatus)); children.add(new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection.", 0, java.lang.Integer.MAX_VALUE, comorbidity)); children.add(new Property("indication", "Reference(ClinicalUseDefinition)", "The indication which this is a contraidication for.", 0, java.lang.Integer.MAX_VALUE, indication)); children.add(new Property("otherTherapy", "", "Information about the use of the medicinal product in relation to other therapies described as part of the contraindication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy)); @@ -319,7 +466,7 @@ public class ClinicalUseDefinition extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1497395130: /*diseaseSymptomProcedure*/ return new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as contraindicating against this item.", 0, 1, diseaseSymptomProcedure); - case -505503602: /*diseaseStatus*/ return new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the contraindication.", 0, 1, diseaseStatus); + case -505503602: /*diseaseStatus*/ return new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the contraindication, for example \"chronic\" or \"metastatic\".", 0, 1, diseaseStatus); case -406395211: /*comorbidity*/ return new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection.", 0, java.lang.Integer.MAX_VALUE, comorbidity); case -597168804: /*indication*/ return new Property("indication", "Reference(ClinicalUseDefinition)", "The indication which this is a contraidication for.", 0, java.lang.Integer.MAX_VALUE, indication); case -544509127: /*otherTherapy*/ return new Property("otherTherapy", "", "Information about the use of the medicinal product in relation to other therapies described as part of the contraindication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy); @@ -497,7 +644,7 @@ public class ClinicalUseDefinition extends DomainResource { * The type of relationship between the medicinal product indication or contraindication and another therapy. */ @Child(name = "relationshipType", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="The type of relationship between the medicinal product indication or contraindication and another therapy", formalDefinition="The type of relationship between the medicinal product indication or contraindication and another therapy." ) + @Description(shortDefinition="The type of relationship between the product indication/contraindication and another therapy", formalDefinition="The type of relationship between the medicinal product indication or contraindication and another therapy." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/therapy-relationship-type") protected CodeableConcept relationshipType; @@ -505,7 +652,8 @@ public class ClinicalUseDefinition extends DomainResource { * Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication. */ @Child(name = "therapy", type = {CodeableReference.class}, order=2, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication", formalDefinition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication." ) + @Description(shortDefinition="Reference to a specific medication as part of an indication or contraindication", formalDefinition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/therapy") protected CodeableReference therapy; private static final long serialVersionUID = -363440718L; @@ -711,20 +859,23 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "diseaseSymptomProcedure", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The situation that is being documented as an indicaton for this item", formalDefinition="The situation that is being documented as an indicaton for this item." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/disease-symptom-procedure") protected CodeableReference diseaseSymptomProcedure; /** - * The status of the disease or symptom for the indication. + * The status of the disease or symptom for the indication, for example "chronic" or "metastatic". */ @Child(name = "diseaseStatus", type = {CodeableReference.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status of the disease or symptom for the indication", formalDefinition="The status of the disease or symptom for the indication." ) + @Description(shortDefinition="The status of the disease or symptom for the indication", formalDefinition="The status of the disease or symptom for the indication, for example \"chronic\" or \"metastatic\"." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/disease-status") protected CodeableReference diseaseStatus; /** * A comorbidity (concurrent condition) or coinfection as part of the indication. */ @Child(name = "comorbidity", type = {CodeableReference.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A comorbidity (concurrent condition) or coinfection as part of the indication", formalDefinition="A comorbidity (concurrent condition) or coinfection as part of the indication." ) + @Description(shortDefinition="A comorbidity or coinfection as part of the indication", formalDefinition="A comorbidity (concurrent condition) or coinfection as part of the indication." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/disease-symptom-procedure") protected List comorbidity; /** @@ -732,30 +883,31 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "intendedEffect", type = {CodeableReference.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The intended effect, aim or strategy to be achieved", formalDefinition="The intended effect, aim or strategy to be achieved." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-intended-use") protected CodeableReference intendedEffect; /** - * Timing or duration information. + * Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months). */ - @Child(name = "duration", type = {Quantity.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Timing or duration information", formalDefinition="Timing or duration information." ) - protected Quantity duration; + @Child(name = "duration", type = {Range.class, StringType.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Timing or duration information", formalDefinition="Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months)." ) + protected DataType duration; /** - * The specific undesirable effects of the medicinal product. + * An unwanted side effect or negative outcome that may happen if you use the drug (or other subject of this resource) for this indication. */ @Child(name = "undesirableEffect", type = {ClinicalUseDefinition.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The specific undesirable effects of the medicinal product", formalDefinition="The specific undesirable effects of the medicinal product." ) + @Description(shortDefinition="An unwanted side effect or negative outcome of the subject of this resource when being used for this indication", formalDefinition="An unwanted side effect or negative outcome that may happen if you use the drug (or other subject of this resource) for this indication." ) protected List undesirableEffect; /** * Information about the use of the medicinal product in relation to other therapies described as part of the indication. */ @Child(name = "otherTherapy", type = {ClinicalUseDefinitionContraindicationOtherTherapyComponent.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the indication", formalDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the indication." ) + @Description(shortDefinition="The use of the medicinal product in relation to other therapies described as part of the indication", formalDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the indication." ) protected List otherTherapy; - private static final long serialVersionUID = 1882904823L; + private static final long serialVersionUID = 975137264L; /** * Constructor @@ -789,7 +941,7 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @return {@link #diseaseStatus} (The status of the disease or symptom for the indication.) + * @return {@link #diseaseStatus} (The status of the disease or symptom for the indication, for example "chronic" or "metastatic".) */ public CodeableReference getDiseaseStatus() { if (this.diseaseStatus == null) @@ -805,7 +957,7 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @param value {@link #diseaseStatus} (The status of the disease or symptom for the indication.) + * @param value {@link #diseaseStatus} (The status of the disease or symptom for the indication, for example "chronic" or "metastatic".) */ public ClinicalUseDefinitionIndicationComponent setDiseaseStatus(CodeableReference value) { this.diseaseStatus = value; @@ -890,31 +1042,58 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @return {@link #duration} (Timing or duration information.) + * @return {@link #duration} (Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).) */ - public Quantity getDuration() { - if (this.duration == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseDefinitionIndicationComponent.duration"); - else if (Configuration.doAutoCreate()) - this.duration = new Quantity(); // cc + public DataType getDuration() { return this.duration; } + /** + * @return {@link #duration} (Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).) + */ + public Range getDurationRange() throws FHIRException { + if (this.duration == null) + this.duration = new Range(); + if (!(this.duration instanceof Range)) + throw new FHIRException("Type mismatch: the type Range was expected, but "+this.duration.getClass().getName()+" was encountered"); + return (Range) this.duration; + } + + public boolean hasDurationRange() { + return this != null && this.duration instanceof Range; + } + + /** + * @return {@link #duration} (Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).) + */ + public StringType getDurationStringType() throws FHIRException { + if (this.duration == null) + this.duration = new StringType(); + if (!(this.duration instanceof StringType)) + throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.duration.getClass().getName()+" was encountered"); + return (StringType) this.duration; + } + + public boolean hasDurationStringType() { + return this != null && this.duration instanceof StringType; + } + public boolean hasDuration() { return this.duration != null && !this.duration.isEmpty(); } /** - * @param value {@link #duration} (Timing or duration information.) + * @param value {@link #duration} (Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).) */ - public ClinicalUseDefinitionIndicationComponent setDuration(Quantity value) { + public ClinicalUseDefinitionIndicationComponent setDuration(DataType value) { + if (value != null && !(value instanceof Range || value instanceof StringType)) + throw new Error("Not the right type for ClinicalUseDefinition.indication.duration[x]: "+value.fhirType()); this.duration = value; return this; } /** - * @return {@link #undesirableEffect} (The specific undesirable effects of the medicinal product.) + * @return {@link #undesirableEffect} (An unwanted side effect or negative outcome that may happen if you use the drug (or other subject of this resource) for this indication.) */ public List getUndesirableEffect() { if (this.undesirableEffect == null) @@ -1022,11 +1201,11 @@ public class ClinicalUseDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as an indicaton for this item.", 0, 1, diseaseSymptomProcedure)); - children.add(new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the indication.", 0, 1, diseaseStatus)); + children.add(new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the indication, for example \"chronic\" or \"metastatic\".", 0, 1, diseaseStatus)); children.add(new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection as part of the indication.", 0, java.lang.Integer.MAX_VALUE, comorbidity)); children.add(new Property("intendedEffect", "CodeableReference(ObservationDefinition)", "The intended effect, aim or strategy to be achieved.", 0, 1, intendedEffect)); - children.add(new Property("duration", "Quantity", "Timing or duration information.", 0, 1, duration)); - children.add(new Property("undesirableEffect", "Reference(ClinicalUseDefinition)", "The specific undesirable effects of the medicinal product.", 0, java.lang.Integer.MAX_VALUE, undesirableEffect)); + children.add(new Property("duration[x]", "Range|string", "Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).", 0, 1, duration)); + children.add(new Property("undesirableEffect", "Reference(ClinicalUseDefinition)", "An unwanted side effect or negative outcome that may happen if you use the drug (or other subject of this resource) for this indication.", 0, java.lang.Integer.MAX_VALUE, undesirableEffect)); children.add(new Property("otherTherapy", "@ClinicalUseDefinition.contraindication.otherTherapy", "Information about the use of the medicinal product in relation to other therapies described as part of the indication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy)); } @@ -1034,11 +1213,14 @@ public class ClinicalUseDefinition extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1497395130: /*diseaseSymptomProcedure*/ return new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as an indicaton for this item.", 0, 1, diseaseSymptomProcedure); - case -505503602: /*diseaseStatus*/ return new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the indication.", 0, 1, diseaseStatus); + case -505503602: /*diseaseStatus*/ return new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the indication, for example \"chronic\" or \"metastatic\".", 0, 1, diseaseStatus); case -406395211: /*comorbidity*/ return new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection as part of the indication.", 0, java.lang.Integer.MAX_VALUE, comorbidity); case 1587112348: /*intendedEffect*/ return new Property("intendedEffect", "CodeableReference(ObservationDefinition)", "The intended effect, aim or strategy to be achieved.", 0, 1, intendedEffect); - case -1992012396: /*duration*/ return new Property("duration", "Quantity", "Timing or duration information.", 0, 1, duration); - case 444367565: /*undesirableEffect*/ return new Property("undesirableEffect", "Reference(ClinicalUseDefinition)", "The specific undesirable effects of the medicinal product.", 0, java.lang.Integer.MAX_VALUE, undesirableEffect); + case -478069140: /*duration[x]*/ return new Property("duration[x]", "Range|string", "Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).", 0, 1, duration); + case -1992012396: /*duration*/ return new Property("duration[x]", "Range|string", "Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).", 0, 1, duration); + case 128079881: /*durationRange*/ return new Property("duration[x]", "Range", "Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).", 0, 1, duration); + case -278193467: /*durationString*/ return new Property("duration[x]", "string", "Timing or duration information, that may be associated with use with the indicated condition e.g. Adult patients suffering from myocardial infarction (from a few days until less than 35 days), ischaemic stroke (from 7 days until less than 6 months).", 0, 1, duration); + case 444367565: /*undesirableEffect*/ return new Property("undesirableEffect", "Reference(ClinicalUseDefinition)", "An unwanted side effect or negative outcome that may happen if you use the drug (or other subject of this resource) for this indication.", 0, java.lang.Integer.MAX_VALUE, undesirableEffect); case -544509127: /*otherTherapy*/ return new Property("otherTherapy", "@ClinicalUseDefinition.contraindication.otherTherapy", "Information about the use of the medicinal product in relation to other therapies described as part of the indication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1052,7 +1234,7 @@ public class ClinicalUseDefinition extends DomainResource { case -505503602: /*diseaseStatus*/ return this.diseaseStatus == null ? new Base[0] : new Base[] {this.diseaseStatus}; // CodeableReference case -406395211: /*comorbidity*/ return this.comorbidity == null ? new Base[0] : this.comorbidity.toArray(new Base[this.comorbidity.size()]); // CodeableReference case 1587112348: /*intendedEffect*/ return this.intendedEffect == null ? new Base[0] : new Base[] {this.intendedEffect}; // CodeableReference - case -1992012396: /*duration*/ return this.duration == null ? new Base[0] : new Base[] {this.duration}; // Quantity + case -1992012396: /*duration*/ return this.duration == null ? new Base[0] : new Base[] {this.duration}; // DataType case 444367565: /*undesirableEffect*/ return this.undesirableEffect == null ? new Base[0] : this.undesirableEffect.toArray(new Base[this.undesirableEffect.size()]); // Reference case -544509127: /*otherTherapy*/ return this.otherTherapy == null ? new Base[0] : this.otherTherapy.toArray(new Base[this.otherTherapy.size()]); // ClinicalUseDefinitionContraindicationOtherTherapyComponent default: return super.getProperty(hash, name, checkValid); @@ -1076,7 +1258,7 @@ public class ClinicalUseDefinition extends DomainResource { this.intendedEffect = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case -1992012396: // duration - this.duration = TypeConvertor.castToQuantity(value); // Quantity + this.duration = TypeConvertor.castToType(value); // DataType return value; case 444367565: // undesirableEffect this.getUndesirableEffect().add(TypeConvertor.castToReference(value)); // Reference @@ -1099,8 +1281,8 @@ public class ClinicalUseDefinition extends DomainResource { this.getComorbidity().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("intendedEffect")) { this.intendedEffect = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("duration")) { - this.duration = TypeConvertor.castToQuantity(value); // Quantity + } else if (name.equals("duration[x]")) { + this.duration = TypeConvertor.castToType(value); // DataType } else if (name.equals("undesirableEffect")) { this.getUndesirableEffect().add(TypeConvertor.castToReference(value)); } else if (name.equals("otherTherapy")) { @@ -1117,6 +1299,7 @@ public class ClinicalUseDefinition extends DomainResource { case -505503602: return getDiseaseStatus(); case -406395211: return addComorbidity(); case 1587112348: return getIntendedEffect(); + case -478069140: return getDuration(); case -1992012396: return getDuration(); case 444367565: return addUndesirableEffect(); case -544509127: return addOtherTherapy(); @@ -1132,7 +1315,7 @@ public class ClinicalUseDefinition extends DomainResource { case -505503602: /*diseaseStatus*/ return new String[] {"CodeableReference"}; case -406395211: /*comorbidity*/ return new String[] {"CodeableReference"}; case 1587112348: /*intendedEffect*/ return new String[] {"CodeableReference"}; - case -1992012396: /*duration*/ return new String[] {"Quantity"}; + case -1992012396: /*duration*/ return new String[] {"Range", "string"}; case 444367565: /*undesirableEffect*/ return new String[] {"Reference"}; case -544509127: /*otherTherapy*/ return new String[] {"@ClinicalUseDefinition.contraindication.otherTherapy"}; default: return super.getTypesForProperty(hash, name); @@ -1157,8 +1340,12 @@ public class ClinicalUseDefinition extends DomainResource { this.intendedEffect = new CodeableReference(); return this.intendedEffect; } - else if (name.equals("duration")) { - this.duration = new Quantity(); + else if (name.equals("durationRange")) { + this.duration = new Range(); + return this.duration; + } + else if (name.equals("durationString")) { + this.duration = new StringType(); return this.duration; } else if (name.equals("undesirableEffect")) { @@ -1248,7 +1435,8 @@ public class ClinicalUseDefinition extends DomainResource { * The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction. */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction", formalDefinition="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction." ) + @Description(shortDefinition="The type of the interaction e.g. drug-drug interaction, drug-lab test interaction", formalDefinition="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interaction-type") protected CodeableConcept type; /** @@ -1256,6 +1444,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "effect", type = {CodeableReference.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The effect of the interaction, for example \"reduced gastric absorption of primary medication\"", formalDefinition="The effect of the interaction, for example \"reduced gastric absorption of primary medication\"." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interaction-effect") protected CodeableReference effect; /** @@ -1263,6 +1452,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "incidence", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The incidence of the interaction, e.g. theoretical, observed", formalDefinition="The incidence of the interaction, e.g. theoretical, observed." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interaction-incidence") protected CodeableConcept incidence; /** @@ -1270,6 +1460,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "management", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Actions for managing the interaction", formalDefinition="Actions for managing the interaction." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interaction-management") protected List management; private static final long serialVersionUID = 2072955553L; @@ -1647,6 +1838,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "item", type = {MedicinalProductDefinition.class, Medication.class, Substance.class, ObservationDefinition.class, CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="The specific medication, food or laboratory test that interacts", formalDefinition="The specific medication, food or laboratory test that interacts." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/interactant") protected DataType item; private static final long serialVersionUID = 1847936859L; @@ -1845,6 +2037,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "symptomConditionEffect", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The situation in which the undesirable effect may manifest", formalDefinition="The situation in which the undesirable effect may manifest." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/undesirable-effect-symptom") protected CodeableReference symptomConditionEffect; /** @@ -1852,6 +2045,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "classification", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="High level classification of the effect", formalDefinition="High level classification of the effect." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/undesirable-effect-classification") protected CodeableConcept classification; /** @@ -1859,6 +2053,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "frequencyOfOccurrence", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="How often the effect is seen", formalDefinition="How often the effect is seen." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/undesirable-effect-frequency") protected CodeableConcept frequencyOfOccurrence; private static final long serialVersionUID = -55472609L; @@ -2325,14 +2520,15 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="indication | contraindication | interaction | undesirable-effect | warning", formalDefinition="indication | contraindication | interaction | undesirable-effect | warning." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-use-issue-type") - protected Enumeration type; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-use-definition-type") + protected Enumeration type; /** * A categorisation of the issue, primarily for dividing warnings into subject heading areas such as "Pregnancy and Lactation", "Overdose", "Effects on Ability to Drive and Use Machines". */ @Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\"", formalDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\"." ) + @Description(shortDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy\", \"Overdose\"", formalDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\"." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-use-definition-category") protected List category; /** @@ -2347,6 +2543,7 @@ public class ClinicalUseDefinition extends DomainResource { */ @Child(name = "status", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Whether this is a current issue or one that has been retired etc", formalDefinition="Whether this is a current issue or one that has been retired etc." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** @@ -2378,20 +2575,20 @@ public class ClinicalUseDefinition extends DomainResource { protected List population; /** - * Describe the undesirable effects of the medicinal product. + * Describe the possible undesirable effects (negative outcomes) from the use of the medicinal product as treatment. */ @Child(name = "undesirableEffect", type = {}, order=9, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A possible negative outcome from the use of this treatment", formalDefinition="Describe the undesirable effects of the medicinal product." ) + @Description(shortDefinition="A possible negative outcome from the use of this treatment", formalDefinition="Describe the possible undesirable effects (negative outcomes) from the use of the medicinal product as treatment." ) protected ClinicalUseDefinitionUndesirableEffectComponent undesirableEffect; /** * A critical piece of information about environmental, health or physical risks or hazards that serve as caution to the user. For example 'Do not operate heavy machinery', 'May cause drowsiness', or 'Get medical advice/attention if you feel unwell'. */ @Child(name = "warning", type = {}, order=10, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A critical piece of information about environmental, health or physical risks or hazards that serve as caution to the user. For example 'Do not operate heavy machinery', 'May cause drowsiness' or 'Get medical advice/attention if you feel unwell'", formalDefinition="A critical piece of information about environmental, health or physical risks or hazards that serve as caution to the user. For example 'Do not operate heavy machinery', 'May cause drowsiness', or 'Get medical advice/attention if you feel unwell'." ) + @Description(shortDefinition="Critical environmental, health or physical risks or hazards. For example 'Do not operate heavy machinery', 'May cause drowsiness'", formalDefinition="A critical piece of information about environmental, health or physical risks or hazards that serve as caution to the user. For example 'Do not operate heavy machinery', 'May cause drowsiness', or 'Get medical advice/attention if you feel unwell'." ) protected ClinicalUseDefinitionWarningComponent warning; - private static final long serialVersionUID = 258286207L; + private static final long serialVersionUID = -634107389L; /** * Constructor @@ -2403,7 +2600,7 @@ public class ClinicalUseDefinition extends DomainResource { /** * Constructor */ - public ClinicalUseDefinition(ClinicalUseIssueType type) { + public ClinicalUseDefinition(ClinicalUseDefinitionType type) { super(); this.setType(type); } @@ -2464,12 +2661,12 @@ public class ClinicalUseDefinition extends DomainResource { /** * @return {@link #type} (indication | contraindication | interaction | undesirable-effect | warning.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ - public Enumeration getTypeElement() { + public Enumeration getTypeElement() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ClinicalUseDefinition.type"); else if (Configuration.doAutoCreate()) - this.type = new Enumeration(new ClinicalUseIssueTypeEnumFactory()); // bb + this.type = new Enumeration(new ClinicalUseDefinitionTypeEnumFactory()); // bb return this.type; } @@ -2484,7 +2681,7 @@ public class ClinicalUseDefinition extends DomainResource { /** * @param value {@link #type} (indication | contraindication | interaction | undesirable-effect | warning.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ - public ClinicalUseDefinition setTypeElement(Enumeration value) { + public ClinicalUseDefinition setTypeElement(Enumeration value) { this.type = value; return this; } @@ -2492,16 +2689,16 @@ public class ClinicalUseDefinition extends DomainResource { /** * @return indication | contraindication | interaction | undesirable-effect | warning. */ - public ClinicalUseIssueType getType() { + public ClinicalUseDefinitionType getType() { return this.type == null ? null : this.type.getValue(); } /** * @param value indication | contraindication | interaction | undesirable-effect | warning. */ - public ClinicalUseDefinition setType(ClinicalUseIssueType value) { + public ClinicalUseDefinition setType(ClinicalUseDefinitionType value) { if (this.type == null) - this.type = new Enumeration(new ClinicalUseIssueTypeEnumFactory()); + this.type = new Enumeration(new ClinicalUseDefinitionTypeEnumFactory()); this.type.setValue(value); return this; } @@ -2762,7 +2959,7 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @return {@link #undesirableEffect} (Describe the undesirable effects of the medicinal product.) + * @return {@link #undesirableEffect} (Describe the possible undesirable effects (negative outcomes) from the use of the medicinal product as treatment.) */ public ClinicalUseDefinitionUndesirableEffectComponent getUndesirableEffect() { if (this.undesirableEffect == null) @@ -2778,7 +2975,7 @@ public class ClinicalUseDefinition extends DomainResource { } /** - * @param value {@link #undesirableEffect} (Describe the undesirable effects of the medicinal product.) + * @param value {@link #undesirableEffect} (Describe the possible undesirable effects (negative outcomes) from the use of the medicinal product as treatment.) */ public ClinicalUseDefinition setUndesirableEffect(ClinicalUseDefinitionUndesirableEffectComponent value) { this.undesirableEffect = value; @@ -2820,7 +3017,7 @@ public class ClinicalUseDefinition extends DomainResource { children.add(new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication)); children.add(new Property("interaction", "", "Specifics for when this is an interaction.", 0, 1, interaction)); children.add(new Property("population", "Reference(Group)", "The population group to which this applies.", 0, java.lang.Integer.MAX_VALUE, population)); - children.add(new Property("undesirableEffect", "", "Describe the undesirable effects of the medicinal product.", 0, 1, undesirableEffect)); + children.add(new Property("undesirableEffect", "", "Describe the possible undesirable effects (negative outcomes) from the use of the medicinal product as treatment.", 0, 1, undesirableEffect)); children.add(new Property("warning", "", "A critical piece of information about environmental, health or physical risks or hazards that serve as caution to the user. For example 'Do not operate heavy machinery', 'May cause drowsiness', or 'Get medical advice/attention if you feel unwell'.", 0, 1, warning)); } @@ -2836,7 +3033,7 @@ public class ClinicalUseDefinition extends DomainResource { case -597168804: /*indication*/ return new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication); case 1844104722: /*interaction*/ return new Property("interaction", "", "Specifics for when this is an interaction.", 0, 1, interaction); case -2023558323: /*population*/ return new Property("population", "Reference(Group)", "The population group to which this applies.", 0, java.lang.Integer.MAX_VALUE, population); - case 444367565: /*undesirableEffect*/ return new Property("undesirableEffect", "", "Describe the undesirable effects of the medicinal product.", 0, 1, undesirableEffect); + case 444367565: /*undesirableEffect*/ return new Property("undesirableEffect", "", "Describe the possible undesirable effects (negative outcomes) from the use of the medicinal product as treatment.", 0, 1, undesirableEffect); case 1124446108: /*warning*/ return new Property("warning", "", "A critical piece of information about environmental, health or physical risks or hazards that serve as caution to the user. For example 'Do not operate heavy machinery', 'May cause drowsiness', or 'Get medical advice/attention if you feel unwell'.", 0, 1, warning); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2847,7 +3044,7 @@ public class ClinicalUseDefinition extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : this.subject.toArray(new Base[this.subject.size()]); // Reference case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept @@ -2869,8 +3066,8 @@ public class ClinicalUseDefinition extends DomainResource { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier return value; case 3575610: // type - value = new ClinicalUseIssueTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration + value = new ClinicalUseDefinitionTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.type = (Enumeration) value; // Enumeration return value; case 50511102: // category this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept @@ -2909,8 +3106,8 @@ public class ClinicalUseDefinition extends DomainResource { if (name.equals("identifier")) { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); } else if (name.equals("type")) { - value = new ClinicalUseIssueTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration + value = new ClinicalUseDefinitionTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.type = (Enumeration) value; // Enumeration } else if (name.equals("category")) { this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("subject")) { @@ -3098,256 +3295,6 @@ public class ClinicalUseDefinition extends DomainResource { return ResourceType.ClinicalUseDefinition; } - /** - * Search parameter: contraindication-reference - *

- * Description: The situation that is being documented as contraindicating against this item, as a reference
- * Type: reference
- * Path: ClinicalUseDefinition.contraindication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="contraindication-reference", path="ClinicalUseDefinition.contraindication.diseaseSymptomProcedure", description="The situation that is being documented as contraindicating against this item, as a reference", type="reference" ) - public static final String SP_CONTRAINDICATION_REFERENCE = "contraindication-reference"; - /** - * Fluent Client search parameter constant for contraindication-reference - *

- * Description: The situation that is being documented as contraindicating against this item, as a reference
- * Type: reference
- * Path: ClinicalUseDefinition.contraindication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTRAINDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTRAINDICATION_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseDefinition:contraindication-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTRAINDICATION_REFERENCE = new ca.uhn.fhir.model.api.Include("ClinicalUseDefinition:contraindication-reference").toLocked(); - - /** - * Search parameter: contraindication - *

- * Description: The situation that is being documented as contraindicating against this item, as a code
- * Type: token
- * Path: ClinicalUseDefinition.contraindication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="contraindication", path="ClinicalUseDefinition.contraindication.diseaseSymptomProcedure", description="The situation that is being documented as contraindicating against this item, as a code", type="token" ) - public static final String SP_CONTRAINDICATION = "contraindication"; - /** - * Fluent Client search parameter constant for contraindication - *

- * Description: The situation that is being documented as contraindicating against this item, as a code
- * Type: token
- * Path: ClinicalUseDefinition.contraindication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTRAINDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTRAINDICATION); - - /** - * Search parameter: effect-reference - *

- * Description: The situation in which the undesirable effect may manifest, as a reference
- * Type: reference
- * Path: ClinicalUseDefinition.undesirableEffect.symptomConditionEffect
- *

- */ - @SearchParamDefinition(name="effect-reference", path="ClinicalUseDefinition.undesirableEffect.symptomConditionEffect", description="The situation in which the undesirable effect may manifest, as a reference", type="reference" ) - public static final String SP_EFFECT_REFERENCE = "effect-reference"; - /** - * Fluent Client search parameter constant for effect-reference - *

- * Description: The situation in which the undesirable effect may manifest, as a reference
- * Type: reference
- * Path: ClinicalUseDefinition.undesirableEffect.symptomConditionEffect
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EFFECT_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EFFECT_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseDefinition:effect-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_EFFECT_REFERENCE = new ca.uhn.fhir.model.api.Include("ClinicalUseDefinition:effect-reference").toLocked(); - - /** - * Search parameter: effect - *

- * Description: The situation in which the undesirable effect may manifest, as a code
- * Type: token
- * Path: ClinicalUseDefinition.undesirableEffect.symptomConditionEffect
- *

- */ - @SearchParamDefinition(name="effect", path="ClinicalUseDefinition.undesirableEffect.symptomConditionEffect", description="The situation in which the undesirable effect may manifest, as a code", type="token" ) - public static final String SP_EFFECT = "effect"; - /** - * Fluent Client search parameter constant for effect - *

- * Description: The situation in which the undesirable effect may manifest, as a code
- * Type: token
- * Path: ClinicalUseDefinition.undesirableEffect.symptomConditionEffect
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EFFECT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EFFECT); - - /** - * Search parameter: identifier - *

- * Description: Business identifier for this issue
- * Type: token
- * Path: ClinicalUseDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ClinicalUseDefinition.identifier", description="Business identifier for this issue", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier for this issue
- * Type: token
- * Path: ClinicalUseDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: indication-reference - *

- * Description: The situation that is being documented as an indicaton for this item, as a reference
- * Type: reference
- * Path: ClinicalUseDefinition.indication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="indication-reference", path="ClinicalUseDefinition.indication.diseaseSymptomProcedure", description="The situation that is being documented as an indicaton for this item, as a reference", type="reference" ) - public static final String SP_INDICATION_REFERENCE = "indication-reference"; - /** - * Fluent Client search parameter constant for indication-reference - *

- * Description: The situation that is being documented as an indicaton for this item, as a reference
- * Type: reference
- * Path: ClinicalUseDefinition.indication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INDICATION_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseDefinition:indication-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INDICATION_REFERENCE = new ca.uhn.fhir.model.api.Include("ClinicalUseDefinition:indication-reference").toLocked(); - - /** - * Search parameter: indication - *

- * Description: The situation that is being documented as an indicaton for this item, as a code
- * Type: token
- * Path: ClinicalUseDefinition.indication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="indication", path="ClinicalUseDefinition.indication.diseaseSymptomProcedure", description="The situation that is being documented as an indicaton for this item, as a code", type="token" ) - public static final String SP_INDICATION = "indication"; - /** - * Fluent Client search parameter constant for indication - *

- * Description: The situation that is being documented as an indicaton for this item, as a code
- * Type: token
- * Path: ClinicalUseDefinition.indication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INDICATION); - - /** - * Search parameter: interaction - *

- * Description: The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction
- * Type: token
- * Path: ClinicalUseDefinition.interaction.type
- *

- */ - @SearchParamDefinition(name="interaction", path="ClinicalUseDefinition.interaction.type", description="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction", type="token" ) - public static final String SP_INTERACTION = "interaction"; - /** - * Fluent Client search parameter constant for interaction - *

- * Description: The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction
- * Type: token
- * Path: ClinicalUseDefinition.interaction.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTERACTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTERACTION); - - /** - * Search parameter: product - *

- * Description: The medicinal product for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseDefinition.subject.where(resolve() is MedicinalProductDefinition)
- *

- */ - @SearchParamDefinition(name="product", path="ClinicalUseDefinition.subject.where(resolve() is MedicinalProductDefinition)", description="The medicinal product for which this is a clinical usage issue", type="reference", target={ActivityDefinition.class, Device.class, DeviceDefinition.class, Medication.class, MedicinalProductDefinition.class, PlanDefinition.class, Substance.class } ) - public static final String SP_PRODUCT = "product"; - /** - * Fluent Client search parameter constant for product - *

- * Description: The medicinal product for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseDefinition.subject.where(resolve() is MedicinalProductDefinition)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRODUCT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRODUCT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseDefinition:product". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRODUCT = new ca.uhn.fhir.model.api.Include("ClinicalUseDefinition:product").toLocked(); - - /** - * Search parameter: subject - *

- * Description: The resource for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseDefinition.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ClinicalUseDefinition.subject", description="The resource for which this is a clinical usage issue", type="reference", target={ActivityDefinition.class, Device.class, DeviceDefinition.class, Medication.class, MedicinalProductDefinition.class, PlanDefinition.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The resource for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseDefinition.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseDefinition:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ClinicalUseDefinition:subject").toLocked(); - - /** - * Search parameter: type - *

- * Description: indication | contraindication | interaction | undesirable-effect | warning
- * Type: token
- * Path: ClinicalUseDefinition.type
- *

- */ - @SearchParamDefinition(name="type", path="ClinicalUseDefinition.type", description="indication | contraindication | interaction | undesirable-effect | warning", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: indication | contraindication | interaction | undesirable-effect | warning
- * Type: token
- * Path: ClinicalUseDefinition.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseIssue.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseIssue.java deleted file mode 100644 index bc0992e20..000000000 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ClinicalUseIssue.java +++ /dev/null @@ -1,3150 +0,0 @@ -package org.hl7.fhir.r5.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 Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -import org.hl7.fhir.utilities.Utilities; -import org.hl7.fhir.r5.model.Enumerations.*; -import org.hl7.fhir.instance.model.api.IBaseBackboneElement; -import org.hl7.fhir.exceptions.FHIRException; -import org.hl7.fhir.instance.model.api.ICompositeType; -import ca.uhn.fhir.model.api.annotation.ResourceDef; -import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; -import org.hl7.fhir.instance.model.api.IBaseBackboneElement; -import ca.uhn.fhir.model.api.annotation.Child; -import ca.uhn.fhir.model.api.annotation.ChildOrder; -import ca.uhn.fhir.model.api.annotation.Description; -import ca.uhn.fhir.model.api.annotation.Block; - -/** - * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. - */ -@ResourceDef(name="ClinicalUseIssue", profile="http://hl7.org/fhir/StructureDefinition/ClinicalUseIssue") -public class ClinicalUseIssue extends DomainResource { - - @Block() - public static class ClinicalUseIssueContraindicationComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The situation that is being documented as contraindicating against this item. - */ - @Child(name = "diseaseSymptomProcedure", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The situation that is being documented as contraindicating against this item", formalDefinition="The situation that is being documented as contraindicating against this item." ) - protected CodeableReference diseaseSymptomProcedure; - - /** - * The status of the disease or symptom for the contraindication. - */ - @Child(name = "diseaseStatus", type = {CodeableReference.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status of the disease or symptom for the contraindication", formalDefinition="The status of the disease or symptom for the contraindication." ) - protected CodeableReference diseaseStatus; - - /** - * A comorbidity (concurrent condition) or coinfection. - */ - @Child(name = "comorbidity", type = {CodeableReference.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A comorbidity (concurrent condition) or coinfection", formalDefinition="A comorbidity (concurrent condition) or coinfection." ) - protected List comorbidity; - - /** - * The indication which this is a contraidication for. - */ - @Child(name = "indication", type = {ClinicalUseIssue.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The indication which this is a contraidication for", formalDefinition="The indication which this is a contraidication for." ) - protected List indication; - - /** - * Information about the use of the medicinal product in relation to other therapies described as part of the contraindication. - */ - @Child(name = "otherTherapy", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the contraindication", formalDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the contraindication." ) - protected List otherTherapy; - - private static final long serialVersionUID = 1347024193L; - - /** - * Constructor - */ - public ClinicalUseIssueContraindicationComponent() { - super(); - } - - /** - * @return {@link #diseaseSymptomProcedure} (The situation that is being documented as contraindicating against this item.) - */ - public CodeableReference getDiseaseSymptomProcedure() { - if (this.diseaseSymptomProcedure == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueContraindicationComponent.diseaseSymptomProcedure"); - else if (Configuration.doAutoCreate()) - this.diseaseSymptomProcedure = new CodeableReference(); // cc - return this.diseaseSymptomProcedure; - } - - public boolean hasDiseaseSymptomProcedure() { - return this.diseaseSymptomProcedure != null && !this.diseaseSymptomProcedure.isEmpty(); - } - - /** - * @param value {@link #diseaseSymptomProcedure} (The situation that is being documented as contraindicating against this item.) - */ - public ClinicalUseIssueContraindicationComponent setDiseaseSymptomProcedure(CodeableReference value) { - this.diseaseSymptomProcedure = value; - return this; - } - - /** - * @return {@link #diseaseStatus} (The status of the disease or symptom for the contraindication.) - */ - public CodeableReference getDiseaseStatus() { - if (this.diseaseStatus == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueContraindicationComponent.diseaseStatus"); - else if (Configuration.doAutoCreate()) - this.diseaseStatus = new CodeableReference(); // cc - return this.diseaseStatus; - } - - public boolean hasDiseaseStatus() { - return this.diseaseStatus != null && !this.diseaseStatus.isEmpty(); - } - - /** - * @param value {@link #diseaseStatus} (The status of the disease or symptom for the contraindication.) - */ - public ClinicalUseIssueContraindicationComponent setDiseaseStatus(CodeableReference value) { - this.diseaseStatus = value; - return this; - } - - /** - * @return {@link #comorbidity} (A comorbidity (concurrent condition) or coinfection.) - */ - public List getComorbidity() { - if (this.comorbidity == null) - this.comorbidity = new ArrayList(); - return this.comorbidity; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueContraindicationComponent setComorbidity(List theComorbidity) { - this.comorbidity = theComorbidity; - return this; - } - - public boolean hasComorbidity() { - if (this.comorbidity == null) - return false; - for (CodeableReference item : this.comorbidity) - if (!item.isEmpty()) - return true; - return false; - } - - public CodeableReference addComorbidity() { //3 - CodeableReference t = new CodeableReference(); - if (this.comorbidity == null) - this.comorbidity = new ArrayList(); - this.comorbidity.add(t); - return t; - } - - public ClinicalUseIssueContraindicationComponent addComorbidity(CodeableReference t) { //3 - if (t == null) - return this; - if (this.comorbidity == null) - this.comorbidity = new ArrayList(); - this.comorbidity.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #comorbidity}, creating it if it does not already exist {3} - */ - public CodeableReference getComorbidityFirstRep() { - if (getComorbidity().isEmpty()) { - addComorbidity(); - } - return getComorbidity().get(0); - } - - /** - * @return {@link #indication} (The indication which this is a contraidication for.) - */ - public List getIndication() { - if (this.indication == null) - this.indication = new ArrayList(); - return this.indication; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueContraindicationComponent setIndication(List theIndication) { - this.indication = theIndication; - return this; - } - - public boolean hasIndication() { - if (this.indication == null) - return false; - for (Reference item : this.indication) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addIndication() { //3 - Reference t = new Reference(); - if (this.indication == null) - this.indication = new ArrayList(); - this.indication.add(t); - return t; - } - - public ClinicalUseIssueContraindicationComponent addIndication(Reference t) { //3 - if (t == null) - return this; - if (this.indication == null) - this.indication = new ArrayList(); - this.indication.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #indication}, creating it if it does not already exist {3} - */ - public Reference getIndicationFirstRep() { - if (getIndication().isEmpty()) { - addIndication(); - } - return getIndication().get(0); - } - - /** - * @return {@link #otherTherapy} (Information about the use of the medicinal product in relation to other therapies described as part of the contraindication.) - */ - public List getOtherTherapy() { - if (this.otherTherapy == null) - this.otherTherapy = new ArrayList(); - return this.otherTherapy; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueContraindicationComponent setOtherTherapy(List theOtherTherapy) { - this.otherTherapy = theOtherTherapy; - return this; - } - - public boolean hasOtherTherapy() { - if (this.otherTherapy == null) - return false; - for (ClinicalUseIssueContraindicationOtherTherapyComponent item : this.otherTherapy) - if (!item.isEmpty()) - return true; - return false; - } - - public ClinicalUseIssueContraindicationOtherTherapyComponent addOtherTherapy() { //3 - ClinicalUseIssueContraindicationOtherTherapyComponent t = new ClinicalUseIssueContraindicationOtherTherapyComponent(); - if (this.otherTherapy == null) - this.otherTherapy = new ArrayList(); - this.otherTherapy.add(t); - return t; - } - - public ClinicalUseIssueContraindicationComponent addOtherTherapy(ClinicalUseIssueContraindicationOtherTherapyComponent t) { //3 - if (t == null) - return this; - if (this.otherTherapy == null) - this.otherTherapy = new ArrayList(); - this.otherTherapy.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #otherTherapy}, creating it if it does not already exist {3} - */ - public ClinicalUseIssueContraindicationOtherTherapyComponent getOtherTherapyFirstRep() { - if (getOtherTherapy().isEmpty()) { - addOtherTherapy(); - } - return getOtherTherapy().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as contraindicating against this item.", 0, 1, diseaseSymptomProcedure)); - children.add(new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the contraindication.", 0, 1, diseaseStatus)); - children.add(new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection.", 0, java.lang.Integer.MAX_VALUE, comorbidity)); - children.add(new Property("indication", "Reference(ClinicalUseIssue)", "The indication which this is a contraidication for.", 0, java.lang.Integer.MAX_VALUE, indication)); - children.add(new Property("otherTherapy", "", "Information about the use of the medicinal product in relation to other therapies described as part of the contraindication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -1497395130: /*diseaseSymptomProcedure*/ return new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as contraindicating against this item.", 0, 1, diseaseSymptomProcedure); - case -505503602: /*diseaseStatus*/ return new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the contraindication.", 0, 1, diseaseStatus); - case -406395211: /*comorbidity*/ return new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection.", 0, java.lang.Integer.MAX_VALUE, comorbidity); - case -597168804: /*indication*/ return new Property("indication", "Reference(ClinicalUseIssue)", "The indication which this is a contraidication for.", 0, java.lang.Integer.MAX_VALUE, indication); - case -544509127: /*otherTherapy*/ return new Property("otherTherapy", "", "Information about the use of the medicinal product in relation to other therapies described as part of the contraindication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -1497395130: /*diseaseSymptomProcedure*/ return this.diseaseSymptomProcedure == null ? new Base[0] : new Base[] {this.diseaseSymptomProcedure}; // CodeableReference - case -505503602: /*diseaseStatus*/ return this.diseaseStatus == null ? new Base[0] : new Base[] {this.diseaseStatus}; // CodeableReference - case -406395211: /*comorbidity*/ return this.comorbidity == null ? new Base[0] : this.comorbidity.toArray(new Base[this.comorbidity.size()]); // CodeableReference - case -597168804: /*indication*/ return this.indication == null ? new Base[0] : this.indication.toArray(new Base[this.indication.size()]); // Reference - case -544509127: /*otherTherapy*/ return this.otherTherapy == null ? new Base[0] : this.otherTherapy.toArray(new Base[this.otherTherapy.size()]); // ClinicalUseIssueContraindicationOtherTherapyComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -1497395130: // diseaseSymptomProcedure - this.diseaseSymptomProcedure = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case -505503602: // diseaseStatus - this.diseaseStatus = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case -406395211: // comorbidity - this.getComorbidity().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference - return value; - case -597168804: // indication - this.getIndication().add(TypeConvertor.castToReference(value)); // Reference - return value; - case -544509127: // otherTherapy - this.getOtherTherapy().add((ClinicalUseIssueContraindicationOtherTherapyComponent) value); // ClinicalUseIssueContraindicationOtherTherapyComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("diseaseSymptomProcedure")) { - this.diseaseSymptomProcedure = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("diseaseStatus")) { - this.diseaseStatus = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("comorbidity")) { - this.getComorbidity().add(TypeConvertor.castToCodeableReference(value)); - } else if (name.equals("indication")) { - this.getIndication().add(TypeConvertor.castToReference(value)); - } else if (name.equals("otherTherapy")) { - this.getOtherTherapy().add((ClinicalUseIssueContraindicationOtherTherapyComponent) value); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1497395130: return getDiseaseSymptomProcedure(); - case -505503602: return getDiseaseStatus(); - case -406395211: return addComorbidity(); - case -597168804: return addIndication(); - case -544509127: return addOtherTherapy(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1497395130: /*diseaseSymptomProcedure*/ return new String[] {"CodeableReference"}; - case -505503602: /*diseaseStatus*/ return new String[] {"CodeableReference"}; - case -406395211: /*comorbidity*/ return new String[] {"CodeableReference"}; - case -597168804: /*indication*/ return new String[] {"Reference"}; - case -544509127: /*otherTherapy*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("diseaseSymptomProcedure")) { - this.diseaseSymptomProcedure = new CodeableReference(); - return this.diseaseSymptomProcedure; - } - else if (name.equals("diseaseStatus")) { - this.diseaseStatus = new CodeableReference(); - return this.diseaseStatus; - } - else if (name.equals("comorbidity")) { - return addComorbidity(); - } - else if (name.equals("indication")) { - return addIndication(); - } - else if (name.equals("otherTherapy")) { - return addOtherTherapy(); - } - else - return super.addChild(name); - } - - public ClinicalUseIssueContraindicationComponent copy() { - ClinicalUseIssueContraindicationComponent dst = new ClinicalUseIssueContraindicationComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssueContraindicationComponent dst) { - super.copyValues(dst); - dst.diseaseSymptomProcedure = diseaseSymptomProcedure == null ? null : diseaseSymptomProcedure.copy(); - dst.diseaseStatus = diseaseStatus == null ? null : diseaseStatus.copy(); - if (comorbidity != null) { - dst.comorbidity = new ArrayList(); - for (CodeableReference i : comorbidity) - dst.comorbidity.add(i.copy()); - }; - if (indication != null) { - dst.indication = new ArrayList(); - for (Reference i : indication) - dst.indication.add(i.copy()); - }; - if (otherTherapy != null) { - dst.otherTherapy = new ArrayList(); - for (ClinicalUseIssueContraindicationOtherTherapyComponent i : otherTherapy) - dst.otherTherapy.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueContraindicationComponent)) - return false; - ClinicalUseIssueContraindicationComponent o = (ClinicalUseIssueContraindicationComponent) other_; - return compareDeep(diseaseSymptomProcedure, o.diseaseSymptomProcedure, true) && compareDeep(diseaseStatus, o.diseaseStatus, true) - && compareDeep(comorbidity, o.comorbidity, true) && compareDeep(indication, o.indication, true) - && compareDeep(otherTherapy, o.otherTherapy, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueContraindicationComponent)) - return false; - ClinicalUseIssueContraindicationComponent o = (ClinicalUseIssueContraindicationComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(diseaseSymptomProcedure, diseaseStatus - , comorbidity, indication, otherTherapy); - } - - public String fhirType() { - return "ClinicalUseIssue.contraindication"; - - } - - } - - @Block() - public static class ClinicalUseIssueContraindicationOtherTherapyComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The type of relationship between the medicinal product indication or contraindication and another therapy. - */ - @Child(name = "relationshipType", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="The type of relationship between the medicinal product indication or contraindication and another therapy", formalDefinition="The type of relationship between the medicinal product indication or contraindication and another therapy." ) - protected CodeableConcept relationshipType; - - /** - * Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication. - */ - @Child(name = "therapy", type = {CodeableReference.class}, order=2, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication", formalDefinition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication." ) - protected CodeableReference therapy; - - private static final long serialVersionUID = -363440718L; - - /** - * Constructor - */ - public ClinicalUseIssueContraindicationOtherTherapyComponent() { - super(); - } - - /** - * Constructor - */ - public ClinicalUseIssueContraindicationOtherTherapyComponent(CodeableConcept relationshipType, CodeableReference therapy) { - super(); - this.setRelationshipType(relationshipType); - this.setTherapy(therapy); - } - - /** - * @return {@link #relationshipType} (The type of relationship between the medicinal product indication or contraindication and another therapy.) - */ - public CodeableConcept getRelationshipType() { - if (this.relationshipType == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueContraindicationOtherTherapyComponent.relationshipType"); - else if (Configuration.doAutoCreate()) - this.relationshipType = new CodeableConcept(); // cc - return this.relationshipType; - } - - public boolean hasRelationshipType() { - return this.relationshipType != null && !this.relationshipType.isEmpty(); - } - - /** - * @param value {@link #relationshipType} (The type of relationship between the medicinal product indication or contraindication and another therapy.) - */ - public ClinicalUseIssueContraindicationOtherTherapyComponent setRelationshipType(CodeableConcept value) { - this.relationshipType = value; - return this; - } - - /** - * @return {@link #therapy} (Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.) - */ - public CodeableReference getTherapy() { - if (this.therapy == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueContraindicationOtherTherapyComponent.therapy"); - else if (Configuration.doAutoCreate()) - this.therapy = new CodeableReference(); // cc - return this.therapy; - } - - public boolean hasTherapy() { - return this.therapy != null && !this.therapy.isEmpty(); - } - - /** - * @param value {@link #therapy} (Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.) - */ - public ClinicalUseIssueContraindicationOtherTherapyComponent setTherapy(CodeableReference value) { - this.therapy = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("relationshipType", "CodeableConcept", "The type of relationship between the medicinal product indication or contraindication and another therapy.", 0, 1, relationshipType)); - children.add(new Property("therapy", "CodeableReference(MedicinalProductDefinition|Medication|Substance|SubstanceDefinition|ActivityDefinition)", "Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.", 0, 1, therapy)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -1602839150: /*relationshipType*/ return new Property("relationshipType", "CodeableConcept", "The type of relationship between the medicinal product indication or contraindication and another therapy.", 0, 1, relationshipType); - case -1349555095: /*therapy*/ return new Property("therapy", "CodeableReference(MedicinalProductDefinition|Medication|Substance|SubstanceDefinition|ActivityDefinition)", "Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.", 0, 1, therapy); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -1602839150: /*relationshipType*/ return this.relationshipType == null ? new Base[0] : new Base[] {this.relationshipType}; // CodeableConcept - case -1349555095: /*therapy*/ return this.therapy == null ? new Base[0] : new Base[] {this.therapy}; // CodeableReference - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -1602839150: // relationshipType - this.relationshipType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1349555095: // therapy - this.therapy = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("relationshipType")) { - this.relationshipType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("therapy")) { - this.therapy = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1602839150: return getRelationshipType(); - case -1349555095: return getTherapy(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1602839150: /*relationshipType*/ return new String[] {"CodeableConcept"}; - case -1349555095: /*therapy*/ return new String[] {"CodeableReference"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("relationshipType")) { - this.relationshipType = new CodeableConcept(); - return this.relationshipType; - } - else if (name.equals("therapy")) { - this.therapy = new CodeableReference(); - return this.therapy; - } - else - return super.addChild(name); - } - - public ClinicalUseIssueContraindicationOtherTherapyComponent copy() { - ClinicalUseIssueContraindicationOtherTherapyComponent dst = new ClinicalUseIssueContraindicationOtherTherapyComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssueContraindicationOtherTherapyComponent dst) { - super.copyValues(dst); - dst.relationshipType = relationshipType == null ? null : relationshipType.copy(); - dst.therapy = therapy == null ? null : therapy.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueContraindicationOtherTherapyComponent)) - return false; - ClinicalUseIssueContraindicationOtherTherapyComponent o = (ClinicalUseIssueContraindicationOtherTherapyComponent) other_; - return compareDeep(relationshipType, o.relationshipType, true) && compareDeep(therapy, o.therapy, true) - ; - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueContraindicationOtherTherapyComponent)) - return false; - ClinicalUseIssueContraindicationOtherTherapyComponent o = (ClinicalUseIssueContraindicationOtherTherapyComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(relationshipType, therapy - ); - } - - public String fhirType() { - return "ClinicalUseIssue.contraindication.otherTherapy"; - - } - - } - - @Block() - public static class ClinicalUseIssueIndicationComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The situation that is being documented as an indicaton for this item. - */ - @Child(name = "diseaseSymptomProcedure", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The situation that is being documented as an indicaton for this item", formalDefinition="The situation that is being documented as an indicaton for this item." ) - protected CodeableReference diseaseSymptomProcedure; - - /** - * The status of the disease or symptom for the indication. - */ - @Child(name = "diseaseStatus", type = {CodeableReference.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status of the disease or symptom for the indication", formalDefinition="The status of the disease or symptom for the indication." ) - protected CodeableReference diseaseStatus; - - /** - * A comorbidity (concurrent condition) or coinfection as part of the indication. - */ - @Child(name = "comorbidity", type = {CodeableReference.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A comorbidity (concurrent condition) or coinfection as part of the indication", formalDefinition="A comorbidity (concurrent condition) or coinfection as part of the indication." ) - protected List comorbidity; - - /** - * The intended effect, aim or strategy to be achieved. - */ - @Child(name = "intendedEffect", type = {CodeableReference.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The intended effect, aim or strategy to be achieved", formalDefinition="The intended effect, aim or strategy to be achieved." ) - protected CodeableReference intendedEffect; - - /** - * Timing or duration information. - */ - @Child(name = "duration", type = {Quantity.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Timing or duration information", formalDefinition="Timing or duration information." ) - protected Quantity duration; - - /** - * The specific undesirable effects of the medicinal product. - */ - @Child(name = "undesirableEffect", type = {ClinicalUseIssue.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The specific undesirable effects of the medicinal product", formalDefinition="The specific undesirable effects of the medicinal product." ) - protected List undesirableEffect; - - /** - * Information about the use of the medicinal product in relation to other therapies described as part of the indication. - */ - @Child(name = "otherTherapy", type = {ClinicalUseIssueContraindicationOtherTherapyComponent.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the indication", formalDefinition="Information about the use of the medicinal product in relation to other therapies described as part of the indication." ) - protected List otherTherapy; - - private static final long serialVersionUID = 1637864097L; - - /** - * Constructor - */ - public ClinicalUseIssueIndicationComponent() { - super(); - } - - /** - * @return {@link #diseaseSymptomProcedure} (The situation that is being documented as an indicaton for this item.) - */ - public CodeableReference getDiseaseSymptomProcedure() { - if (this.diseaseSymptomProcedure == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueIndicationComponent.diseaseSymptomProcedure"); - else if (Configuration.doAutoCreate()) - this.diseaseSymptomProcedure = new CodeableReference(); // cc - return this.diseaseSymptomProcedure; - } - - public boolean hasDiseaseSymptomProcedure() { - return this.diseaseSymptomProcedure != null && !this.diseaseSymptomProcedure.isEmpty(); - } - - /** - * @param value {@link #diseaseSymptomProcedure} (The situation that is being documented as an indicaton for this item.) - */ - public ClinicalUseIssueIndicationComponent setDiseaseSymptomProcedure(CodeableReference value) { - this.diseaseSymptomProcedure = value; - return this; - } - - /** - * @return {@link #diseaseStatus} (The status of the disease or symptom for the indication.) - */ - public CodeableReference getDiseaseStatus() { - if (this.diseaseStatus == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueIndicationComponent.diseaseStatus"); - else if (Configuration.doAutoCreate()) - this.diseaseStatus = new CodeableReference(); // cc - return this.diseaseStatus; - } - - public boolean hasDiseaseStatus() { - return this.diseaseStatus != null && !this.diseaseStatus.isEmpty(); - } - - /** - * @param value {@link #diseaseStatus} (The status of the disease or symptom for the indication.) - */ - public ClinicalUseIssueIndicationComponent setDiseaseStatus(CodeableReference value) { - this.diseaseStatus = value; - return this; - } - - /** - * @return {@link #comorbidity} (A comorbidity (concurrent condition) or coinfection as part of the indication.) - */ - public List getComorbidity() { - if (this.comorbidity == null) - this.comorbidity = new ArrayList(); - return this.comorbidity; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueIndicationComponent setComorbidity(List theComorbidity) { - this.comorbidity = theComorbidity; - return this; - } - - public boolean hasComorbidity() { - if (this.comorbidity == null) - return false; - for (CodeableReference item : this.comorbidity) - if (!item.isEmpty()) - return true; - return false; - } - - public CodeableReference addComorbidity() { //3 - CodeableReference t = new CodeableReference(); - if (this.comorbidity == null) - this.comorbidity = new ArrayList(); - this.comorbidity.add(t); - return t; - } - - public ClinicalUseIssueIndicationComponent addComorbidity(CodeableReference t) { //3 - if (t == null) - return this; - if (this.comorbidity == null) - this.comorbidity = new ArrayList(); - this.comorbidity.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #comorbidity}, creating it if it does not already exist {3} - */ - public CodeableReference getComorbidityFirstRep() { - if (getComorbidity().isEmpty()) { - addComorbidity(); - } - return getComorbidity().get(0); - } - - /** - * @return {@link #intendedEffect} (The intended effect, aim or strategy to be achieved.) - */ - public CodeableReference getIntendedEffect() { - if (this.intendedEffect == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueIndicationComponent.intendedEffect"); - else if (Configuration.doAutoCreate()) - this.intendedEffect = new CodeableReference(); // cc - return this.intendedEffect; - } - - public boolean hasIntendedEffect() { - return this.intendedEffect != null && !this.intendedEffect.isEmpty(); - } - - /** - * @param value {@link #intendedEffect} (The intended effect, aim or strategy to be achieved.) - */ - public ClinicalUseIssueIndicationComponent setIntendedEffect(CodeableReference value) { - this.intendedEffect = value; - return this; - } - - /** - * @return {@link #duration} (Timing or duration information.) - */ - public Quantity getDuration() { - if (this.duration == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueIndicationComponent.duration"); - else if (Configuration.doAutoCreate()) - this.duration = new Quantity(); // cc - return this.duration; - } - - public boolean hasDuration() { - return this.duration != null && !this.duration.isEmpty(); - } - - /** - * @param value {@link #duration} (Timing or duration information.) - */ - public ClinicalUseIssueIndicationComponent setDuration(Quantity value) { - this.duration = value; - return this; - } - - /** - * @return {@link #undesirableEffect} (The specific undesirable effects of the medicinal product.) - */ - public List getUndesirableEffect() { - if (this.undesirableEffect == null) - this.undesirableEffect = new ArrayList(); - return this.undesirableEffect; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueIndicationComponent setUndesirableEffect(List theUndesirableEffect) { - this.undesirableEffect = theUndesirableEffect; - return this; - } - - public boolean hasUndesirableEffect() { - if (this.undesirableEffect == null) - return false; - for (Reference item : this.undesirableEffect) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addUndesirableEffect() { //3 - Reference t = new Reference(); - if (this.undesirableEffect == null) - this.undesirableEffect = new ArrayList(); - this.undesirableEffect.add(t); - return t; - } - - public ClinicalUseIssueIndicationComponent addUndesirableEffect(Reference t) { //3 - if (t == null) - return this; - if (this.undesirableEffect == null) - this.undesirableEffect = new ArrayList(); - this.undesirableEffect.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #undesirableEffect}, creating it if it does not already exist {3} - */ - public Reference getUndesirableEffectFirstRep() { - if (getUndesirableEffect().isEmpty()) { - addUndesirableEffect(); - } - return getUndesirableEffect().get(0); - } - - /** - * @return {@link #otherTherapy} (Information about the use of the medicinal product in relation to other therapies described as part of the indication.) - */ - public List getOtherTherapy() { - if (this.otherTherapy == null) - this.otherTherapy = new ArrayList(); - return this.otherTherapy; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueIndicationComponent setOtherTherapy(List theOtherTherapy) { - this.otherTherapy = theOtherTherapy; - return this; - } - - public boolean hasOtherTherapy() { - if (this.otherTherapy == null) - return false; - for (ClinicalUseIssueContraindicationOtherTherapyComponent item : this.otherTherapy) - if (!item.isEmpty()) - return true; - return false; - } - - public ClinicalUseIssueContraindicationOtherTherapyComponent addOtherTherapy() { //3 - ClinicalUseIssueContraindicationOtherTherapyComponent t = new ClinicalUseIssueContraindicationOtherTherapyComponent(); - if (this.otherTherapy == null) - this.otherTherapy = new ArrayList(); - this.otherTherapy.add(t); - return t; - } - - public ClinicalUseIssueIndicationComponent addOtherTherapy(ClinicalUseIssueContraindicationOtherTherapyComponent t) { //3 - if (t == null) - return this; - if (this.otherTherapy == null) - this.otherTherapy = new ArrayList(); - this.otherTherapy.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #otherTherapy}, creating it if it does not already exist {3} - */ - public ClinicalUseIssueContraindicationOtherTherapyComponent getOtherTherapyFirstRep() { - if (getOtherTherapy().isEmpty()) { - addOtherTherapy(); - } - return getOtherTherapy().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as an indicaton for this item.", 0, 1, diseaseSymptomProcedure)); - children.add(new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the indication.", 0, 1, diseaseStatus)); - children.add(new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection as part of the indication.", 0, java.lang.Integer.MAX_VALUE, comorbidity)); - children.add(new Property("intendedEffect", "CodeableReference(ObservationDefinition)", "The intended effect, aim or strategy to be achieved.", 0, 1, intendedEffect)); - children.add(new Property("duration", "Quantity", "Timing or duration information.", 0, 1, duration)); - children.add(new Property("undesirableEffect", "Reference(ClinicalUseIssue)", "The specific undesirable effects of the medicinal product.", 0, java.lang.Integer.MAX_VALUE, undesirableEffect)); - children.add(new Property("otherTherapy", "@ClinicalUseIssue.contraindication.otherTherapy", "Information about the use of the medicinal product in relation to other therapies described as part of the indication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -1497395130: /*diseaseSymptomProcedure*/ return new Property("diseaseSymptomProcedure", "CodeableReference(ObservationDefinition)", "The situation that is being documented as an indicaton for this item.", 0, 1, diseaseSymptomProcedure); - case -505503602: /*diseaseStatus*/ return new Property("diseaseStatus", "CodeableReference(ObservationDefinition)", "The status of the disease or symptom for the indication.", 0, 1, diseaseStatus); - case -406395211: /*comorbidity*/ return new Property("comorbidity", "CodeableReference(ObservationDefinition)", "A comorbidity (concurrent condition) or coinfection as part of the indication.", 0, java.lang.Integer.MAX_VALUE, comorbidity); - case 1587112348: /*intendedEffect*/ return new Property("intendedEffect", "CodeableReference(ObservationDefinition)", "The intended effect, aim or strategy to be achieved.", 0, 1, intendedEffect); - case -1992012396: /*duration*/ return new Property("duration", "Quantity", "Timing or duration information.", 0, 1, duration); - case 444367565: /*undesirableEffect*/ return new Property("undesirableEffect", "Reference(ClinicalUseIssue)", "The specific undesirable effects of the medicinal product.", 0, java.lang.Integer.MAX_VALUE, undesirableEffect); - case -544509127: /*otherTherapy*/ return new Property("otherTherapy", "@ClinicalUseIssue.contraindication.otherTherapy", "Information about the use of the medicinal product in relation to other therapies described as part of the indication.", 0, java.lang.Integer.MAX_VALUE, otherTherapy); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -1497395130: /*diseaseSymptomProcedure*/ return this.diseaseSymptomProcedure == null ? new Base[0] : new Base[] {this.diseaseSymptomProcedure}; // CodeableReference - case -505503602: /*diseaseStatus*/ return this.diseaseStatus == null ? new Base[0] : new Base[] {this.diseaseStatus}; // CodeableReference - case -406395211: /*comorbidity*/ return this.comorbidity == null ? new Base[0] : this.comorbidity.toArray(new Base[this.comorbidity.size()]); // CodeableReference - case 1587112348: /*intendedEffect*/ return this.intendedEffect == null ? new Base[0] : new Base[] {this.intendedEffect}; // CodeableReference - case -1992012396: /*duration*/ return this.duration == null ? new Base[0] : new Base[] {this.duration}; // Quantity - case 444367565: /*undesirableEffect*/ return this.undesirableEffect == null ? new Base[0] : this.undesirableEffect.toArray(new Base[this.undesirableEffect.size()]); // Reference - case -544509127: /*otherTherapy*/ return this.otherTherapy == null ? new Base[0] : this.otherTherapy.toArray(new Base[this.otherTherapy.size()]); // ClinicalUseIssueContraindicationOtherTherapyComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -1497395130: // diseaseSymptomProcedure - this.diseaseSymptomProcedure = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case -505503602: // diseaseStatus - this.diseaseStatus = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case -406395211: // comorbidity - this.getComorbidity().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference - return value; - case 1587112348: // intendedEffect - this.intendedEffect = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case -1992012396: // duration - this.duration = TypeConvertor.castToQuantity(value); // Quantity - return value; - case 444367565: // undesirableEffect - this.getUndesirableEffect().add(TypeConvertor.castToReference(value)); // Reference - return value; - case -544509127: // otherTherapy - this.getOtherTherapy().add((ClinicalUseIssueContraindicationOtherTherapyComponent) value); // ClinicalUseIssueContraindicationOtherTherapyComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("diseaseSymptomProcedure")) { - this.diseaseSymptomProcedure = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("diseaseStatus")) { - this.diseaseStatus = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("comorbidity")) { - this.getComorbidity().add(TypeConvertor.castToCodeableReference(value)); - } else if (name.equals("intendedEffect")) { - this.intendedEffect = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("duration")) { - this.duration = TypeConvertor.castToQuantity(value); // Quantity - } else if (name.equals("undesirableEffect")) { - this.getUndesirableEffect().add(TypeConvertor.castToReference(value)); - } else if (name.equals("otherTherapy")) { - this.getOtherTherapy().add((ClinicalUseIssueContraindicationOtherTherapyComponent) value); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1497395130: return getDiseaseSymptomProcedure(); - case -505503602: return getDiseaseStatus(); - case -406395211: return addComorbidity(); - case 1587112348: return getIntendedEffect(); - case -1992012396: return getDuration(); - case 444367565: return addUndesirableEffect(); - case -544509127: return addOtherTherapy(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1497395130: /*diseaseSymptomProcedure*/ return new String[] {"CodeableReference"}; - case -505503602: /*diseaseStatus*/ return new String[] {"CodeableReference"}; - case -406395211: /*comorbidity*/ return new String[] {"CodeableReference"}; - case 1587112348: /*intendedEffect*/ return new String[] {"CodeableReference"}; - case -1992012396: /*duration*/ return new String[] {"Quantity"}; - case 444367565: /*undesirableEffect*/ return new String[] {"Reference"}; - case -544509127: /*otherTherapy*/ return new String[] {"@ClinicalUseIssue.contraindication.otherTherapy"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("diseaseSymptomProcedure")) { - this.diseaseSymptomProcedure = new CodeableReference(); - return this.diseaseSymptomProcedure; - } - else if (name.equals("diseaseStatus")) { - this.diseaseStatus = new CodeableReference(); - return this.diseaseStatus; - } - else if (name.equals("comorbidity")) { - return addComorbidity(); - } - else if (name.equals("intendedEffect")) { - this.intendedEffect = new CodeableReference(); - return this.intendedEffect; - } - else if (name.equals("duration")) { - this.duration = new Quantity(); - return this.duration; - } - else if (name.equals("undesirableEffect")) { - return addUndesirableEffect(); - } - else if (name.equals("otherTherapy")) { - return addOtherTherapy(); - } - else - return super.addChild(name); - } - - public ClinicalUseIssueIndicationComponent copy() { - ClinicalUseIssueIndicationComponent dst = new ClinicalUseIssueIndicationComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssueIndicationComponent dst) { - super.copyValues(dst); - dst.diseaseSymptomProcedure = diseaseSymptomProcedure == null ? null : diseaseSymptomProcedure.copy(); - dst.diseaseStatus = diseaseStatus == null ? null : diseaseStatus.copy(); - if (comorbidity != null) { - dst.comorbidity = new ArrayList(); - for (CodeableReference i : comorbidity) - dst.comorbidity.add(i.copy()); - }; - dst.intendedEffect = intendedEffect == null ? null : intendedEffect.copy(); - dst.duration = duration == null ? null : duration.copy(); - if (undesirableEffect != null) { - dst.undesirableEffect = new ArrayList(); - for (Reference i : undesirableEffect) - dst.undesirableEffect.add(i.copy()); - }; - if (otherTherapy != null) { - dst.otherTherapy = new ArrayList(); - for (ClinicalUseIssueContraindicationOtherTherapyComponent i : otherTherapy) - dst.otherTherapy.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueIndicationComponent)) - return false; - ClinicalUseIssueIndicationComponent o = (ClinicalUseIssueIndicationComponent) other_; - return compareDeep(diseaseSymptomProcedure, o.diseaseSymptomProcedure, true) && compareDeep(diseaseStatus, o.diseaseStatus, true) - && compareDeep(comorbidity, o.comorbidity, true) && compareDeep(intendedEffect, o.intendedEffect, true) - && compareDeep(duration, o.duration, true) && compareDeep(undesirableEffect, o.undesirableEffect, true) - && compareDeep(otherTherapy, o.otherTherapy, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueIndicationComponent)) - return false; - ClinicalUseIssueIndicationComponent o = (ClinicalUseIssueIndicationComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(diseaseSymptomProcedure, diseaseStatus - , comorbidity, intendedEffect, duration, undesirableEffect, otherTherapy); - } - - public String fhirType() { - return "ClinicalUseIssue.indication"; - - } - - } - - @Block() - public static class ClinicalUseIssueInteractionComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The specific medication, food, substance or laboratory test that interacts. - */ - @Child(name = "interactant", type = {}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The specific medication, food, substance or laboratory test that interacts", formalDefinition="The specific medication, food, substance or laboratory test that interacts." ) - protected List interactant; - - /** - * The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction. - */ - @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction", formalDefinition="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction." ) - protected CodeableConcept type; - - /** - * The effect of the interaction, for example "reduced gastric absorption of primary medication". - */ - @Child(name = "effect", type = {CodeableReference.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The effect of the interaction, for example \"reduced gastric absorption of primary medication\"", formalDefinition="The effect of the interaction, for example \"reduced gastric absorption of primary medication\"." ) - protected CodeableReference effect; - - /** - * The incidence of the interaction, e.g. theoretical, observed. - */ - @Child(name = "incidence", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The incidence of the interaction, e.g. theoretical, observed", formalDefinition="The incidence of the interaction, e.g. theoretical, observed." ) - protected CodeableConcept incidence; - - /** - * Actions for managing the interaction. - */ - @Child(name = "management", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Actions for managing the interaction", formalDefinition="Actions for managing the interaction." ) - protected List management; - - private static final long serialVersionUID = 1233301463L; - - /** - * Constructor - */ - public ClinicalUseIssueInteractionComponent() { - super(); - } - - /** - * @return {@link #interactant} (The specific medication, food, substance or laboratory test that interacts.) - */ - public List getInteractant() { - if (this.interactant == null) - this.interactant = new ArrayList(); - return this.interactant; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueInteractionComponent setInteractant(List theInteractant) { - this.interactant = theInteractant; - return this; - } - - public boolean hasInteractant() { - if (this.interactant == null) - return false; - for (ClinicalUseIssueInteractionInteractantComponent item : this.interactant) - if (!item.isEmpty()) - return true; - return false; - } - - public ClinicalUseIssueInteractionInteractantComponent addInteractant() { //3 - ClinicalUseIssueInteractionInteractantComponent t = new ClinicalUseIssueInteractionInteractantComponent(); - if (this.interactant == null) - this.interactant = new ArrayList(); - this.interactant.add(t); - return t; - } - - public ClinicalUseIssueInteractionComponent addInteractant(ClinicalUseIssueInteractionInteractantComponent t) { //3 - if (t == null) - return this; - if (this.interactant == null) - this.interactant = new ArrayList(); - this.interactant.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #interactant}, creating it if it does not already exist {3} - */ - public ClinicalUseIssueInteractionInteractantComponent getInteractantFirstRep() { - if (getInteractant().isEmpty()) { - addInteractant(); - } - return getInteractant().get(0); - } - - /** - * @return {@link #type} (The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.) - */ - public CodeableConcept getType() { - if (this.type == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueInteractionComponent.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} (The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.) - */ - public ClinicalUseIssueInteractionComponent setType(CodeableConcept value) { - this.type = value; - return this; - } - - /** - * @return {@link #effect} (The effect of the interaction, for example "reduced gastric absorption of primary medication".) - */ - public CodeableReference getEffect() { - if (this.effect == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueInteractionComponent.effect"); - else if (Configuration.doAutoCreate()) - this.effect = new CodeableReference(); // cc - return this.effect; - } - - public boolean hasEffect() { - return this.effect != null && !this.effect.isEmpty(); - } - - /** - * @param value {@link #effect} (The effect of the interaction, for example "reduced gastric absorption of primary medication".) - */ - public ClinicalUseIssueInteractionComponent setEffect(CodeableReference value) { - this.effect = value; - return this; - } - - /** - * @return {@link #incidence} (The incidence of the interaction, e.g. theoretical, observed.) - */ - public CodeableConcept getIncidence() { - if (this.incidence == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueInteractionComponent.incidence"); - else if (Configuration.doAutoCreate()) - this.incidence = new CodeableConcept(); // cc - return this.incidence; - } - - public boolean hasIncidence() { - return this.incidence != null && !this.incidence.isEmpty(); - } - - /** - * @param value {@link #incidence} (The incidence of the interaction, e.g. theoretical, observed.) - */ - public ClinicalUseIssueInteractionComponent setIncidence(CodeableConcept value) { - this.incidence = value; - return this; - } - - /** - * @return {@link #management} (Actions for managing the interaction.) - */ - public List getManagement() { - if (this.management == null) - this.management = new ArrayList(); - return this.management; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssueInteractionComponent setManagement(List theManagement) { - this.management = theManagement; - return this; - } - - public boolean hasManagement() { - if (this.management == null) - return false; - for (CodeableConcept item : this.management) - if (!item.isEmpty()) - return true; - return false; - } - - public CodeableConcept addManagement() { //3 - CodeableConcept t = new CodeableConcept(); - if (this.management == null) - this.management = new ArrayList(); - this.management.add(t); - return t; - } - - public ClinicalUseIssueInteractionComponent addManagement(CodeableConcept t) { //3 - if (t == null) - return this; - if (this.management == null) - this.management = new ArrayList(); - this.management.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #management}, creating it if it does not already exist {3} - */ - public CodeableConcept getManagementFirstRep() { - if (getManagement().isEmpty()) { - addManagement(); - } - return getManagement().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("interactant", "", "The specific medication, food, substance or laboratory test that interacts.", 0, java.lang.Integer.MAX_VALUE, interactant)); - children.add(new Property("type", "CodeableConcept", "The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.", 0, 1, type)); - children.add(new Property("effect", "CodeableReference(ObservationDefinition)", "The effect of the interaction, for example \"reduced gastric absorption of primary medication\".", 0, 1, effect)); - children.add(new Property("incidence", "CodeableConcept", "The incidence of the interaction, e.g. theoretical, observed.", 0, 1, incidence)); - children.add(new Property("management", "CodeableConcept", "Actions for managing the interaction.", 0, java.lang.Integer.MAX_VALUE, management)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 1844097009: /*interactant*/ return new Property("interactant", "", "The specific medication, food, substance or laboratory test that interacts.", 0, java.lang.Integer.MAX_VALUE, interactant); - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.", 0, 1, type); - case -1306084975: /*effect*/ return new Property("effect", "CodeableReference(ObservationDefinition)", "The effect of the interaction, for example \"reduced gastric absorption of primary medication\".", 0, 1, effect); - case -1598467132: /*incidence*/ return new Property("incidence", "CodeableConcept", "The incidence of the interaction, e.g. theoretical, observed.", 0, 1, incidence); - case -1799980989: /*management*/ return new Property("management", "CodeableConcept", "Actions for managing the interaction.", 0, java.lang.Integer.MAX_VALUE, management); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 1844097009: /*interactant*/ return this.interactant == null ? new Base[0] : this.interactant.toArray(new Base[this.interactant.size()]); // ClinicalUseIssueInteractionInteractantComponent - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept - case -1306084975: /*effect*/ return this.effect == null ? new Base[0] : new Base[] {this.effect}; // CodeableReference - case -1598467132: /*incidence*/ return this.incidence == null ? new Base[0] : new Base[] {this.incidence}; // CodeableConcept - case -1799980989: /*management*/ return this.management == null ? new Base[0] : this.management.toArray(new Base[this.management.size()]); // CodeableConcept - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 1844097009: // interactant - this.getInteractant().add((ClinicalUseIssueInteractionInteractantComponent) value); // ClinicalUseIssueInteractionInteractantComponent - return value; - case 3575610: // type - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1306084975: // effect - this.effect = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case -1598467132: // incidence - this.incidence = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1799980989: // management - this.getManagement().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("interactant")) { - this.getInteractant().add((ClinicalUseIssueInteractionInteractantComponent) value); - } else if (name.equals("type")) { - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("effect")) { - this.effect = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("incidence")) { - this.incidence = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("management")) { - this.getManagement().add(TypeConvertor.castToCodeableConcept(value)); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 1844097009: return addInteractant(); - case 3575610: return getType(); - case -1306084975: return getEffect(); - case -1598467132: return getIncidence(); - case -1799980989: return addManagement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 1844097009: /*interactant*/ return new String[] {}; - case 3575610: /*type*/ return new String[] {"CodeableConcept"}; - case -1306084975: /*effect*/ return new String[] {"CodeableReference"}; - case -1598467132: /*incidence*/ return new String[] {"CodeableConcept"}; - case -1799980989: /*management*/ return new String[] {"CodeableConcept"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("interactant")) { - return addInteractant(); - } - else if (name.equals("type")) { - this.type = new CodeableConcept(); - return this.type; - } - else if (name.equals("effect")) { - this.effect = new CodeableReference(); - return this.effect; - } - else if (name.equals("incidence")) { - this.incidence = new CodeableConcept(); - return this.incidence; - } - else if (name.equals("management")) { - return addManagement(); - } - else - return super.addChild(name); - } - - public ClinicalUseIssueInteractionComponent copy() { - ClinicalUseIssueInteractionComponent dst = new ClinicalUseIssueInteractionComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssueInteractionComponent dst) { - super.copyValues(dst); - if (interactant != null) { - dst.interactant = new ArrayList(); - for (ClinicalUseIssueInteractionInteractantComponent i : interactant) - dst.interactant.add(i.copy()); - }; - dst.type = type == null ? null : type.copy(); - dst.effect = effect == null ? null : effect.copy(); - dst.incidence = incidence == null ? null : incidence.copy(); - if (management != null) { - dst.management = new ArrayList(); - for (CodeableConcept i : management) - dst.management.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueInteractionComponent)) - return false; - ClinicalUseIssueInteractionComponent o = (ClinicalUseIssueInteractionComponent) other_; - return compareDeep(interactant, o.interactant, true) && compareDeep(type, o.type, true) && compareDeep(effect, o.effect, true) - && compareDeep(incidence, o.incidence, true) && compareDeep(management, o.management, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueInteractionComponent)) - return false; - ClinicalUseIssueInteractionComponent o = (ClinicalUseIssueInteractionComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(interactant, type, effect - , incidence, management); - } - - public String fhirType() { - return "ClinicalUseIssue.interaction"; - - } - - } - - @Block() - public static class ClinicalUseIssueInteractionInteractantComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The specific medication, food or laboratory test that interacts. - */ - @Child(name = "item", type = {MedicinalProductDefinition.class, Medication.class, Substance.class, ObservationDefinition.class, CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="The specific medication, food or laboratory test that interacts", formalDefinition="The specific medication, food or laboratory test that interacts." ) - protected DataType item; - - private static final long serialVersionUID = 1847936859L; - - /** - * Constructor - */ - public ClinicalUseIssueInteractionInteractantComponent() { - super(); - } - - /** - * Constructor - */ - public ClinicalUseIssueInteractionInteractantComponent(DataType item) { - super(); - this.setItem(item); - } - - /** - * @return {@link #item} (The specific medication, food or laboratory test that interacts.) - */ - public DataType getItem() { - return this.item; - } - - /** - * @return {@link #item} (The specific medication, food or laboratory test that interacts.) - */ - public Reference getItemReference() throws FHIRException { - if (this.item == null) - this.item = new Reference(); - if (!(this.item instanceof Reference)) - throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.item.getClass().getName()+" was encountered"); - return (Reference) this.item; - } - - public boolean hasItemReference() { - return this != null && this.item instanceof Reference; - } - - /** - * @return {@link #item} (The specific medication, food or laboratory test that interacts.) - */ - public CodeableConcept getItemCodeableConcept() throws FHIRException { - if (this.item == null) - this.item = new CodeableConcept(); - if (!(this.item instanceof CodeableConcept)) - throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.item.getClass().getName()+" was encountered"); - return (CodeableConcept) this.item; - } - - public boolean hasItemCodeableConcept() { - return this != null && this.item instanceof CodeableConcept; - } - - public boolean hasItem() { - return this.item != null && !this.item.isEmpty(); - } - - /** - * @param value {@link #item} (The specific medication, food or laboratory test that interacts.) - */ - public ClinicalUseIssueInteractionInteractantComponent setItem(DataType value) { - if (value != null && !(value instanceof Reference || value instanceof CodeableConcept)) - throw new Error("Not the right type for ClinicalUseIssue.interaction.interactant.item[x]: "+value.fhirType()); - this.item = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)|CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 2116201613: /*item[x]*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)|CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item); - case 3242771: /*item*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)|CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item); - case 1376364920: /*itemReference*/ return new Property("item[x]", "Reference(MedicinalProductDefinition|Medication|Substance|ObservationDefinition)", "The specific medication, food or laboratory test that interacts.", 0, 1, item); - case 106644494: /*itemCodeableConcept*/ return new Property("item[x]", "CodeableConcept", "The specific medication, food or laboratory test that interacts.", 0, 1, item); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3242771: /*item*/ return this.item == null ? new Base[0] : new Base[] {this.item}; // DataType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3242771: // item - this.item = TypeConvertor.castToType(value); // DataType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("item[x]")) { - this.item = TypeConvertor.castToType(value); // DataType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 2116201613: return getItem(); - case 3242771: return getItem(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3242771: /*item*/ return new String[] {"Reference", "CodeableConcept"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("itemReference")) { - this.item = new Reference(); - return this.item; - } - else if (name.equals("itemCodeableConcept")) { - this.item = new CodeableConcept(); - return this.item; - } - else - return super.addChild(name); - } - - public ClinicalUseIssueInteractionInteractantComponent copy() { - ClinicalUseIssueInteractionInteractantComponent dst = new ClinicalUseIssueInteractionInteractantComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssueInteractionInteractantComponent dst) { - super.copyValues(dst); - dst.item = item == null ? null : item.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueInteractionInteractantComponent)) - return false; - ClinicalUseIssueInteractionInteractantComponent o = (ClinicalUseIssueInteractionInteractantComponent) other_; - return compareDeep(item, o.item, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueInteractionInteractantComponent)) - return false; - ClinicalUseIssueInteractionInteractantComponent o = (ClinicalUseIssueInteractionInteractantComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(item); - } - - public String fhirType() { - return "ClinicalUseIssue.interaction.interactant"; - - } - - } - - @Block() - public static class ClinicalUseIssueUndesirableEffectComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The situation in which the undesirable effect may manifest. - */ - @Child(name = "symptomConditionEffect", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The situation in which the undesirable effect may manifest", formalDefinition="The situation in which the undesirable effect may manifest." ) - protected CodeableReference symptomConditionEffect; - - /** - * High level classification of the effect. - */ - @Child(name = "classification", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="High level classification of the effect", formalDefinition="High level classification of the effect." ) - protected CodeableConcept classification; - - /** - * How often the effect is seen. - */ - @Child(name = "frequencyOfOccurrence", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="How often the effect is seen", formalDefinition="How often the effect is seen." ) - protected CodeableConcept frequencyOfOccurrence; - - private static final long serialVersionUID = -55472609L; - - /** - * Constructor - */ - public ClinicalUseIssueUndesirableEffectComponent() { - super(); - } - - /** - * @return {@link #symptomConditionEffect} (The situation in which the undesirable effect may manifest.) - */ - public CodeableReference getSymptomConditionEffect() { - if (this.symptomConditionEffect == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueUndesirableEffectComponent.symptomConditionEffect"); - else if (Configuration.doAutoCreate()) - this.symptomConditionEffect = new CodeableReference(); // cc - return this.symptomConditionEffect; - } - - public boolean hasSymptomConditionEffect() { - return this.symptomConditionEffect != null && !this.symptomConditionEffect.isEmpty(); - } - - /** - * @param value {@link #symptomConditionEffect} (The situation in which the undesirable effect may manifest.) - */ - public ClinicalUseIssueUndesirableEffectComponent setSymptomConditionEffect(CodeableReference value) { - this.symptomConditionEffect = value; - return this; - } - - /** - * @return {@link #classification} (High level classification of the effect.) - */ - public CodeableConcept getClassification() { - if (this.classification == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueUndesirableEffectComponent.classification"); - else if (Configuration.doAutoCreate()) - this.classification = new CodeableConcept(); // cc - return this.classification; - } - - public boolean hasClassification() { - return this.classification != null && !this.classification.isEmpty(); - } - - /** - * @param value {@link #classification} (High level classification of the effect.) - */ - public ClinicalUseIssueUndesirableEffectComponent setClassification(CodeableConcept value) { - this.classification = value; - return this; - } - - /** - * @return {@link #frequencyOfOccurrence} (How often the effect is seen.) - */ - public CodeableConcept getFrequencyOfOccurrence() { - if (this.frequencyOfOccurrence == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssueUndesirableEffectComponent.frequencyOfOccurrence"); - else if (Configuration.doAutoCreate()) - this.frequencyOfOccurrence = new CodeableConcept(); // cc - return this.frequencyOfOccurrence; - } - - public boolean hasFrequencyOfOccurrence() { - return this.frequencyOfOccurrence != null && !this.frequencyOfOccurrence.isEmpty(); - } - - /** - * @param value {@link #frequencyOfOccurrence} (How often the effect is seen.) - */ - public ClinicalUseIssueUndesirableEffectComponent setFrequencyOfOccurrence(CodeableConcept value) { - this.frequencyOfOccurrence = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("symptomConditionEffect", "CodeableReference(ObservationDefinition)", "The situation in which the undesirable effect may manifest.", 0, 1, symptomConditionEffect)); - children.add(new Property("classification", "CodeableConcept", "High level classification of the effect.", 0, 1, classification)); - children.add(new Property("frequencyOfOccurrence", "CodeableConcept", "How often the effect is seen.", 0, 1, frequencyOfOccurrence)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -650549981: /*symptomConditionEffect*/ return new Property("symptomConditionEffect", "CodeableReference(ObservationDefinition)", "The situation in which the undesirable effect may manifest.", 0, 1, symptomConditionEffect); - case 382350310: /*classification*/ return new Property("classification", "CodeableConcept", "High level classification of the effect.", 0, 1, classification); - case 791175812: /*frequencyOfOccurrence*/ return new Property("frequencyOfOccurrence", "CodeableConcept", "How often the effect is seen.", 0, 1, frequencyOfOccurrence); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -650549981: /*symptomConditionEffect*/ return this.symptomConditionEffect == null ? new Base[0] : new Base[] {this.symptomConditionEffect}; // CodeableReference - case 382350310: /*classification*/ return this.classification == null ? new Base[0] : new Base[] {this.classification}; // CodeableConcept - case 791175812: /*frequencyOfOccurrence*/ return this.frequencyOfOccurrence == null ? new Base[0] : new Base[] {this.frequencyOfOccurrence}; // CodeableConcept - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -650549981: // symptomConditionEffect - this.symptomConditionEffect = TypeConvertor.castToCodeableReference(value); // CodeableReference - return value; - case 382350310: // classification - this.classification = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case 791175812: // frequencyOfOccurrence - this.frequencyOfOccurrence = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("symptomConditionEffect")) { - this.symptomConditionEffect = TypeConvertor.castToCodeableReference(value); // CodeableReference - } else if (name.equals("classification")) { - this.classification = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("frequencyOfOccurrence")) { - this.frequencyOfOccurrence = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -650549981: return getSymptomConditionEffect(); - case 382350310: return getClassification(); - case 791175812: return getFrequencyOfOccurrence(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -650549981: /*symptomConditionEffect*/ return new String[] {"CodeableReference"}; - case 382350310: /*classification*/ return new String[] {"CodeableConcept"}; - case 791175812: /*frequencyOfOccurrence*/ return new String[] {"CodeableConcept"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("symptomConditionEffect")) { - this.symptomConditionEffect = new CodeableReference(); - return this.symptomConditionEffect; - } - else if (name.equals("classification")) { - this.classification = new CodeableConcept(); - return this.classification; - } - else if (name.equals("frequencyOfOccurrence")) { - this.frequencyOfOccurrence = new CodeableConcept(); - return this.frequencyOfOccurrence; - } - else - return super.addChild(name); - } - - public ClinicalUseIssueUndesirableEffectComponent copy() { - ClinicalUseIssueUndesirableEffectComponent dst = new ClinicalUseIssueUndesirableEffectComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssueUndesirableEffectComponent dst) { - super.copyValues(dst); - dst.symptomConditionEffect = symptomConditionEffect == null ? null : symptomConditionEffect.copy(); - dst.classification = classification == null ? null : classification.copy(); - dst.frequencyOfOccurrence = frequencyOfOccurrence == null ? null : frequencyOfOccurrence.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueUndesirableEffectComponent)) - return false; - ClinicalUseIssueUndesirableEffectComponent o = (ClinicalUseIssueUndesirableEffectComponent) other_; - return compareDeep(symptomConditionEffect, o.symptomConditionEffect, true) && compareDeep(classification, o.classification, true) - && compareDeep(frequencyOfOccurrence, o.frequencyOfOccurrence, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssueUndesirableEffectComponent)) - return false; - ClinicalUseIssueUndesirableEffectComponent o = (ClinicalUseIssueUndesirableEffectComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(symptomConditionEffect, classification - , frequencyOfOccurrence); - } - - public String fhirType() { - return "ClinicalUseIssue.undesirableEffect"; - - } - - } - - /** - * Business identifier for this issue. - */ - @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Business identifier for this issue", formalDefinition="Business identifier for this issue." ) - protected List identifier; - - /** - * indication | contraindication | interaction | undesirable-effect | warning. - */ - @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="indication | contraindication | interaction | undesirable-effect | warning", formalDefinition="indication | contraindication | interaction | undesirable-effect | warning." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-use-issue-type") - protected Enumeration type; - - /** - * A categorisation of the issue, primarily for dividing warnings into subject heading areas such as "Pregnancy and Lactation", "Overdose", "Effects on Ability to Drive and Use Machines". - */ - @Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\"", formalDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\"." ) - protected List category; - - /** - * The medication or procedure for which this is an indication. - */ - @Child(name = "subject", type = {MedicinalProductDefinition.class, Medication.class, ActivityDefinition.class, PlanDefinition.class, Device.class, DeviceDefinition.class, Substance.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The medication or procedure for which this is an indication", formalDefinition="The medication or procedure for which this is an indication." ) - protected List subject; - - /** - * Whether this is a current issue or one that has been retired etc. - */ - @Child(name = "status", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Whether this is a current issue or one that has been retired etc", formalDefinition="Whether this is a current issue or one that has been retired etc." ) - protected CodeableConcept status; - - /** - * General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example "May affect ability to drive". - */ - @Child(name = "description", type = {MarkdownType.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example \"May affect ability to drive\"", formalDefinition="General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example \"May affect ability to drive\"." ) - protected MarkdownType description; - - /** - * Specifics for when this is a contraindication. - */ - @Child(name = "contraindication", type = {}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Specifics for when this is a contraindication", formalDefinition="Specifics for when this is a contraindication." ) - protected ClinicalUseIssueContraindicationComponent contraindication; - - /** - * Specifics for when this is an indication. - */ - @Child(name = "indication", type = {}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Specifics for when this is an indication", formalDefinition="Specifics for when this is an indication." ) - protected ClinicalUseIssueIndicationComponent indication; - - /** - * Specifics for when this is an interaction. - */ - @Child(name = "interaction", type = {}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Specifics for when this is an interaction", formalDefinition="Specifics for when this is an interaction." ) - protected ClinicalUseIssueInteractionComponent interaction; - - /** - * The population group to which this applies. - */ - @Child(name = "population", type = {Population.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The population group to which this applies", formalDefinition="The population group to which this applies." ) - protected List population; - - /** - * Describe the undesirable effects of the medicinal product. - */ - @Child(name = "undesirableEffect", type = {}, order=10, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A possible negative outcome from the use of this treatment", formalDefinition="Describe the undesirable effects of the medicinal product." ) - protected ClinicalUseIssueUndesirableEffectComponent undesirableEffect; - - private static final long serialVersionUID = 313334576L; - - /** - * Constructor - */ - public ClinicalUseIssue() { - super(); - } - - /** - * Constructor - */ - public ClinicalUseIssue(ClinicalUseIssueType type) { - super(); - this.setType(type); - } - - /** - * @return {@link #identifier} (Business identifier for this issue.) - */ - public List getIdentifier() { - if (this.identifier == null) - this.identifier = new ArrayList(); - return this.identifier; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssue setIdentifier(List theIdentifier) { - this.identifier = theIdentifier; - return this; - } - - public boolean hasIdentifier() { - if (this.identifier == null) - return false; - for (Identifier item : this.identifier) - if (!item.isEmpty()) - return true; - return false; - } - - public Identifier addIdentifier() { //3 - Identifier t = new Identifier(); - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return t; - } - - public ClinicalUseIssue addIdentifier(Identifier t) { //3 - if (t == null) - return this; - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} - */ - public Identifier getIdentifierFirstRep() { - if (getIdentifier().isEmpty()) { - addIdentifier(); - } - return getIdentifier().get(0); - } - - /** - * @return {@link #type} (indication | contraindication | interaction | undesirable-effect | warning.). 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 ClinicalUseIssue.type"); - else if (Configuration.doAutoCreate()) - this.type = new Enumeration(new ClinicalUseIssueTypeEnumFactory()); // 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} (indication | contraindication | interaction | undesirable-effect | warning.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value - */ - public ClinicalUseIssue setTypeElement(Enumeration value) { - this.type = value; - return this; - } - - /** - * @return indication | contraindication | interaction | undesirable-effect | warning. - */ - public ClinicalUseIssueType getType() { - return this.type == null ? null : this.type.getValue(); - } - - /** - * @param value indication | contraindication | interaction | undesirable-effect | warning. - */ - public ClinicalUseIssue setType(ClinicalUseIssueType value) { - if (this.type == null) - this.type = new Enumeration(new ClinicalUseIssueTypeEnumFactory()); - this.type.setValue(value); - return this; - } - - /** - * @return {@link #category} (A categorisation of the issue, primarily for dividing warnings into subject heading areas such as "Pregnancy and Lactation", "Overdose", "Effects on Ability to Drive and Use Machines".) - */ - public List getCategory() { - if (this.category == null) - this.category = new ArrayList(); - return this.category; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssue setCategory(List theCategory) { - this.category = theCategory; - return this; - } - - public boolean hasCategory() { - if (this.category == null) - return false; - for (CodeableConcept item : this.category) - if (!item.isEmpty()) - return true; - return false; - } - - public CodeableConcept addCategory() { //3 - CodeableConcept t = new CodeableConcept(); - if (this.category == null) - this.category = new ArrayList(); - this.category.add(t); - return t; - } - - public ClinicalUseIssue addCategory(CodeableConcept t) { //3 - if (t == null) - return this; - if (this.category == null) - this.category = new ArrayList(); - this.category.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #category}, creating it if it does not already exist {3} - */ - public CodeableConcept getCategoryFirstRep() { - if (getCategory().isEmpty()) { - addCategory(); - } - return getCategory().get(0); - } - - /** - * @return {@link #subject} (The medication or procedure for which this is an indication.) - */ - public List getSubject() { - if (this.subject == null) - this.subject = new ArrayList(); - return this.subject; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssue setSubject(List theSubject) { - this.subject = theSubject; - return this; - } - - public boolean hasSubject() { - if (this.subject == null) - return false; - for (Reference item : this.subject) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addSubject() { //3 - Reference t = new Reference(); - if (this.subject == null) - this.subject = new ArrayList(); - this.subject.add(t); - return t; - } - - public ClinicalUseIssue addSubject(Reference t) { //3 - if (t == null) - return this; - if (this.subject == null) - this.subject = new ArrayList(); - this.subject.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #subject}, creating it if it does not already exist {3} - */ - public Reference getSubjectFirstRep() { - if (getSubject().isEmpty()) { - addSubject(); - } - return getSubject().get(0); - } - - /** - * @return {@link #status} (Whether this is a current issue or one that has been retired etc.) - */ - public CodeableConcept getStatus() { - if (this.status == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssue.status"); - else if (Configuration.doAutoCreate()) - this.status = new CodeableConcept(); // cc - return this.status; - } - - public boolean hasStatus() { - return this.status != null && !this.status.isEmpty(); - } - - /** - * @param value {@link #status} (Whether this is a current issue or one that has been retired etc.) - */ - public ClinicalUseIssue setStatus(CodeableConcept value) { - this.status = value; - return this; - } - - /** - * @return {@link #description} (General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example "May affect ability to drive".). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value - */ - public MarkdownType getDescriptionElement() { - if (this.description == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssue.description"); - else if (Configuration.doAutoCreate()) - this.description = new MarkdownType(); // 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} (General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example "May affect ability to drive".). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value - */ - public ClinicalUseIssue setDescriptionElement(MarkdownType value) { - this.description = value; - return this; - } - - /** - * @return General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example "May affect ability to drive". - */ - public String getDescription() { - return this.description == null ? null : this.description.getValue(); - } - - /** - * @param value General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example "May affect ability to drive". - */ - public ClinicalUseIssue setDescription(String value) { - if (value == null) - this.description = null; - else { - if (this.description == null) - this.description = new MarkdownType(); - this.description.setValue(value); - } - return this; - } - - /** - * @return {@link #contraindication} (Specifics for when this is a contraindication.) - */ - public ClinicalUseIssueContraindicationComponent getContraindication() { - if (this.contraindication == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssue.contraindication"); - else if (Configuration.doAutoCreate()) - this.contraindication = new ClinicalUseIssueContraindicationComponent(); // cc - return this.contraindication; - } - - public boolean hasContraindication() { - return this.contraindication != null && !this.contraindication.isEmpty(); - } - - /** - * @param value {@link #contraindication} (Specifics for when this is a contraindication.) - */ - public ClinicalUseIssue setContraindication(ClinicalUseIssueContraindicationComponent value) { - this.contraindication = value; - return this; - } - - /** - * @return {@link #indication} (Specifics for when this is an indication.) - */ - public ClinicalUseIssueIndicationComponent getIndication() { - if (this.indication == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssue.indication"); - else if (Configuration.doAutoCreate()) - this.indication = new ClinicalUseIssueIndicationComponent(); // cc - return this.indication; - } - - public boolean hasIndication() { - return this.indication != null && !this.indication.isEmpty(); - } - - /** - * @param value {@link #indication} (Specifics for when this is an indication.) - */ - public ClinicalUseIssue setIndication(ClinicalUseIssueIndicationComponent value) { - this.indication = value; - return this; - } - - /** - * @return {@link #interaction} (Specifics for when this is an interaction.) - */ - public ClinicalUseIssueInteractionComponent getInteraction() { - if (this.interaction == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssue.interaction"); - else if (Configuration.doAutoCreate()) - this.interaction = new ClinicalUseIssueInteractionComponent(); // cc - return this.interaction; - } - - public boolean hasInteraction() { - return this.interaction != null && !this.interaction.isEmpty(); - } - - /** - * @param value {@link #interaction} (Specifics for when this is an interaction.) - */ - public ClinicalUseIssue setInteraction(ClinicalUseIssueInteractionComponent value) { - this.interaction = value; - return this; - } - - /** - * @return {@link #population} (The population group to which this applies.) - */ - public List getPopulation() { - if (this.population == null) - this.population = new ArrayList(); - return this.population; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ClinicalUseIssue setPopulation(List thePopulation) { - this.population = thePopulation; - return this; - } - - public boolean hasPopulation() { - if (this.population == null) - return false; - for (Population item : this.population) - if (!item.isEmpty()) - return true; - return false; - } - - public Population addPopulation() { //3 - Population t = new Population(); - if (this.population == null) - this.population = new ArrayList(); - this.population.add(t); - return t; - } - - public ClinicalUseIssue addPopulation(Population t) { //3 - if (t == null) - return this; - if (this.population == null) - this.population = new ArrayList(); - this.population.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #population}, creating it if it does not already exist {3} - */ - public Population getPopulationFirstRep() { - if (getPopulation().isEmpty()) { - addPopulation(); - } - return getPopulation().get(0); - } - - /** - * @return {@link #undesirableEffect} (Describe the undesirable effects of the medicinal product.) - */ - public ClinicalUseIssueUndesirableEffectComponent getUndesirableEffect() { - if (this.undesirableEffect == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ClinicalUseIssue.undesirableEffect"); - else if (Configuration.doAutoCreate()) - this.undesirableEffect = new ClinicalUseIssueUndesirableEffectComponent(); // cc - return this.undesirableEffect; - } - - public boolean hasUndesirableEffect() { - return this.undesirableEffect != null && !this.undesirableEffect.isEmpty(); - } - - /** - * @param value {@link #undesirableEffect} (Describe the undesirable effects of the medicinal product.) - */ - public ClinicalUseIssue setUndesirableEffect(ClinicalUseIssueUndesirableEffectComponent value) { - this.undesirableEffect = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type)); - children.add(new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\".", 0, java.lang.Integer.MAX_VALUE, category)); - children.add(new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance)", "The medication or procedure for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject)); - children.add(new Property("status", "CodeableConcept", "Whether this is a current issue or one that has been retired etc.", 0, 1, status)); - children.add(new Property("description", "markdown", "General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example \"May affect ability to drive\".", 0, 1, description)); - children.add(new Property("contraindication", "", "Specifics for when this is a contraindication.", 0, 1, contraindication)); - children.add(new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication)); - children.add(new Property("interaction", "", "Specifics for when this is an interaction.", 0, 1, interaction)); - children.add(new Property("population", "Population", "The population group to which this applies.", 0, java.lang.Integer.MAX_VALUE, population)); - children.add(new Property("undesirableEffect", "", "Describe the undesirable effects of the medicinal product.", 0, 1, undesirableEffect)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier); - case 3575610: /*type*/ return new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type); - case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects on Ability to Drive and Use Machines\".", 0, java.lang.Integer.MAX_VALUE, category); - case -1867885268: /*subject*/ return new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance)", "The medication or procedure for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject); - case -892481550: /*status*/ return new Property("status", "CodeableConcept", "Whether this is a current issue or one that has been retired etc.", 0, 1, status); - case -1724546052: /*description*/ return new Property("description", "markdown", "General description of an effect (particularly for a general warning, rather than any of the more specific types such as indication) for when a distinct coded or textual description is not appropriate using Indication.diseaseSymptomProcedure.text, Contraindication.diseaseSymptomProcedure.text etc. For example \"May affect ability to drive\".", 0, 1, description); - case 107135229: /*contraindication*/ return new Property("contraindication", "", "Specifics for when this is a contraindication.", 0, 1, contraindication); - case -597168804: /*indication*/ return new Property("indication", "", "Specifics for when this is an indication.", 0, 1, indication); - case 1844104722: /*interaction*/ return new Property("interaction", "", "Specifics for when this is an interaction.", 0, 1, interaction); - case -2023558323: /*population*/ return new Property("population", "Population", "The population group to which this applies.", 0, java.lang.Integer.MAX_VALUE, population); - case 444367565: /*undesirableEffect*/ return new Property("undesirableEffect", "", "Describe the undesirable effects of the medicinal product.", 0, 1, undesirableEffect); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration - case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept - case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : this.subject.toArray(new Base[this.subject.size()]); // Reference - case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept - case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType - case 107135229: /*contraindication*/ return this.contraindication == null ? new Base[0] : new Base[] {this.contraindication}; // ClinicalUseIssueContraindicationComponent - case -597168804: /*indication*/ return this.indication == null ? new Base[0] : new Base[] {this.indication}; // ClinicalUseIssueIndicationComponent - case 1844104722: /*interaction*/ return this.interaction == null ? new Base[0] : new Base[] {this.interaction}; // ClinicalUseIssueInteractionComponent - case -2023558323: /*population*/ return this.population == null ? new Base[0] : this.population.toArray(new Base[this.population.size()]); // Population - case 444367565: /*undesirableEffect*/ return this.undesirableEffect == null ? new Base[0] : new Base[] {this.undesirableEffect}; // ClinicalUseIssueUndesirableEffectComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -1618432855: // identifier - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier - return value; - case 3575610: // type - value = new ClinicalUseIssueTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration - return value; - case 50511102: // category - this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept - return value; - case -1867885268: // subject - this.getSubject().add(TypeConvertor.castToReference(value)); // Reference - return value; - case -892481550: // status - this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1724546052: // description - this.description = TypeConvertor.castToMarkdown(value); // MarkdownType - return value; - case 107135229: // contraindication - this.contraindication = (ClinicalUseIssueContraindicationComponent) value; // ClinicalUseIssueContraindicationComponent - return value; - case -597168804: // indication - this.indication = (ClinicalUseIssueIndicationComponent) value; // ClinicalUseIssueIndicationComponent - return value; - case 1844104722: // interaction - this.interaction = (ClinicalUseIssueInteractionComponent) value; // ClinicalUseIssueInteractionComponent - return value; - case -2023558323: // population - this.getPopulation().add(TypeConvertor.castToPopulation(value)); // Population - return value; - case 444367565: // undesirableEffect - this.undesirableEffect = (ClinicalUseIssueUndesirableEffectComponent) value; // ClinicalUseIssueUndesirableEffectComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("identifier")) { - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else if (name.equals("type")) { - value = new ClinicalUseIssueTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration - } else if (name.equals("category")) { - this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); - } else if (name.equals("subject")) { - this.getSubject().add(TypeConvertor.castToReference(value)); - } else if (name.equals("status")) { - this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("description")) { - this.description = TypeConvertor.castToMarkdown(value); // MarkdownType - } else if (name.equals("contraindication")) { - this.contraindication = (ClinicalUseIssueContraindicationComponent) value; // ClinicalUseIssueContraindicationComponent - } else if (name.equals("indication")) { - this.indication = (ClinicalUseIssueIndicationComponent) value; // ClinicalUseIssueIndicationComponent - } else if (name.equals("interaction")) { - this.interaction = (ClinicalUseIssueInteractionComponent) value; // ClinicalUseIssueInteractionComponent - } else if (name.equals("population")) { - this.getPopulation().add(TypeConvertor.castToPopulation(value)); - } else if (name.equals("undesirableEffect")) { - this.undesirableEffect = (ClinicalUseIssueUndesirableEffectComponent) value; // ClinicalUseIssueUndesirableEffectComponent - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1618432855: return addIdentifier(); - case 3575610: return getTypeElement(); - case 50511102: return addCategory(); - case -1867885268: return addSubject(); - case -892481550: return getStatus(); - case -1724546052: return getDescriptionElement(); - case 107135229: return getContraindication(); - case -597168804: return getIndication(); - case 1844104722: return getInteraction(); - case -2023558323: return addPopulation(); - case 444367565: return getUndesirableEffect(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - case 3575610: /*type*/ return new String[] {"code"}; - case 50511102: /*category*/ return new String[] {"CodeableConcept"}; - case -1867885268: /*subject*/ return new String[] {"Reference"}; - case -892481550: /*status*/ return new String[] {"CodeableConcept"}; - case -1724546052: /*description*/ return new String[] {"markdown"}; - case 107135229: /*contraindication*/ return new String[] {}; - case -597168804: /*indication*/ return new String[] {}; - case 1844104722: /*interaction*/ return new String[] {}; - case -2023558323: /*population*/ return new String[] {"Population"}; - case 444367565: /*undesirableEffect*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("identifier")) { - return addIdentifier(); - } - else if (name.equals("type")) { - throw new FHIRException("Cannot call addChild on a primitive type ClinicalUseIssue.type"); - } - else if (name.equals("category")) { - return addCategory(); - } - else if (name.equals("subject")) { - return addSubject(); - } - else if (name.equals("status")) { - this.status = new CodeableConcept(); - return this.status; - } - else if (name.equals("description")) { - throw new FHIRException("Cannot call addChild on a primitive type ClinicalUseIssue.description"); - } - else if (name.equals("contraindication")) { - this.contraindication = new ClinicalUseIssueContraindicationComponent(); - return this.contraindication; - } - else if (name.equals("indication")) { - this.indication = new ClinicalUseIssueIndicationComponent(); - return this.indication; - } - else if (name.equals("interaction")) { - this.interaction = new ClinicalUseIssueInteractionComponent(); - return this.interaction; - } - else if (name.equals("population")) { - return addPopulation(); - } - else if (name.equals("undesirableEffect")) { - this.undesirableEffect = new ClinicalUseIssueUndesirableEffectComponent(); - return this.undesirableEffect; - } - else - return super.addChild(name); - } - - public String fhirType() { - return "ClinicalUseIssue"; - - } - - public ClinicalUseIssue copy() { - ClinicalUseIssue dst = new ClinicalUseIssue(); - copyValues(dst); - return dst; - } - - public void copyValues(ClinicalUseIssue dst) { - super.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(); - if (category != null) { - dst.category = new ArrayList(); - for (CodeableConcept i : category) - dst.category.add(i.copy()); - }; - if (subject != null) { - dst.subject = new ArrayList(); - for (Reference i : subject) - dst.subject.add(i.copy()); - }; - dst.status = status == null ? null : status.copy(); - dst.description = description == null ? null : description.copy(); - dst.contraindication = contraindication == null ? null : contraindication.copy(); - dst.indication = indication == null ? null : indication.copy(); - dst.interaction = interaction == null ? null : interaction.copy(); - if (population != null) { - dst.population = new ArrayList(); - for (Population i : population) - dst.population.add(i.copy()); - }; - dst.undesirableEffect = undesirableEffect == null ? null : undesirableEffect.copy(); - } - - protected ClinicalUseIssue typedCopy() { - return copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssue)) - return false; - ClinicalUseIssue o = (ClinicalUseIssue) other_; - return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(category, o.category, true) - && compareDeep(subject, o.subject, true) && compareDeep(status, o.status, true) && compareDeep(description, o.description, true) - && compareDeep(contraindication, o.contraindication, true) && compareDeep(indication, o.indication, true) - && compareDeep(interaction, o.interaction, true) && compareDeep(population, o.population, true) - && compareDeep(undesirableEffect, o.undesirableEffect, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ClinicalUseIssue)) - return false; - ClinicalUseIssue o = (ClinicalUseIssue) other_; - return compareValues(type, o.type, true) && compareValues(description, o.description, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, category - , subject, status, description, contraindication, indication, interaction, population - , undesirableEffect); - } - - @Override - public ResourceType getResourceType() { - return ResourceType.ClinicalUseIssue; - } - - /** - * Search parameter: contraindication-reference - *

- * Description: The situation that is being documented as contraindicating against this item, as a reference
- * Type: reference
- * Path: ClinicalUseIssue.contraindication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="contraindication-reference", path="ClinicalUseIssue.contraindication.diseaseSymptomProcedure", description="The situation that is being documented as contraindicating against this item, as a reference", type="reference" ) - public static final String SP_CONTRAINDICATION_REFERENCE = "contraindication-reference"; - /** - * Fluent Client search parameter constant for contraindication-reference - *

- * Description: The situation that is being documented as contraindicating against this item, as a reference
- * Type: reference
- * Path: ClinicalUseIssue.contraindication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTRAINDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTRAINDICATION_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseIssue:contraindication-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTRAINDICATION_REFERENCE = new ca.uhn.fhir.model.api.Include("ClinicalUseIssue:contraindication-reference").toLocked(); - - /** - * Search parameter: contraindication - *

- * Description: The situation that is being documented as contraindicating against this item, as a code
- * Type: token
- * Path: ClinicalUseIssue.contraindication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="contraindication", path="ClinicalUseIssue.contraindication.diseaseSymptomProcedure", description="The situation that is being documented as contraindicating against this item, as a code", type="token" ) - public static final String SP_CONTRAINDICATION = "contraindication"; - /** - * Fluent Client search parameter constant for contraindication - *

- * Description: The situation that is being documented as contraindicating against this item, as a code
- * Type: token
- * Path: ClinicalUseIssue.contraindication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTRAINDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTRAINDICATION); - - /** - * Search parameter: effect-reference - *

- * Description: The situation in which the undesirable effect may manifest, as a reference
- * Type: reference
- * Path: ClinicalUseIssue.undesirableEffect.symptomConditionEffect
- *

- */ - @SearchParamDefinition(name="effect-reference", path="ClinicalUseIssue.undesirableEffect.symptomConditionEffect", description="The situation in which the undesirable effect may manifest, as a reference", type="reference" ) - public static final String SP_EFFECT_REFERENCE = "effect-reference"; - /** - * Fluent Client search parameter constant for effect-reference - *

- * Description: The situation in which the undesirable effect may manifest, as a reference
- * Type: reference
- * Path: ClinicalUseIssue.undesirableEffect.symptomConditionEffect
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EFFECT_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EFFECT_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseIssue:effect-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_EFFECT_REFERENCE = new ca.uhn.fhir.model.api.Include("ClinicalUseIssue:effect-reference").toLocked(); - - /** - * Search parameter: effect - *

- * Description: The situation in which the undesirable effect may manifest, as a code
- * Type: token
- * Path: ClinicalUseIssue.undesirableEffect.symptomConditionEffect
- *

- */ - @SearchParamDefinition(name="effect", path="ClinicalUseIssue.undesirableEffect.symptomConditionEffect", description="The situation in which the undesirable effect may manifest, as a code", type="token" ) - public static final String SP_EFFECT = "effect"; - /** - * Fluent Client search parameter constant for effect - *

- * Description: The situation in which the undesirable effect may manifest, as a code
- * Type: token
- * Path: ClinicalUseIssue.undesirableEffect.symptomConditionEffect
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EFFECT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EFFECT); - - /** - * Search parameter: identifier - *

- * Description: Business identifier for this issue
- * Type: token
- * Path: ClinicalUseIssue.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ClinicalUseIssue.identifier", description="Business identifier for this issue", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier for this issue
- * Type: token
- * Path: ClinicalUseIssue.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: indication-reference - *

- * Description: The situation that is being documented as an indicaton for this item, as a reference
- * Type: reference
- * Path: ClinicalUseIssue.indication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="indication-reference", path="ClinicalUseIssue.indication.diseaseSymptomProcedure", description="The situation that is being documented as an indicaton for this item, as a reference", type="reference" ) - public static final String SP_INDICATION_REFERENCE = "indication-reference"; - /** - * Fluent Client search parameter constant for indication-reference - *

- * Description: The situation that is being documented as an indicaton for this item, as a reference
- * Type: reference
- * Path: ClinicalUseIssue.indication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INDICATION_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INDICATION_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseIssue:indication-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INDICATION_REFERENCE = new ca.uhn.fhir.model.api.Include("ClinicalUseIssue:indication-reference").toLocked(); - - /** - * Search parameter: indication - *

- * Description: The situation that is being documented as an indicaton for this item, as a code
- * Type: token
- * Path: ClinicalUseIssue.indication.diseaseSymptomProcedure
- *

- */ - @SearchParamDefinition(name="indication", path="ClinicalUseIssue.indication.diseaseSymptomProcedure", description="The situation that is being documented as an indicaton for this item, as a code", type="token" ) - public static final String SP_INDICATION = "indication"; - /** - * Fluent Client search parameter constant for indication - *

- * Description: The situation that is being documented as an indicaton for this item, as a code
- * Type: token
- * Path: ClinicalUseIssue.indication.diseaseSymptomProcedure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INDICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INDICATION); - - /** - * Search parameter: interaction - *

- * Description: The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction
- * Type: token
- * Path: ClinicalUseIssue.interaction.type
- *

- */ - @SearchParamDefinition(name="interaction", path="ClinicalUseIssue.interaction.type", description="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction", type="token" ) - public static final String SP_INTERACTION = "interaction"; - /** - * Fluent Client search parameter constant for interaction - *

- * Description: The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction
- * Type: token
- * Path: ClinicalUseIssue.interaction.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTERACTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTERACTION); - - /** - * Search parameter: product - *

- * Description: The medicinal product for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseIssue.subject.where(resolve() is MedicinalProductDefinition)
- *

- */ - @SearchParamDefinition(name="product", path="ClinicalUseIssue.subject.where(resolve() is MedicinalProductDefinition)", description="The medicinal product for which this is a clinical usage issue", type="reference", target={ActivityDefinition.class, Device.class, DeviceDefinition.class, Medication.class, MedicinalProductDefinition.class, PlanDefinition.class, Substance.class } ) - public static final String SP_PRODUCT = "product"; - /** - * Fluent Client search parameter constant for product - *

- * Description: The medicinal product for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseIssue.subject.where(resolve() is MedicinalProductDefinition)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRODUCT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRODUCT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseIssue:product". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRODUCT = new ca.uhn.fhir.model.api.Include("ClinicalUseIssue:product").toLocked(); - - /** - * Search parameter: subject - *

- * Description: The resource for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseIssue.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ClinicalUseIssue.subject", description="The resource for which this is a clinical usage issue", type="reference", target={ActivityDefinition.class, Device.class, DeviceDefinition.class, Medication.class, MedicinalProductDefinition.class, PlanDefinition.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The resource for which this is a clinical usage issue
- * Type: reference
- * Path: ClinicalUseIssue.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ClinicalUseIssue:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ClinicalUseIssue:subject").toLocked(); - - /** - * Search parameter: type - *

- * Description: indication | contraindication | interaction | undesirable-effect | warning
- * Type: token
- * Path: ClinicalUseIssue.type
- *

- */ - @SearchParamDefinition(name="type", path="ClinicalUseIssue.type", description="indication | contraindication | interaction | undesirable-effect | warning", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: indication | contraindication | interaction | undesirable-effect | warning
- * Type: token
- * Path: ClinicalUseIssue.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - -} - diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeSystem.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeSystem.java index 667b5ce82..02182759e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeSystem.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeSystem.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class CodeSystem extends CanonicalResource { case FRAGMENT: return "fragment"; case COMPLETE: return "complete"; case SUPPLEMENT: return "supplement"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class CodeSystem extends CanonicalResource { case FRAGMENT: return "http://hl7.org/fhir/codesystem-content-mode"; case COMPLETE: return "http://hl7.org/fhir/codesystem-content-mode"; case SUPPLEMENT: return "http://hl7.org/fhir/codesystem-content-mode"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class CodeSystem extends CanonicalResource { case FRAGMENT: return "A subset of the code system concepts are included in the code system resource. This is a curated subset released for a specific purpose under the governance of the code system steward, and that the intent, bounds and consequences of the fragmentation are clearly defined in the fragment or the code system documentation. Fragments are also known as partitions."; case COMPLETE: return "All the concepts defined by the code system are included in the code system resource."; case SUPPLEMENT: return "The resource doesn't define any new concepts; it just provides additional designations and properties to another code system."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class CodeSystem extends CanonicalResource { case FRAGMENT: return "Fragment"; case COMPLETE: return "Complete"; case SUPPLEMENT: return "Supplement"; + case NULL: return null; default: return "?"; } } @@ -236,6 +240,7 @@ public class CodeSystem extends CanonicalResource { case ISA: return "is-a"; case PARTOF: return "part-of"; case CLASSIFIEDWITH: return "classified-with"; + case NULL: return null; default: return "?"; } } @@ -245,6 +250,7 @@ public class CodeSystem extends CanonicalResource { case ISA: return "http://hl7.org/fhir/codesystem-hierarchy-meaning"; case PARTOF: return "http://hl7.org/fhir/codesystem-hierarchy-meaning"; case CLASSIFIEDWITH: return "http://hl7.org/fhir/codesystem-hierarchy-meaning"; + case NULL: return null; default: return "?"; } } @@ -254,6 +260,7 @@ public class CodeSystem extends CanonicalResource { case ISA: return "A hierarchy where the child concepts have an IS-A relationship with the parents - that is, all the properties of the parent are also true for its child concepts. Not that is-a is a property of the concepts, so additional subsumption relationships may be defined using properties or the [subsumes](extension-codesystem-subsumes.html) extension."; case PARTOF: return "Child elements list the individual parts of a composite whole (e.g. body site)."; case CLASSIFIEDWITH: return "Child concepts in the hierarchy may have only one parent, and there is a presumption that the code system is a \"closed world\" meaning all things must be in the hierarchy. This results in concepts such as \"not otherwise classified.\"."; + case NULL: return null; default: return "?"; } } @@ -263,6 +270,7 @@ public class CodeSystem extends CanonicalResource { case ISA: return "Is-A"; case PARTOF: return "Part Of"; case CLASSIFIEDWITH: return "Classified With"; + case NULL: return null; default: return "?"; } } @@ -331,7 +339,7 @@ public class CodeSystem extends CanonicalResource { */ STRING, /** - * The property value is a string (often used to assign ranking values to concepts for supporting score assessments). + * The property value is an integer (often used to assign ranking values to concepts for supporting score assessments). */ INTEGER, /** @@ -381,6 +389,7 @@ public class CodeSystem extends CanonicalResource { case BOOLEAN: return "boolean"; case DATETIME: return "dateTime"; case DECIMAL: return "decimal"; + case NULL: return null; default: return "?"; } } @@ -393,6 +402,7 @@ public class CodeSystem extends CanonicalResource { case BOOLEAN: return "http://hl7.org/fhir/concept-property-type"; case DATETIME: return "http://hl7.org/fhir/concept-property-type"; case DECIMAL: return "http://hl7.org/fhir/concept-property-type"; + case NULL: return null; default: return "?"; } } @@ -401,10 +411,11 @@ public class CodeSystem extends CanonicalResource { case CODE: return "The property value is a code that identifies a concept defined in the code system."; case CODING: return "The property value is a code defined in an external code system. This may be used for translations, but is not the intent."; case STRING: return "The property value is a string."; - case INTEGER: return "The property value is a string (often used to assign ranking values to concepts for supporting score assessments)."; + case INTEGER: return "The property value is an integer (often used to assign ranking values to concepts for supporting score assessments)."; case BOOLEAN: return "The property value is a boolean true | false."; case DATETIME: return "The property is a date or a date + time."; case DECIMAL: return "The property value is a decimal number."; + case NULL: return null; default: return "?"; } } @@ -417,6 +428,7 @@ public class CodeSystem extends CanonicalResource { case BOOLEAN: return "boolean"; case DATETIME: return "dateTime"; case DECIMAL: return "decimal"; + case NULL: return null; default: return "?"; } } @@ -2568,10 +2580,10 @@ public class CodeSystem extends CanonicalResource { protected StringType title; /** - * The date (and optionally time) when the code system resource was created or revised. + * The status of this code system. Enables tracking the life-cycle of the content. */ @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true) - @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The date (and optionally time) when the code system resource was created or revised." ) + @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this code system. Enables tracking the life-cycle of the content." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected Enumeration status; @@ -2647,10 +2659,10 @@ public class CodeSystem extends CanonicalResource { protected BooleanType caseSensitive; /** - * Canonical reference to the value set that contains the entire code system. + * Canonical reference to the value set that contains all codes in the code system independent of code status. */ @Child(name = "valueSet", type = {CanonicalType.class}, order=16, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Canonical reference to the value set with entire code system", formalDefinition="Canonical reference to the value set that contains the entire code system." ) + @Description(shortDefinition="Canonical reference to the value set with entire code system", formalDefinition="Canonical reference to the value set that contains all codes in the code system independent of code status." ) protected CanonicalType valueSet; /** @@ -2986,7 +2998,7 @@ public class CodeSystem extends CanonicalResource { } /** - * @return {@link #status} (The date (and optionally time) when the code system resource was created or revised.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + * @return {@link #status} (The status of this code system. Enables tracking the life-cycle of the content.). 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) @@ -3006,7 +3018,7 @@ public class CodeSystem extends CanonicalResource { } /** - * @param value {@link #status} (The date (and optionally time) when the code system resource was created or revised.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + * @param value {@link #status} (The status of this code system. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ public CodeSystem setStatusElement(Enumeration value) { this.status = value; @@ -3014,14 +3026,14 @@ public class CodeSystem extends CanonicalResource { } /** - * @return The date (and optionally time) when the code system resource was created or revised. + * @return The status of this code system. Enables tracking the life-cycle of the content. */ public PublicationStatus getStatus() { return this.status == null ? null : this.status.getValue(); } /** - * @param value The date (and optionally time) when the code system resource was created or revised. + * @param value The status of this code system. Enables tracking the life-cycle of the content. */ public CodeSystem setStatus(PublicationStatus value) { if (this.status == null) @@ -3525,7 +3537,7 @@ public class CodeSystem extends CanonicalResource { } /** - * @return {@link #valueSet} (Canonical reference to the value set that contains the entire code system.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value + * @return {@link #valueSet} (Canonical reference to the value set that contains all codes in the code system independent of code status.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ public CanonicalType getValueSetElement() { if (this.valueSet == null) @@ -3545,7 +3557,7 @@ public class CodeSystem extends CanonicalResource { } /** - * @param value {@link #valueSet} (Canonical reference to the value set that contains the entire code system.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value + * @param value {@link #valueSet} (Canonical reference to the value set that contains all codes in the code system independent of code status.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ public CodeSystem setValueSetElement(CanonicalType value) { this.valueSet = value; @@ -3553,14 +3565,14 @@ public class CodeSystem extends CanonicalResource { } /** - * @return Canonical reference to the value set that contains the entire code system. + * @return Canonical reference to the value set that contains all codes in the code system independent of code status. */ public String getValueSet() { return this.valueSet == null ? null : this.valueSet.getValue(); } /** - * @param value Canonical reference to the value set that contains the entire code system. + * @param value Canonical reference to the value set that contains all codes in the code system independent of code status. */ public CodeSystem setValueSet(String value) { if (Utilities.noString(value)) @@ -4017,7 +4029,7 @@ public class CodeSystem extends CanonicalResource { children.add(new Property("version", "string", "The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. This is used in [Coding](datatypes.html#Coding).version.", 0, 1, version)); children.add(new Property("name", "string", "A natural language name identifying the code system. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the code system.", 0, 1, title)); - children.add(new Property("status", "code", "The date (and optionally time) when the code system resource was created or revised.", 0, 1, status)); + children.add(new Property("status", "code", "The status of this code system. Enables tracking the life-cycle of the content.", 0, 1, status)); children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); children.add(new Property("date", "dateTime", "The date (and optionally time) when the code system was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the code system changes.", 0, 1, date)); children.add(new Property("publisher", "string", "The name of the organization or individual that published the code system.", 0, 1, publisher)); @@ -4028,7 +4040,7 @@ public class CodeSystem extends CanonicalResource { children.add(new Property("purpose", "markdown", "Explanation of why this code system is needed and why it has been designed as it has.", 0, 1, purpose)); children.add(new Property("copyright", "markdown", "A copyright statement relating to the code system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the code system.", 0, 1, copyright)); children.add(new Property("caseSensitive", "boolean", "If code comparison is case sensitive when codes within this system are compared to each other.", 0, 1, caseSensitive)); - children.add(new Property("valueSet", "canonical(ValueSet)", "Canonical reference to the value set that contains the entire code system.", 0, 1, valueSet)); + children.add(new Property("valueSet", "canonical(ValueSet)", "Canonical reference to the value set that contains all codes in the code system independent of code status.", 0, 1, valueSet)); children.add(new Property("hierarchyMeaning", "code", "The meaning of the hierarchy of concepts as represented in this resource.", 0, 1, hierarchyMeaning)); children.add(new Property("compositional", "boolean", "The code system defines a compositional (post-coordination) grammar.", 0, 1, compositional)); children.add(new Property("versionNeeded", "boolean", "This flag is used to signify that the code system does not commit to concept permanence across versions. If true, a version must be specified when referencing this code system.", 0, 1, versionNeeded)); @@ -4048,7 +4060,7 @@ public class CodeSystem extends CanonicalResource { case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. This is used in [Coding](datatypes.html#Coding).version.", 0, 1, version); case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the code system. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the code system.", 0, 1, title); - case -892481550: /*status*/ return new Property("status", "code", "The date (and optionally time) when the code system resource was created or revised.", 0, 1, status); + case -892481550: /*status*/ return new Property("status", "code", "The status of this code system. Enables tracking the life-cycle of the content.", 0, 1, status); case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the code system was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the code system changes.", 0, 1, date); case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the code system.", 0, 1, publisher); @@ -4059,7 +4071,7 @@ public class CodeSystem extends CanonicalResource { case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this code system is needed and why it has been designed as it has.", 0, 1, purpose); case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the code system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the code system.", 0, 1, copyright); case -35616442: /*caseSensitive*/ return new Property("caseSensitive", "boolean", "If code comparison is case sensitive when codes within this system are compared to each other.", 0, 1, caseSensitive); - case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "Canonical reference to the value set that contains the entire code system.", 0, 1, valueSet); + case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "Canonical reference to the value set that contains all codes in the code system independent of code status.", 0, 1, valueSet); case 1913078280: /*hierarchyMeaning*/ return new Property("hierarchyMeaning", "code", "The meaning of the hierarchy of concepts as represented in this resource.", 0, 1, hierarchyMeaning); case 1248023381: /*compositional*/ return new Property("compositional", "boolean", "The code system defines a compositional (post-coordination) grammar.", 0, 1, compositional); case 617270957: /*versionNeeded*/ return new Property("versionNeeded", "boolean", "This flag is used to signify that the code system does not commit to concept permanence across versions. If true, a version must be specified when referencing this code system.", 0, 1, versionNeeded); @@ -4532,868 +4544,6 @@ public class CodeSystem extends CanonicalResource { return ResourceType.CodeSystem; } - /** - * Search parameter: code - *

- * Description: A code defined in the code system
- * Type: token
- * Path: CodeSystem.concept.code
- *

- */ - @SearchParamDefinition(name="code", path="CodeSystem.concept.code", description="A code defined in the code system", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: A code defined in the code system
- * Type: token
- * Path: CodeSystem.concept.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: content-mode - *

- * Description: not-present | example | fragment | complete | supplement
- * Type: token
- * Path: CodeSystem.content
- *

- */ - @SearchParamDefinition(name="content-mode", path="CodeSystem.content", description="not-present | example | fragment | complete | supplement", type="token" ) - public static final String SP_CONTENT_MODE = "content-mode"; - /** - * Fluent Client search parameter constant for content-mode - *

- * Description: not-present | example | fragment | complete | supplement
- * Type: token
- * Path: CodeSystem.content
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTENT_MODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTENT_MODE); - - /** - * Search parameter: language - *

- * Description: A language in which a designation is provided
- * Type: token
- * Path: CodeSystem.concept.designation.language
- *

- */ - @SearchParamDefinition(name="language", path="CodeSystem.concept.designation.language", description="A language in which a designation is provided", type="token" ) - public static final String SP_LANGUAGE = "language"; - /** - * Fluent Client search parameter constant for language - *

- * Description: A language in which a designation is provided
- * Type: token
- * Path: CodeSystem.concept.designation.language
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LANGUAGE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LANGUAGE); - - /** - * Search parameter: supplements - *

- * Description: Find code system supplements for the referenced code system
- * Type: reference
- * Path: CodeSystem.supplements
- *

- */ - @SearchParamDefinition(name="supplements", path="CodeSystem.supplements", description="Find code system supplements for the referenced code system", type="reference", target={CodeSystem.class } ) - public static final String SP_SUPPLEMENTS = "supplements"; - /** - * Fluent Client search parameter constant for supplements - *

- * Description: Find code system supplements for the referenced code system
- * Type: reference
- * Path: CodeSystem.supplements
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLEMENTS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPLEMENTS); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CodeSystem:supplements". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLEMENTS = new ca.uhn.fhir.model.api.Include("CodeSystem:supplements").toLocked(); - - /** - * Search parameter: system - *

- * Description: The system for any codes defined by this code system (same as 'url')
- * Type: uri
- * Path: CodeSystem.url
- *

- */ - @SearchParamDefinition(name="system", path="CodeSystem.url", description="The system for any codes defined by this code system (same as 'url')", type="uri" ) - public static final String SP_SYSTEM = "system"; - /** - * Fluent Client search parameter constant for system - *

- * Description: The system for any codes defined by this code system (same as 'url')
- * Type: uri
- * Path: CodeSystem.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_SYSTEM); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public PropertyComponent getProperty(String code) { for (PropertyComponent pd : getProperty()) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableConcept.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableConcept.java index 7f3027363..887c78add 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableConcept.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableConcept.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableReference.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableReference.java index 1c0b1d619..8813a8ea6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableReference.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CodeableReference.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -45,16 +45,16 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * Base StructureDefinition for CodeableReference Type: A reference to a resource (by instance), or instead, a reference to a cencept defined in a terminology or ontology (by class). + * Base StructureDefinition for CodeableReference Type: A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class). */ @DatatypeDef(name="CodeableReference") public class CodeableReference extends DataType implements ICompositeType { /** - * A reference to a concept - e.g. the information is identified by it's general classto the degree of precision found in the terminology. + * A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology. */ @Child(name = "concept", type = {CodeableConcept.class}, order=0, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Reference to a concept (by class)", formalDefinition="A reference to a concept - e.g. the information is identified by it's general classto the degree of precision found in the terminology." ) + @Description(shortDefinition="Reference to a concept (by class)", formalDefinition="A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology." ) protected CodeableConcept concept; /** @@ -74,7 +74,7 @@ public class CodeableReference extends DataType implements ICompositeType { } /** - * @return {@link #concept} (A reference to a concept - e.g. the information is identified by it's general classto the degree of precision found in the terminology.) + * @return {@link #concept} (A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.) */ public CodeableConcept getConcept() { if (this.concept == null) @@ -90,7 +90,7 @@ public class CodeableReference extends DataType implements ICompositeType { } /** - * @param value {@link #concept} (A reference to a concept - e.g. the information is identified by it's general classto the degree of precision found in the terminology.) + * @param value {@link #concept} (A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.) */ public CodeableReference setConcept(CodeableConcept value) { this.concept = value; @@ -123,14 +123,14 @@ public class CodeableReference extends DataType implements ICompositeType { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("concept", "CodeableConcept", "A reference to a concept - e.g. the information is identified by it's general classto the degree of precision found in the terminology.", 0, 1, concept)); + children.add(new Property("concept", "CodeableConcept", "A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.", 0, 1, concept)); children.add(new Property("reference", "Reference", "A reference to a resource the provides exact details about the information being referenced.", 0, 1, reference)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 951024232: /*concept*/ return new Property("concept", "CodeableConcept", "A reference to a concept - e.g. the information is identified by it's general classto the degree of precision found in the terminology.", 0, 1, concept); + case 951024232: /*concept*/ return new Property("concept", "CodeableConcept", "A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.", 0, 1, concept); case -925155509: /*reference*/ return new Property("reference", "Reference", "A reference to a resource the provides exact details about the information being referenced.", 0, 1, reference); default: return super.getNamedProperty(_hash, _name, _checkValid); } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coding.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coding.java index 100b529a6..43d2c4e9f 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coding.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coding.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Communication.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Communication.java index 734647af1..4b966bf10 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Communication.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Communication.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1953,374 +1953,6 @@ public class Communication extends DomainResource { return ResourceType.Communication; } - /** - * Search parameter: based-on - *

- * Description: Request fulfilled by this communication
- * Type: reference
- * Path: Communication.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Communication.basedOn", description="Request fulfilled by this communication", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Request fulfilled by this communication
- * Type: reference
- * Path: Communication.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Communication:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: Message category
- * Type: token
- * Path: Communication.category
- *

- */ - @SearchParamDefinition(name="category", path="Communication.category", description="Message category", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Message category
- * Type: token
- * Path: Communication.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: encounter - *

- * Description: The Encounter during which this Communication was created
- * Type: reference
- * Path: Communication.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Communication.encounter", description="The Encounter during which this Communication was created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The Encounter during which this Communication was created
- * Type: reference
- * Path: Communication.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Communication:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: Communication.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Communication.identifier", description="Unique identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: Communication.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: Communication.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="Communication.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, Measure.class, OperationDefinition.class, PlanDefinition.class, Questionnaire.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: Communication.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("Communication:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: Communication.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="Communication.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: Communication.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: medium - *

- * Description: A channel of communication
- * Type: token
- * Path: Communication.medium
- *

- */ - @SearchParamDefinition(name="medium", path="Communication.medium", description="A channel of communication", type="token" ) - public static final String SP_MEDIUM = "medium"; - /** - * Fluent Client search parameter constant for medium - *

- * Description: A channel of communication
- * Type: token
- * Path: Communication.medium
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MEDIUM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MEDIUM); - - /** - * Search parameter: part-of - *

- * Description: Part of referenced event (e.g. Communication, Procedure)
- * Type: reference
- * Path: Communication.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="Communication.partOf", description="Part of referenced event (e.g. Communication, Procedure)", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Part of referenced event (e.g. Communication, Procedure)
- * Type: reference
- * Path: Communication.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("Communication:part-of").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Focus of message
- * Type: reference
- * Path: Communication.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Communication.subject.where(resolve() is Patient)", description="Focus of message", type="reference", target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Focus of message
- * Type: reference
- * Path: Communication.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Communication:patient").toLocked(); - - /** - * Search parameter: received - *

- * Description: When received
- * Type: date
- * Path: Communication.received
- *

- */ - @SearchParamDefinition(name="received", path="Communication.received", description="When received", type="date" ) - public static final String SP_RECEIVED = "received"; - /** - * Fluent Client search parameter constant for received - *

- * Description: When received
- * Type: date
- * Path: Communication.received
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam RECEIVED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_RECEIVED); - - /** - * Search parameter: recipient - *

- * Description: Who the information is shared with
- * Type: reference
- * Path: Communication.recipient
- *

- */ - @SearchParamDefinition(name="recipient", path="Communication.recipient", description="Who the information is shared with", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson"), @ca.uhn.fhir.model.api.annotation.Compartment(name="EXAMPLE") }, target={CareTeam.class, Device.class, Endpoint.class, Group.class, HealthcareService.class, Location.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_RECIPIENT = "recipient"; - /** - * Fluent Client search parameter constant for recipient - *

- * Description: Who the information is shared with
- * Type: reference
- * Path: Communication.recipient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECIPIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:recipient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT = new ca.uhn.fhir.model.api.Include("Communication:recipient").toLocked(); - - /** - * Search parameter: sender - *

- * Description: Who shares the information
- * Type: reference
- * Path: Communication.sender
- *

- */ - @SearchParamDefinition(name="sender", path="Communication.sender", description="Who shares the information", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson"), @ca.uhn.fhir.model.api.annotation.Compartment(name="EXAMPLE") }, target={CareTeam.class, Device.class, Endpoint.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SENDER = "sender"; - /** - * Fluent Client search parameter constant for sender - *

- * Description: Who shares the information
- * Type: reference
- * Path: Communication.sender
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SENDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SENDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:sender". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SENDER = new ca.uhn.fhir.model.api.Include("Communication:sender").toLocked(); - - /** - * Search parameter: sent - *

- * Description: When sent
- * Type: date
- * Path: Communication.sent
- *

- */ - @SearchParamDefinition(name="sent", path="Communication.sent", description="When sent", type="date" ) - public static final String SP_SENT = "sent"; - /** - * Fluent Client search parameter constant for sent - *

- * Description: When sent
- * Type: date
- * Path: Communication.sent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam SENT = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_SENT); - - /** - * Search parameter: status - *

- * Description: preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- * Type: token
- * Path: Communication.status
- *

- */ - @SearchParamDefinition(name="status", path="Communication.status", description="preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- * Type: token
- * Path: Communication.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Focus of message
- * Type: reference
- * Path: Communication.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Communication.subject", description="Focus of message", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Focus of message
- * Type: reference
- * Path: Communication.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Communication:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Communication:subject").toLocked(); - - /** - * Search parameter: topic - *

- * Description: Description of the purpose/content
- * Type: token
- * Path: Communication.topic
- *

- */ - @SearchParamDefinition(name="topic", path="Communication.topic", description="Description of the purpose/content", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Description of the purpose/content
- * Type: token
- * Path: Communication.topic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CommunicationRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CommunicationRequest.java index 4b3e63cc5..0ba6f9cf0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CommunicationRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CommunicationRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1926,374 +1926,6 @@ public class CommunicationRequest extends DomainResource { return ResourceType.CommunicationRequest; } - /** - * Search parameter: authored - *

- * Description: When request transitioned to being actionable
- * Type: date
- * Path: CommunicationRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="authored", path="CommunicationRequest.authoredOn", description="When request transitioned to being actionable", type="date" ) - public static final String SP_AUTHORED = "authored"; - /** - * Fluent Client search parameter constant for authored - *

- * Description: When request transitioned to being actionable
- * Type: date
- * Path: CommunicationRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHORED); - - /** - * Search parameter: based-on - *

- * Description: Fulfills plan or proposal
- * Type: reference
- * Path: CommunicationRequest.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="CommunicationRequest.basedOn", description="Fulfills plan or proposal", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Fulfills plan or proposal
- * Type: reference
- * Path: CommunicationRequest.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("CommunicationRequest:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: Message category
- * Type: token
- * Path: CommunicationRequest.category
- *

- */ - @SearchParamDefinition(name="category", path="CommunicationRequest.category", description="Message category", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Message category
- * Type: token
- * Path: CommunicationRequest.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: encounter - *

- * Description: The Encounter during which this CommunicationRequest was created
- * Type: reference
- * Path: CommunicationRequest.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="CommunicationRequest.encounter", description="The Encounter during which this CommunicationRequest was created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The Encounter during which this CommunicationRequest was created
- * Type: reference
- * Path: CommunicationRequest.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("CommunicationRequest:encounter").toLocked(); - - /** - * Search parameter: group-identifier - *

- * Description: Composite request this is part of
- * Type: token
- * Path: CommunicationRequest.groupIdentifier
- *

- */ - @SearchParamDefinition(name="group-identifier", path="CommunicationRequest.groupIdentifier", description="Composite request this is part of", type="token" ) - public static final String SP_GROUP_IDENTIFIER = "group-identifier"; - /** - * Fluent Client search parameter constant for group-identifier - *

- * Description: Composite request this is part of
- * Type: token
- * Path: CommunicationRequest.groupIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GROUP_IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GROUP_IDENTIFIER); - - /** - * Search parameter: identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: CommunicationRequest.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CommunicationRequest.identifier", description="Unique identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: CommunicationRequest.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: information-provider - *

- * Description: Who should share the information
- * Type: reference
- * Path: CommunicationRequest.informationProvider
- *

- */ - @SearchParamDefinition(name="information-provider", path="CommunicationRequest.informationProvider", description="Who should share the information", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Endpoint.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_INFORMATION_PROVIDER = "information-provider"; - /** - * Fluent Client search parameter constant for information-provider - *

- * Description: Who should share the information
- * Type: reference
- * Path: CommunicationRequest.informationProvider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INFORMATION_PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INFORMATION_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:information-provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INFORMATION_PROVIDER = new ca.uhn.fhir.model.api.Include("CommunicationRequest:information-provider").toLocked(); - - /** - * Search parameter: medium - *

- * Description: A channel of communication
- * Type: token
- * Path: CommunicationRequest.medium
- *

- */ - @SearchParamDefinition(name="medium", path="CommunicationRequest.medium", description="A channel of communication", type="token" ) - public static final String SP_MEDIUM = "medium"; - /** - * Fluent Client search parameter constant for medium - *

- * Description: A channel of communication
- * Type: token
- * Path: CommunicationRequest.medium
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MEDIUM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MEDIUM); - - /** - * Search parameter: occurrence - *

- * Description: When scheduled
- * Type: date
- * Path: CommunicationRequest.occurrence.as(dateTime) | CommunicationRequest.occurrence.as(Period)
- *

- */ - @SearchParamDefinition(name="occurrence", path="CommunicationRequest.occurrence.as(dateTime) | CommunicationRequest.occurrence.as(Period)", description="When scheduled", type="date" ) - public static final String SP_OCCURRENCE = "occurrence"; - /** - * Fluent Client search parameter constant for occurrence - *

- * Description: When scheduled
- * Type: date
- * Path: CommunicationRequest.occurrence.as(dateTime) | CommunicationRequest.occurrence.as(Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam OCCURRENCE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_OCCURRENCE); - - /** - * Search parameter: patient - *

- * Description: Focus of message
- * Type: reference
- * Path: CommunicationRequest.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="CommunicationRequest.subject.where(resolve() is Patient)", description="Focus of message", type="reference", target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Focus of message
- * Type: reference
- * Path: CommunicationRequest.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("CommunicationRequest:patient").toLocked(); - - /** - * Search parameter: priority - *

- * Description: routine | urgent | asap | stat
- * Type: token
- * Path: CommunicationRequest.priority
- *

- */ - @SearchParamDefinition(name="priority", path="CommunicationRequest.priority", description="routine | urgent | asap | stat", type="token" ) - public static final String SP_PRIORITY = "priority"; - /** - * Fluent Client search parameter constant for priority - *

- * Description: routine | urgent | asap | stat
- * Type: token
- * Path: CommunicationRequest.priority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRIORITY); - - /** - * Search parameter: recipient - *

- * Description: Who to share the information with
- * Type: reference
- * Path: CommunicationRequest.recipient
- *

- */ - @SearchParamDefinition(name="recipient", path="CommunicationRequest.recipient", description="Who to share the information with", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson"), @ca.uhn.fhir.model.api.annotation.Compartment(name="EXAMPLE") }, target={CareTeam.class, Device.class, Endpoint.class, Group.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_RECIPIENT = "recipient"; - /** - * Fluent Client search parameter constant for recipient - *

- * Description: Who to share the information with
- * Type: reference
- * Path: CommunicationRequest.recipient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECIPIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:recipient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT = new ca.uhn.fhir.model.api.Include("CommunicationRequest:recipient").toLocked(); - - /** - * Search parameter: replaces - *

- * Description: Request(s) replaced by this request
- * Type: reference
- * Path: CommunicationRequest.replaces
- *

- */ - @SearchParamDefinition(name="replaces", path="CommunicationRequest.replaces", description="Request(s) replaced by this request", type="reference", target={CommunicationRequest.class } ) - public static final String SP_REPLACES = "replaces"; - /** - * Fluent Client search parameter constant for replaces - *

- * Description: Request(s) replaced by this request
- * Type: reference
- * Path: CommunicationRequest.replaces
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPLACES = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REPLACES); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:replaces". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REPLACES = new ca.uhn.fhir.model.api.Include("CommunicationRequest:replaces").toLocked(); - - /** - * Search parameter: requester - *

- * Description: Who asks for the information to be shared
- * Type: reference
- * Path: CommunicationRequest.requester
- *

- */ - @SearchParamDefinition(name="requester", path="CommunicationRequest.requester", description="Who asks for the information to be shared", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_REQUESTER = "requester"; - /** - * Fluent Client search parameter constant for requester - *

- * Description: Who asks for the information to be shared
- * Type: reference
- * Path: CommunicationRequest.requester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:requester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER = new ca.uhn.fhir.model.api.Include("CommunicationRequest:requester").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
- * Type: token
- * Path: CommunicationRequest.status
- *

- */ - @SearchParamDefinition(name="status", path="CommunicationRequest.status", description="draft | active | on-hold | revoked | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
- * Type: token
- * Path: CommunicationRequest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Focus of message
- * Type: reference
- * Path: CommunicationRequest.subject
- *

- */ - @SearchParamDefinition(name="subject", path="CommunicationRequest.subject", description="Focus of message", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Focus of message
- * Type: reference
- * Path: CommunicationRequest.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CommunicationRequest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("CommunicationRequest:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CompartmentDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CompartmentDefinition.java index fb444da62..c385e7cce 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CompartmentDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CompartmentDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1659,670 +1659,6 @@ public class CompartmentDefinition extends CanonicalResource { return ResourceType.CompartmentDefinition; } - /** - * Search parameter: code - *

- * Description: Patient | Encounter | RelatedPerson | Practitioner | Device
- * Type: token
- * Path: CompartmentDefinition.code
- *

- */ - @SearchParamDefinition(name="code", path="CompartmentDefinition.code", description="Patient | Encounter | RelatedPerson | Practitioner | Device", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Patient | Encounter | RelatedPerson | Practitioner | Device
- * Type: token
- * Path: CompartmentDefinition.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: resource - *

- * Description: Name of resource type
- * Type: token
- * Path: CompartmentDefinition.resource.code
- *

- */ - @SearchParamDefinition(name="resource", path="CompartmentDefinition.resource.code", description="Name of resource type", type="token" ) - public static final String SP_RESOURCE = "resource"; - /** - * Fluent Client search parameter constant for resource - *

- * Description: Name of resource type
- * Type: token
- * Path: CompartmentDefinition.resource.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESOURCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RESOURCE); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public boolean supportsCopyright() { return false; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Composition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Composition.java index f3d1601c9..54af5bfb4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Composition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Composition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1370,17 +1370,31 @@ public class Composition extends DomainResource { } + /** + * An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers. + */ + @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Canonical identifier for this Composition, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers." ) + protected UriType url; + /** * A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time. */ - @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=1, modifier=false, summary=true) + @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Version-independent identifier for the Composition", formalDefinition="A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time." ) protected Identifier identifier; + /** + * An explicitly assigned identifer of a variation of the content in the Composition. + */ + @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="An explicitly assigned identifer of a variation of the content in the Composition", formalDefinition="An explicitly assigned identifer of a variation of the content in the Composition." ) + protected StringType version; + /** * The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. */ - @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) + @Child(name = "status", type = {CodeType.class}, order=3, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="preliminary | final | amended | entered-in-error | deprecated", formalDefinition="The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/composition-status") protected Enumeration status; @@ -1388,7 +1402,7 @@ public class Composition extends DomainResource { /** * 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. */ - @Child(name = "type", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Child(name = "type", type = {CodeableConcept.class}, order=4, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Kind of composition (LOINC if possible)", formalDefinition="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." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/doc-typecodes") protected CodeableConcept type; @@ -1396,50 +1410,71 @@ public class Composition extends DomainResource { /** * A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type. */ - @Child(name = "category", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "category", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Categorization of Composition", formalDefinition="A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-classcodes") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/referenced-item-category") protected List category; /** * Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a 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). */ - @Child(name = "subject", type = {Reference.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Child(name = "subject", type = {Reference.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who and/or what the composition is about", formalDefinition="Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a 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)." ) protected Reference subject; /** * Describes the clinical encounter or type of care this documentation is associated with. */ - @Child(name = "encounter", type = {Encounter.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Child(name = "encounter", type = {Encounter.class}, order=7, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Context of the Composition", formalDefinition="Describes the clinical encounter or type of care this documentation is associated with." ) protected Reference encounter; /** * The composition editing time, when the composition was last logically changed by the author. */ - @Child(name = "date", type = {DateTimeType.class}, order=6, min=1, max=1, modifier=false, summary=true) + @Child(name = "date", type = {DateTimeType.class}, order=8, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Composition editing time", formalDefinition="The composition editing time, when the composition was last logically changed by the author." ) protected DateTimeType date; + /** + * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances. + */ + @Child(name = "useContext", type = {UsageContext.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances." ) + protected List useContext; + /** * Identifies who is responsible for the information in the composition, not necessarily who typed it in. */ - @Child(name = "author", type = {Practitioner.class, PractitionerRole.class, Device.class, Patient.class, RelatedPerson.class, Organization.class}, order=7, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "author", type = {Practitioner.class, PractitionerRole.class, Device.class, Patient.class, RelatedPerson.class, Organization.class}, order=10, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Who and/or what authored the composition", formalDefinition="Identifies who is responsible for the information in the composition, not necessarily who typed it in." ) protected List author; + /** + * A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + @Child(name = "name", type = {StringType.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Name for this Composition (computer friendly)", formalDefinition="A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) + protected StringType name; + /** * Official human-readable label for the composition. */ - @Child(name = "title", type = {StringType.class}, order=8, min=1, max=1, modifier=false, summary=true) + @Child(name = "title", type = {StringType.class}, order=12, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Human Readable name/title", formalDefinition="Official human-readable label for the composition." ) protected StringType title; + /** + * For any additional notes. + */ + @Child(name = "note", type = {Annotation.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="For any additional notes", formalDefinition="For any additional notes." ) + protected List note; + /** * The code specifying the level of confidentiality of the Composition. */ - @Child(name = "confidentiality", type = {CodeType.class}, order=9, min=0, max=1, modifier=false, summary=true) + @Child(name = "confidentiality", type = {CodeType.class}, order=14, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="As defined by affinity domain", formalDefinition="The code specifying the level of confidentiality of the Composition." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v3-Confidentiality") protected CodeType confidentiality; @@ -1447,39 +1482,39 @@ public class Composition extends DomainResource { /** * A participant who has attested to the accuracy of the composition/document. */ - @Child(name = "attester", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "attester", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Attests to accuracy of composition", formalDefinition="A participant who has attested to the accuracy of the composition/document." ) protected List attester; /** * Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. */ - @Child(name = "custodian", type = {Organization.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Child(name = "custodian", type = {Organization.class}, order=16, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Organization which maintains the composition", formalDefinition="Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information." ) protected Reference custodian; /** * Relationships that this composition has with other compositions or documents that already exist. */ - @Child(name = "relatesTo", type = {RelatedArtifact.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "relatesTo", type = {RelatedArtifact.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Relationships to other compositions/documents", formalDefinition="Relationships that this composition has with other compositions or documents that already exist." ) protected List relatesTo; /** * The clinical service, such as a colonoscopy or an appendectomy, being documented. */ - @Child(name = "event", type = {}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "event", type = {}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The clinical service(s) being documented", formalDefinition="The clinical service, such as a colonoscopy or an appendectomy, being documented." ) protected List event; /** * The root of the sections that make up the composition. */ - @Child(name = "section", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "section", type = {}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Composition is broken into sections", formalDefinition="The root of the sections that make up the composition." ) protected List section; - private static final long serialVersionUID = 446555863L; + private static final long serialVersionUID = 2029664644L; /** * Constructor @@ -1500,6 +1535,55 @@ public class Composition extends DomainResource { this.setTitle(title); } + /** + * @return {@link #url} (An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.). 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 Composition.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 URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + */ + public Composition setUrlElement(UriType value) { + this.url = value; + return this; + } + + /** + * @return An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers. + */ + public String getUrl() { + return this.url == null ? null : this.url.getValue(); + } + + /** + * @param value An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers. + */ + public Composition setUrl(String value) { + if (Utilities.noString(value)) + this.url = null; + else { + if (this.url == null) + this.url = new UriType(); + this.url.setValue(value); + } + return this; + } + /** * @return {@link #identifier} (A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.) */ @@ -1524,6 +1608,55 @@ public class Composition extends DomainResource { return this; } + /** + * @return {@link #version} (An explicitly assigned identifer of a variation of the content in the Composition.). 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 Composition.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} (An explicitly assigned identifer of a variation of the content in the Composition.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + */ + public Composition setVersionElement(StringType value) { + this.version = value; + return this; + } + + /** + * @return An explicitly assigned identifer of a variation of the content in the Composition. + */ + public String getVersion() { + return this.version == null ? null : this.version.getValue(); + } + + /** + * @param value An explicitly assigned identifer of a variation of the content in the Composition. + */ + public Composition 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 #status} (The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ @@ -1739,6 +1872,59 @@ public class Composition extends DomainResource { return this; } + /** + * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances.) + */ + public List getUseContext() { + if (this.useContext == null) + this.useContext = new ArrayList(); + return this.useContext; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Composition setUseContext(List theUseContext) { + this.useContext = theUseContext; + return this; + } + + public boolean hasUseContext() { + if (this.useContext == null) + return false; + for (UsageContext item : this.useContext) + if (!item.isEmpty()) + return true; + return false; + } + + public UsageContext addUseContext() { //3 + UsageContext t = new UsageContext(); + if (this.useContext == null) + this.useContext = new ArrayList(); + this.useContext.add(t); + return t; + } + + public Composition addUseContext(UsageContext t) { //3 + if (t == null) + return this; + if (this.useContext == null) + this.useContext = new ArrayList(); + this.useContext.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} + */ + public UsageContext getUseContextFirstRep() { + if (getUseContext().isEmpty()) { + addUseContext(); + } + return getUseContext().get(0); + } + /** * @return {@link #author} (Identifies who is responsible for the information in the composition, not necessarily who typed it in.) */ @@ -1792,6 +1978,55 @@ public class Composition extends DomainResource { return getAuthor().get(0); } + /** + * @return {@link #name} (A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation.). 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 Composition.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 natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public Composition setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + public Composition 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 #title} (Official human-readable label for the composition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value */ @@ -1837,6 +2072,59 @@ public class Composition extends DomainResource { return this; } + /** + * @return {@link #note} (For any additional notes.) + */ + public List getNote() { + if (this.note == null) + this.note = new ArrayList(); + return this.note; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Composition setNote(List theNote) { + this.note = theNote; + return this; + } + + public boolean hasNote() { + if (this.note == null) + return false; + for (Annotation item : this.note) + if (!item.isEmpty()) + return true; + return false; + } + + public Annotation addNote() { //3 + Annotation t = new Annotation(); + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return t; + } + + public Composition addNote(Annotation t) { //3 + if (t == null) + return this; + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} + */ + public Annotation getNoteFirstRep() { + if (getNote().isEmpty()) { + addNote(); + } + return getNote().get(0); + } + /** * @return {@link #confidentiality} (The code specifying the level of confidentiality of the Composition.). This is the underlying object with id, value and extensions. The accessor "getConfidentiality" gives direct access to the value */ @@ -2124,15 +2412,20 @@ public class Composition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); + children.add(new Property("url", "uri", "An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.", 0, 1, url)); children.add(new Property("identifier", "Identifier", "A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.", 0, 1, identifier)); + children.add(new Property("version", "string", "An explicitly assigned identifer of a variation of the content in the Composition.", 0, 1, version)); children.add(new Property("status", "code", "The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.", 0, 1, status)); children.add(new Property("type", "CodeableConcept", "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.", 0, 1, type)); children.add(new Property("category", "CodeableConcept", "A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.", 0, java.lang.Integer.MAX_VALUE, category)); children.add(new Property("subject", "Reference(Any)", "Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a 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).", 0, 1, subject)); children.add(new Property("encounter", "Reference(Encounter)", "Describes the clinical encounter or type of care this documentation is associated with.", 0, 1, encounter)); children.add(new Property("date", "dateTime", "The composition editing time, when the composition was last logically changed by the author.", 0, 1, date)); + children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); children.add(new Property("author", "Reference(Practitioner|PractitionerRole|Device|Patient|RelatedPerson|Organization)", "Identifies who is responsible for the information in the composition, not necessarily who typed it in.", 0, java.lang.Integer.MAX_VALUE, author)); + children.add(new Property("name", "string", "A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); children.add(new Property("title", "string", "Official human-readable label for the composition.", 0, 1, title)); + children.add(new Property("note", "Annotation", "For any additional notes.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("confidentiality", "code", "The code specifying the level of confidentiality of the Composition.", 0, 1, confidentiality)); children.add(new Property("attester", "", "A participant who has attested to the accuracy of the composition/document.", 0, java.lang.Integer.MAX_VALUE, attester)); children.add(new Property("custodian", "Reference(Organization)", "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.", 0, 1, custodian)); @@ -2144,15 +2437,20 @@ public class Composition extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { + case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this Composition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this Composition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the Composition is stored on different servers.", 0, 1, url); case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.", 0, 1, identifier); + case 351608024: /*version*/ return new Property("version", "string", "An explicitly assigned identifer of a variation of the content in the Composition.", 0, 1, version); case -892481550: /*status*/ return new Property("status", "code", "The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.", 0, 1, status); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "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.", 0, 1, type); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.", 0, java.lang.Integer.MAX_VALUE, category); case -1867885268: /*subject*/ return new Property("subject", "Reference(Any)", "Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a 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).", 0, 1, subject); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "Describes the clinical encounter or type of care this documentation is associated with.", 0, 1, encounter); case 3076014: /*date*/ return new Property("date", "dateTime", "The composition editing time, when the composition was last logically changed by the author.", 0, 1, date); + case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate Composition instances.", 0, java.lang.Integer.MAX_VALUE, useContext); case -1406328437: /*author*/ return new Property("author", "Reference(Practitioner|PractitionerRole|Device|Patient|RelatedPerson|Organization)", "Identifies who is responsible for the information in the composition, not necessarily who typed it in.", 0, java.lang.Integer.MAX_VALUE, author); + case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the composition. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); case 110371416: /*title*/ return new Property("title", "string", "Official human-readable label for the composition.", 0, 1, title); + case 3387378: /*note*/ return new Property("note", "Annotation", "For any additional notes.", 0, java.lang.Integer.MAX_VALUE, note); case -1923018202: /*confidentiality*/ return new Property("confidentiality", "code", "The code specifying the level of confidentiality of the Composition.", 0, 1, confidentiality); case 542920370: /*attester*/ return new Property("attester", "", "A participant who has attested to the accuracy of the composition/document.", 0, java.lang.Integer.MAX_VALUE, attester); case 1611297262: /*custodian*/ return new Property("custodian", "Reference(Organization)", "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.", 0, 1, custodian); @@ -2167,15 +2465,20 @@ public class Composition extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { + case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : new Base[] {this.identifier}; // Identifier + case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType + case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext case -1406328437: /*author*/ return this.author == null ? new Base[0] : this.author.toArray(new Base[this.author.size()]); // Reference + case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType + case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case -1923018202: /*confidentiality*/ return this.confidentiality == null ? new Base[0] : new Base[] {this.confidentiality}; // CodeType case 542920370: /*attester*/ return this.attester == null ? new Base[0] : this.attester.toArray(new Base[this.attester.size()]); // CompositionAttesterComponent case 1611297262: /*custodian*/ return this.custodian == null ? new Base[0] : new Base[] {this.custodian}; // Reference @@ -2190,9 +2493,15 @@ public class Composition extends DomainResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { + case 116079: // url + this.url = TypeConvertor.castToUri(value); // UriType + return value; case -1618432855: // identifier this.identifier = TypeConvertor.castToIdentifier(value); // Identifier return value; + case 351608024: // version + this.version = TypeConvertor.castToString(value); // StringType + return value; case -892481550: // status value = new CompositionStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration @@ -2212,12 +2521,21 @@ public class Composition extends DomainResource { case 3076014: // date this.date = TypeConvertor.castToDateTime(value); // DateTimeType return value; + case -669707736: // useContext + this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext + return value; case -1406328437: // author this.getAuthor().add(TypeConvertor.castToReference(value)); // Reference return value; + case 3373707: // name + this.name = TypeConvertor.castToString(value); // StringType + return value; case 110371416: // title this.title = TypeConvertor.castToString(value); // StringType return value; + case 3387378: // note + this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation + return value; case -1923018202: // confidentiality this.confidentiality = TypeConvertor.castToCode(value); // CodeType return value; @@ -2243,8 +2561,12 @@ public class Composition extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("identifier")) { + if (name.equals("url")) { + this.url = TypeConvertor.castToUri(value); // UriType + } else if (name.equals("identifier")) { this.identifier = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("version")) { + this.version = TypeConvertor.castToString(value); // StringType } else if (name.equals("status")) { value = new CompositionStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration @@ -2258,10 +2580,16 @@ public class Composition extends DomainResource { this.encounter = TypeConvertor.castToReference(value); // Reference } else if (name.equals("date")) { this.date = TypeConvertor.castToDateTime(value); // DateTimeType + } else if (name.equals("useContext")) { + this.getUseContext().add(TypeConvertor.castToUsageContext(value)); } else if (name.equals("author")) { this.getAuthor().add(TypeConvertor.castToReference(value)); + } else if (name.equals("name")) { + this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("title")) { this.title = TypeConvertor.castToString(value); // StringType + } else if (name.equals("note")) { + this.getNote().add(TypeConvertor.castToAnnotation(value)); } else if (name.equals("confidentiality")) { this.confidentiality = TypeConvertor.castToCode(value); // CodeType } else if (name.equals("attester")) { @@ -2282,15 +2610,20 @@ public class Composition extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { + case 116079: return getUrlElement(); case -1618432855: return getIdentifier(); + case 351608024: return getVersionElement(); case -892481550: return getStatusElement(); case 3575610: return getType(); case 50511102: return addCategory(); case -1867885268: return getSubject(); case 1524132147: return getEncounter(); case 3076014: return getDateElement(); + case -669707736: return addUseContext(); case -1406328437: return addAuthor(); + case 3373707: return getNameElement(); case 110371416: return getTitleElement(); + case 3387378: return addNote(); case -1923018202: return getConfidentialityElement(); case 542920370: return addAttester(); case 1611297262: return getCustodian(); @@ -2305,15 +2638,20 @@ public class Composition extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { + case 116079: /*url*/ return new String[] {"uri"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"}; + case 351608024: /*version*/ return new String[] {"string"}; case -892481550: /*status*/ return new String[] {"code"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 3076014: /*date*/ return new String[] {"dateTime"}; + case -669707736: /*useContext*/ return new String[] {"UsageContext"}; case -1406328437: /*author*/ return new String[] {"Reference"}; + case 3373707: /*name*/ return new String[] {"string"}; case 110371416: /*title*/ return new String[] {"string"}; + case 3387378: /*note*/ return new String[] {"Annotation"}; case -1923018202: /*confidentiality*/ return new String[] {"code"}; case 542920370: /*attester*/ return new String[] {}; case 1611297262: /*custodian*/ return new String[] {"Reference"}; @@ -2327,10 +2665,16 @@ public class Composition extends DomainResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("identifier")) { + if (name.equals("url")) { + throw new FHIRException("Cannot call addChild on a primitive type Composition.url"); + } + else if (name.equals("identifier")) { this.identifier = new Identifier(); return this.identifier; } + else if (name.equals("version")) { + throw new FHIRException("Cannot call addChild on a primitive type Composition.version"); + } else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type Composition.status"); } @@ -2352,12 +2696,21 @@ public class Composition extends DomainResource { else if (name.equals("date")) { throw new FHIRException("Cannot call addChild on a primitive type Composition.date"); } + else if (name.equals("useContext")) { + return addUseContext(); + } else if (name.equals("author")) { return addAuthor(); } + else if (name.equals("name")) { + throw new FHIRException("Cannot call addChild on a primitive type Composition.name"); + } else if (name.equals("title")) { throw new FHIRException("Cannot call addChild on a primitive type Composition.title"); } + else if (name.equals("note")) { + return addNote(); + } else if (name.equals("confidentiality")) { throw new FHIRException("Cannot call addChild on a primitive type Composition.confidentiality"); } @@ -2394,7 +2747,9 @@ public class Composition extends DomainResource { public void copyValues(Composition dst) { super.copyValues(dst); + dst.url = url == null ? null : url.copy(); dst.identifier = identifier == null ? null : identifier.copy(); + dst.version = version == null ? null : version.copy(); dst.status = status == null ? null : status.copy(); dst.type = type == null ? null : type.copy(); if (category != null) { @@ -2405,12 +2760,23 @@ public class Composition extends DomainResource { dst.subject = subject == null ? null : subject.copy(); dst.encounter = encounter == null ? null : encounter.copy(); dst.date = date == null ? null : date.copy(); + if (useContext != null) { + dst.useContext = new ArrayList(); + for (UsageContext i : useContext) + dst.useContext.add(i.copy()); + }; if (author != null) { dst.author = new ArrayList(); for (Reference i : author) dst.author.add(i.copy()); }; + dst.name = name == null ? null : name.copy(); dst.title = title == null ? null : title.copy(); + if (note != null) { + dst.note = new ArrayList(); + for (Annotation i : note) + dst.note.add(i.copy()); + }; dst.confidentiality = confidentiality == null ? null : confidentiality.copy(); if (attester != null) { dst.attester = new ArrayList(); @@ -2446,12 +2812,13 @@ public class Composition extends DomainResource { if (!(other_ instanceof Composition)) return false; Composition o = (Composition) other_; - return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(type, o.type, true) - && compareDeep(category, o.category, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) - && compareDeep(date, o.date, true) && compareDeep(author, o.author, true) && compareDeep(title, o.title, true) - && compareDeep(confidentiality, o.confidentiality, true) && compareDeep(attester, o.attester, true) - && compareDeep(custodian, o.custodian, true) && compareDeep(relatesTo, o.relatesTo, true) && compareDeep(event, o.event, true) - && compareDeep(section, o.section, true); + return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) + && compareDeep(status, o.status, true) && compareDeep(type, o.type, true) && compareDeep(category, o.category, true) + && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) && compareDeep(date, o.date, true) + && compareDeep(useContext, o.useContext, true) && compareDeep(author, o.author, true) && compareDeep(name, o.name, true) + && compareDeep(title, o.title, true) && compareDeep(note, o.note, true) && compareDeep(confidentiality, o.confidentiality, true) + && compareDeep(attester, o.attester, true) && compareDeep(custodian, o.custodian, true) && compareDeep(relatesTo, o.relatesTo, true) + && compareDeep(event, o.event, true) && compareDeep(section, o.section, true); } @Override @@ -2461,14 +2828,16 @@ public class Composition extends DomainResource { if (!(other_ instanceof Composition)) return false; Composition o = (Composition) other_; - return compareValues(status, o.status, true) && compareValues(date, o.date, true) && compareValues(title, o.title, true) + return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(status, o.status, true) + && compareValues(date, o.date, true) && compareValues(name, o.name, true) && compareValues(title, o.title, true) && compareValues(confidentiality, o.confidentiality, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, type - , category, subject, encounter, date, author, title, confidentiality, attester - , custodian, relatesTo, event, section); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version + , status, type, category, subject, encounter, date, useContext, author, name + , title, note, confidentiality, attester, custodian, relatesTo, event, section + ); } @Override @@ -2476,602 +2845,6 @@ public class Composition extends DomainResource { return ResourceType.Composition; } - /** - * Search parameter: attester - *

- * Description: Who attested the composition
- * Type: reference
- * Path: Composition.attester.party
- *

- */ - @SearchParamDefinition(name="attester", path="Composition.attester.party", description="Who attested the composition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ATTESTER = "attester"; - /** - * Fluent Client search parameter constant for attester - *

- * Description: Who attested the composition
- * Type: reference
- * Path: Composition.attester.party
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ATTESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ATTESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:attester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ATTESTER = new ca.uhn.fhir.model.api.Include("Composition:attester").toLocked(); - - /** - * Search parameter: author - *

- * Description: Who and/or what authored the composition
- * Type: reference
- * Path: Composition.author
- *

- */ - @SearchParamDefinition(name="author", path="Composition.author", description="Who and/or what authored the composition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: Who and/or what authored the composition
- * Type: reference
- * Path: Composition.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Composition:author").toLocked(); - - /** - * Search parameter: category - *

- * Description: Categorization of Composition
- * Type: token
- * Path: Composition.category
- *

- */ - @SearchParamDefinition(name="category", path="Composition.category", description="Categorization of Composition", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Categorization of Composition
- * Type: token
- * Path: Composition.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: confidentiality - *

- * Description: As defined by affinity domain
- * Type: token
- * Path: Composition.confidentiality
- *

- */ - @SearchParamDefinition(name="confidentiality", path="Composition.confidentiality", description="As defined by affinity domain", type="token" ) - public static final String SP_CONFIDENTIALITY = "confidentiality"; - /** - * Fluent Client search parameter constant for confidentiality - *

- * Description: As defined by affinity domain
- * Type: token
- * Path: Composition.confidentiality
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONFIDENTIALITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONFIDENTIALITY); - - /** - * Search parameter: context - *

- * Description: Code(s) that apply to the event being documented
- * Type: token
- * Path: Composition.event.code
- *

- */ - @SearchParamDefinition(name="context", path="Composition.event.code", description="Code(s) that apply to the event being documented", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Code(s) that apply to the event being documented
- * Type: token
- * Path: Composition.event.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: entry - *

- * Description: A reference to data that supports this section
- * Type: reference
- * Path: Composition.section.entry
- *

- */ - @SearchParamDefinition(name="entry", path="Composition.section.entry", description="A reference to data that supports this section", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_ENTRY = "entry"; - /** - * Fluent Client search parameter constant for entry - *

- * Description: A reference to data that supports this section
- * Type: reference
- * Path: Composition.section.entry
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTRY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTRY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:entry". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTRY = new ca.uhn.fhir.model.api.Include("Composition:entry").toLocked(); - - /** - * Search parameter: period - *

- * Description: The period covered by the documentation
- * Type: date
- * Path: Composition.event.period
- *

- */ - @SearchParamDefinition(name="period", path="Composition.event.period", description="The period covered by the documentation", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: The period covered by the documentation
- * Type: date
- * Path: Composition.event.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: related - *

- * Description: Target of the relationship
- * Type: reference
- * Path: Composition.relatesTo.resourceReference
- *

- */ - @SearchParamDefinition(name="related", path="Composition.relatesTo.resourceReference", description="Target of the relationship", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_RELATED = "related"; - /** - * Fluent Client search parameter constant for related - *

- * Description: Target of the relationship
- * Type: reference
- * Path: Composition.relatesTo.resourceReference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATED = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RELATED); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:related". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATED = new ca.uhn.fhir.model.api.Include("Composition:related").toLocked(); - - /** - * Search parameter: section - *

- * Description: Classification of section (recommended)
- * Type: token
- * Path: Composition.section.code
- *

- */ - @SearchParamDefinition(name="section", path="Composition.section.code", description="Classification of section (recommended)", type="token" ) - public static final String SP_SECTION = "section"; - /** - * Fluent Client search parameter constant for section - *

- * Description: Classification of section (recommended)
- * Type: token
- * Path: Composition.section.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SECTION); - - /** - * Search parameter: status - *

- * Description: preliminary | final | amended | entered-in-error
- * Type: token
- * Path: Composition.status
- *

- */ - @SearchParamDefinition(name="status", path="Composition.status", description="preliminary | final | amended | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: preliminary | final | amended | entered-in-error
- * Type: token
- * Path: Composition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Who and/or what the composition is about
- * Type: reference
- * Path: Composition.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Composition.subject", description="Who and/or what the composition is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who and/or what the composition is about
- * Type: reference
- * Path: Composition.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Composition:subject").toLocked(); - - /** - * Search parameter: title - *

- * Description: Human Readable name/title
- * Type: string
- * Path: Composition.title
- *

- */ - @SearchParamDefinition(name="title", path="Composition.title", description="Human Readable name/title", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Human Readable name/title
- * Type: string
- * Path: Composition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Composition:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Composition:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Composition:patient").toLocked(); - - /** - * Search parameter: type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - @SearchParamDefinition(name="type", path="AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html): Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html): Kind of document set\r\n* [DocumentReference](documentreference.html): Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html): Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management\r\n", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap.java index 652d2f6bc..fb33cab58 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -51,7 +51,119 @@ import ca.uhn.fhir.model.api.annotation.Block; * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. */ @ResourceDef(name="ConceptMap", profile="http://hl7.org/fhir/StructureDefinition/ConceptMap") -public class ConceptMap extends CanonicalResource { +public class ConceptMap extends MetadataResource { + + public enum ConceptMapGroupUnmappedMode { + /** + * Use the code as provided in the $translate request in one of the following input parameters: sourceCode, sourceCoding, sourceCodeableConcept. + */ + USESOURCECODE, + /** + * Use the code(s) explicitly provided in the group.unmapped 'code' or 'valueSet' element. + */ + FIXED, + /** + * Use the map identified by the canonical URL in the url element. + */ + OTHERMAP, + /** + * added to help the parsers with the generic types + */ + NULL; + public static ConceptMapGroupUnmappedMode fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("use-source-code".equals(codeString)) + return USESOURCECODE; + if ("fixed".equals(codeString)) + return FIXED; + if ("other-map".equals(codeString)) + return OTHERMAP; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case USESOURCECODE: return "use-source-code"; + case FIXED: return "fixed"; + case OTHERMAP: return "other-map"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case USESOURCECODE: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; + case FIXED: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; + case OTHERMAP: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case USESOURCECODE: return "Use the code as provided in the $translate request in one of the following input parameters: sourceCode, sourceCoding, sourceCodeableConcept."; + case FIXED: return "Use the code(s) explicitly provided in the group.unmapped 'code' or 'valueSet' element."; + case OTHERMAP: return "Use the map identified by the canonical URL in the url element."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case USESOURCECODE: return "Use Provided Source Code"; + case FIXED: return "Fixed Code"; + case OTHERMAP: return "Other Map"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class ConceptMapGroupUnmappedModeEnumFactory implements EnumFactory { + public ConceptMapGroupUnmappedMode fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("use-source-code".equals(codeString)) + return ConceptMapGroupUnmappedMode.USESOURCECODE; + if ("fixed".equals(codeString)) + return ConceptMapGroupUnmappedMode.FIXED; + if ("other-map".equals(codeString)) + return ConceptMapGroupUnmappedMode.OTHERMAP; + throw new IllegalArgumentException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("use-source-code".equals(codeString)) + return new Enumeration(this, ConceptMapGroupUnmappedMode.USESOURCECODE); + if ("fixed".equals(codeString)) + return new Enumeration(this, ConceptMapGroupUnmappedMode.FIXED); + if ("other-map".equals(codeString)) + return new Enumeration(this, ConceptMapGroupUnmappedMode.OTHERMAP); + throw new FHIRException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); + } + public String toCode(ConceptMapGroupUnmappedMode code) { + if (code == ConceptMapGroupUnmappedMode.USESOURCECODE) + return "use-source-code"; + if (code == ConceptMapGroupUnmappedMode.FIXED) + return "fixed"; + if (code == ConceptMapGroupUnmappedMode.OTHERMAP) + return "other-map"; + return "?"; + } + public String toSystem(ConceptMapGroupUnmappedMode code) { + return code.getSystem(); + } + } @Block() public static class ConceptMapGroupComponent extends BackboneElement implements IBaseBackboneElement { @@ -452,21 +564,28 @@ public class ConceptMap extends CanonicalResource { @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) protected StringType display; + /** + * The set of codes being mapped. + */ + @Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Identifies elements being mapped", formalDefinition="The set of codes being mapped." ) + protected CanonicalType valueSet; + /** * If noMap = true this indicates that no mapping to a target concept exists for this source concept. */ - @Child(name = "noMap", type = {BooleanType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "noMap", type = {BooleanType.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="No mapping to a target concept for this source concept", formalDefinition="If noMap = true this indicates that no mapping to a target concept exists for this source concept." ) protected BooleanType noMap; /** * A concept from the target value set that this concept maps to. */ - @Child(name = "target", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "target", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @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 = 1876940521L; + private static final long serialVersionUID = 1485743554L; /** * Constructor @@ -573,6 +692,55 @@ public class ConceptMap extends CanonicalResource { return this; } + /** + * @return {@link #valueSet} (The set of codes being mapped.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value + */ + public CanonicalType getValueSetElement() { + if (this.valueSet == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SourceElementComponent.valueSet"); + else if (Configuration.doAutoCreate()) + this.valueSet = new CanonicalType(); // bb + return this.valueSet; + } + + public boolean hasValueSetElement() { + return this.valueSet != null && !this.valueSet.isEmpty(); + } + + public boolean hasValueSet() { + return this.valueSet != null && !this.valueSet.isEmpty(); + } + + /** + * @param value {@link #valueSet} (The set of codes being mapped.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value + */ + public SourceElementComponent setValueSetElement(CanonicalType value) { + this.valueSet = value; + return this; + } + + /** + * @return The set of codes being mapped. + */ + public String getValueSet() { + return this.valueSet == null ? null : this.valueSet.getValue(); + } + + /** + * @param value The set of codes being mapped. + */ + public SourceElementComponent setValueSet(String value) { + if (Utilities.noString(value)) + this.valueSet = null; + else { + if (this.valueSet == null) + this.valueSet = new CanonicalType(); + this.valueSet.setValue(value); + } + return this; + } + /** * @return {@link #noMap} (If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value */ @@ -675,6 +843,7 @@ public class ConceptMap extends CanonicalResource { super.listChildren(children); children.add(new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, 1, code)); children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); + children.add(new Property("valueSet", "canonical(ValueSet)", "The set of codes being mapped.", 0, 1, valueSet)); children.add(new Property("noMap", "boolean", "If noMap = true this indicates that no mapping to a target concept exists for this source concept.", 0, 1, noMap)); children.add(new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target)); } @@ -684,6 +853,7 @@ public class ConceptMap extends CanonicalResource { switch (_hash) { case 3059181: /*code*/ return new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, 1, code); case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); + case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The set of codes being mapped.", 0, 1, valueSet); case 104971227: /*noMap*/ return new Property("noMap", "boolean", "If noMap = true this indicates that no mapping to a target concept exists for this source concept.", 0, 1, noMap); case -880905839: /*target*/ return new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -696,6 +866,7 @@ public class ConceptMap extends CanonicalResource { switch (hash) { case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType + case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType case 104971227: /*noMap*/ return this.noMap == null ? new Base[0] : new Base[] {this.noMap}; // BooleanType case -880905839: /*target*/ return this.target == null ? new Base[0] : this.target.toArray(new Base[this.target.size()]); // TargetElementComponent default: return super.getProperty(hash, name, checkValid); @@ -712,6 +883,9 @@ public class ConceptMap extends CanonicalResource { case 1671764162: // display this.display = TypeConvertor.castToString(value); // StringType return value; + case -1410174671: // valueSet + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType + return value; case 104971227: // noMap this.noMap = TypeConvertor.castToBoolean(value); // BooleanType return value; @@ -729,6 +903,8 @@ public class ConceptMap extends CanonicalResource { this.code = TypeConvertor.castToCode(value); // CodeType } else if (name.equals("display")) { this.display = TypeConvertor.castToString(value); // StringType + } else if (name.equals("valueSet")) { + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType } else if (name.equals("noMap")) { this.noMap = TypeConvertor.castToBoolean(value); // BooleanType } else if (name.equals("target")) { @@ -743,6 +919,7 @@ public class ConceptMap extends CanonicalResource { switch (hash) { case 3059181: return getCodeElement(); case 1671764162: return getDisplayElement(); + case -1410174671: return getValueSetElement(); case 104971227: return getNoMapElement(); case -880905839: return addTarget(); default: return super.makeProperty(hash, name); @@ -755,6 +932,7 @@ public class ConceptMap extends CanonicalResource { switch (hash) { case 3059181: /*code*/ return new String[] {"code"}; case 1671764162: /*display*/ return new String[] {"string"}; + case -1410174671: /*valueSet*/ return new String[] {"canonical"}; case 104971227: /*noMap*/ return new String[] {"boolean"}; case -880905839: /*target*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); @@ -770,6 +948,9 @@ public class ConceptMap extends CanonicalResource { else if (name.equals("display")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.display"); } + else if (name.equals("valueSet")) { + throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.valueSet"); + } else if (name.equals("noMap")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.noMap"); } @@ -790,6 +971,7 @@ public class ConceptMap extends CanonicalResource { super.copyValues(dst); dst.code = code == null ? null : code.copy(); dst.display = display == null ? null : display.copy(); + dst.valueSet = valueSet == null ? null : valueSet.copy(); dst.noMap = noMap == null ? null : noMap.copy(); if (target != null) { dst.target = new ArrayList(); @@ -805,8 +987,8 @@ public class ConceptMap extends CanonicalResource { if (!(other_ instanceof SourceElementComponent)) return false; SourceElementComponent o = (SourceElementComponent) other_; - return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(noMap, o.noMap, true) - && compareDeep(target, o.target, true); + return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(valueSet, o.valueSet, true) + && compareDeep(noMap, o.noMap, true) && compareDeep(target, o.target, true); } @Override @@ -816,13 +998,13 @@ public class ConceptMap extends CanonicalResource { if (!(other_ instanceof SourceElementComponent)) return false; SourceElementComponent o = (SourceElementComponent) other_; - return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(noMap, o.noMap, true) - ; + return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(valueSet, o.valueSet, true) + && compareValues(noMap, o.noMap, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, noMap, target - ); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, valueSet + , noMap, target); } public String fhirType() { @@ -848,10 +1030,17 @@ public class ConceptMap extends CanonicalResource { @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) protected StringType display; + /** + * The set of codes that the map refers to. + */ + @Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Identifies the set of target elements", formalDefinition="The set of codes that the map refers to." ) + protected CanonicalType valueSet; + /** * The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target). */ - @Child(name = "relationship", type = {CodeType.class}, order=3, min=1, max=1, modifier=true, summary=false) + @Child(name = "relationship", type = {CodeType.class}, order=4, min=1, max=1, modifier=true, summary=false) @Description(shortDefinition="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to", formalDefinition="The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/concept-map-relationship") protected Enumeration relationship; @@ -859,25 +1048,25 @@ public class ConceptMap extends CanonicalResource { /** * A description of status/issues in mapping that conveys additional information not represented in the structured data. */ - @Child(name = "comment", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "comment", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=false) @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 comment; /** * 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, modifier=false, summary=false) + @Child(name = "dependsOn", type = {}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @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 relationship (e.g., equivalent) cannot be relied on. + * Product is the output of a ConceptMap that provides additional values relevant to the interpretation of the mapping target. */ - @Child(name = "product", type = {OtherElementComponent.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @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 relationship (e.g., equivalent) cannot be relied on." ) + @Child(name = "product", type = {OtherElementComponent.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Other concepts that this mapping also produces", formalDefinition="Product is the output of a ConceptMap that provides additional values relevant to the interpretation of the mapping target." ) protected List product; - private static final long serialVersionUID = -1425743857L; + private static final long serialVersionUID = 1705844456L; /** * Constructor @@ -992,6 +1181,55 @@ public class ConceptMap extends CanonicalResource { return this; } + /** + * @return {@link #valueSet} (The set of codes that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value + */ + public CanonicalType getValueSetElement() { + if (this.valueSet == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TargetElementComponent.valueSet"); + else if (Configuration.doAutoCreate()) + this.valueSet = new CanonicalType(); // bb + return this.valueSet; + } + + public boolean hasValueSetElement() { + return this.valueSet != null && !this.valueSet.isEmpty(); + } + + public boolean hasValueSet() { + return this.valueSet != null && !this.valueSet.isEmpty(); + } + + /** + * @param value {@link #valueSet} (The set of codes that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value + */ + public TargetElementComponent setValueSetElement(CanonicalType value) { + this.valueSet = value; + return this; + } + + /** + * @return The set of codes that the map refers to. + */ + public String getValueSet() { + return this.valueSet == null ? null : this.valueSet.getValue(); + } + + /** + * @param value The set of codes that the map refers to. + */ + public TargetElementComponent setValueSet(String value) { + if (Utilities.noString(value)) + this.valueSet = null; + else { + if (this.valueSet == null) + this.valueSet = new CanonicalType(); + this.valueSet.setValue(value); + } + return this; + } + /** * @return {@link #relationship} (The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value */ @@ -1140,7 +1378,7 @@ public class ConceptMap extends CanonicalResource { } /** - * @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 relationship (e.g., equivalent) cannot be relied on.) + * @return {@link #product} (Product is the output of a ConceptMap that provides additional values relevant to the interpretation of the mapping target.) */ public List getProduct() { if (this.product == null) @@ -1196,10 +1434,11 @@ public class ConceptMap extends CanonicalResource { super.listChildren(children); children.add(new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, 1, code)); children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); + children.add(new Property("valueSet", "canonical(ValueSet)", "The set of codes that the map refers to.", 0, 1, valueSet)); children.add(new Property("relationship", "code", "The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).", 0, 1, relationship)); children.add(new Property("comment", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, 1, comment)); children.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)); - children.add(new Property("product", "@ConceptMap.group.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 relationship (e.g., equivalent) cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product)); + children.add(new Property("product", "@ConceptMap.group.element.target.dependsOn", "Product is the output of a ConceptMap that provides additional values relevant to the interpretation of the mapping target.", 0, java.lang.Integer.MAX_VALUE, product)); } @Override @@ -1207,10 +1446,11 @@ public class ConceptMap extends CanonicalResource { switch (_hash) { case 3059181: /*code*/ return new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, 1, code); case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); + case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The set of codes that the map refers to.", 0, 1, valueSet); case -261851592: /*relationship*/ return new Property("relationship", "code", "The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).", 0, 1, relationship); case 950398559: /*comment*/ return new Property("comment", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, 1, comment); case -1109214266: /*dependsOn*/ return 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); - case -309474065: /*product*/ return new Property("product", "@ConceptMap.group.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 relationship (e.g., equivalent) cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product); + case -309474065: /*product*/ return new Property("product", "@ConceptMap.group.element.target.dependsOn", "Product is the output of a ConceptMap that provides additional values relevant to the interpretation of the mapping target.", 0, java.lang.Integer.MAX_VALUE, product); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1221,6 +1461,7 @@ public class ConceptMap extends CanonicalResource { switch (hash) { case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType + case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType case -261851592: /*relationship*/ return this.relationship == null ? new Base[0] : new Base[] {this.relationship}; // Enumeration case 950398559: /*comment*/ return this.comment == null ? new Base[0] : new Base[] {this.comment}; // StringType case -1109214266: /*dependsOn*/ return this.dependsOn == null ? new Base[0] : this.dependsOn.toArray(new Base[this.dependsOn.size()]); // OtherElementComponent @@ -1239,6 +1480,9 @@ public class ConceptMap extends CanonicalResource { case 1671764162: // display this.display = TypeConvertor.castToString(value); // StringType return value; + case -1410174671: // valueSet + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType + return value; case -261851592: // relationship value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); this.relationship = (Enumeration) value; // Enumeration @@ -1263,6 +1507,8 @@ public class ConceptMap extends CanonicalResource { this.code = TypeConvertor.castToCode(value); // CodeType } else if (name.equals("display")) { this.display = TypeConvertor.castToString(value); // StringType + } else if (name.equals("valueSet")) { + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType } else if (name.equals("relationship")) { value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); this.relationship = (Enumeration) value; // Enumeration @@ -1282,6 +1528,7 @@ public class ConceptMap extends CanonicalResource { switch (hash) { case 3059181: return getCodeElement(); case 1671764162: return getDisplayElement(); + case -1410174671: return getValueSetElement(); case -261851592: return getRelationshipElement(); case 950398559: return getCommentElement(); case -1109214266: return addDependsOn(); @@ -1296,6 +1543,7 @@ public class ConceptMap extends CanonicalResource { switch (hash) { case 3059181: /*code*/ return new String[] {"code"}; case 1671764162: /*display*/ return new String[] {"string"}; + case -1410174671: /*valueSet*/ return new String[] {"canonical"}; case -261851592: /*relationship*/ return new String[] {"code"}; case 950398559: /*comment*/ return new String[] {"string"}; case -1109214266: /*dependsOn*/ return new String[] {}; @@ -1313,6 +1561,9 @@ public class ConceptMap extends CanonicalResource { else if (name.equals("display")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.display"); } + else if (name.equals("valueSet")) { + throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.valueSet"); + } else if (name.equals("relationship")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.relationship"); } @@ -1339,6 +1590,7 @@ public class ConceptMap extends CanonicalResource { super.copyValues(dst); dst.code = code == null ? null : code.copy(); dst.display = display == null ? null : display.copy(); + dst.valueSet = valueSet == null ? null : valueSet.copy(); dst.relationship = relationship == null ? null : relationship.copy(); dst.comment = comment == null ? null : comment.copy(); if (dependsOn != null) { @@ -1360,9 +1612,9 @@ public class ConceptMap extends CanonicalResource { if (!(other_ instanceof TargetElementComponent)) return false; TargetElementComponent o = (TargetElementComponent) other_; - return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(relationship, o.relationship, true) - && compareDeep(comment, o.comment, true) && compareDeep(dependsOn, o.dependsOn, true) && compareDeep(product, o.product, true) - ; + return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(valueSet, o.valueSet, true) + && compareDeep(relationship, o.relationship, true) && compareDeep(comment, o.comment, true) && compareDeep(dependsOn, o.dependsOn, true) + && compareDeep(product, o.product, true); } @Override @@ -1372,13 +1624,13 @@ public class ConceptMap extends CanonicalResource { if (!(other_ instanceof TargetElementComponent)) return false; TargetElementComponent o = (TargetElementComponent) other_; - return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(relationship, o.relationship, true) - && compareValues(comment, o.comment, true); + return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(valueSet, o.valueSet, true) + && compareValues(relationship, o.relationship, true) && compareValues(comment, o.comment, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, relationship - , comment, dependsOn, product); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, valueSet + , relationship, comment, dependsOn, product); } public String fhirType() { @@ -1391,34 +1643,27 @@ public class ConceptMap extends CanonicalResource { @Block() public static class OtherElementComponent extends BackboneElement implements IBaseBackboneElement { /** - * A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. + * A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets. */ @Child(name = "property", type = {UriType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Reference to property mapping depends on", formalDefinition="A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property." ) + @Description(shortDefinition="A reference to a property that may be required to refine the mapping", formalDefinition="A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets." ) protected UriType property; /** - * An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems). + * Property value that the map depends on. */ - @Child(name = "system", type = {CanonicalType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Code System (if necessary)", formalDefinition="An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems)." ) - protected CanonicalType system; + @Child(name = "value", type = {CodeType.class, Coding.class, StringType.class, IntegerType.class, BooleanType.class, DateTimeType.class, DecimalType.class, UriType.class, IdType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Value of the referenced property", formalDefinition="Property value that the map depends on." ) + protected DataType value; /** - * Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to. + * This mapping applies if the property value is a code from this value set. */ - @Child(name = "value", type = {StringType.class}, order=3, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Value of the referenced element", formalDefinition="Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to." ) - protected StringType value; + @Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The mapping depends on a property with a value from this value set", formalDefinition="This mapping applies if the property value is a code from this value set." ) + protected CanonicalType valueSet; - /** - * The display for the code. The display is only provided to help editors when editing the concept map. - */ - @Child(name = "display", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Display for the code (if value is a code)", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) - protected StringType display; - - private static final long serialVersionUID = -1836341923L; + private static final long serialVersionUID = -2108798167L; /** * Constructor @@ -1430,14 +1675,13 @@ public class ConceptMap extends CanonicalResource { /** * Constructor */ - public OtherElementComponent(String property, String value) { + public OtherElementComponent(String property) { super(); this.setProperty(property); - this.setValue(value); } /** - * @return {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value + * @return {@link #property} (A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value */ public UriType getPropertyElement() { if (this.property == null) @@ -1457,7 +1701,7 @@ public class ConceptMap extends CanonicalResource { } /** - * @param value {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value + * @param value {@link #property} (A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value */ public OtherElementComponent setPropertyElement(UriType value) { this.property = value; @@ -1465,14 +1709,14 @@ public class ConceptMap extends CanonicalResource { } /** - * @return A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. + * @return A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets. */ public String getProperty() { return this.property == null ? null : this.property.getValue(); } /** - * @param value A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. + * @param value A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets. */ public OtherElementComponent setProperty(String value) { if (this.property == null) @@ -1482,68 +1726,145 @@ public class ConceptMap extends CanonicalResource { } /** - * @return {@link #system} (An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value + * @return {@link #value} (Property value that the map depends on.) */ - public CanonicalType getSystemElement() { - if (this.system == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OtherElementComponent.system"); - else if (Configuration.doAutoCreate()) - this.system = new CanonicalType(); // bb - return this.system; - } - - public boolean hasSystemElement() { - return this.system != null && !this.system.isEmpty(); - } - - public boolean hasSystem() { - return this.system != null && !this.system.isEmpty(); - } - - /** - * @param value {@link #system} (An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the value - */ - public OtherElementComponent setSystemElement(CanonicalType value) { - this.system = value; - return this; - } - - /** - * @return An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems). - */ - public String getSystem() { - return this.system == null ? null : this.system.getValue(); - } - - /** - * @param value An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems). - */ - public OtherElementComponent setSystem(String value) { - if (Utilities.noString(value)) - this.system = null; - else { - if (this.system == null) - this.system = new CanonicalType(); - this.system.setValue(value); - } - return this; - } - - /** - * @return {@link #value} (Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value - */ - public StringType getValueElement() { - if (this.value == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OtherElementComponent.value"); - else if (Configuration.doAutoCreate()) - this.value = new StringType(); // bb + public DataType getValue() { return this.value; } - public boolean hasValueElement() { - return this.value != null && !this.value.isEmpty(); + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public CodeType getValueCodeType() throws FHIRException { + if (this.value == null) + this.value = new CodeType(); + if (!(this.value instanceof CodeType)) + throw new FHIRException("Type mismatch: the type CodeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeType) this.value; + } + + public boolean hasValueCodeType() { + return this != null && this.value instanceof CodeType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public Coding getValueCoding() throws FHIRException { + if (this.value == null) + this.value = new Coding(); + if (!(this.value instanceof Coding)) + throw new FHIRException("Type mismatch: the type Coding was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Coding) this.value; + } + + public boolean hasValueCoding() { + return this != null && this.value instanceof Coding; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public StringType getValueStringType() throws FHIRException { + if (this.value == null) + this.value = new StringType(); + if (!(this.value instanceof StringType)) + throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (StringType) this.value; + } + + public boolean hasValueStringType() { + return this != null && this.value instanceof StringType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public IntegerType getValueIntegerType() throws FHIRException { + if (this.value == null) + this.value = new IntegerType(); + if (!(this.value instanceof IntegerType)) + throw new FHIRException("Type mismatch: the type IntegerType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IntegerType) this.value; + } + + public boolean hasValueIntegerType() { + return this != null && this.value instanceof IntegerType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public BooleanType getValueBooleanType() throws FHIRException { + if (this.value == null) + this.value = new BooleanType(); + if (!(this.value instanceof BooleanType)) + throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (BooleanType) this.value; + } + + public boolean hasValueBooleanType() { + return this != null && this.value instanceof BooleanType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public DateTimeType getValueDateTimeType() throws FHIRException { + if (this.value == null) + this.value = new DateTimeType(); + if (!(this.value instanceof DateTimeType)) + throw new FHIRException("Type mismatch: the type DateTimeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DateTimeType) this.value; + } + + public boolean hasValueDateTimeType() { + return this != null && this.value instanceof DateTimeType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public DecimalType getValueDecimalType() throws FHIRException { + if (this.value == null) + this.value = new DecimalType(); + if (!(this.value instanceof DecimalType)) + throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DecimalType) this.value; + } + + public boolean hasValueDecimalType() { + return this != null && this.value instanceof DecimalType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public UriType getValueUriType() throws FHIRException { + if (this.value == null) + this.value = new UriType(); + if (!(this.value instanceof UriType)) + throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UriType) this.value; + } + + public boolean hasValueUriType() { + return this != null && this.value instanceof UriType; + } + + /** + * @return {@link #value} (Property value that the map depends on.) + */ + public IdType getValueIdType() throws FHIRException { + if (this.value == null) + this.value = new IdType(); + if (!(this.value instanceof IdType)) + throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IdType) this.value; + } + + public boolean hasValueIdType() { + return this != null && this.value instanceof IdType; } public boolean hasValue() { @@ -1551,94 +1872,87 @@ public class ConceptMap extends CanonicalResource { } /** - * @param value {@link #value} (Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value + * @param value {@link #value} (Property value that the map depends on.) */ - public OtherElementComponent setValueElement(StringType value) { + public OtherElementComponent setValue(DataType value) { + if (value != null && !(value instanceof CodeType || value instanceof Coding || value instanceof StringType || value instanceof IntegerType || value instanceof BooleanType || value instanceof DateTimeType || value instanceof DecimalType || value instanceof UriType || value instanceof IdType)) + throw new Error("Not the right type for ConceptMap.group.element.target.dependsOn.value[x]: "+value.fhirType()); this.value = value; return this; } /** - * @return Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to. + * @return {@link #valueSet} (This mapping applies if the property value is a code from this value set.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ - public String getValue() { - return this.value == null ? null : this.value.getValue(); - } - - /** - * @param value Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to. - */ - public OtherElementComponent setValue(String value) { - if (this.value == null) - this.value = new StringType(); - this.value.setValue(value); - return this; - } - - /** - * @return {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public StringType getDisplayElement() { - if (this.display == null) + public CanonicalType getValueSetElement() { + if (this.valueSet == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OtherElementComponent.display"); + throw new Error("Attempt to auto-create OtherElementComponent.valueSet"); else if (Configuration.doAutoCreate()) - this.display = new StringType(); // bb - return this.display; + this.valueSet = new CanonicalType(); // bb + return this.valueSet; } - public boolean hasDisplayElement() { - return this.display != null && !this.display.isEmpty(); + public boolean hasValueSetElement() { + return this.valueSet != null && !this.valueSet.isEmpty(); } - public boolean hasDisplay() { - return this.display != null && !this.display.isEmpty(); + public boolean hasValueSet() { + return this.valueSet != null && !this.valueSet.isEmpty(); } /** - * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value + * @param value {@link #valueSet} (This mapping applies if the property value is a code from this value set.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ - public OtherElementComponent setDisplayElement(StringType value) { - this.display = value; + public OtherElementComponent setValueSetElement(CanonicalType value) { + this.valueSet = value; return this; } /** - * @return The display for the code. The display is only provided to help editors when editing the concept map. + * @return This mapping applies if the property value is a code from this value set. */ - public String getDisplay() { - return this.display == null ? null : this.display.getValue(); + public String getValueSet() { + return this.valueSet == null ? null : this.valueSet.getValue(); } /** - * @param value The display for the code. The display is only provided to help editors when editing the concept map. + * @param value This mapping applies if the property value is a code from this value set. */ - public OtherElementComponent setDisplay(String value) { + public OtherElementComponent setValueSet(String value) { if (Utilities.noString(value)) - this.display = null; + this.valueSet = null; else { - if (this.display == null) - this.display = new StringType(); - this.display.setValue(value); + if (this.valueSet == null) + this.valueSet = new CanonicalType(); + this.valueSet.setValue(value); } return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("property", "uri", "A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.", 0, 1, property)); - children.add(new Property("system", "canonical(CodeSystem)", "An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).", 0, 1, system)); - children.add(new Property("value", "string", "Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.", 0, 1, value)); - children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); + children.add(new Property("property", "uri", "A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets.", 0, 1, property)); + children.add(new Property("value[x]", "code|Coding|string|integer|boolean|dateTime|decimal|uri|id", "Property value that the map depends on.", 0, 1, value)); + children.add(new Property("valueSet", "canonical(ValueSet)", "This mapping applies if the property value is a code from this value set.", 0, 1, valueSet)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -993141291: /*property*/ return new Property("property", "uri", "A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.", 0, 1, property); - case -887328209: /*system*/ return new Property("system", "canonical(CodeSystem)", "An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).", 0, 1, system); - case 111972721: /*value*/ return new Property("value", "string", "Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.", 0, 1, value); - case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); + case -993141291: /*property*/ return new Property("property", "uri", "A reference to a property that holds a value the map depends on. This value can be supplied to the $translate operation to select the appropriate targets.", 0, 1, property); + case -1410166417: /*value[x]*/ return new Property("value[x]", "code|Coding|string|integer|boolean|dateTime|decimal|uri|id", "Property value that the map depends on.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "code|Coding|string|integer|boolean|dateTime|decimal|uri|id", "Property value that the map depends on.", 0, 1, value); + case -766209282: /*valueCode*/ return new Property("value[x]", "code", "Property value that the map depends on.", 0, 1, value); + case -1887705029: /*valueCoding*/ return new Property("value[x]", "Coding", "Property value that the map depends on.", 0, 1, value); + case -1424603934: /*valueString*/ return new Property("value[x]", "string", "Property value that the map depends on.", 0, 1, value); + case -1668204915: /*valueInteger*/ return new Property("value[x]", "integer", "Property value that the map depends on.", 0, 1, value); + case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "Property value that the map depends on.", 0, 1, value); + case 1047929900: /*valueDateTime*/ return new Property("value[x]", "dateTime", "Property value that the map depends on.", 0, 1, value); + case -2083993440: /*valueDecimal*/ return new Property("value[x]", "decimal", "Property value that the map depends on.", 0, 1, value); + case -1410172357: /*valueUri*/ return new Property("value[x]", "uri", "Property value that the map depends on.", 0, 1, value); + case 231604844: /*valueId*/ return new Property("value[x]", "id", "Property value that the map depends on.", 0, 1, value); + case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "This mapping applies if the property value is a code from this value set.", 0, 1, valueSet); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1648,9 +1962,8 @@ public class ConceptMap extends CanonicalResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -993141291: /*property*/ return this.property == null ? new Base[0] : new Base[] {this.property}; // UriType - case -887328209: /*system*/ return this.system == null ? new Base[0] : new Base[] {this.system}; // CanonicalType - case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // StringType - case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType + case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType + case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType default: return super.getProperty(hash, name, checkValid); } @@ -1662,14 +1975,11 @@ public class ConceptMap extends CanonicalResource { case -993141291: // property this.property = TypeConvertor.castToUri(value); // UriType return value; - case -887328209: // system - this.system = TypeConvertor.castToCanonical(value); // CanonicalType - return value; case 111972721: // value - this.value = TypeConvertor.castToString(value); // StringType + this.value = TypeConvertor.castToType(value); // DataType return value; - case 1671764162: // display - this.display = TypeConvertor.castToString(value); // StringType + case -1410174671: // valueSet + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType return value; default: return super.setProperty(hash, name, value); } @@ -1680,12 +1990,10 @@ public class ConceptMap extends CanonicalResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("property")) { this.property = TypeConvertor.castToUri(value); // UriType - } else if (name.equals("system")) { - this.system = TypeConvertor.castToCanonical(value); // CanonicalType - } else if (name.equals("value")) { - this.value = TypeConvertor.castToString(value); // StringType - } else if (name.equals("display")) { - this.display = TypeConvertor.castToString(value); // StringType + } else if (name.equals("value[x]")) { + this.value = TypeConvertor.castToType(value); // DataType + } else if (name.equals("valueSet")) { + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType } else return super.setProperty(name, value); return value; @@ -1695,9 +2003,9 @@ public class ConceptMap extends CanonicalResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -993141291: return getPropertyElement(); - case -887328209: return getSystemElement(); - case 111972721: return getValueElement(); - case 1671764162: return getDisplayElement(); + case -1410166417: return getValue(); + case 111972721: return getValue(); + case -1410174671: return getValueSetElement(); default: return super.makeProperty(hash, name); } @@ -1707,9 +2015,8 @@ public class ConceptMap extends CanonicalResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -993141291: /*property*/ return new String[] {"uri"}; - case -887328209: /*system*/ return new String[] {"canonical"}; - case 111972721: /*value*/ return new String[] {"string"}; - case 1671764162: /*display*/ return new String[] {"string"}; + case 111972721: /*value*/ return new String[] {"code", "Coding", "string", "integer", "boolean", "dateTime", "decimal", "uri", "id"}; + case -1410174671: /*valueSet*/ return new String[] {"canonical"}; default: return super.getTypesForProperty(hash, name); } @@ -1720,14 +2027,44 @@ public class ConceptMap extends CanonicalResource { if (name.equals("property")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.property"); } - else if (name.equals("system")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.system"); + else if (name.equals("valueCode")) { + this.value = new CodeType(); + return this.value; } - else if (name.equals("value")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.value"); + else if (name.equals("valueCoding")) { + this.value = new Coding(); + return this.value; } - else if (name.equals("display")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.display"); + else if (name.equals("valueString")) { + this.value = new StringType(); + return this.value; + } + else if (name.equals("valueInteger")) { + this.value = new IntegerType(); + return this.value; + } + else if (name.equals("valueBoolean")) { + this.value = new BooleanType(); + return this.value; + } + else if (name.equals("valueDateTime")) { + this.value = new DateTimeType(); + return this.value; + } + else if (name.equals("valueDecimal")) { + this.value = new DecimalType(); + return this.value; + } + else if (name.equals("valueUri")) { + this.value = new UriType(); + return this.value; + } + else if (name.equals("valueId")) { + this.value = new IdType(); + return this.value; + } + else if (name.equals("valueSet")) { + throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.element.target.dependsOn.valueSet"); } else return super.addChild(name); @@ -1742,9 +2079,8 @@ public class ConceptMap extends CanonicalResource { public void copyValues(OtherElementComponent dst) { super.copyValues(dst); dst.property = property == null ? null : property.copy(); - dst.system = system == null ? null : system.copy(); dst.value = value == null ? null : value.copy(); - dst.display = display == null ? null : display.copy(); + dst.valueSet = valueSet == null ? null : valueSet.copy(); } @Override @@ -1754,8 +2090,8 @@ public class ConceptMap extends CanonicalResource { if (!(other_ instanceof OtherElementComponent)) return false; OtherElementComponent o = (OtherElementComponent) other_; - return compareDeep(property, o.property, true) && compareDeep(system, o.system, true) && compareDeep(value, o.value, true) - && compareDeep(display, o.display, true); + return compareDeep(property, o.property, true) && compareDeep(value, o.value, true) && compareDeep(valueSet, o.valueSet, true) + ; } @Override @@ -1765,13 +2101,12 @@ public class ConceptMap extends CanonicalResource { if (!(other_ instanceof OtherElementComponent)) return false; OtherElementComponent o = (OtherElementComponent) other_; - return compareValues(property, o.property, true) && compareValues(system, o.system, true) && compareValues(value, o.value, true) - && compareValues(display, o.display, true); + return compareValues(property, o.property, true) && compareValues(valueSet, o.valueSet, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(property, system, value - , display); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(property, value, valueSet + ); } public String fhirType() { @@ -1784,10 +2119,10 @@ public class ConceptMap extends CanonicalResource { @Block() public static class ConceptMapGroupUnmappedComponent extends BackboneElement implements IBaseBackboneElement { /** - * Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). + * Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). */ @Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="provided | fixed | other-map", formalDefinition="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)." ) + @Description(shortDefinition="use-source-code | fixed | other-map", formalDefinition="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode") protected Enumeration mode; @@ -1805,14 +2140,29 @@ public class ConceptMap extends CanonicalResource { @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) protected StringType display; + /** + * The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes. + */ + @Child(name = "valueSet", type = {CanonicalType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Fixed code set when mode = fixed", formalDefinition="The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes." ) + protected CanonicalType valueSet; + + /** + * The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'. + */ + @Child(name = "relationship", type = {CodeType.class}, order=5, min=0, max=1, modifier=true, summary=false) + @Description(shortDefinition="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to", formalDefinition="The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/concept-map-relationship") + protected Enumeration relationship; + /** * The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept. */ - @Child(name = "url", type = {CanonicalType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "otherMap", type = {CanonicalType.class}, order=6, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped", formalDefinition="The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept." ) - protected CanonicalType url; + protected CanonicalType otherMap; - private static final long serialVersionUID = 1261364354L; + private static final long serialVersionUID = 449945387L; /** * Constructor @@ -1830,7 +2180,7 @@ public class ConceptMap extends CanonicalResource { } /** - * @return {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value + * @return {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value */ public Enumeration getModeElement() { if (this.mode == null) @@ -1850,7 +2200,7 @@ public class ConceptMap extends CanonicalResource { } /** - * @param value {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value + * @param value {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value */ public ConceptMapGroupUnmappedComponent setModeElement(Enumeration value) { this.mode = value; @@ -1858,14 +2208,14 @@ public class ConceptMap extends CanonicalResource { } /** - * @return Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). + * @return Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). */ public ConceptMapGroupUnmappedMode getMode() { return this.mode == null ? null : this.mode.getValue(); } /** - * @param value Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). + * @param value Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). */ public ConceptMapGroupUnmappedComponent setMode(ConceptMapGroupUnmappedMode value) { if (this.mode == null) @@ -1973,69 +2323,171 @@ public class ConceptMap extends CanonicalResource { } /** - * @return {@link #url} (The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @return {@link #valueSet} (The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ - public CanonicalType getUrlElement() { - if (this.url == null) + public CanonicalType getValueSetElement() { + if (this.valueSet == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.url"); + throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.valueSet"); else if (Configuration.doAutoCreate()) - this.url = new CanonicalType(); // bb - return this.url; + this.valueSet = new CanonicalType(); // bb + return this.valueSet; } - public boolean hasUrlElement() { - return this.url != null && !this.url.isEmpty(); + public boolean hasValueSetElement() { + return this.valueSet != null && !this.valueSet.isEmpty(); } - public boolean hasUrl() { - return this.url != null && !this.url.isEmpty(); + public boolean hasValueSet() { + return this.valueSet != null && !this.valueSet.isEmpty(); } /** - * @param value {@link #url} (The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value + * @param value {@link #valueSet} (The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value */ - public ConceptMapGroupUnmappedComponent setUrlElement(CanonicalType value) { - this.url = value; + public ConceptMapGroupUnmappedComponent setValueSetElement(CanonicalType value) { + this.valueSet = value; + return this; + } + + /** + * @return The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes. + */ + public String getValueSet() { + return this.valueSet == null ? null : this.valueSet.getValue(); + } + + /** + * @param value The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes. + */ + public ConceptMapGroupUnmappedComponent setValueSet(String value) { + if (Utilities.noString(value)) + this.valueSet = null; + else { + if (this.valueSet == null) + this.valueSet = new CanonicalType(); + this.valueSet.setValue(value); + } + return this; + } + + /** + * @return {@link #relationship} (The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'.). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value + */ + public Enumeration getRelationshipElement() { + if (this.relationship == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.relationship"); + else if (Configuration.doAutoCreate()) + this.relationship = new Enumeration(new ConceptMapRelationshipEnumFactory()); // bb + return this.relationship; + } + + public boolean hasRelationshipElement() { + return this.relationship != null && !this.relationship.isEmpty(); + } + + public boolean hasRelationship() { + return this.relationship != null && !this.relationship.isEmpty(); + } + + /** + * @param value {@link #relationship} (The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'.). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value + */ + public ConceptMapGroupUnmappedComponent setRelationshipElement(Enumeration value) { + this.relationship = value; + return this; + } + + /** + * @return The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'. + */ + public ConceptMapRelationship getRelationship() { + return this.relationship == null ? null : this.relationship.getValue(); + } + + /** + * @param value The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'. + */ + public ConceptMapGroupUnmappedComponent setRelationship(ConceptMapRelationship value) { + if (value == null) + this.relationship = null; + else { + if (this.relationship == null) + this.relationship = new Enumeration(new ConceptMapRelationshipEnumFactory()); + this.relationship.setValue(value); + } + return this; + } + + /** + * @return {@link #otherMap} (The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getOtherMap" gives direct access to the value + */ + public CanonicalType getOtherMapElement() { + if (this.otherMap == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ConceptMapGroupUnmappedComponent.otherMap"); + else if (Configuration.doAutoCreate()) + this.otherMap = new CanonicalType(); // bb + return this.otherMap; + } + + public boolean hasOtherMapElement() { + return this.otherMap != null && !this.otherMap.isEmpty(); + } + + public boolean hasOtherMap() { + return this.otherMap != null && !this.otherMap.isEmpty(); + } + + /** + * @param value {@link #otherMap} (The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getOtherMap" gives direct access to the value + */ + public ConceptMapGroupUnmappedComponent setOtherMapElement(CanonicalType value) { + this.otherMap = value; return this; } /** * @return The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept. */ - public String getUrl() { - return this.url == null ? null : this.url.getValue(); + public String getOtherMap() { + return this.otherMap == null ? null : this.otherMap.getValue(); } /** * @param value The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept. */ - public ConceptMapGroupUnmappedComponent setUrl(String value) { + public ConceptMapGroupUnmappedComponent setOtherMap(String value) { if (Utilities.noString(value)) - this.url = null; + this.otherMap = null; else { - if (this.url == null) - this.url = new CanonicalType(); - this.url.setValue(value); + if (this.otherMap == null) + this.otherMap = new CanonicalType(); + this.otherMap.setValue(value); } return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode)); + children.add(new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode)); children.add(new Property("code", "code", "The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.", 0, 1, code)); children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); - children.add(new Property("url", "canonical(ConceptMap)", "The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.", 0, 1, url)); + children.add(new Property("valueSet", "canonical(ValueSet)", "The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes.", 0, 1, valueSet)); + children.add(new Property("relationship", "code", "The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'.", 0, 1, relationship)); + children.add(new Property("otherMap", "canonical(ConceptMap)", "The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.", 0, 1, otherMap)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3357091: /*mode*/ return new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode); + case 3357091: /*mode*/ return new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode); case 3059181: /*code*/ return new Property("code", "code", "The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.", 0, 1, code); case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); - case 116079: /*url*/ return new Property("url", "canonical(ConceptMap)", "The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.", 0, 1, url); + case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to each of the fixed codes.", 0, 1, valueSet); + case -261851592: /*relationship*/ return new Property("relationship", "code", "The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'.", 0, 1, relationship); + case -1171155924: /*otherMap*/ return new Property("otherMap", "canonical(ConceptMap)", "The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.", 0, 1, otherMap); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2047,7 +2499,9 @@ public class ConceptMap extends CanonicalResource { case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // Enumeration case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType - case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // CanonicalType + case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType + case -261851592: /*relationship*/ return this.relationship == null ? new Base[0] : new Base[] {this.relationship}; // Enumeration + case -1171155924: /*otherMap*/ return this.otherMap == null ? new Base[0] : new Base[] {this.otherMap}; // CanonicalType default: return super.getProperty(hash, name, checkValid); } @@ -2066,8 +2520,15 @@ public class ConceptMap extends CanonicalResource { case 1671764162: // display this.display = TypeConvertor.castToString(value); // StringType return value; - case 116079: // url - this.url = TypeConvertor.castToCanonical(value); // CanonicalType + case -1410174671: // valueSet + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType + return value; + case -261851592: // relationship + value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.relationship = (Enumeration) value; // Enumeration + return value; + case -1171155924: // otherMap + this.otherMap = TypeConvertor.castToCanonical(value); // CanonicalType return value; default: return super.setProperty(hash, name, value); } @@ -2083,8 +2544,13 @@ public class ConceptMap extends CanonicalResource { this.code = TypeConvertor.castToCode(value); // CodeType } else if (name.equals("display")) { this.display = TypeConvertor.castToString(value); // StringType - } else if (name.equals("url")) { - this.url = TypeConvertor.castToCanonical(value); // CanonicalType + } else if (name.equals("valueSet")) { + this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType + } else if (name.equals("relationship")) { + value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.relationship = (Enumeration) value; // Enumeration + } else if (name.equals("otherMap")) { + this.otherMap = TypeConvertor.castToCanonical(value); // CanonicalType } else return super.setProperty(name, value); return value; @@ -2096,7 +2562,9 @@ public class ConceptMap extends CanonicalResource { case 3357091: return getModeElement(); case 3059181: return getCodeElement(); case 1671764162: return getDisplayElement(); - case 116079: return getUrlElement(); + case -1410174671: return getValueSetElement(); + case -261851592: return getRelationshipElement(); + case -1171155924: return getOtherMapElement(); default: return super.makeProperty(hash, name); } @@ -2108,7 +2576,9 @@ public class ConceptMap extends CanonicalResource { case 3357091: /*mode*/ return new String[] {"code"}; case 3059181: /*code*/ return new String[] {"code"}; case 1671764162: /*display*/ return new String[] {"string"}; - case 116079: /*url*/ return new String[] {"canonical"}; + case -1410174671: /*valueSet*/ return new String[] {"canonical"}; + case -261851592: /*relationship*/ return new String[] {"code"}; + case -1171155924: /*otherMap*/ return new String[] {"canonical"}; default: return super.getTypesForProperty(hash, name); } @@ -2125,8 +2595,14 @@ public class ConceptMap extends CanonicalResource { else if (name.equals("display")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.display"); } - else if (name.equals("url")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.url"); + else if (name.equals("valueSet")) { + throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.valueSet"); + } + else if (name.equals("relationship")) { + throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.relationship"); + } + else if (name.equals("otherMap")) { + throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.group.unmapped.otherMap"); } else return super.addChild(name); @@ -2143,7 +2619,9 @@ public class ConceptMap extends CanonicalResource { dst.mode = mode == null ? null : mode.copy(); dst.code = code == null ? null : code.copy(); dst.display = display == null ? null : display.copy(); - dst.url = url == null ? null : url.copy(); + dst.valueSet = valueSet == null ? null : valueSet.copy(); + dst.relationship = relationship == null ? null : relationship.copy(); + dst.otherMap = otherMap == null ? null : otherMap.copy(); } @Override @@ -2154,7 +2632,8 @@ public class ConceptMap extends CanonicalResource { return false; ConceptMapGroupUnmappedComponent o = (ConceptMapGroupUnmappedComponent) other_; return compareDeep(mode, o.mode, true) && compareDeep(code, o.code, true) && compareDeep(display, o.display, true) - && compareDeep(url, o.url, true); + && compareDeep(valueSet, o.valueSet, true) && compareDeep(relationship, o.relationship, true) && compareDeep(otherMap, o.otherMap, true) + ; } @Override @@ -2165,12 +2644,13 @@ public class ConceptMap extends CanonicalResource { return false; ConceptMapGroupUnmappedComponent o = (ConceptMapGroupUnmappedComponent) other_; return compareValues(mode, o.mode, true) && compareValues(code, o.code, true) && compareValues(display, o.display, true) - && compareValues(url, o.url, true); + && compareValues(valueSet, o.valueSet, true) && compareValues(relationship, o.relationship, true) && compareValues(otherMap, o.otherMap, true) + ; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(mode, code, display, url - ); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(mode, code, display, valueSet + , relationship, otherMap); } public String fhirType() { @@ -2288,18 +2768,18 @@ public class ConceptMap extends CanonicalResource { protected MarkdownType copyright; /** - * Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. + * Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set. */ - @Child(name = "source", type = {UriType.class, CanonicalType.class}, order=15, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The source value set that contains the concepts that are being mapped", formalDefinition="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings." ) - protected DataType source; + @Child(name = "sourceScope", type = {UriType.class, CanonicalType.class}, order=15, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="The source value set that contains the concepts that are being mapped", formalDefinition="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set." ) + protected DataType sourceScope; /** - * The target value set provides context for 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. + * Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set. */ - @Child(name = "target", type = {UriType.class, CanonicalType.class}, order=16, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The target value set which provides context for the mappings", formalDefinition="The target value set provides context for 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." ) - protected DataType target; + @Child(name = "targetScope", type = {UriType.class, CanonicalType.class}, order=16, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="The target value set which provides context for the mappings", formalDefinition="Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set." ) + protected DataType targetScope; /** * A group of mappings that all have the same source and target system. @@ -2308,7 +2788,7 @@ public class ConceptMap extends CanonicalResource { @Description(shortDefinition="Same source and target systems", formalDefinition="A group of mappings that all have the same source and target system." ) protected List group; - private static final long serialVersionUID = 342671242L; + private static final long serialVersionUID = 1437841252L; /** * Constructor @@ -3069,104 +3549,104 @@ public class ConceptMap extends CanonicalResource { } /** - * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) + * @return {@link #sourceScope} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.) */ - public DataType getSource() { - return this.source; + public DataType getSourceScope() { + return this.sourceScope; } /** - * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) + * @return {@link #sourceScope} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.) */ - public UriType getSourceUriType() throws FHIRException { - if (this.source == null) - this.source = new UriType(); - if (!(this.source instanceof UriType)) - throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.source.getClass().getName()+" was encountered"); - return (UriType) this.source; + public UriType getSourceScopeUriType() throws FHIRException { + if (this.sourceScope == null) + this.sourceScope = new UriType(); + if (!(this.sourceScope instanceof UriType)) + throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.sourceScope.getClass().getName()+" was encountered"); + return (UriType) this.sourceScope; } - public boolean hasSourceUriType() { - return this != null && this.source instanceof UriType; + public boolean hasSourceScopeUriType() { + return this != null && this.sourceScope instanceof UriType; } /** - * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) + * @return {@link #sourceScope} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.) */ - public CanonicalType getSourceCanonicalType() throws FHIRException { - if (this.source == null) - this.source = new CanonicalType(); - if (!(this.source instanceof CanonicalType)) - throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.source.getClass().getName()+" was encountered"); - return (CanonicalType) this.source; + public CanonicalType getSourceScopeCanonicalType() throws FHIRException { + if (this.sourceScope == null) + this.sourceScope = new CanonicalType(); + if (!(this.sourceScope instanceof CanonicalType)) + throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.sourceScope.getClass().getName()+" was encountered"); + return (CanonicalType) this.sourceScope; } - public boolean hasSourceCanonicalType() { - return this != null && this.source instanceof CanonicalType; + public boolean hasSourceScopeCanonicalType() { + return this != null && this.sourceScope instanceof CanonicalType; } - public boolean hasSource() { - return this.source != null && !this.source.isEmpty(); + public boolean hasSourceScope() { + return this.sourceScope != null && !this.sourceScope.isEmpty(); } /** - * @param value {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) + * @param value {@link #sourceScope} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.) */ - public ConceptMap setSource(DataType value) { + public ConceptMap setSourceScope(DataType value) { if (value != null && !(value instanceof UriType || value instanceof CanonicalType)) - throw new Error("Not the right type for ConceptMap.source[x]: "+value.fhirType()); - this.source = value; + throw new Error("Not the right type for ConceptMap.sourceScope[x]: "+value.fhirType()); + this.sourceScope = value; return this; } /** - * @return {@link #target} (The target value set provides context for 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.) + * @return {@link #targetScope} (Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.) */ - public DataType getTarget() { - return this.target; + public DataType getTargetScope() { + return this.targetScope; } /** - * @return {@link #target} (The target value set provides context for 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.) + * @return {@link #targetScope} (Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.) */ - public UriType getTargetUriType() throws FHIRException { - if (this.target == null) - this.target = new UriType(); - if (!(this.target instanceof UriType)) - throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.target.getClass().getName()+" was encountered"); - return (UriType) this.target; + public UriType getTargetScopeUriType() throws FHIRException { + if (this.targetScope == null) + this.targetScope = new UriType(); + if (!(this.targetScope instanceof UriType)) + throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.targetScope.getClass().getName()+" was encountered"); + return (UriType) this.targetScope; } - public boolean hasTargetUriType() { - return this != null && this.target instanceof UriType; + public boolean hasTargetScopeUriType() { + return this != null && this.targetScope instanceof UriType; } /** - * @return {@link #target} (The target value set provides context for 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.) + * @return {@link #targetScope} (Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.) */ - public CanonicalType getTargetCanonicalType() throws FHIRException { - if (this.target == null) - this.target = new CanonicalType(); - if (!(this.target instanceof CanonicalType)) - throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.target.getClass().getName()+" was encountered"); - return (CanonicalType) this.target; + public CanonicalType getTargetScopeCanonicalType() throws FHIRException { + if (this.targetScope == null) + this.targetScope = new CanonicalType(); + if (!(this.targetScope instanceof CanonicalType)) + throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.targetScope.getClass().getName()+" was encountered"); + return (CanonicalType) this.targetScope; } - public boolean hasTargetCanonicalType() { - return this != null && this.target instanceof CanonicalType; + public boolean hasTargetScopeCanonicalType() { + return this != null && this.targetScope instanceof CanonicalType; } - public boolean hasTarget() { - return this.target != null && !this.target.isEmpty(); + public boolean hasTargetScope() { + return this.targetScope != null && !this.targetScope.isEmpty(); } /** - * @param value {@link #target} (The target value set provides context for 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.) + * @param value {@link #targetScope} (Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.) */ - public ConceptMap setTarget(DataType value) { + public ConceptMap setTargetScope(DataType value) { if (value != null && !(value instanceof UriType || value instanceof CanonicalType)) - throw new Error("Not the right type for ConceptMap.target[x]: "+value.fhirType()); - this.target = value; + throw new Error("Not the right type for ConceptMap.targetScope[x]: "+value.fhirType()); + this.targetScope = value; return this; } @@ -3223,6 +3703,311 @@ public class ConceptMap extends CanonicalResource { return getGroup().get(0); } + /** + * not supported on this implementation + */ + @Override + public int getApprovalDateMax() { + return 0; + } + /** + * @return {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value + */ + public DateType getApprovalDateElement() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"approvalDate\""); + } + + public boolean hasApprovalDateElement() { + return false; + } + public boolean hasApprovalDate() { + return false; + } + + /** + * @param value {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value + */ + public ConceptMap setApprovalDateElement(DateType value) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"approvalDate\""); + } + public Date getApprovalDate() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"approvalDate\""); + } + /** + * @param value The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. + */ + public ConceptMap setApprovalDate(Date value) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"approvalDate\""); + } + /** + * not supported on this implementation + */ + @Override + public int getLastReviewDateMax() { + return 0; + } + /** + * @return {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value + */ + public DateType getLastReviewDateElement() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"lastReviewDate\""); + } + + public boolean hasLastReviewDateElement() { + return false; + } + public boolean hasLastReviewDate() { + return false; + } + + /** + * @param value {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value + */ + public ConceptMap setLastReviewDateElement(DateType value) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"lastReviewDate\""); + } + public Date getLastReviewDate() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"lastReviewDate\""); + } + /** + * @param value The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. + */ + public ConceptMap setLastReviewDate(Date value) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"lastReviewDate\""); + } + /** + * not supported on this implementation + */ + @Override + public int getEffectivePeriodMax() { + return 0; + } + /** + * @return {@link #effectivePeriod} (The period during which the concept map content was or is planned to be in active use.) + */ + public Period getEffectivePeriod() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"effectivePeriod\""); + } + public boolean hasEffectivePeriod() { + return false; + } + /** + * @param value {@link #effectivePeriod} (The period during which the concept map content was or is planned to be in active use.) + */ + public ConceptMap setEffectivePeriod(Period value) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"effectivePeriod\""); + } + + /** + * not supported on this implementation + */ + @Override + public int getTopicMax() { + return 0; + } + /** + * @return {@link #topic} (Descriptive topics related to the content of the concept map. Topics provide a high-level categorization of the concept map that can be useful for filtering and searching.) + */ + public List getTopic() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public ConceptMap setTopic(List theTopic) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"topic\""); + } + public boolean hasTopic() { + return false; + } + + public CodeableConcept addTopic() { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"topic\""); + } + public ConceptMap addTopic(CodeableConcept t) { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"topic\""); + } + /** + * @return The first repetition of repeating field {@link #topic}, creating it if it does not already exist {2} + */ + public CodeableConcept getTopicFirstRep() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"topic\""); + } + /** + * not supported on this implementation + */ + @Override + public int getAuthorMax() { + return 0; + } + /** + * @return {@link #author} (An individiual or organization primarily involved in the creation and maintenance of the concept map.) + */ + public List getAuthor() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public ConceptMap setAuthor(List theAuthor) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"author\""); + } + public boolean hasAuthor() { + return false; + } + + public ContactDetail addAuthor() { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"author\""); + } + public ConceptMap addAuthor(ContactDetail t) { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"author\""); + } + /** + * @return The first repetition of repeating field {@link #author}, creating it if it does not already exist {2} + */ + public ContactDetail getAuthorFirstRep() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"author\""); + } + /** + * not supported on this implementation + */ + @Override + public int getEditorMax() { + return 0; + } + /** + * @return {@link #editor} (An individual or organization primarily responsible for internal coherence of the concept map.) + */ + public List getEditor() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public ConceptMap setEditor(List theEditor) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"editor\""); + } + public boolean hasEditor() { + return false; + } + + public ContactDetail addEditor() { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"editor\""); + } + public ConceptMap addEditor(ContactDetail t) { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"editor\""); + } + /** + * @return The first repetition of repeating field {@link #editor}, creating it if it does not already exist {2} + */ + public ContactDetail getEditorFirstRep() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"editor\""); + } + /** + * not supported on this implementation + */ + @Override + public int getReviewerMax() { + return 0; + } + /** + * @return {@link #reviewer} (An individual or organization primarily responsible for review of some aspect of the concept map.) + */ + public List getReviewer() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public ConceptMap setReviewer(List theReviewer) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"reviewer\""); + } + public boolean hasReviewer() { + return false; + } + + public ContactDetail addReviewer() { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"reviewer\""); + } + public ConceptMap addReviewer(ContactDetail t) { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"reviewer\""); + } + /** + * @return The first repetition of repeating field {@link #reviewer}, creating it if it does not already exist {2} + */ + public ContactDetail getReviewerFirstRep() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"reviewer\""); + } + /** + * not supported on this implementation + */ + @Override + public int getEndorserMax() { + return 0; + } + /** + * @return {@link #endorser} (An individual or organization responsible for officially endorsing the concept map for use in some setting.) + */ + public List getEndorser() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public ConceptMap setEndorser(List theEndorser) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"endorser\""); + } + public boolean hasEndorser() { + return false; + } + + public ContactDetail addEndorser() { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"endorser\""); + } + public ConceptMap addEndorser(ContactDetail t) { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"endorser\""); + } + /** + * @return The first repetition of repeating field {@link #endorser}, creating it if it does not already exist {2} + */ + public ContactDetail getEndorserFirstRep() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"endorser\""); + } + /** + * not supported on this implementation + */ + @Override + public int getRelatedArtifactMax() { + return 0; + } + /** + * @return {@link #relatedArtifact} (Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts.) + */ + public List getRelatedArtifact() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public ConceptMap setRelatedArtifact(List theRelatedArtifact) { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"relatedArtifact\""); + } + public boolean hasRelatedArtifact() { + return false; + } + + public RelatedArtifact addRelatedArtifact() { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"relatedArtifact\""); + } + public ConceptMap addRelatedArtifact(RelatedArtifact t) { //3 + throw new Error("The resource type \"ConceptMap\" does not implement the property \"relatedArtifact\""); + } + /** + * @return The first repetition of repeating field {@link #relatedArtifact}, creating it if it does not already exist {2} + */ + public RelatedArtifact getRelatedArtifactFirstRep() { + throw new Error("The resource type \"ConceptMap\" does not implement the property \"relatedArtifact\""); + } protected void listChildren(List children) { super.listChildren(children); children.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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.", 0, 1, url)); @@ -3240,8 +4025,8 @@ public class ConceptMap extends CanonicalResource { children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the concept map is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); children.add(new Property("purpose", "markdown", "Explanation of why this concept map is needed and why it has been designed as it has.", 0, 1, purpose)); children.add(new Property("copyright", "markdown", "A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.", 0, 1, copyright)); - children.add(new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source)); - children.add(new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target)); + children.add(new Property("sourceScope[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.", 0, 1, sourceScope)); + children.add(new Property("targetScope[x]", "uri|canonical(ValueSet)", "Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.", 0, 1, targetScope)); children.add(new Property("group", "", "A group of mappings that all have the same source and target system.", 0, java.lang.Integer.MAX_VALUE, group)); } @@ -3263,14 +4048,14 @@ public class ConceptMap extends CanonicalResource { case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the concept map is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this concept map is needed and why it has been designed as it has.", 0, 1, purpose); case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.", 0, 1, copyright); - case -1698413947: /*source[x]*/ return new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case -896505829: /*source*/ return new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case -1698419887: /*sourceUri*/ return new Property("source[x]", "uri", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case 1509247769: /*sourceCanonical*/ return new Property("source[x]", "canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case -815579825: /*target[x]*/ return new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target); - case -880905839: /*target*/ return new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target); - case -815585765: /*targetUri*/ return new Property("target[x]", "uri", "The target value set provides context for 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.", 0, 1, target); - case -1281653149: /*targetCanonical*/ return new Property("target[x]", "canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target); + case -1850861849: /*sourceScope[x]*/ return new Property("sourceScope[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.", 0, 1, sourceScope); + case -96223495: /*sourceScope*/ return new Property("sourceScope[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.", 0, 1, sourceScope); + case -1850867789: /*sourceScopeUri*/ return new Property("sourceScope[x]", "uri", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.", 0, 1, sourceScope); + case -1487745541: /*sourceScopeCanonical*/ return new Property("sourceScope[x]", "canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.", 0, 1, sourceScope); + case -2079438243: /*targetScope[x]*/ return new Property("targetScope[x]", "uri|canonical(ValueSet)", "Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.", 0, 1, targetScope); + case -2096156861: /*targetScope*/ return new Property("targetScope[x]", "uri|canonical(ValueSet)", "Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.", 0, 1, targetScope); + case -2079444183: /*targetScopeUri*/ return new Property("targetScope[x]", "uri", "Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.", 0, 1, targetScope); + case -1851780879: /*targetScopeCanonical*/ return new Property("targetScope[x]", "canonical(ValueSet)", "Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.", 0, 1, targetScope); case 98629247: /*group*/ return new Property("group", "", "A group of mappings that all have the same source and target system.", 0, java.lang.Integer.MAX_VALUE, group); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3295,8 +4080,8 @@ public class ConceptMap extends CanonicalResource { case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // MarkdownType case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType - case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // DataType - case -880905839: /*target*/ return this.target == null ? new Base[0] : new Base[] {this.target}; // DataType + case -96223495: /*sourceScope*/ return this.sourceScope == null ? new Base[0] : new Base[] {this.sourceScope}; // DataType + case -2096156861: /*targetScope*/ return this.targetScope == null ? new Base[0] : new Base[] {this.targetScope}; // DataType case 98629247: /*group*/ return this.group == null ? new Base[0] : this.group.toArray(new Base[this.group.size()]); // ConceptMapGroupComponent default: return super.getProperty(hash, name, checkValid); } @@ -3352,11 +4137,11 @@ public class ConceptMap extends CanonicalResource { case 1522889671: // copyright this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType return value; - case -896505829: // source - this.source = TypeConvertor.castToType(value); // DataType + case -96223495: // sourceScope + this.sourceScope = TypeConvertor.castToType(value); // DataType return value; - case -880905839: // target - this.target = TypeConvertor.castToType(value); // DataType + case -2096156861: // targetScope + this.targetScope = TypeConvertor.castToType(value); // DataType return value; case 98629247: // group this.getGroup().add((ConceptMapGroupComponent) value); // ConceptMapGroupComponent @@ -3399,10 +4184,10 @@ public class ConceptMap extends CanonicalResource { this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType } else if (name.equals("copyright")) { this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType - } else if (name.equals("source[x]")) { - this.source = TypeConvertor.castToType(value); // DataType - } else if (name.equals("target[x]")) { - this.target = TypeConvertor.castToType(value); // DataType + } else if (name.equals("sourceScope[x]")) { + this.sourceScope = TypeConvertor.castToType(value); // DataType + } else if (name.equals("targetScope[x]")) { + this.targetScope = TypeConvertor.castToType(value); // DataType } else if (name.equals("group")) { this.getGroup().add((ConceptMapGroupComponent) value); } else @@ -3428,10 +4213,10 @@ public class ConceptMap extends CanonicalResource { case -507075711: return addJurisdiction(); case -220463842: return getPurposeElement(); case 1522889671: return getCopyrightElement(); - case -1698413947: return getSource(); - case -896505829: return getSource(); - case -815579825: return getTarget(); - case -880905839: return getTarget(); + case -1850861849: return getSourceScope(); + case -96223495: return getSourceScope(); + case -2079438243: return getTargetScope(); + case -2096156861: return getTargetScope(); case 98629247: return addGroup(); default: return super.makeProperty(hash, name); } @@ -3456,8 +4241,8 @@ public class ConceptMap extends CanonicalResource { case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; case -220463842: /*purpose*/ return new String[] {"markdown"}; case 1522889671: /*copyright*/ return new String[] {"markdown"}; - case -896505829: /*source*/ return new String[] {"uri", "canonical"}; - case -880905839: /*target*/ return new String[] {"uri", "canonical"}; + case -96223495: /*sourceScope*/ return new String[] {"uri", "canonical"}; + case -2096156861: /*targetScope*/ return new String[] {"uri", "canonical"}; case 98629247: /*group*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); } @@ -3511,21 +4296,21 @@ public class ConceptMap extends CanonicalResource { else if (name.equals("copyright")) { throw new FHIRException("Cannot call addChild on a primitive type ConceptMap.copyright"); } - else if (name.equals("sourceUri")) { - this.source = new UriType(); - return this.source; + else if (name.equals("sourceScopeUri")) { + this.sourceScope = new UriType(); + return this.sourceScope; } - else if (name.equals("sourceCanonical")) { - this.source = new CanonicalType(); - return this.source; + else if (name.equals("sourceScopeCanonical")) { + this.sourceScope = new CanonicalType(); + return this.sourceScope; } - else if (name.equals("targetUri")) { - this.target = new UriType(); - return this.target; + else if (name.equals("targetScopeUri")) { + this.targetScope = new UriType(); + return this.targetScope; } - else if (name.equals("targetCanonical")) { - this.target = new CanonicalType(); - return this.target; + else if (name.equals("targetScopeCanonical")) { + this.targetScope = new CanonicalType(); + return this.targetScope; } else if (name.equals("group")) { return addGroup(); @@ -3578,8 +4363,8 @@ public class ConceptMap extends CanonicalResource { }; dst.purpose = purpose == null ? null : purpose.copy(); dst.copyright = copyright == null ? null : copyright.copy(); - dst.source = source == null ? null : source.copy(); - dst.target = target == null ? null : target.copy(); + dst.sourceScope = sourceScope == null ? null : sourceScope.copy(); + dst.targetScope = targetScope == null ? null : targetScope.copy(); if (group != null) { dst.group = new ArrayList(); for (ConceptMapGroupComponent i : group) @@ -3603,8 +4388,8 @@ public class ConceptMap extends CanonicalResource { && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(purpose, o.purpose, true) && compareDeep(copyright, o.copyright, true) - && compareDeep(source, o.source, true) && compareDeep(target, o.target, true) && compareDeep(group, o.group, true) - ; + && compareDeep(sourceScope, o.sourceScope, true) && compareDeep(targetScope, o.targetScope, true) + && compareDeep(group, o.group, true); } @Override @@ -3623,7 +4408,7 @@ public class ConceptMap extends CanonicalResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version , name, title, status, experimental, date, publisher, contact, description, useContext - , jurisdiction, purpose, copyright, source, target, group); + , jurisdiction, purpose, copyright, sourceScope, targetScope, group); } @Override @@ -3631,1012 +4416,6 @@ public class ConceptMap extends CanonicalResource { return ResourceType.ConceptMap; } - /** - * Search parameter: dependson - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap.group.element.target.dependsOn.property
- *

- */ - @SearchParamDefinition(name="dependson", path="ConceptMap.group.element.target.dependsOn.property", description="Reference to property mapping depends on", type="uri" ) - public static final String SP_DEPENDSON = "dependson"; - /** - * Fluent Client search parameter constant for dependson - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap.group.element.target.dependsOn.property
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam DEPENDSON = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_DEPENDSON); - - /** - * Search parameter: other - *

- * Description: canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped
- * Type: reference
- * Path: ConceptMap.group.unmapped.url
- *

- */ - @SearchParamDefinition(name="other", path="ConceptMap.group.unmapped.url", description="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped", type="reference", target={ConceptMap.class } ) - public static final String SP_OTHER = "other"; - /** - * Fluent Client search parameter constant for other - *

- * Description: canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped
- * Type: reference
- * Path: ConceptMap.group.unmapped.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OTHER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OTHER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap:other". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_OTHER = new ca.uhn.fhir.model.api.Include("ConceptMap:other").toLocked(); - - /** - * Search parameter: product - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap.group.element.target.product.property
- *

- */ - @SearchParamDefinition(name="product", path="ConceptMap.group.element.target.product.property", description="Reference to property mapping depends on", type="uri" ) - public static final String SP_PRODUCT = "product"; - /** - * Fluent Client search parameter constant for product - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap.group.element.target.product.property
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam PRODUCT = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_PRODUCT); - - /** - * Search parameter: source-code - *

- * Description: Identifies element being mapped
- * Type: token
- * Path: ConceptMap.group.element.code
- *

- */ - @SearchParamDefinition(name="source-code", path="ConceptMap.group.element.code", description="Identifies element being mapped", type="token" ) - public static final String SP_SOURCE_CODE = "source-code"; - /** - * Fluent Client search parameter constant for source-code - *

- * Description: Identifies element being mapped
- * Type: token
- * Path: ConceptMap.group.element.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SOURCE_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SOURCE_CODE); - - /** - * Search parameter: source-system - *

- * Description: Source system where concepts to be mapped are defined
- * Type: uri
- * Path: ConceptMap.group.source
- *

- */ - @SearchParamDefinition(name="source-system", path="ConceptMap.group.source", description="Source system where concepts to be mapped are defined", type="uri" ) - public static final String SP_SOURCE_SYSTEM = "source-system"; - /** - * Fluent Client search parameter constant for source-system - *

- * Description: Source system where concepts to be mapped are defined
- * Type: uri
- * Path: ConceptMap.group.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam SOURCE_SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_SOURCE_SYSTEM); - - /** - * Search parameter: source-uri - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap.source as uri)
- *

- */ - @SearchParamDefinition(name="source-uri", path="(ConceptMap.source as uri)", description="The source value set that contains the concepts that are being mapped", type="reference", target={ValueSet.class } ) - public static final String SP_SOURCE_URI = "source-uri"; - /** - * Fluent Client search parameter constant for source-uri - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap.source as uri)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE_URI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE_URI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap:source-uri". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE_URI = new ca.uhn.fhir.model.api.Include("ConceptMap:source-uri").toLocked(); - - /** - * Search parameter: source - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap.source as canonical)
- *

- */ - @SearchParamDefinition(name="source", path="(ConceptMap.source as canonical)", description="The source value set that contains the concepts that are being mapped", type="reference", target={ValueSet.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap.source as canonical)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("ConceptMap:source").toLocked(); - - /** - * Search parameter: target-code - *

- * Description: Code that identifies the target element
- * Type: token
- * Path: ConceptMap.group.element.target.code
- *

- */ - @SearchParamDefinition(name="target-code", path="ConceptMap.group.element.target.code", description="Code that identifies the target element", type="token" ) - public static final String SP_TARGET_CODE = "target-code"; - /** - * Fluent Client search parameter constant for target-code - *

- * Description: Code that identifies the target element
- * Type: token
- * Path: ConceptMap.group.element.target.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_CODE); - - /** - * Search parameter: target-system - *

- * Description: Target system that the concepts are to be mapped to
- * Type: uri
- * Path: ConceptMap.group.target
- *

- */ - @SearchParamDefinition(name="target-system", path="ConceptMap.group.target", description="Target system that the concepts are to be mapped to", type="uri" ) - public static final String SP_TARGET_SYSTEM = "target-system"; - /** - * Fluent Client search parameter constant for target-system - *

- * Description: Target system that the concepts are to be mapped to
- * Type: uri
- * Path: ConceptMap.group.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam TARGET_SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_TARGET_SYSTEM); - - /** - * Search parameter: target-uri - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap.target as uri)
- *

- */ - @SearchParamDefinition(name="target-uri", path="(ConceptMap.target as uri)", description="The target value set which provides context for the mappings", type="reference", target={ValueSet.class } ) - public static final String SP_TARGET_URI = "target-uri"; - /** - * Fluent Client search parameter constant for target-uri - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap.target as uri)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET_URI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET_URI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap:target-uri". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET_URI = new ca.uhn.fhir.model.api.Include("ConceptMap:target-uri").toLocked(); - - /** - * Search parameter: target - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap.target as canonical)
- *

- */ - @SearchParamDefinition(name="target", path="(ConceptMap.target as canonical)", description="The target value set which provides context for the mappings", type="reference", target={ValueSet.class } ) - public static final String SP_TARGET = "target"; - /** - * Fluent Client search parameter constant for target - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap.target as canonical)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap:target". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET = new ca.uhn.fhir.model.api.Include("ConceptMap:target").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap2.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap2.java deleted file mode 100644 index 4b8df2ce4..000000000 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConceptMap2.java +++ /dev/null @@ -1,4408 +0,0 @@ -package org.hl7.fhir.r5.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 Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -import org.hl7.fhir.utilities.Utilities; -import org.hl7.fhir.r5.model.Enumerations.*; -import org.hl7.fhir.instance.model.api.IBaseBackboneElement; -import org.hl7.fhir.exceptions.FHIRException; -import org.hl7.fhir.instance.model.api.ICompositeType; -import ca.uhn.fhir.model.api.annotation.ResourceDef; -import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; -import org.hl7.fhir.instance.model.api.IBaseBackboneElement; -import ca.uhn.fhir.model.api.annotation.Child; -import ca.uhn.fhir.model.api.annotation.ChildOrder; -import ca.uhn.fhir.model.api.annotation.Description; -import ca.uhn.fhir.model.api.annotation.Block; - -/** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ -@ResourceDef(name="ConceptMap2", profile="http://hl7.org/fhir/StructureDefinition/ConceptMap2") -public class ConceptMap2 extends CanonicalResource { - - @Block() - public static class ConceptMap2GroupComponent extends BackboneElement implements IBaseBackboneElement { - /** - * An absolute URI that identifies the source system where the concepts to be mapped are defined. - */ - @Child(name = "source", type = {CanonicalType.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Source system where concepts to be mapped are defined", formalDefinition="An absolute URI that identifies the source system where the concepts to be mapped are defined." ) - protected CanonicalType source; - - /** - * An absolute URI that identifies the target system that the concepts will be mapped to. - */ - @Child(name = "target", type = {CanonicalType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Target system that the concepts are to be mapped to", formalDefinition="An absolute URI that identifies the target system that the concepts will be mapped to." ) - protected CanonicalType target; - - /** - * Mappings for an individual concept in the source to one or more concepts in the target. - */ - @Child(name = "element", type = {}, order=3, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @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; - - /** - * What to do when there is no mapping to a target concept from the source concept. This provides the "default" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to. - */ - @Child(name = "unmapped", type = {}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="What to do when there is no mapping target for the source concept", formalDefinition="What to do when there is no mapping to a target concept from the source concept. This provides the \"default\" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to." ) - protected ConceptMap2GroupUnmappedComponent unmapped; - - private static final long serialVersionUID = -421651506L; - - /** - * Constructor - */ - public ConceptMap2GroupComponent() { - super(); - } - - /** - * Constructor - */ - public ConceptMap2GroupComponent(SourceElementComponent element) { - super(); - this.addElement(element); - } - - /** - * @return {@link #source} (An absolute URI that identifies the source system where the concepts to be mapped are defined.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value - */ - public CanonicalType getSourceElement() { - if (this.source == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupComponent.source"); - else if (Configuration.doAutoCreate()) - this.source = new CanonicalType(); // 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} (An absolute URI that identifies the source system where the concepts to be mapped are defined.). This is the underlying object with id, value and extensions. The accessor "getSource" gives direct access to the value - */ - public ConceptMap2GroupComponent setSourceElement(CanonicalType value) { - this.source = value; - return this; - } - - /** - * @return An absolute URI that identifies the source system where the concepts to be mapped are defined. - */ - public String getSource() { - return this.source == null ? null : this.source.getValue(); - } - - /** - * @param value An absolute URI that identifies the source system where the concepts to be mapped are defined. - */ - public ConceptMap2GroupComponent setSource(String value) { - if (Utilities.noString(value)) - this.source = null; - else { - if (this.source == null) - this.source = new CanonicalType(); - this.source.setValue(value); - } - return this; - } - - /** - * @return {@link #target} (An absolute URI that identifies the target system that the concepts will be mapped to.). This is the underlying object with id, value and extensions. The accessor "getTarget" gives direct access to the value - */ - public CanonicalType getTargetElement() { - if (this.target == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupComponent.target"); - else if (Configuration.doAutoCreate()) - this.target = new CanonicalType(); // bb - return this.target; - } - - public boolean hasTargetElement() { - return this.target != null && !this.target.isEmpty(); - } - - public boolean hasTarget() { - return this.target != null && !this.target.isEmpty(); - } - - /** - * @param value {@link #target} (An absolute URI that identifies the target system that the concepts will be mapped to.). This is the underlying object with id, value and extensions. The accessor "getTarget" gives direct access to the value - */ - public ConceptMap2GroupComponent setTargetElement(CanonicalType value) { - this.target = value; - return this; - } - - /** - * @return An absolute URI that identifies the target system that the concepts will be mapped to. - */ - public String getTarget() { - return this.target == null ? null : this.target.getValue(); - } - - /** - * @param value An absolute URI that identifies the target system that the concepts will be mapped to. - */ - public ConceptMap2GroupComponent setTarget(String value) { - if (Utilities.noString(value)) - this.target = null; - else { - if (this.target == null) - this.target = new CanonicalType(); - this.target.setValue(value); - } - return this; - } - - /** - * @return {@link #element} (Mappings for an individual concept in the source to one or more concepts in the target.) - */ - public List getElement() { - if (this.element == null) - this.element = new ArrayList(); - return this.element; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConceptMap2GroupComponent setElement(List theElement) { - this.element = theElement; - return this; - } - - public boolean hasElement() { - if (this.element == null) - return false; - for (SourceElementComponent item : this.element) - if (!item.isEmpty()) - return true; - return false; - } - - public SourceElementComponent addElement() { //3 - SourceElementComponent t = new SourceElementComponent(); - if (this.element == null) - this.element = new ArrayList(); - this.element.add(t); - return t; - } - - public ConceptMap2GroupComponent addElement(SourceElementComponent t) { //3 - if (t == null) - return this; - if (this.element == null) - this.element = new ArrayList(); - this.element.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #element}, creating it if it does not already exist {3} - */ - public SourceElementComponent getElementFirstRep() { - if (getElement().isEmpty()) { - addElement(); - } - return getElement().get(0); - } - - /** - * @return {@link #unmapped} (What to do when there is no mapping to a target concept from the source concept. This provides the "default" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.) - */ - public ConceptMap2GroupUnmappedComponent getUnmapped() { - if (this.unmapped == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupComponent.unmapped"); - else if (Configuration.doAutoCreate()) - this.unmapped = new ConceptMap2GroupUnmappedComponent(); // cc - return this.unmapped; - } - - public boolean hasUnmapped() { - return this.unmapped != null && !this.unmapped.isEmpty(); - } - - /** - * @param value {@link #unmapped} (What to do when there is no mapping to a target concept from the source concept. This provides the "default" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.) - */ - public ConceptMap2GroupComponent setUnmapped(ConceptMap2GroupUnmappedComponent value) { - this.unmapped = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("source", "canonical(CodeSystem)", "An absolute URI that identifies the source system where the concepts to be mapped are defined.", 0, 1, source)); - children.add(new Property("target", "canonical(CodeSystem)", "An absolute URI that identifies the target system that the concepts will be mapped to.", 0, 1, target)); - children.add(new Property("element", "", "Mappings for an individual concept in the source to one or more concepts in the target.", 0, java.lang.Integer.MAX_VALUE, element)); - children.add(new Property("unmapped", "", "What to do when there is no mapping to a target concept from the source concept. This provides the \"default\" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.", 0, 1, unmapped)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -896505829: /*source*/ return new Property("source", "canonical(CodeSystem)", "An absolute URI that identifies the source system where the concepts to be mapped are defined.", 0, 1, source); - case -880905839: /*target*/ return new Property("target", "canonical(CodeSystem)", "An absolute URI that identifies the target system that the concepts will be mapped to.", 0, 1, target); - case -1662836996: /*element*/ return new Property("element", "", "Mappings for an individual concept in the source to one or more concepts in the target.", 0, java.lang.Integer.MAX_VALUE, element); - case -194857460: /*unmapped*/ return new Property("unmapped", "", "What to do when there is no mapping to a target concept from the source concept. This provides the \"default\" to be applied when there is no target concept mapping specified. The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to.", 0, 1, unmapped); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // CanonicalType - case -880905839: /*target*/ return this.target == null ? new Base[0] : new Base[] {this.target}; // CanonicalType - case -1662836996: /*element*/ return this.element == null ? new Base[0] : this.element.toArray(new Base[this.element.size()]); // SourceElementComponent - case -194857460: /*unmapped*/ return this.unmapped == null ? new Base[0] : new Base[] {this.unmapped}; // ConceptMap2GroupUnmappedComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -896505829: // source - this.source = TypeConvertor.castToCanonical(value); // CanonicalType - return value; - case -880905839: // target - this.target = TypeConvertor.castToCanonical(value); // CanonicalType - return value; - case -1662836996: // element - this.getElement().add((SourceElementComponent) value); // SourceElementComponent - return value; - case -194857460: // unmapped - this.unmapped = (ConceptMap2GroupUnmappedComponent) value; // ConceptMap2GroupUnmappedComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("source")) { - this.source = TypeConvertor.castToCanonical(value); // CanonicalType - } else if (name.equals("target")) { - this.target = TypeConvertor.castToCanonical(value); // CanonicalType - } else if (name.equals("element")) { - this.getElement().add((SourceElementComponent) value); - } else if (name.equals("unmapped")) { - this.unmapped = (ConceptMap2GroupUnmappedComponent) value; // ConceptMap2GroupUnmappedComponent - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -896505829: return getSourceElement(); - case -880905839: return getTargetElement(); - case -1662836996: return addElement(); - case -194857460: return getUnmapped(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -896505829: /*source*/ return new String[] {"canonical"}; - case -880905839: /*target*/ return new String[] {"canonical"}; - case -1662836996: /*element*/ return new String[] {}; - case -194857460: /*unmapped*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("source")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.source"); - } - else if (name.equals("target")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.target"); - } - else if (name.equals("element")) { - return addElement(); - } - else if (name.equals("unmapped")) { - this.unmapped = new ConceptMap2GroupUnmappedComponent(); - return this.unmapped; - } - else - return super.addChild(name); - } - - public ConceptMap2GroupComponent copy() { - ConceptMap2GroupComponent dst = new ConceptMap2GroupComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ConceptMap2GroupComponent dst) { - super.copyValues(dst); - dst.source = source == null ? null : source.copy(); - dst.target = target == null ? null : target.copy(); - if (element != null) { - dst.element = new ArrayList(); - for (SourceElementComponent i : element) - dst.element.add(i.copy()); - }; - dst.unmapped = unmapped == null ? null : unmapped.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ConceptMap2GroupComponent)) - return false; - ConceptMap2GroupComponent o = (ConceptMap2GroupComponent) other_; - return compareDeep(source, o.source, true) && compareDeep(target, o.target, true) && compareDeep(element, o.element, true) - && compareDeep(unmapped, o.unmapped, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ConceptMap2GroupComponent)) - return false; - ConceptMap2GroupComponent o = (ConceptMap2GroupComponent) other_; - return compareValues(source, o.source, true) && compareValues(target, o.target, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(source, target, element - , unmapped); - } - - public String fhirType() { - return "ConceptMap2.group"; - - } - - } - - @Block() - public static class SourceElementComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Identity (code or path) or the element/item being mapped. - */ - @Child(name = "code", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Identifies element being mapped", formalDefinition="Identity (code or path) or the element/item being mapped." ) - protected CodeType code; - - /** - * The display for the code. The display is only provided to help editors when editing the concept map. - */ - @Child(name = "display", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) - protected StringType display; - - /** - * The set of codes being mapped. - */ - @Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Identifies elements being mapped", formalDefinition="The set of codes being mapped." ) - protected CanonicalType valueSet; - - /** - * If noMap = true this indicates that no mapping to a target concept exists for this source concept. - */ - @Child(name = "noMap", type = {BooleanType.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="No mapping to a target concept for this source concept", formalDefinition="If noMap = true this indicates that no mapping to a target concept exists for this source concept." ) - protected BooleanType noMap; - - /** - * A concept from the target value set that this concept maps to. - */ - @Child(name = "target", type = {}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @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 = 1485743554L; - - /** - * Constructor - */ - public SourceElementComponent() { - super(); - } - - /** - * @return {@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 CodeType getCodeElement() { - if (this.code == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SourceElementComponent.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 being mapped.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value - */ - public SourceElementComponent setCodeElement(CodeType value) { - this.code = value; - return this; - } - - /** - * @return Identity (code or path) or the element/item being mapped. - */ - public String getCode() { - return this.code == null ? null : this.code.getValue(); - } - - /** - * @param value Identity (code or path) or the element/item being mapped. - */ - public SourceElementComponent 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 #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public StringType getDisplayElement() { - if (this.display == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SourceElementComponent.display"); - else if (Configuration.doAutoCreate()) - this.display = new StringType(); // bb - return this.display; - } - - public boolean hasDisplayElement() { - return this.display != null && !this.display.isEmpty(); - } - - public boolean hasDisplay() { - return this.display != null && !this.display.isEmpty(); - } - - /** - * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public SourceElementComponent setDisplayElement(StringType value) { - this.display = value; - return this; - } - - /** - * @return The display for the code. The display is only provided to help editors when editing the concept map. - */ - public String getDisplay() { - return this.display == null ? null : this.display.getValue(); - } - - /** - * @param value The display for the code. The display is only provided to help editors when editing the concept map. - */ - public SourceElementComponent setDisplay(String value) { - if (Utilities.noString(value)) - this.display = null; - else { - if (this.display == null) - this.display = new StringType(); - this.display.setValue(value); - } - return this; - } - - /** - * @return {@link #valueSet} (The set of codes being mapped.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value - */ - public CanonicalType getValueSetElement() { - if (this.valueSet == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SourceElementComponent.valueSet"); - else if (Configuration.doAutoCreate()) - this.valueSet = new CanonicalType(); // bb - return this.valueSet; - } - - public boolean hasValueSetElement() { - return this.valueSet != null && !this.valueSet.isEmpty(); - } - - public boolean hasValueSet() { - return this.valueSet != null && !this.valueSet.isEmpty(); - } - - /** - * @param value {@link #valueSet} (The set of codes being mapped.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value - */ - public SourceElementComponent setValueSetElement(CanonicalType value) { - this.valueSet = value; - return this; - } - - /** - * @return The set of codes being mapped. - */ - public String getValueSet() { - return this.valueSet == null ? null : this.valueSet.getValue(); - } - - /** - * @param value The set of codes being mapped. - */ - public SourceElementComponent setValueSet(String value) { - if (Utilities.noString(value)) - this.valueSet = null; - else { - if (this.valueSet == null) - this.valueSet = new CanonicalType(); - this.valueSet.setValue(value); - } - return this; - } - - /** - * @return {@link #noMap} (If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value - */ - public BooleanType getNoMapElement() { - if (this.noMap == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SourceElementComponent.noMap"); - else if (Configuration.doAutoCreate()) - this.noMap = new BooleanType(); // bb - return this.noMap; - } - - public boolean hasNoMapElement() { - return this.noMap != null && !this.noMap.isEmpty(); - } - - public boolean hasNoMap() { - return this.noMap != null && !this.noMap.isEmpty(); - } - - /** - * @param value {@link #noMap} (If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value - */ - public SourceElementComponent setNoMapElement(BooleanType value) { - this.noMap = value; - return this; - } - - /** - * @return If noMap = true this indicates that no mapping to a target concept exists for this source concept. - */ - public boolean getNoMap() { - return this.noMap == null || this.noMap.isEmpty() ? false : this.noMap.getValue(); - } - - /** - * @param value If noMap = true this indicates that no mapping to a target concept exists for this source concept. - */ - public SourceElementComponent setNoMap(boolean value) { - if (this.noMap == null) - this.noMap = new BooleanType(); - this.noMap.setValue(value); - 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; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public SourceElementComponent setTarget(List theTarget) { - this.target = theTarget; - return this; - } - - public boolean hasTarget() { - if (this.target == null) - return false; - for (TargetElementComponent item : this.target) - if (!item.isEmpty()) - return true; - return false; - } - - public TargetElementComponent addTarget() { //3 - TargetElementComponent t = new TargetElementComponent(); - if (this.target == null) - this.target = new ArrayList(); - this.target.add(t); - return t; - } - - 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; - } - - /** - * @return The first repetition of repeating field {@link #target}, creating it if it does not already exist {3} - */ - public TargetElementComponent getTargetFirstRep() { - if (getTarget().isEmpty()) { - addTarget(); - } - return getTarget().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, 1, code)); - children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); - children.add(new Property("valueSet", "canonical(ValueSet)", "The set of codes being mapped.", 0, 1, valueSet)); - children.add(new Property("noMap", "boolean", "If noMap = true this indicates that no mapping to a target concept exists for this source concept.", 0, 1, noMap)); - children.add(new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3059181: /*code*/ return new Property("code", "code", "Identity (code or path) or the element/item being mapped.", 0, 1, code); - case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); - case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The set of codes being mapped.", 0, 1, valueSet); - case 104971227: /*noMap*/ return new Property("noMap", "boolean", "If noMap = true this indicates that no mapping to a target concept exists for this source concept.", 0, 1, noMap); - case -880905839: /*target*/ return new Property("target", "", "A concept from the target value set that this concept maps to.", 0, java.lang.Integer.MAX_VALUE, target); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType - case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType - case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType - case 104971227: /*noMap*/ return this.noMap == null ? new Base[0] : new Base[] {this.noMap}; // BooleanType - case -880905839: /*target*/ return this.target == null ? new Base[0] : this.target.toArray(new Base[this.target.size()]); // TargetElementComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3059181: // code - this.code = TypeConvertor.castToCode(value); // CodeType - return value; - case 1671764162: // display - this.display = TypeConvertor.castToString(value); // StringType - return value; - case -1410174671: // valueSet - this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType - return value; - case 104971227: // noMap - this.noMap = TypeConvertor.castToBoolean(value); // BooleanType - return value; - case -880905839: // target - this.getTarget().add((TargetElementComponent) value); // TargetElementComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("code")) { - this.code = TypeConvertor.castToCode(value); // CodeType - } else if (name.equals("display")) { - this.display = TypeConvertor.castToString(value); // StringType - } else if (name.equals("valueSet")) { - this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType - } else if (name.equals("noMap")) { - this.noMap = TypeConvertor.castToBoolean(value); // BooleanType - } else if (name.equals("target")) { - this.getTarget().add((TargetElementComponent) value); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: return getCodeElement(); - case 1671764162: return getDisplayElement(); - case -1410174671: return getValueSetElement(); - case 104971227: return getNoMapElement(); - case -880905839: return addTarget(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return new String[] {"code"}; - case 1671764162: /*display*/ return new String[] {"string"}; - case -1410174671: /*valueSet*/ return new String[] {"canonical"}; - case 104971227: /*noMap*/ return new String[] {"boolean"}; - case -880905839: /*target*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("code")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.code"); - } - else if (name.equals("display")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.display"); - } - else if (name.equals("valueSet")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.valueSet"); - } - else if (name.equals("noMap")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.noMap"); - } - else if (name.equals("target")) { - return addTarget(); - } - else - return super.addChild(name); - } - - public SourceElementComponent copy() { - SourceElementComponent dst = new SourceElementComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(SourceElementComponent dst) { - super.copyValues(dst); - dst.code = code == null ? null : code.copy(); - dst.display = display == null ? null : display.copy(); - dst.valueSet = valueSet == null ? null : valueSet.copy(); - dst.noMap = noMap == null ? null : noMap.copy(); - if (target != null) { - dst.target = new ArrayList(); - for (TargetElementComponent i : target) - dst.target.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof SourceElementComponent)) - return false; - SourceElementComponent o = (SourceElementComponent) other_; - return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(valueSet, o.valueSet, true) - && compareDeep(noMap, o.noMap, 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(code, o.code, true) && compareValues(display, o.display, true) && compareValues(valueSet, o.valueSet, true) - && compareValues(noMap, o.noMap, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, valueSet - , noMap, target); - } - - public String fhirType() { - return "ConceptMap2.group.element"; - - } - - } - - @Block() - public static class TargetElementComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Identity (code or path) or the element/item that the map refers to. - */ - @Child(name = "code", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=false) - @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 display for the code. The display is only provided to help editors when editing the concept map. - */ - @Child(name = "display", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) - protected StringType display; - - /** - * The set of codes being that the map refers to. - */ - @Child(name = "valueSet", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Identifies the set of target elements", formalDefinition="The set of codes being that the map refers to." ) - protected CanonicalType valueSet; - - /** - * The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target). - */ - @Child(name = "relationship", type = {CodeType.class}, order=4, min=1, max=1, modifier=true, summary=false) - @Description(shortDefinition="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to", formalDefinition="The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target)." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/concept-map-relationship") - protected Enumeration relationship; - - /** - * A description of status/issues in mapping that conveys additional information not represented in the structured data. - */ - @Child(name = "comment", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=false) - @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 comment; - - /** - * 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=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @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 relationship (e.g., equivalent) cannot be relied on. - */ - @Child(name = "product", type = {OtherElementComponent.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @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 relationship (e.g., equivalent) cannot be relied on." ) - protected List product; - - private static final long serialVersionUID = 1705844456L; - - /** - * Constructor - */ - public TargetElementComponent() { - super(); - } - - /** - * Constructor - */ - public TargetElementComponent(ConceptMapRelationship relationship) { - super(); - this.setRelationship(relationship); - } - - /** - * @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 #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public StringType getDisplayElement() { - if (this.display == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create TargetElementComponent.display"); - else if (Configuration.doAutoCreate()) - this.display = new StringType(); // bb - return this.display; - } - - public boolean hasDisplayElement() { - return this.display != null && !this.display.isEmpty(); - } - - public boolean hasDisplay() { - return this.display != null && !this.display.isEmpty(); - } - - /** - * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public TargetElementComponent setDisplayElement(StringType value) { - this.display = value; - return this; - } - - /** - * @return The display for the code. The display is only provided to help editors when editing the concept map. - */ - public String getDisplay() { - return this.display == null ? null : this.display.getValue(); - } - - /** - * @param value The display for the code. The display is only provided to help editors when editing the concept map. - */ - public TargetElementComponent setDisplay(String value) { - if (Utilities.noString(value)) - this.display = null; - else { - if (this.display == null) - this.display = new StringType(); - this.display.setValue(value); - } - return this; - } - - /** - * @return {@link #valueSet} (The set of codes being that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value - */ - public CanonicalType getValueSetElement() { - if (this.valueSet == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create TargetElementComponent.valueSet"); - else if (Configuration.doAutoCreate()) - this.valueSet = new CanonicalType(); // bb - return this.valueSet; - } - - public boolean hasValueSetElement() { - return this.valueSet != null && !this.valueSet.isEmpty(); - } - - public boolean hasValueSet() { - return this.valueSet != null && !this.valueSet.isEmpty(); - } - - /** - * @param value {@link #valueSet} (The set of codes being that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value - */ - public TargetElementComponent setValueSetElement(CanonicalType value) { - this.valueSet = value; - return this; - } - - /** - * @return The set of codes being that the map refers to. - */ - public String getValueSet() { - return this.valueSet == null ? null : this.valueSet.getValue(); - } - - /** - * @param value The set of codes being that the map refers to. - */ - public TargetElementComponent setValueSet(String value) { - if (Utilities.noString(value)) - this.valueSet = null; - else { - if (this.valueSet == null) - this.valueSet = new CanonicalType(); - this.valueSet.setValue(value); - } - return this; - } - - /** - * @return {@link #relationship} (The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value - */ - public Enumeration getRelationshipElement() { - if (this.relationship == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create TargetElementComponent.relationship"); - else if (Configuration.doAutoCreate()) - this.relationship = new Enumeration(new ConceptMapRelationshipEnumFactory()); // bb - return this.relationship; - } - - public boolean hasRelationshipElement() { - return this.relationship != null && !this.relationship.isEmpty(); - } - - public boolean hasRelationship() { - return this.relationship != null && !this.relationship.isEmpty(); - } - - /** - * @param value {@link #relationship} (The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value - */ - public TargetElementComponent setRelationshipElement(Enumeration value) { - this.relationship = value; - return this; - } - - /** - * @return The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target). - */ - public ConceptMapRelationship getRelationship() { - return this.relationship == null ? null : this.relationship.getValue(); - } - - /** - * @param value The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target). - */ - public TargetElementComponent setRelationship(ConceptMapRelationship value) { - if (this.relationship == null) - this.relationship = new Enumeration(new ConceptMapRelationshipEnumFactory()); - this.relationship.setValue(value); - return this; - } - - /** - * @return {@link #comment} (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 "getComment" gives direct access to the value - */ - public StringType getCommentElement() { - if (this.comment == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create TargetElementComponent.comment"); - else if (Configuration.doAutoCreate()) - this.comment = new StringType(); // bb - return this.comment; - } - - public boolean hasCommentElement() { - return this.comment != null && !this.comment.isEmpty(); - } - - public boolean hasComment() { - return this.comment != null && !this.comment.isEmpty(); - } - - /** - * @param value {@link #comment} (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 "getComment" gives direct access to the value - */ - public TargetElementComponent setCommentElement(StringType value) { - this.comment = value; - return this; - } - - /** - * @return A description of status/issues in mapping that conveys additional information not represented in the structured data. - */ - public String getComment() { - return this.comment == null ? null : this.comment.getValue(); - } - - /** - * @param value A description of status/issues in mapping that conveys additional information not represented in the structured data. - */ - public TargetElementComponent setComment(String value) { - if (Utilities.noString(value)) - this.comment = null; - else { - if (this.comment == null) - this.comment = new StringType(); - this.comment.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.) - */ - public List getDependsOn() { - if (this.dependsOn == null) - this.dependsOn = new ArrayList(); - return this.dependsOn; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public TargetElementComponent setDependsOn(List theDependsOn) { - this.dependsOn = theDependsOn; - return this; - } - - public boolean hasDependsOn() { - if (this.dependsOn == null) - return false; - for (OtherElementComponent item : this.dependsOn) - if (!item.isEmpty()) - return true; - return false; - } - - public OtherElementComponent addDependsOn() { //3 - OtherElementComponent t = new OtherElementComponent(); - if (this.dependsOn == null) - this.dependsOn = new ArrayList(); - this.dependsOn.add(t); - return t; - } - - public TargetElementComponent addDependsOn(OtherElementComponent t) { //3 - if (t == null) - return this; - if (this.dependsOn == null) - this.dependsOn = new ArrayList(); - this.dependsOn.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #dependsOn}, creating it if it does not already exist {3} - */ - public OtherElementComponent getDependsOnFirstRep() { - if (getDependsOn().isEmpty()) { - addDependsOn(); - } - return getDependsOn().get(0); - } - - /** - * @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 relationship (e.g., equivalent) cannot be relied on.) - */ - public List getProduct() { - if (this.product == null) - this.product = new ArrayList(); - return this.product; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public TargetElementComponent setProduct(List theProduct) { - this.product = theProduct; - return this; - } - - public boolean hasProduct() { - if (this.product == null) - return false; - for (OtherElementComponent item : this.product) - if (!item.isEmpty()) - return true; - return false; - } - - public OtherElementComponent addProduct() { //3 - OtherElementComponent t = new OtherElementComponent(); - if (this.product == null) - this.product = new ArrayList(); - this.product.add(t); - return t; - } - - public TargetElementComponent addProduct(OtherElementComponent t) { //3 - if (t == null) - return this; - if (this.product == null) - this.product = new ArrayList(); - this.product.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #product}, creating it if it does not already exist {3} - */ - public OtherElementComponent getProductFirstRep() { - if (getProduct().isEmpty()) { - addProduct(); - } - return getProduct().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, 1, code)); - children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); - children.add(new Property("valueSet", "canonical(ValueSet)", "The set of codes being that the map refers to.", 0, 1, valueSet)); - children.add(new Property("relationship", "code", "The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).", 0, 1, relationship)); - children.add(new Property("comment", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, 1, comment)); - children.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)); - children.add(new Property("product", "@ConceptMap2.group.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 relationship (e.g., equivalent) cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3059181: /*code*/ return new Property("code", "code", "Identity (code or path) or the element/item that the map refers to.", 0, 1, code); - case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); - case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The set of codes being that the map refers to.", 0, 1, valueSet); - case -261851592: /*relationship*/ return new Property("relationship", "code", "The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).", 0, 1, relationship); - case 950398559: /*comment*/ return new Property("comment", "string", "A description of status/issues in mapping that conveys additional information not represented in the structured data.", 0, 1, comment); - case -1109214266: /*dependsOn*/ return 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); - case -309474065: /*product*/ return new Property("product", "@ConceptMap2.group.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 relationship (e.g., equivalent) cannot be relied on.", 0, java.lang.Integer.MAX_VALUE, product); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType - case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType - case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType - case -261851592: /*relationship*/ return this.relationship == null ? new Base[0] : new Base[] {this.relationship}; // Enumeration - case 950398559: /*comment*/ return this.comment == null ? new Base[0] : new Base[] {this.comment}; // StringType - case -1109214266: /*dependsOn*/ return this.dependsOn == null ? new Base[0] : this.dependsOn.toArray(new Base[this.dependsOn.size()]); // OtherElementComponent - case -309474065: /*product*/ return this.product == null ? new Base[0] : this.product.toArray(new Base[this.product.size()]); // OtherElementComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3059181: // code - this.code = TypeConvertor.castToCode(value); // CodeType - return value; - case 1671764162: // display - this.display = TypeConvertor.castToString(value); // StringType - return value; - case -1410174671: // valueSet - this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType - return value; - case -261851592: // relationship - value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.relationship = (Enumeration) value; // Enumeration - return value; - case 950398559: // comment - this.comment = TypeConvertor.castToString(value); // StringType - return value; - case -1109214266: // dependsOn - this.getDependsOn().add((OtherElementComponent) value); // OtherElementComponent - return value; - case -309474065: // product - this.getProduct().add((OtherElementComponent) value); // OtherElementComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("code")) { - this.code = TypeConvertor.castToCode(value); // CodeType - } else if (name.equals("display")) { - this.display = TypeConvertor.castToString(value); // StringType - } else if (name.equals("valueSet")) { - this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType - } else if (name.equals("relationship")) { - value = new ConceptMapRelationshipEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.relationship = (Enumeration) value; // Enumeration - } else if (name.equals("comment")) { - this.comment = TypeConvertor.castToString(value); // StringType - } else if (name.equals("dependsOn")) { - this.getDependsOn().add((OtherElementComponent) value); - } else if (name.equals("product")) { - this.getProduct().add((OtherElementComponent) value); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: return getCodeElement(); - case 1671764162: return getDisplayElement(); - case -1410174671: return getValueSetElement(); - case -261851592: return getRelationshipElement(); - case 950398559: return getCommentElement(); - case -1109214266: return addDependsOn(); - case -309474065: return addProduct(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return new String[] {"code"}; - case 1671764162: /*display*/ return new String[] {"string"}; - case -1410174671: /*valueSet*/ return new String[] {"canonical"}; - case -261851592: /*relationship*/ return new String[] {"code"}; - case 950398559: /*comment*/ return new String[] {"string"}; - case -1109214266: /*dependsOn*/ return new String[] {}; - case -309474065: /*product*/ return new String[] {"@ConceptMap2.group.element.target.dependsOn"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("code")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.target.code"); - } - else if (name.equals("display")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.target.display"); - } - else if (name.equals("valueSet")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.target.valueSet"); - } - else if (name.equals("relationship")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.target.relationship"); - } - else if (name.equals("comment")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.target.comment"); - } - else if (name.equals("dependsOn")) { - return addDependsOn(); - } - else if (name.equals("product")) { - return addProduct(); - } - else - return super.addChild(name); - } - - public TargetElementComponent copy() { - TargetElementComponent dst = new TargetElementComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(TargetElementComponent dst) { - super.copyValues(dst); - dst.code = code == null ? null : code.copy(); - dst.display = display == null ? null : display.copy(); - dst.valueSet = valueSet == null ? null : valueSet.copy(); - dst.relationship = relationship == null ? null : relationship.copy(); - dst.comment = comment == null ? null : comment.copy(); - if (dependsOn != null) { - dst.dependsOn = new ArrayList(); - for (OtherElementComponent i : dependsOn) - dst.dependsOn.add(i.copy()); - }; - if (product != null) { - dst.product = new ArrayList(); - for (OtherElementComponent i : product) - dst.product.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof TargetElementComponent)) - return false; - TargetElementComponent o = (TargetElementComponent) other_; - return compareDeep(code, o.code, true) && compareDeep(display, o.display, true) && compareDeep(valueSet, o.valueSet, true) - && compareDeep(relationship, o.relationship, true) && compareDeep(comment, o.comment, 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 TargetElementComponent)) - return false; - TargetElementComponent o = (TargetElementComponent) other_; - return compareValues(code, o.code, true) && compareValues(display, o.display, true) && compareValues(valueSet, o.valueSet, true) - && compareValues(relationship, o.relationship, true) && compareValues(comment, o.comment, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, display, valueSet - , relationship, comment, dependsOn, product); - } - - public String fhirType() { - return "ConceptMap2.group.element.target"; - - } - - } - - @Block() - public static class OtherElementComponent extends BackboneElement implements IBaseBackboneElement { - /** - * A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. - */ - @Child(name = "property", type = {UriType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Reference to property mapping depends on", formalDefinition="A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property." ) - protected UriType property; - - /** - * Property value that the map depends on. - */ - @Child(name = "value", type = {CodeType.class, Coding.class, StringType.class, IntegerType.class, BooleanType.class, DateTimeType.class, DecimalType.class, UriType.class, IdType.class}, order=2, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Value of the referenced property", formalDefinition="Property value that the map depends on." ) - protected DataType value; - - private static final long serialVersionUID = 956155898L; - - /** - * Constructor - */ - public OtherElementComponent() { - super(); - } - - /** - * Constructor - */ - public OtherElementComponent(String property, DataType value) { - super(); - this.setProperty(property); - this.setValue(value); - } - - /** - * @return {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value - */ - public UriType getPropertyElement() { - if (this.property == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OtherElementComponent.property"); - else if (Configuration.doAutoCreate()) - this.property = new UriType(); // bb - return this.property; - } - - public boolean hasPropertyElement() { - return this.property != null && !this.property.isEmpty(); - } - - public boolean hasProperty() { - return this.property != null && !this.property.isEmpty(); - } - - /** - * @param value {@link #property} (A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.). This is the underlying object with id, value and extensions. The accessor "getProperty" gives direct access to the value - */ - public OtherElementComponent setPropertyElement(UriType value) { - this.property = value; - return this; - } - - /** - * @return A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. - */ - public String getProperty() { - return this.property == null ? null : this.property.getValue(); - } - - /** - * @param value A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property. - */ - public OtherElementComponent setProperty(String value) { - if (this.property == null) - this.property = new UriType(); - this.property.setValue(value); - return this; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public DataType getValue() { - return this.value; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public CodeType getValueCodeType() throws FHIRException { - if (this.value == null) - this.value = new CodeType(); - if (!(this.value instanceof CodeType)) - throw new FHIRException("Type mismatch: the type CodeType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (CodeType) this.value; - } - - public boolean hasValueCodeType() { - return this != null && this.value instanceof CodeType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public Coding getValueCoding() throws FHIRException { - if (this.value == null) - this.value = new Coding(); - if (!(this.value instanceof Coding)) - throw new FHIRException("Type mismatch: the type Coding was expected, but "+this.value.getClass().getName()+" was encountered"); - return (Coding) this.value; - } - - public boolean hasValueCoding() { - return this != null && this.value instanceof Coding; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public StringType getValueStringType() throws FHIRException { - if (this.value == null) - this.value = new StringType(); - if (!(this.value instanceof StringType)) - throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (StringType) this.value; - } - - public boolean hasValueStringType() { - return this != null && this.value instanceof StringType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public IntegerType getValueIntegerType() throws FHIRException { - if (this.value == null) - this.value = new IntegerType(); - if (!(this.value instanceof IntegerType)) - throw new FHIRException("Type mismatch: the type IntegerType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (IntegerType) this.value; - } - - public boolean hasValueIntegerType() { - return this != null && this.value instanceof IntegerType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public BooleanType getValueBooleanType() throws FHIRException { - if (this.value == null) - this.value = new BooleanType(); - if (!(this.value instanceof BooleanType)) - throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (BooleanType) this.value; - } - - public boolean hasValueBooleanType() { - return this != null && this.value instanceof BooleanType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public DateTimeType getValueDateTimeType() throws FHIRException { - if (this.value == null) - this.value = new DateTimeType(); - if (!(this.value instanceof DateTimeType)) - throw new FHIRException("Type mismatch: the type DateTimeType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (DateTimeType) this.value; - } - - public boolean hasValueDateTimeType() { - return this != null && this.value instanceof DateTimeType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public DecimalType getValueDecimalType() throws FHIRException { - if (this.value == null) - this.value = new DecimalType(); - if (!(this.value instanceof DecimalType)) - throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (DecimalType) this.value; - } - - public boolean hasValueDecimalType() { - return this != null && this.value instanceof DecimalType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public UriType getValueUriType() throws FHIRException { - if (this.value == null) - this.value = new UriType(); - if (!(this.value instanceof UriType)) - throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (UriType) this.value; - } - - public boolean hasValueUriType() { - return this != null && this.value instanceof UriType; - } - - /** - * @return {@link #value} (Property value that the map depends on.) - */ - public IdType getValueIdType() throws FHIRException { - if (this.value == null) - this.value = new IdType(); - if (!(this.value instanceof IdType)) - throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.value.getClass().getName()+" was encountered"); - return (IdType) this.value; - } - - public boolean hasValueIdType() { - return this != null && this.value instanceof IdType; - } - - public boolean hasValue() { - return this.value != null && !this.value.isEmpty(); - } - - /** - * @param value {@link #value} (Property value that the map depends on.) - */ - public OtherElementComponent setValue(DataType value) { - if (value != null && !(value instanceof CodeType || value instanceof Coding || value instanceof StringType || value instanceof IntegerType || value instanceof BooleanType || value instanceof DateTimeType || value instanceof DecimalType || value instanceof UriType || value instanceof IdType)) - throw new Error("Not the right type for ConceptMap2.group.element.target.dependsOn.value[x]: "+value.fhirType()); - this.value = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("property", "uri", "A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.", 0, 1, property)); - children.add(new Property("value[x]", "code|Coding|string|integer|boolean|dateTime|decimal|uri|id", "Property value that the map depends on.", 0, 1, value)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -993141291: /*property*/ return new Property("property", "uri", "A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.", 0, 1, property); - case -1410166417: /*value[x]*/ return new Property("value[x]", "code|Coding|string|integer|boolean|dateTime|decimal|uri|id", "Property value that the map depends on.", 0, 1, value); - case 111972721: /*value*/ return new Property("value[x]", "code|Coding|string|integer|boolean|dateTime|decimal|uri|id", "Property value that the map depends on.", 0, 1, value); - case -766209282: /*valueCode*/ return new Property("value[x]", "code", "Property value that the map depends on.", 0, 1, value); - case -1887705029: /*valueCoding*/ return new Property("value[x]", "Coding", "Property value that the map depends on.", 0, 1, value); - case -1424603934: /*valueString*/ return new Property("value[x]", "string", "Property value that the map depends on.", 0, 1, value); - case -1668204915: /*valueInteger*/ return new Property("value[x]", "integer", "Property value that the map depends on.", 0, 1, value); - case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "Property value that the map depends on.", 0, 1, value); - case 1047929900: /*valueDateTime*/ return new Property("value[x]", "dateTime", "Property value that the map depends on.", 0, 1, value); - case -2083993440: /*valueDecimal*/ return new Property("value[x]", "decimal", "Property value that the map depends on.", 0, 1, value); - case -1410172357: /*valueUri*/ return new Property("value[x]", "uri", "Property value that the map depends on.", 0, 1, value); - case 231604844: /*valueId*/ return new Property("value[x]", "id", "Property value that the map depends on.", 0, 1, value); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -993141291: /*property*/ return this.property == null ? new Base[0] : new Base[] {this.property}; // UriType - case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -993141291: // property - this.property = TypeConvertor.castToUri(value); // UriType - return value; - case 111972721: // value - this.value = TypeConvertor.castToType(value); // DataType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("property")) { - this.property = TypeConvertor.castToUri(value); // UriType - } else if (name.equals("value[x]")) { - this.value = TypeConvertor.castToType(value); // DataType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -993141291: return getPropertyElement(); - case -1410166417: return getValue(); - case 111972721: return getValue(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -993141291: /*property*/ return new String[] {"uri"}; - case 111972721: /*value*/ return new String[] {"code", "Coding", "string", "integer", "boolean", "dateTime", "decimal", "uri", "id"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("property")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.element.target.dependsOn.property"); - } - else if (name.equals("valueCode")) { - this.value = new CodeType(); - return this.value; - } - else if (name.equals("valueCoding")) { - this.value = new Coding(); - return this.value; - } - else if (name.equals("valueString")) { - this.value = new StringType(); - return this.value; - } - else if (name.equals("valueInteger")) { - this.value = new IntegerType(); - return this.value; - } - else if (name.equals("valueBoolean")) { - this.value = new BooleanType(); - return this.value; - } - else if (name.equals("valueDateTime")) { - this.value = new DateTimeType(); - return this.value; - } - else if (name.equals("valueDecimal")) { - this.value = new DecimalType(); - return this.value; - } - else if (name.equals("valueUri")) { - this.value = new UriType(); - return this.value; - } - else if (name.equals("valueId")) { - this.value = new IdType(); - return this.value; - } - else - return super.addChild(name); - } - - public OtherElementComponent copy() { - OtherElementComponent dst = new OtherElementComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(OtherElementComponent dst) { - super.copyValues(dst); - dst.property = property == null ? null : property.copy(); - dst.value = value == null ? null : value.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof OtherElementComponent)) - return false; - OtherElementComponent o = (OtherElementComponent) other_; - return compareDeep(property, o.property, true) && compareDeep(value, o.value, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof OtherElementComponent)) - return false; - OtherElementComponent o = (OtherElementComponent) other_; - return compareValues(property, o.property, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(property, value); - } - - public String fhirType() { - return "ConceptMap2.group.element.target.dependsOn"; - - } - - } - - @Block() - public static class ConceptMap2GroupUnmappedComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). - */ - @Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="provided | fixed | other-map", formalDefinition="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode") - protected Enumeration mode; - - /** - * The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code. - */ - @Child(name = "code", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Fixed code when mode = fixed", formalDefinition="The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code." ) - protected CodeType code; - - /** - * The display for the code. The display is only provided to help editors when editing the concept map. - */ - @Child(name = "display", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Display for the code", formalDefinition="The display for the code. The display is only provided to help editors when editing the concept map." ) - protected StringType display; - - /** - * The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes. - */ - @Child(name = "valueSet", type = {CanonicalType.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Fixed code set when mode = fixed", formalDefinition="The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes." ) - protected CanonicalType valueSet; - - /** - * The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept. - */ - @Child(name = "url", type = {CanonicalType.class}, order=5, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="canonical reference to an additional ConceptMap2 to use for mapping if the source concept is unmapped", formalDefinition="The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept." ) - protected CanonicalType url; - - private static final long serialVersionUID = -1886028069L; - - /** - * Constructor - */ - public ConceptMap2GroupUnmappedComponent() { - super(); - } - - /** - * Constructor - */ - public ConceptMap2GroupUnmappedComponent(ConceptMapGroupUnmappedMode mode) { - super(); - this.setMode(mode); - } - - /** - * @return {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value - */ - public Enumeration getModeElement() { - if (this.mode == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupUnmappedComponent.mode"); - else if (Configuration.doAutoCreate()) - this.mode = new Enumeration(new ConceptMapGroupUnmappedModeEnumFactory()); // bb - return this.mode; - } - - public boolean hasModeElement() { - return this.mode != null && !this.mode.isEmpty(); - } - - public boolean hasMode() { - return this.mode != null && !this.mode.isEmpty(); - } - - /** - * @param value {@link #mode} (Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value - */ - public ConceptMap2GroupUnmappedComponent setModeElement(Enumeration value) { - this.mode = value; - return this; - } - - /** - * @return Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). - */ - public ConceptMapGroupUnmappedMode getMode() { - return this.mode == null ? null : this.mode.getValue(); - } - - /** - * @param value Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL). - */ - public ConceptMap2GroupUnmappedComponent setMode(ConceptMapGroupUnmappedMode value) { - if (this.mode == null) - this.mode = new Enumeration(new ConceptMapGroupUnmappedModeEnumFactory()); - this.mode.setValue(value); - return this; - } - - /** - * @return {@link #code} (The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.). 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 ConceptMap2GroupUnmappedComponent.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} (The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value - */ - public ConceptMap2GroupUnmappedComponent setCodeElement(CodeType value) { - this.code = value; - return this; - } - - /** - * @return The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code. - */ - public String getCode() { - return this.code == null ? null : this.code.getValue(); - } - - /** - * @param value The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code. - */ - public ConceptMap2GroupUnmappedComponent 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 #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public StringType getDisplayElement() { - if (this.display == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupUnmappedComponent.display"); - else if (Configuration.doAutoCreate()) - this.display = new StringType(); // bb - return this.display; - } - - public boolean hasDisplayElement() { - return this.display != null && !this.display.isEmpty(); - } - - public boolean hasDisplay() { - return this.display != null && !this.display.isEmpty(); - } - - /** - * @param value {@link #display} (The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value - */ - public ConceptMap2GroupUnmappedComponent setDisplayElement(StringType value) { - this.display = value; - return this; - } - - /** - * @return The display for the code. The display is only provided to help editors when editing the concept map. - */ - public String getDisplay() { - return this.display == null ? null : this.display.getValue(); - } - - /** - * @param value The display for the code. The display is only provided to help editors when editing the concept map. - */ - public ConceptMap2GroupUnmappedComponent setDisplay(String value) { - if (Utilities.noString(value)) - this.display = null; - else { - if (this.display == null) - this.display = new StringType(); - this.display.setValue(value); - } - return this; - } - - /** - * @return {@link #valueSet} (The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value - */ - public CanonicalType getValueSetElement() { - if (this.valueSet == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupUnmappedComponent.valueSet"); - else if (Configuration.doAutoCreate()) - this.valueSet = new CanonicalType(); // bb - return this.valueSet; - } - - public boolean hasValueSetElement() { - return this.valueSet != null && !this.valueSet.isEmpty(); - } - - public boolean hasValueSet() { - return this.valueSet != null && !this.valueSet.isEmpty(); - } - - /** - * @param value {@link #valueSet} (The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value - */ - public ConceptMap2GroupUnmappedComponent setValueSetElement(CanonicalType value) { - this.valueSet = value; - return this; - } - - /** - * @return The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes. - */ - public String getValueSet() { - return this.valueSet == null ? null : this.valueSet.getValue(); - } - - /** - * @param value The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes. - */ - public ConceptMap2GroupUnmappedComponent setValueSet(String value) { - if (Utilities.noString(value)) - this.valueSet = null; - else { - if (this.valueSet == null) - this.valueSet = new CanonicalType(); - this.valueSet.setValue(value); - } - return this; - } - - /** - * @return {@link #url} (The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value - */ - public CanonicalType getUrlElement() { - if (this.url == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2GroupUnmappedComponent.url"); - else if (Configuration.doAutoCreate()) - this.url = new CanonicalType(); // 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} (The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value - */ - public ConceptMap2GroupUnmappedComponent setUrlElement(CanonicalType value) { - this.url = value; - return this; - } - - /** - * @return The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept. - */ - public String getUrl() { - return this.url == null ? null : this.url.getValue(); - } - - /** - * @param value The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept. - */ - public ConceptMap2GroupUnmappedComponent setUrl(String value) { - if (Utilities.noString(value)) - this.url = null; - else { - if (this.url == null) - this.url = new CanonicalType(); - this.url.setValue(value); - } - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode)); - children.add(new Property("code", "code", "The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.", 0, 1, code)); - children.add(new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display)); - children.add(new Property("valueSet", "canonical(ValueSet)", "The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes.", 0, 1, valueSet)); - children.add(new Property("url", "canonical(ConceptMap2)", "The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept.", 0, 1, url)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3357091: /*mode*/ return new Property("mode", "code", "Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).", 0, 1, mode); - case 3059181: /*code*/ return new Property("code", "code", "The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.", 0, 1, code); - case 1671764162: /*display*/ return new Property("display", "string", "The display for the code. The display is only provided to help editors when editing the concept map.", 0, 1, display); - case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "The set of fixed codes to use when the mode = 'fixed' - all unmapped codes are mapped to a each of the fixed codes.", 0, 1, valueSet); - case 116079: /*url*/ return new Property("url", "canonical(ConceptMap2)", "The canonical reference to an additional ConceptMap2 resource instance to use for mapping if this ConceptMap2 resource contains no matching mapping for the source concept.", 0, 1, url); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // Enumeration - case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeType - case 1671764162: /*display*/ return this.display == null ? new Base[0] : new Base[] {this.display}; // StringType - case -1410174671: /*valueSet*/ return this.valueSet == null ? new Base[0] : new Base[] {this.valueSet}; // CanonicalType - case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // CanonicalType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3357091: // mode - value = new ConceptMapGroupUnmappedModeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.mode = (Enumeration) value; // Enumeration - return value; - case 3059181: // code - this.code = TypeConvertor.castToCode(value); // CodeType - return value; - case 1671764162: // display - this.display = TypeConvertor.castToString(value); // StringType - return value; - case -1410174671: // valueSet - this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType - return value; - case 116079: // url - this.url = TypeConvertor.castToCanonical(value); // CanonicalType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("mode")) { - value = new ConceptMapGroupUnmappedModeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.mode = (Enumeration) value; // Enumeration - } else if (name.equals("code")) { - this.code = TypeConvertor.castToCode(value); // CodeType - } else if (name.equals("display")) { - this.display = TypeConvertor.castToString(value); // StringType - } else if (name.equals("valueSet")) { - this.valueSet = TypeConvertor.castToCanonical(value); // CanonicalType - } else if (name.equals("url")) { - this.url = TypeConvertor.castToCanonical(value); // CanonicalType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3357091: return getModeElement(); - case 3059181: return getCodeElement(); - case 1671764162: return getDisplayElement(); - case -1410174671: return getValueSetElement(); - case 116079: return getUrlElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3357091: /*mode*/ return new String[] {"code"}; - case 3059181: /*code*/ return new String[] {"code"}; - case 1671764162: /*display*/ return new String[] {"string"}; - case -1410174671: /*valueSet*/ return new String[] {"canonical"}; - case 116079: /*url*/ return new String[] {"canonical"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("mode")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.unmapped.mode"); - } - else if (name.equals("code")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.unmapped.code"); - } - else if (name.equals("display")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.unmapped.display"); - } - else if (name.equals("valueSet")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.unmapped.valueSet"); - } - else if (name.equals("url")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.group.unmapped.url"); - } - else - return super.addChild(name); - } - - public ConceptMap2GroupUnmappedComponent copy() { - ConceptMap2GroupUnmappedComponent dst = new ConceptMap2GroupUnmappedComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ConceptMap2GroupUnmappedComponent dst) { - super.copyValues(dst); - dst.mode = mode == null ? null : mode.copy(); - dst.code = code == null ? null : code.copy(); - dst.display = display == null ? null : display.copy(); - dst.valueSet = valueSet == null ? null : valueSet.copy(); - dst.url = url == null ? null : url.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ConceptMap2GroupUnmappedComponent)) - return false; - ConceptMap2GroupUnmappedComponent o = (ConceptMap2GroupUnmappedComponent) other_; - return compareDeep(mode, o.mode, true) && compareDeep(code, o.code, true) && compareDeep(display, o.display, true) - && compareDeep(valueSet, o.valueSet, true) && compareDeep(url, o.url, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ConceptMap2GroupUnmappedComponent)) - return false; - ConceptMap2GroupUnmappedComponent o = (ConceptMap2GroupUnmappedComponent) other_; - return compareValues(mode, o.mode, true) && compareValues(code, o.code, true) && compareValues(display, o.display, true) - && compareValues(valueSet, o.valueSet, true) && compareValues(url, o.url, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(mode, code, display, valueSet - , url); - } - - public String fhirType() { - return "ConceptMap2.group.unmapped"; - - } - - } - - /** - * An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers. - */ - @Child(name = "url", type = {UriType.class}, order=0, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Canonical identifier for this concept map, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers." ) - protected UriType url; - - /** - * A 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. - */ - @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Additional identifier for the concept map", formalDefinition="A 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." ) - protected List identifier; - - /** - * 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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. - */ - @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Business version of the concept map", formalDefinition="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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." ) - protected StringType version; - - /** - * A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation. - */ - @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Name for this concept map (computer friendly)", formalDefinition="A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) - protected StringType name; - - /** - * A short, descriptive, user-friendly title for the concept map. - */ - @Child(name = "title", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Name for this concept map (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the concept map." ) - protected StringType title; - - /** - * The status of this concept map. Enables tracking the life-cycle of the content. - */ - @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true) - @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this concept map. Enables tracking the life-cycle of the content." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") - protected Enumeration status; - - /** - * A Boolean value to indicate that this concept map is 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=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) - protected BooleanType experimental; - - /** - * The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes. - */ - @Child(name = "date", type = {DateTimeType.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes." ) - protected DateTimeType date; - - /** - * The name of the organization or individual that published the concept map. - */ - @Child(name = "publisher", type = {StringType.class}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the concept map." ) - protected StringType publisher; - - /** - * Contact details to assist a user in finding and communicating with the publisher. - */ - @Child(name = "contact", type = {ContactDetail.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) - protected List contact; - - /** - * A free text natural language description of the concept map from a consumer's perspective. - */ - @Child(name = "description", type = {MarkdownType.class}, order=10, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Natural language description of the concept map", formalDefinition="A free text natural language description of the concept map from a consumer's perspective." ) - protected MarkdownType description; - - /** - * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances. - */ - @Child(name = "useContext", type = {UsageContext.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances." ) - protected List useContext; - - /** - * A legal or geographic region in which the concept map is intended to be used. - */ - @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Intended jurisdiction for concept map (if applicable)", formalDefinition="A legal or geographic region in which the concept map is intended to be used." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") - protected List jurisdiction; - - /** - * Explanation of why this concept map is needed and why it has been designed as it has. - */ - @Child(name = "purpose", type = {MarkdownType.class}, order=13, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Why this concept map is defined", formalDefinition="Explanation of why this concept map is needed and why it has been designed as it has." ) - protected MarkdownType purpose; - - /** - * A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map. - */ - @Child(name = "copyright", type = {MarkdownType.class}, order=14, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map." ) - protected MarkdownType copyright; - - /** - * Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. - */ - @Child(name = "source", type = {UriType.class, CanonicalType.class}, order=15, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The source value set that contains the concepts that are being mapped", formalDefinition="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings." ) - protected DataType source; - - /** - * The target value set provides context for 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. - */ - @Child(name = "target", type = {UriType.class, CanonicalType.class}, order=16, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The target value set which provides context for the mappings", formalDefinition="The target value set provides context for 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." ) - protected DataType target; - - /** - * A group of mappings that all have the same source and target system. - */ - @Child(name = "group", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Same source and target systems", formalDefinition="A group of mappings that all have the same source and target system." ) - protected List group; - - private static final long serialVersionUID = -601128902L; - - /** - * Constructor - */ - public ConceptMap2() { - super(); - } - - /** - * Constructor - */ - public ConceptMap2(PublicationStatus status) { - super(); - this.setStatus(status); - } - - /** - * @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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.). 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 ConceptMap2.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 URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value - */ - public ConceptMap2 setUrlElement(UriType value) { - this.url = value; - return this; - } - - /** - * @return An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers. - */ - 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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers. - */ - public ConceptMap2 setUrl(String value) { - if (Utilities.noString(value)) - this.url = null; - else { - if (this.url == null) - this.url = new UriType(); - this.url.setValue(value); - } - return this; - } - - /** - * @return {@link #identifier} (A 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.) - */ - public List getIdentifier() { - if (this.identifier == null) - this.identifier = new ArrayList(); - return this.identifier; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConceptMap2 setIdentifier(List theIdentifier) { - this.identifier = theIdentifier; - return this; - } - - public boolean hasIdentifier() { - if (this.identifier == null) - return false; - for (Identifier item : this.identifier) - if (!item.isEmpty()) - return true; - return false; - } - - public Identifier addIdentifier() { //3 - Identifier t = new Identifier(); - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return t; - } - - public ConceptMap2 addIdentifier(Identifier t) { //3 - if (t == null) - return this; - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} - */ - public Identifier getIdentifierFirstRep() { - if (getIdentifier().isEmpty()) { - addIdentifier(); - } - return getIdentifier().get(0); - } - - /** - * @return {@link #version} (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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). 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 ConceptMap2.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 concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value - */ - public ConceptMap2 setVersionElement(StringType value) { - this.version = value; - return this; - } - - /** - * @return 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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. - */ - public String getVersion() { - return this.version == null ? null : this.version.getValue(); - } - - /** - * @param value 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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. - */ - public ConceptMap2 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 natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.). 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 ConceptMap2.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 natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public ConceptMap2 setNameElement(StringType value) { - this.name = value; - return this; - } - - /** - * @return A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation. - */ - public String getName() { - return this.name == null ? null : this.name.getValue(); - } - - /** - * @param value A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation. - */ - public ConceptMap2 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 #title} (A short, descriptive, user-friendly title for the concept map.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value - */ - public StringType getTitleElement() { - if (this.title == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2.title"); - else if (Configuration.doAutoCreate()) - this.title = new StringType(); // bb - return this.title; - } - - public boolean hasTitleElement() { - return this.title != null && !this.title.isEmpty(); - } - - public boolean hasTitle() { - return this.title != null && !this.title.isEmpty(); - } - - /** - * @param value {@link #title} (A short, descriptive, user-friendly title for the concept map.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value - */ - public ConceptMap2 setTitleElement(StringType value) { - this.title = value; - return this; - } - - /** - * @return A short, descriptive, user-friendly title for the concept map. - */ - public String getTitle() { - return this.title == null ? null : this.title.getValue(); - } - - /** - * @param value A short, descriptive, user-friendly title for the concept map. - */ - public ConceptMap2 setTitle(String value) { - if (Utilities.noString(value)) - this.title = null; - else { - if (this.title == null) - this.title = new StringType(); - this.title.setValue(value); - } - return this; - } - - /** - * @return {@link #status} (The status of this concept map. Enables tracking the life-cycle of the content.). 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 ConceptMap2.status"); - else if (Configuration.doAutoCreate()) - this.status = new Enumeration(new PublicationStatusEnumFactory()); // 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 this concept map. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value - */ - public ConceptMap2 setStatusElement(Enumeration value) { - this.status = value; - return this; - } - - /** - * @return The status of this concept map. Enables tracking the life-cycle of the content. - */ - public PublicationStatus getStatus() { - return this.status == null ? null : this.status.getValue(); - } - - /** - * @param value The status of this concept map. Enables tracking the life-cycle of the content. - */ - public ConceptMap2 setStatus(PublicationStatus value) { - if (this.status == null) - this.status = new Enumeration(new PublicationStatusEnumFactory()); - this.status.setValue(value); - return this; - } - - /** - * @return {@link #experimental} (A Boolean value to indicate that this concept map is 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 ConceptMap2.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} (A Boolean value to indicate that this concept map is 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 ConceptMap2 setExperimentalElement(BooleanType value) { - this.experimental = value; - return this; - } - - /** - * @return A Boolean value to indicate that this concept map is 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 A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. - */ - public ConceptMap2 setExperimental(boolean value) { - if (this.experimental == null) - this.experimental = new BooleanType(); - this.experimental.setValue(value); - return this; - } - - /** - * @return {@link #date} (The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.). 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 ConceptMap2.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 (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value - */ - public ConceptMap2 setDateElement(DateTimeType value) { - this.date = value; - return this; - } - - /** - * @return The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes. - */ - public Date getDate() { - return this.date == null ? null : this.date.getValue(); - } - - /** - * @param value The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes. - */ - public ConceptMap2 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 #publisher} (The name of the organization or individual that published the concept map.). 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 ConceptMap2.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 organization or individual that published the concept map.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value - */ - public ConceptMap2 setPublisherElement(StringType value) { - this.publisher = value; - return this; - } - - /** - * @return The name of the organization or individual that published the concept map. - */ - public String getPublisher() { - return this.publisher == null ? null : this.publisher.getValue(); - } - - /** - * @param value The name of the organization or individual that published the concept map. - */ - public ConceptMap2 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} (Contact details 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; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConceptMap2 setContact(List theContact) { - this.contact = theContact; - return this; - } - - public boolean hasContact() { - if (this.contact == null) - return false; - for (ContactDetail item : this.contact) - if (!item.isEmpty()) - return true; - return false; - } - - public ContactDetail addContact() { //3 - ContactDetail t = new ContactDetail(); - if (this.contact == null) - this.contact = new ArrayList(); - this.contact.add(t); - return t; - } - - public ConceptMap2 addContact(ContactDetail t) { //3 - if (t == null) - return this; - if (this.contact == null) - this.contact = new ArrayList(); - this.contact.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} - */ - public ContactDetail getContactFirstRep() { - if (getContact().isEmpty()) { - addContact(); - } - return getContact().get(0); - } - - /** - * @return {@link #description} (A free text natural language description of the concept map from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value - */ - public MarkdownType getDescriptionElement() { - if (this.description == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2.description"); - else if (Configuration.doAutoCreate()) - this.description = new MarkdownType(); // 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 concept map from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value - */ - public ConceptMap2 setDescriptionElement(MarkdownType value) { - this.description = value; - return this; - } - - /** - * @return A free text natural language description of the concept map from a consumer's perspective. - */ - public String getDescription() { - return this.description == null ? null : this.description.getValue(); - } - - /** - * @param value A free text natural language description of the concept map from a consumer's perspective. - */ - public ConceptMap2 setDescription(String value) { - if (value == null) - this.description = null; - else { - if (this.description == null) - this.description = new MarkdownType(); - this.description.setValue(value); - } - return this; - } - - /** - * @return {@link #useContext} (The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.) - */ - public List getUseContext() { - if (this.useContext == null) - this.useContext = new ArrayList(); - return this.useContext; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConceptMap2 setUseContext(List theUseContext) { - this.useContext = theUseContext; - return this; - } - - public boolean hasUseContext() { - if (this.useContext == null) - return false; - for (UsageContext item : this.useContext) - if (!item.isEmpty()) - return true; - return false; - } - - public UsageContext addUseContext() { //3 - UsageContext t = new UsageContext(); - if (this.useContext == null) - this.useContext = new ArrayList(); - this.useContext.add(t); - return t; - } - - public ConceptMap2 addUseContext(UsageContext t) { //3 - if (t == null) - return this; - if (this.useContext == null) - this.useContext = new ArrayList(); - this.useContext.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #useContext}, creating it if it does not already exist {3} - */ - public UsageContext getUseContextFirstRep() { - if (getUseContext().isEmpty()) { - addUseContext(); - } - return getUseContext().get(0); - } - - /** - * @return {@link #jurisdiction} (A legal or geographic region in which the concept map is intended to be used.) - */ - public List getJurisdiction() { - if (this.jurisdiction == null) - this.jurisdiction = new ArrayList(); - return this.jurisdiction; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConceptMap2 setJurisdiction(List theJurisdiction) { - this.jurisdiction = theJurisdiction; - return this; - } - - public boolean hasJurisdiction() { - if (this.jurisdiction == null) - return false; - for (CodeableConcept item : this.jurisdiction) - if (!item.isEmpty()) - return true; - return false; - } - - public CodeableConcept addJurisdiction() { //3 - CodeableConcept t = new CodeableConcept(); - if (this.jurisdiction == null) - this.jurisdiction = new ArrayList(); - this.jurisdiction.add(t); - return t; - } - - public ConceptMap2 addJurisdiction(CodeableConcept t) { //3 - if (t == null) - return this; - if (this.jurisdiction == null) - this.jurisdiction = new ArrayList(); - this.jurisdiction.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #jurisdiction}, creating it if it does not already exist {3} - */ - public CodeableConcept getJurisdictionFirstRep() { - if (getJurisdiction().isEmpty()) { - addJurisdiction(); - } - return getJurisdiction().get(0); - } - - /** - * @return {@link #purpose} (Explanation of why this concept map is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value - */ - public MarkdownType getPurposeElement() { - if (this.purpose == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2.purpose"); - else if (Configuration.doAutoCreate()) - this.purpose = new MarkdownType(); // 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} (Explanation of why this concept map is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value - */ - public ConceptMap2 setPurposeElement(MarkdownType value) { - this.purpose = value; - return this; - } - - /** - * @return Explanation of why this concept map is needed and why it has been designed as it has. - */ - public String getPurpose() { - return this.purpose == null ? null : this.purpose.getValue(); - } - - /** - * @param value Explanation of why this concept map is needed and why it has been designed as it has. - */ - public ConceptMap2 setPurpose(String value) { - if (value == null) - this.purpose = null; - else { - if (this.purpose == null) - this.purpose = new MarkdownType(); - this.purpose.setValue(value); - } - return this; - } - - /** - * @return {@link #copyright} (A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value - */ - public MarkdownType getCopyrightElement() { - if (this.copyright == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConceptMap2.copyright"); - else if (Configuration.doAutoCreate()) - this.copyright = new MarkdownType(); // 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 concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value - */ - public ConceptMap2 setCopyrightElement(MarkdownType value) { - this.copyright = value; - return this; - } - - /** - * @return A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map. - */ - public String getCopyright() { - return this.copyright == null ? null : this.copyright.getValue(); - } - - /** - * @param value A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map. - */ - public ConceptMap2 setCopyright(String value) { - if (value == null) - this.copyright = null; - else { - if (this.copyright == null) - this.copyright = new MarkdownType(); - this.copyright.setValue(value); - } - return this; - } - - /** - * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) - */ - public DataType getSource() { - return this.source; - } - - /** - * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) - */ - public UriType getSourceUriType() throws FHIRException { - if (this.source == null) - this.source = new UriType(); - if (!(this.source instanceof UriType)) - throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.source.getClass().getName()+" was encountered"); - return (UriType) this.source; - } - - public boolean hasSourceUriType() { - return this != null && this.source instanceof UriType; - } - - /** - * @return {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) - */ - public CanonicalType getSourceCanonicalType() throws FHIRException { - if (this.source == null) - this.source = new CanonicalType(); - if (!(this.source instanceof CanonicalType)) - throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.source.getClass().getName()+" was encountered"); - return (CanonicalType) this.source; - } - - public boolean hasSourceCanonicalType() { - return this != null && this.source instanceof CanonicalType; - } - - public boolean hasSource() { - return this.source != null && !this.source.isEmpty(); - } - - /** - * @param value {@link #source} (Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.) - */ - public ConceptMap2 setSource(DataType value) { - if (value != null && !(value instanceof UriType || value instanceof CanonicalType)) - throw new Error("Not the right type for ConceptMap2.source[x]: "+value.fhirType()); - this.source = value; - return this; - } - - /** - * @return {@link #target} (The target value set provides context for 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.) - */ - public DataType getTarget() { - return this.target; - } - - /** - * @return {@link #target} (The target value set provides context for 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.) - */ - public UriType getTargetUriType() throws FHIRException { - if (this.target == null) - this.target = new UriType(); - if (!(this.target instanceof UriType)) - throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.target.getClass().getName()+" was encountered"); - return (UriType) this.target; - } - - public boolean hasTargetUriType() { - return this != null && this.target instanceof UriType; - } - - /** - * @return {@link #target} (The target value set provides context for 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.) - */ - public CanonicalType getTargetCanonicalType() throws FHIRException { - if (this.target == null) - this.target = new CanonicalType(); - if (!(this.target instanceof CanonicalType)) - throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.target.getClass().getName()+" was encountered"); - return (CanonicalType) this.target; - } - - public boolean hasTargetCanonicalType() { - return this != null && this.target instanceof CanonicalType; - } - - public boolean hasTarget() { - return this.target != null && !this.target.isEmpty(); - } - - /** - * @param value {@link #target} (The target value set provides context for 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.) - */ - public ConceptMap2 setTarget(DataType value) { - if (value != null && !(value instanceof UriType || value instanceof CanonicalType)) - throw new Error("Not the right type for ConceptMap2.target[x]: "+value.fhirType()); - this.target = value; - return this; - } - - /** - * @return {@link #group} (A group of mappings that all have the same source and target system.) - */ - public List getGroup() { - if (this.group == null) - this.group = new ArrayList(); - return this.group; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConceptMap2 setGroup(List theGroup) { - this.group = theGroup; - return this; - } - - public boolean hasGroup() { - if (this.group == null) - return false; - for (ConceptMap2GroupComponent item : this.group) - if (!item.isEmpty()) - return true; - return false; - } - - public ConceptMap2GroupComponent addGroup() { //3 - ConceptMap2GroupComponent t = new ConceptMap2GroupComponent(); - if (this.group == null) - this.group = new ArrayList(); - this.group.add(t); - return t; - } - - public ConceptMap2 addGroup(ConceptMap2GroupComponent t) { //3 - if (t == null) - return this; - if (this.group == null) - this.group = new ArrayList(); - this.group.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #group}, creating it if it does not already exist {3} - */ - public ConceptMap2GroupComponent getGroupFirstRep() { - if (getGroup().isEmpty()) { - addGroup(); - } - return getGroup().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.", 0, 1, url)); - children.add(new Property("identifier", "Identifier", "A 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)); - children.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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version)); - children.add(new Property("name", "string", "A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); - children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the concept map.", 0, 1, title)); - children.add(new Property("status", "code", "The status of this concept map. Enables tracking the life-cycle of the content.", 0, 1, status)); - children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); - children.add(new Property("date", "dateTime", "The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.", 0, 1, date)); - children.add(new Property("publisher", "string", "The name of the organization or individual that published the concept map.", 0, 1, publisher)); - children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); - children.add(new Property("description", "markdown", "A free text natural language description of the concept map from a consumer's perspective.", 0, 1, description)); - children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); - children.add(new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the concept map is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction)); - children.add(new Property("purpose", "markdown", "Explanation of why this concept map is needed and why it has been designed as it has.", 0, 1, purpose)); - children.add(new Property("copyright", "markdown", "A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.", 0, 1, copyright)); - children.add(new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source)); - children.add(new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target)); - children.add(new Property("group", "", "A group of mappings that all have the same source and target system.", 0, java.lang.Integer.MAX_VALUE, group)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 116079: /*url*/ return 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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.", 0, 1, url); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A 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); - case 351608024: /*version*/ return 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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version); - case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); - case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the concept map.", 0, 1, title); - case -892481550: /*status*/ return new Property("status", "code", "The status of this concept map. Enables tracking the life-cycle of the content.", 0, 1, status); - case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); - case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.", 0, 1, date); - case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the concept map.", 0, 1, publisher); - case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); - case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the concept map from a consumer's perspective.", 0, 1, description); - case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.", 0, java.lang.Integer.MAX_VALUE, useContext); - case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "A legal or geographic region in which the concept map is intended to be used.", 0, java.lang.Integer.MAX_VALUE, jurisdiction); - case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this concept map is needed and why it has been designed as it has.", 0, 1, purpose); - case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.", 0, 1, copyright); - case -1698413947: /*source[x]*/ return new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case -896505829: /*source*/ return new Property("source[x]", "uri|canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case -1698419887: /*sourceUri*/ return new Property("source[x]", "uri", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case 1509247769: /*sourceCanonical*/ return new Property("source[x]", "canonical(ValueSet)", "Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.", 0, 1, source); - case -815579825: /*target[x]*/ return new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target); - case -880905839: /*target*/ return new Property("target[x]", "uri|canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target); - case -815585765: /*targetUri*/ return new Property("target[x]", "uri", "The target value set provides context for 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.", 0, 1, target); - case -1281653149: /*targetCanonical*/ return new Property("target[x]", "canonical(ValueSet)", "The target value set provides context for 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.", 0, 1, target); - case 98629247: /*group*/ return new Property("group", "", "A group of mappings that all have the same source and target system.", 0, java.lang.Integer.MAX_VALUE, group); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType - case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType - case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType - case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration - case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType - case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType - case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType - case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail - case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType - case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext - case -507075711: /*jurisdiction*/ return this.jurisdiction == null ? new Base[0] : this.jurisdiction.toArray(new Base[this.jurisdiction.size()]); // CodeableConcept - case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // MarkdownType - case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType - case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // DataType - case -880905839: /*target*/ return this.target == null ? new Base[0] : new Base[] {this.target}; // DataType - case 98629247: /*group*/ return this.group == null ? new Base[0] : this.group.toArray(new Base[this.group.size()]); // ConceptMap2GroupComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 116079: // url - this.url = TypeConvertor.castToUri(value); // UriType - return value; - case -1618432855: // identifier - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier - return value; - case 351608024: // version - this.version = TypeConvertor.castToString(value); // StringType - return value; - case 3373707: // name - this.name = TypeConvertor.castToString(value); // StringType - return value; - case 110371416: // title - this.title = TypeConvertor.castToString(value); // StringType - return value; - case -892481550: // status - value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration - return value; - case -404562712: // experimental - this.experimental = TypeConvertor.castToBoolean(value); // BooleanType - return value; - case 3076014: // date - this.date = TypeConvertor.castToDateTime(value); // DateTimeType - return value; - case 1447404028: // publisher - this.publisher = TypeConvertor.castToString(value); // StringType - return value; - case 951526432: // contact - this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail - return value; - case -1724546052: // description - this.description = TypeConvertor.castToMarkdown(value); // MarkdownType - return value; - case -669707736: // useContext - this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext - return value; - case -507075711: // jurisdiction - this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept - return value; - case -220463842: // purpose - this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType - return value; - case 1522889671: // copyright - this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType - return value; - case -896505829: // source - this.source = TypeConvertor.castToType(value); // DataType - return value; - case -880905839: // target - this.target = TypeConvertor.castToType(value); // DataType - return value; - case 98629247: // group - this.getGroup().add((ConceptMap2GroupComponent) value); // ConceptMap2GroupComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("url")) { - this.url = TypeConvertor.castToUri(value); // UriType - } else if (name.equals("identifier")) { - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else if (name.equals("version")) { - this.version = TypeConvertor.castToString(value); // StringType - } else if (name.equals("name")) { - this.name = TypeConvertor.castToString(value); // StringType - } else if (name.equals("title")) { - this.title = TypeConvertor.castToString(value); // StringType - } else if (name.equals("status")) { - value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration - } else if (name.equals("experimental")) { - this.experimental = TypeConvertor.castToBoolean(value); // BooleanType - } else if (name.equals("date")) { - this.date = TypeConvertor.castToDateTime(value); // DateTimeType - } else if (name.equals("publisher")) { - this.publisher = TypeConvertor.castToString(value); // StringType - } else if (name.equals("contact")) { - this.getContact().add(TypeConvertor.castToContactDetail(value)); - } else if (name.equals("description")) { - this.description = TypeConvertor.castToMarkdown(value); // MarkdownType - } else if (name.equals("useContext")) { - this.getUseContext().add(TypeConvertor.castToUsageContext(value)); - } else if (name.equals("jurisdiction")) { - this.getJurisdiction().add(TypeConvertor.castToCodeableConcept(value)); - } else if (name.equals("purpose")) { - this.purpose = TypeConvertor.castToMarkdown(value); // MarkdownType - } else if (name.equals("copyright")) { - this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType - } else if (name.equals("source[x]")) { - this.source = TypeConvertor.castToType(value); // DataType - } else if (name.equals("target[x]")) { - this.target = TypeConvertor.castToType(value); // DataType - } else if (name.equals("group")) { - this.getGroup().add((ConceptMap2GroupComponent) value); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 116079: return getUrlElement(); - case -1618432855: return addIdentifier(); - case 351608024: return getVersionElement(); - case 3373707: return getNameElement(); - case 110371416: return getTitleElement(); - case -892481550: return getStatusElement(); - case -404562712: return getExperimentalElement(); - case 3076014: return getDateElement(); - case 1447404028: return getPublisherElement(); - case 951526432: return addContact(); - case -1724546052: return getDescriptionElement(); - case -669707736: return addUseContext(); - case -507075711: return addJurisdiction(); - case -220463842: return getPurposeElement(); - case 1522889671: return getCopyrightElement(); - case -1698413947: return getSource(); - case -896505829: return getSource(); - case -815579825: return getTarget(); - case -880905839: return getTarget(); - case 98629247: return addGroup(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 116079: /*url*/ return new String[] {"uri"}; - case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - case 351608024: /*version*/ return new String[] {"string"}; - case 3373707: /*name*/ return new String[] {"string"}; - case 110371416: /*title*/ return new String[] {"string"}; - case -892481550: /*status*/ return new String[] {"code"}; - case -404562712: /*experimental*/ return new String[] {"boolean"}; - case 3076014: /*date*/ return new String[] {"dateTime"}; - case 1447404028: /*publisher*/ return new String[] {"string"}; - case 951526432: /*contact*/ return new String[] {"ContactDetail"}; - case -1724546052: /*description*/ return new String[] {"markdown"}; - case -669707736: /*useContext*/ return new String[] {"UsageContext"}; - case -507075711: /*jurisdiction*/ return new String[] {"CodeableConcept"}; - case -220463842: /*purpose*/ return new String[] {"markdown"}; - case 1522889671: /*copyright*/ return new String[] {"markdown"}; - case -896505829: /*source*/ return new String[] {"uri", "canonical"}; - case -880905839: /*target*/ return new String[] {"uri", "canonical"}; - case 98629247: /*group*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("url")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.url"); - } - else if (name.equals("identifier")) { - return addIdentifier(); - } - else if (name.equals("version")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.version"); - } - else if (name.equals("name")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.name"); - } - else if (name.equals("title")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.title"); - } - else if (name.equals("status")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.status"); - } - else if (name.equals("experimental")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.experimental"); - } - else if (name.equals("date")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.date"); - } - else if (name.equals("publisher")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.publisher"); - } - else if (name.equals("contact")) { - return addContact(); - } - else if (name.equals("description")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.description"); - } - else if (name.equals("useContext")) { - return addUseContext(); - } - else if (name.equals("jurisdiction")) { - return addJurisdiction(); - } - else if (name.equals("purpose")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.purpose"); - } - else if (name.equals("copyright")) { - throw new FHIRException("Cannot call addChild on a primitive type ConceptMap2.copyright"); - } - else if (name.equals("sourceUri")) { - this.source = new UriType(); - return this.source; - } - else if (name.equals("sourceCanonical")) { - this.source = new CanonicalType(); - return this.source; - } - else if (name.equals("targetUri")) { - this.target = new UriType(); - return this.target; - } - else if (name.equals("targetCanonical")) { - this.target = new CanonicalType(); - return this.target; - } - else if (name.equals("group")) { - return addGroup(); - } - else - return super.addChild(name); - } - - public String fhirType() { - return "ConceptMap2"; - - } - - public ConceptMap2 copy() { - ConceptMap2 dst = new ConceptMap2(); - copyValues(dst); - return dst; - } - - public void copyValues(ConceptMap2 dst) { - super.copyValues(dst); - dst.url = url == null ? null : url.copy(); - if (identifier != null) { - dst.identifier = new ArrayList(); - for (Identifier i : identifier) - dst.identifier.add(i.copy()); - }; - dst.version = version == null ? null : version.copy(); - dst.name = name == null ? null : name.copy(); - dst.title = title == null ? null : title.copy(); - dst.status = status == null ? null : status.copy(); - dst.experimental = experimental == null ? null : experimental.copy(); - dst.date = date == null ? null : date.copy(); - dst.publisher = publisher == null ? null : publisher.copy(); - if (contact != null) { - dst.contact = new ArrayList(); - for (ContactDetail i : contact) - dst.contact.add(i.copy()); - }; - dst.description = description == null ? null : description.copy(); - if (useContext != null) { - dst.useContext = new ArrayList(); - for (UsageContext i : useContext) - dst.useContext.add(i.copy()); - }; - if (jurisdiction != null) { - dst.jurisdiction = new ArrayList(); - for (CodeableConcept i : jurisdiction) - dst.jurisdiction.add(i.copy()); - }; - dst.purpose = purpose == null ? null : purpose.copy(); - dst.copyright = copyright == null ? null : copyright.copy(); - dst.source = source == null ? null : source.copy(); - dst.target = target == null ? null : target.copy(); - if (group != null) { - dst.group = new ArrayList(); - for (ConceptMap2GroupComponent i : group) - dst.group.add(i.copy()); - }; - } - - protected ConceptMap2 typedCopy() { - return copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ConceptMap2)) - return false; - ConceptMap2 o = (ConceptMap2) other_; - return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) - && compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(status, o.status, true) - && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) - && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) - && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(purpose, o.purpose, true) && compareDeep(copyright, o.copyright, true) - && compareDeep(source, o.source, true) && compareDeep(target, o.target, true) && compareDeep(group, o.group, true) - ; - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ConceptMap2)) - return false; - ConceptMap2 o = (ConceptMap2) other_; - return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) - && compareValues(title, o.title, true) && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) - && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) - && compareValues(purpose, o.purpose, true) && compareValues(copyright, o.copyright, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version - , name, title, status, experimental, date, publisher, contact, description, useContext - , jurisdiction, purpose, copyright, source, target, group); - } - - @Override - public ResourceType getResourceType() { - return ResourceType.ConceptMap2; - } - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the concept map
- * Type: quantity
- * Path: (ConceptMap2.useContext.value as Quantity) | (ConceptMap2.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(ConceptMap2.useContext.value as Quantity) | (ConceptMap2.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the concept map", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the concept map
- * Type: quantity
- * Path: (ConceptMap2.useContext.value as Quantity) | (ConceptMap2.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the concept map
- * Type: composite
- * Path: ConceptMap2.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="ConceptMap2.useContext", description="A use context type and quantity- or range-based value assigned to the concept map", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the concept map
- * Type: composite
- * Path: ConceptMap2.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the concept map
- * Type: composite
- * Path: ConceptMap2.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="ConceptMap2.useContext", description="A use context type and value assigned to the concept map", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the concept map
- * Type: composite
- * Path: ConceptMap2.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the concept map
- * Type: token
- * Path: ConceptMap2.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="ConceptMap2.useContext.code", description="A type of use context assigned to the concept map", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the concept map
- * Type: token
- * Path: ConceptMap2.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the concept map
- * Type: token
- * Path: (ConceptMap2.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(ConceptMap2.useContext.value as CodeableConcept)", description="A use context assigned to the concept map", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the concept map
- * Type: token
- * Path: (ConceptMap2.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The concept map publication date
- * Type: date
- * Path: ConceptMap2.date
- *

- */ - @SearchParamDefinition(name="date", path="ConceptMap2.date", description="The concept map publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The concept map publication date
- * Type: date
- * Path: ConceptMap2.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: dependson - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap2.group.element.target.dependsOn.property
- *

- */ - @SearchParamDefinition(name="dependson", path="ConceptMap2.group.element.target.dependsOn.property", description="Reference to property mapping depends on", type="uri" ) - public static final String SP_DEPENDSON = "dependson"; - /** - * Fluent Client search parameter constant for dependson - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap2.group.element.target.dependsOn.property
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam DEPENDSON = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_DEPENDSON); - - /** - * Search parameter: description - *

- * Description: The description of the concept map
- * Type: string
- * Path: ConceptMap2.description
- *

- */ - @SearchParamDefinition(name="description", path="ConceptMap2.description", description="The description of the concept map", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the concept map
- * Type: string
- * Path: ConceptMap2.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the concept map
- * Type: token
- * Path: ConceptMap2.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ConceptMap2.identifier", description="External identifier for the concept map", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the concept map
- * Type: token
- * Path: ConceptMap2.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the concept map
- * Type: token
- * Path: ConceptMap2.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="ConceptMap2.jurisdiction", description="Intended jurisdiction for the concept map", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the concept map
- * Type: token
- * Path: ConceptMap2.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the concept map
- * Type: string
- * Path: ConceptMap2.name
- *

- */ - @SearchParamDefinition(name="name", path="ConceptMap2.name", description="Computationally friendly name of the concept map", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the concept map
- * Type: string
- * Path: ConceptMap2.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: other - *

- * Description: canonical reference to an additional ConceptMap2 to use for mapping if the source concept is unmapped
- * Type: reference
- * Path: ConceptMap2.group.unmapped.url
- *

- */ - @SearchParamDefinition(name="other", path="ConceptMap2.group.unmapped.url", description="canonical reference to an additional ConceptMap2 to use for mapping if the source concept is unmapped", type="reference", target={ConceptMap2.class } ) - public static final String SP_OTHER = "other"; - /** - * Fluent Client search parameter constant for other - *

- * Description: canonical reference to an additional ConceptMap2 to use for mapping if the source concept is unmapped
- * Type: reference
- * Path: ConceptMap2.group.unmapped.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OTHER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OTHER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap2:other". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_OTHER = new ca.uhn.fhir.model.api.Include("ConceptMap2:other").toLocked(); - - /** - * Search parameter: product - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap2.group.element.target.product.property
- *

- */ - @SearchParamDefinition(name="product", path="ConceptMap2.group.element.target.product.property", description="Reference to property mapping depends on", type="uri" ) - public static final String SP_PRODUCT = "product"; - /** - * Fluent Client search parameter constant for product - *

- * Description: Reference to property mapping depends on
- * Type: uri
- * Path: ConceptMap2.group.element.target.product.property
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam PRODUCT = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_PRODUCT); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the concept map
- * Type: string
- * Path: ConceptMap2.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="ConceptMap2.publisher", description="Name of the publisher of the concept map", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the concept map
- * Type: string
- * Path: ConceptMap2.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: source-code - *

- * Description: Identifies element being mapped
- * Type: token
- * Path: ConceptMap2.group.element.code
- *

- */ - @SearchParamDefinition(name="source-code", path="ConceptMap2.group.element.code", description="Identifies element being mapped", type="token" ) - public static final String SP_SOURCE_CODE = "source-code"; - /** - * Fluent Client search parameter constant for source-code - *

- * Description: Identifies element being mapped
- * Type: token
- * Path: ConceptMap2.group.element.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SOURCE_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SOURCE_CODE); - - /** - * Search parameter: source-system - *

- * Description: Source system where concepts to be mapped are defined
- * Type: uri
- * Path: ConceptMap2.group.source
- *

- */ - @SearchParamDefinition(name="source-system", path="ConceptMap2.group.source", description="Source system where concepts to be mapped are defined", type="uri" ) - public static final String SP_SOURCE_SYSTEM = "source-system"; - /** - * Fluent Client search parameter constant for source-system - *

- * Description: Source system where concepts to be mapped are defined
- * Type: uri
- * Path: ConceptMap2.group.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam SOURCE_SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_SOURCE_SYSTEM); - - /** - * Search parameter: source-uri - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap2.source as uri)
- *

- */ - @SearchParamDefinition(name="source-uri", path="(ConceptMap2.source as uri)", description="The source value set that contains the concepts that are being mapped", type="reference", target={ValueSet.class } ) - public static final String SP_SOURCE_URI = "source-uri"; - /** - * Fluent Client search parameter constant for source-uri - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap2.source as uri)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE_URI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE_URI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap2:source-uri". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE_URI = new ca.uhn.fhir.model.api.Include("ConceptMap2:source-uri").toLocked(); - - /** - * Search parameter: source - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap2.source as canonical)
- *

- */ - @SearchParamDefinition(name="source", path="(ConceptMap2.source as canonical)", description="The source value set that contains the concepts that are being mapped", type="reference", target={ValueSet.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: The source value set that contains the concepts that are being mapped
- * Type: reference
- * Path: (ConceptMap2.source as canonical)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap2:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("ConceptMap2:source").toLocked(); - - /** - * Search parameter: status - *

- * Description: The current status of the concept map
- * Type: token
- * Path: ConceptMap2.status
- *

- */ - @SearchParamDefinition(name="status", path="ConceptMap2.status", description="The current status of the concept map", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the concept map
- * Type: token
- * Path: ConceptMap2.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: target-code - *

- * Description: Code that identifies the target element
- * Type: token
- * Path: ConceptMap2.group.element.target.code
- *

- */ - @SearchParamDefinition(name="target-code", path="ConceptMap2.group.element.target.code", description="Code that identifies the target element", type="token" ) - public static final String SP_TARGET_CODE = "target-code"; - /** - * Fluent Client search parameter constant for target-code - *

- * Description: Code that identifies the target element
- * Type: token
- * Path: ConceptMap2.group.element.target.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_CODE); - - /** - * Search parameter: target-system - *

- * Description: Target system that the concepts are to be mapped to
- * Type: uri
- * Path: ConceptMap2.group.target
- *

- */ - @SearchParamDefinition(name="target-system", path="ConceptMap2.group.target", description="Target system that the concepts are to be mapped to", type="uri" ) - public static final String SP_TARGET_SYSTEM = "target-system"; - /** - * Fluent Client search parameter constant for target-system - *

- * Description: Target system that the concepts are to be mapped to
- * Type: uri
- * Path: ConceptMap2.group.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam TARGET_SYSTEM = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_TARGET_SYSTEM); - - /** - * Search parameter: target-uri - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap2.target as uri)
- *

- */ - @SearchParamDefinition(name="target-uri", path="(ConceptMap2.target as uri)", description="The target value set which provides context for the mappings", type="reference", target={ValueSet.class } ) - public static final String SP_TARGET_URI = "target-uri"; - /** - * Fluent Client search parameter constant for target-uri - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap2.target as uri)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET_URI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET_URI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap2:target-uri". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET_URI = new ca.uhn.fhir.model.api.Include("ConceptMap2:target-uri").toLocked(); - - /** - * Search parameter: target - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap2.target as canonical)
- *

- */ - @SearchParamDefinition(name="target", path="(ConceptMap2.target as canonical)", description="The target value set which provides context for the mappings", type="reference", target={ValueSet.class } ) - public static final String SP_TARGET = "target"; - /** - * Fluent Client search parameter constant for target - *

- * Description: The target value set which provides context for the mappings
- * Type: reference
- * Path: (ConceptMap2.target as canonical)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ConceptMap2:target". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET = new ca.uhn.fhir.model.api.Include("ConceptMap2:target").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the concept map
- * Type: string
- * Path: ConceptMap2.title
- *

- */ - @SearchParamDefinition(name="title", path="ConceptMap2.title", description="The human-friendly name of the concept map", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the concept map
- * Type: string
- * Path: ConceptMap2.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the concept map
- * Type: uri
- * Path: ConceptMap2.url
- *

- */ - @SearchParamDefinition(name="url", path="ConceptMap2.url", description="The uri that identifies the concept map", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the concept map
- * Type: uri
- * Path: ConceptMap2.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the concept map
- * Type: token
- * Path: ConceptMap2.version
- *

- */ - @SearchParamDefinition(name="version", path="ConceptMap2.version", description="The business version of the concept map", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the concept map
- * Type: token
- * Path: ConceptMap2.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - - -} - diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Condition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Condition.java index 56c08d96e..1c5ce3d06 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Condition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Condition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -52,6 +52,216 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="Condition", profile="http://hl7.org/fhir/StructureDefinition/Condition") public class Condition extends DomainResource { + @Block() + public static class ConditionParticipantComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Distinguishes the type of involvement of the actor in the activities related to the condition. + */ + @Child(name = "function", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Type of involvement", formalDefinition="Distinguishes the type of involvement of the actor in the activities related to the condition." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participation-role-type") + protected CodeableConcept function; + + /** + * Indicates who or what participated in the activities related to the condition. + */ + @Child(name = "actor", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Device.class, Organization.class, CareTeam.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Who or what participated in the activities related to the condition", formalDefinition="Indicates who or what participated in the activities related to the condition." ) + protected Reference actor; + + private static final long serialVersionUID = -576943815L; + + /** + * Constructor + */ + public ConditionParticipantComponent() { + super(); + } + + /** + * Constructor + */ + public ConditionParticipantComponent(Reference actor) { + super(); + this.setActor(actor); + } + + /** + * @return {@link #function} (Distinguishes the type of involvement of the actor in the activities related to the condition.) + */ + public CodeableConcept getFunction() { + if (this.function == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ConditionParticipantComponent.function"); + else if (Configuration.doAutoCreate()) + this.function = new CodeableConcept(); // cc + return this.function; + } + + public boolean hasFunction() { + return this.function != null && !this.function.isEmpty(); + } + + /** + * @param value {@link #function} (Distinguishes the type of involvement of the actor in the activities related to the condition.) + */ + public ConditionParticipantComponent setFunction(CodeableConcept value) { + this.function = value; + return this; + } + + /** + * @return {@link #actor} (Indicates who or what participated in the activities related to the condition.) + */ + public Reference getActor() { + if (this.actor == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ConditionParticipantComponent.actor"); + else if (Configuration.doAutoCreate()) + this.actor = new Reference(); // cc + return this.actor; + } + + public boolean hasActor() { + return this.actor != null && !this.actor.isEmpty(); + } + + /** + * @param value {@link #actor} (Indicates who or what participated in the activities related to the condition.) + */ + public ConditionParticipantComponent setActor(Reference value) { + this.actor = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("function", "CodeableConcept", "Distinguishes the type of involvement of the actor in the activities related to the condition.", 0, 1, function)); + children.add(new Property("actor", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Device|Organization|CareTeam)", "Indicates who or what participated in the activities related to the condition.", 0, 1, actor)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 1380938712: /*function*/ return new Property("function", "CodeableConcept", "Distinguishes the type of involvement of the actor in the activities related to the condition.", 0, 1, function); + case 92645877: /*actor*/ return new Property("actor", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Device|Organization|CareTeam)", "Indicates who or what participated in the activities related to the condition.", 0, 1, actor); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 1380938712: /*function*/ return this.function == null ? new Base[0] : new Base[] {this.function}; // CodeableConcept + case 92645877: /*actor*/ return this.actor == null ? new Base[0] : new Base[] {this.actor}; // Reference + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 1380938712: // function + this.function = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 92645877: // actor + this.actor = TypeConvertor.castToReference(value); // Reference + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("function")) { + this.function = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("actor")) { + this.actor = TypeConvertor.castToReference(value); // Reference + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 1380938712: return getFunction(); + case 92645877: return getActor(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 1380938712: /*function*/ return new String[] {"CodeableConcept"}; + case 92645877: /*actor*/ return new String[] {"Reference"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("function")) { + this.function = new CodeableConcept(); + return this.function; + } + else if (name.equals("actor")) { + this.actor = new Reference(); + return this.actor; + } + else + return super.addChild(name); + } + + public ConditionParticipantComponent copy() { + ConditionParticipantComponent dst = new ConditionParticipantComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(ConditionParticipantComponent dst) { + super.copyValues(dst); + dst.function = function == null ? null : function.copy(); + dst.actor = actor == null ? null : actor.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof ConditionParticipantComponent)) + return false; + ConditionParticipantComponent o = (ConditionParticipantComponent) other_; + return compareDeep(function, o.function, true) && compareDeep(actor, o.actor, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof ConditionParticipantComponent)) + return false; + ConditionParticipantComponent o = (ConditionParticipantComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(function, actor); + } + + public String fhirType() { + return "Condition.participant"; + + } + + } + @Block() public static class ConditionStageComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -333,272 +543,6 @@ public class Condition extends DomainResource { } - } - - @Block() - public static class ConditionEvidenceComponent extends BackboneElement implements IBaseBackboneElement { - /** - * A manifestation or symptom that led to the recording of this condition. - */ - @Child(name = "code", type = {CodeableConcept.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Manifestation/symptom", formalDefinition="A manifestation or symptom that led to the recording of this condition." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/manifestation-or-symptom") - protected List code; - - /** - * Links to other relevant information, including pathology reports. - */ - @Child(name = "detail", type = {Reference.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Supporting information found elsewhere", formalDefinition="Links to other relevant information, including pathology reports." ) - protected List detail; - - private static final long serialVersionUID = -672691342L; - - /** - * Constructor - */ - public ConditionEvidenceComponent() { - super(); - } - - /** - * @return {@link #code} (A manifestation or symptom that led to the recording of this condition.) - */ - public List getCode() { - if (this.code == null) - this.code = new ArrayList(); - return this.code; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConditionEvidenceComponent setCode(List theCode) { - this.code = theCode; - return this; - } - - public boolean hasCode() { - if (this.code == null) - return false; - for (CodeableConcept item : this.code) - if (!item.isEmpty()) - return true; - return false; - } - - public CodeableConcept addCode() { //3 - CodeableConcept t = new CodeableConcept(); - if (this.code == null) - this.code = new ArrayList(); - this.code.add(t); - return t; - } - - public ConditionEvidenceComponent addCode(CodeableConcept t) { //3 - if (t == null) - return this; - if (this.code == null) - this.code = new ArrayList(); - this.code.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #code}, creating it if it does not already exist {3} - */ - public CodeableConcept getCodeFirstRep() { - if (getCode().isEmpty()) { - addCode(); - } - return getCode().get(0); - } - - /** - * @return {@link #detail} (Links to other relevant information, including pathology reports.) - */ - public List getDetail() { - if (this.detail == null) - this.detail = new ArrayList(); - return this.detail; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public ConditionEvidenceComponent setDetail(List theDetail) { - this.detail = theDetail; - return this; - } - - public boolean hasDetail() { - if (this.detail == null) - return false; - for (Reference item : this.detail) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addDetail() { //3 - Reference t = new Reference(); - if (this.detail == null) - this.detail = new ArrayList(); - this.detail.add(t); - return t; - } - - public ConditionEvidenceComponent addDetail(Reference t) { //3 - if (t == null) - return this; - if (this.detail == null) - this.detail = new ArrayList(); - this.detail.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #detail}, creating it if it does not already exist {3} - */ - public Reference getDetailFirstRep() { - if (getDetail().isEmpty()) { - addDetail(); - } - return getDetail().get(0); - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("code", "CodeableConcept", "A manifestation or symptom that led to the recording of this condition.", 0, java.lang.Integer.MAX_VALUE, code)); - children.add(new Property("detail", "Reference(Any)", "Links to other relevant information, including pathology reports.", 0, java.lang.Integer.MAX_VALUE, detail)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3059181: /*code*/ return new Property("code", "CodeableConcept", "A manifestation or symptom that led to the recording of this condition.", 0, java.lang.Integer.MAX_VALUE, code); - case -1335224239: /*detail*/ return new Property("detail", "Reference(Any)", "Links to other relevant information, including pathology reports.", 0, java.lang.Integer.MAX_VALUE, detail); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return this.code == null ? new Base[0] : this.code.toArray(new Base[this.code.size()]); // CodeableConcept - case -1335224239: /*detail*/ return this.detail == null ? new Base[0] : this.detail.toArray(new Base[this.detail.size()]); // Reference - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3059181: // code - this.getCode().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept - return value; - case -1335224239: // detail - this.getDetail().add(TypeConvertor.castToReference(value)); // Reference - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("code")) { - this.getCode().add(TypeConvertor.castToCodeableConcept(value)); - } else if (name.equals("detail")) { - this.getDetail().add(TypeConvertor.castToReference(value)); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: return addCode(); - case -1335224239: return addDetail(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return new String[] {"CodeableConcept"}; - case -1335224239: /*detail*/ return new String[] {"Reference"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("code")) { - return addCode(); - } - else if (name.equals("detail")) { - return addDetail(); - } - else - return super.addChild(name); - } - - public ConditionEvidenceComponent copy() { - ConditionEvidenceComponent dst = new ConditionEvidenceComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(ConditionEvidenceComponent dst) { - super.copyValues(dst); - if (code != null) { - dst.code = new ArrayList(); - for (CodeableConcept i : code) - dst.code.add(i.copy()); - }; - if (detail != null) { - dst.detail = new ArrayList(); - for (Reference i : detail) - dst.detail.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof ConditionEvidenceComponent)) - return false; - ConditionEvidenceComponent o = (ConditionEvidenceComponent) other_; - return compareDeep(code, o.code, true) && compareDeep(detail, o.detail, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof ConditionEvidenceComponent)) - return false; - ConditionEvidenceComponent o = (ConditionEvidenceComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, detail); - } - - public String fhirType() { - return "Condition.evidence"; - - } - } /** @@ -688,45 +632,39 @@ public class Condition extends DomainResource { * The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date. */ @Child(name = "recordedDate", type = {DateTimeType.class}, order=11, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Date record was first recorded", formalDefinition="The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date." ) + @Description(shortDefinition="Date condition was first recorded", formalDefinition="The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date." ) protected DateTimeType recordedDate; /** - * Individual who recorded the record and takes responsibility for its content. + * Indicates who or what participated in the activities related to the condition and how they were involved. */ - @Child(name = "recorder", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class}, order=12, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Who recorded the condition", formalDefinition="Individual who recorded the record and takes responsibility for its content." ) - protected Reference recorder; - - /** - * Individual or device that is making the condition statement. - */ - @Child(name = "asserter", type = {Practitioner.class, PractitionerRole.class, Patient.class, RelatedPerson.class, Device.class}, order=13, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Person or device that asserts this condition", formalDefinition="Individual or device that is making the condition statement." ) - protected Reference asserter; + @Child(name = "participant", type = {}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Who or what participated in the activities related to the condition and how they were involved", formalDefinition="Indicates who or what participated in the activities related to the condition and how they were involved." ) + protected List participant; /** * A simple summary of the stage such as "Stage 3" or "Early Onset". The determination of the stage is disease-specific, such as cancer, retinopathy of prematurity, kidney diseases, Alzheimer's, or Parkinson disease. */ - @Child(name = "stage", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "stage", type = {}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Stage/grade, usually assessed formally", formalDefinition="A simple summary of the stage such as \"Stage 3\" or \"Early Onset\". The determination of the stage is disease-specific, such as cancer, retinopathy of prematurity, kidney diseases, Alzheimer's, or Parkinson disease." ) protected List stage; /** * Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition. */ - @Child(name = "evidence", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "evidence", type = {CodeableReference.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Supporting evidence for the verification status", formalDefinition="Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition." ) - protected List evidence; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-findings") + protected List evidence; /** * Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis. */ - @Child(name = "note", type = {Annotation.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Additional information about the Condition", formalDefinition="Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis." ) protected List note; - private static final long serialVersionUID = -1921558897L; + private static final long serialVersionUID = -610903427L; /** * Constructor @@ -1289,51 +1227,56 @@ public class Condition extends DomainResource { } /** - * @return {@link #recorder} (Individual who recorded the record and takes responsibility for its content.) + * @return {@link #participant} (Indicates who or what participated in the activities related to the condition and how they were involved.) */ - public Reference getRecorder() { - if (this.recorder == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Condition.recorder"); - else if (Configuration.doAutoCreate()) - this.recorder = new Reference(); // cc - return this.recorder; - } - - public boolean hasRecorder() { - return this.recorder != null && !this.recorder.isEmpty(); + public List getParticipant() { + if (this.participant == null) + this.participant = new ArrayList(); + return this.participant; } /** - * @param value {@link #recorder} (Individual who recorded the record and takes responsibility for its content.) + * @return Returns a reference to this for easy method chaining */ - public Condition setRecorder(Reference value) { - this.recorder = value; + public Condition setParticipant(List theParticipant) { + this.participant = theParticipant; + return this; + } + + public boolean hasParticipant() { + if (this.participant == null) + return false; + for (ConditionParticipantComponent item : this.participant) + if (!item.isEmpty()) + return true; + return false; + } + + public ConditionParticipantComponent addParticipant() { //3 + ConditionParticipantComponent t = new ConditionParticipantComponent(); + if (this.participant == null) + this.participant = new ArrayList(); + this.participant.add(t); + return t; + } + + public Condition addParticipant(ConditionParticipantComponent t) { //3 + if (t == null) + return this; + if (this.participant == null) + this.participant = new ArrayList(); + this.participant.add(t); return this; } /** - * @return {@link #asserter} (Individual or device that is making the condition statement.) + * @return The first repetition of repeating field {@link #participant}, creating it if it does not already exist {3} */ - public Reference getAsserter() { - if (this.asserter == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Condition.asserter"); - else if (Configuration.doAutoCreate()) - this.asserter = new Reference(); // cc - return this.asserter; - } - - public boolean hasAsserter() { - return this.asserter != null && !this.asserter.isEmpty(); - } - - /** - * @param value {@link #asserter} (Individual or device that is making the condition statement.) - */ - public Condition setAsserter(Reference value) { - this.asserter = value; - return this; + public ConditionParticipantComponent getParticipantFirstRep() { + if (getParticipant().isEmpty()) { + addParticipant(); + } + return getParticipant().get(0); } /** @@ -1392,16 +1335,16 @@ public class Condition extends DomainResource { /** * @return {@link #evidence} (Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.) */ - public List getEvidence() { + public List getEvidence() { if (this.evidence == null) - this.evidence = new ArrayList(); + this.evidence = new ArrayList(); return this.evidence; } /** * @return Returns a reference to this for easy method chaining */ - public Condition setEvidence(List theEvidence) { + public Condition setEvidence(List theEvidence) { this.evidence = theEvidence; return this; } @@ -1409,25 +1352,25 @@ public class Condition extends DomainResource { public boolean hasEvidence() { if (this.evidence == null) return false; - for (ConditionEvidenceComponent item : this.evidence) + for (CodeableReference item : this.evidence) if (!item.isEmpty()) return true; return false; } - public ConditionEvidenceComponent addEvidence() { //3 - ConditionEvidenceComponent t = new ConditionEvidenceComponent(); + public CodeableReference addEvidence() { //3 + CodeableReference t = new CodeableReference(); if (this.evidence == null) - this.evidence = new ArrayList(); + this.evidence = new ArrayList(); this.evidence.add(t); return t; } - public Condition addEvidence(ConditionEvidenceComponent t) { //3 + public Condition addEvidence(CodeableReference t) { //3 if (t == null) return this; if (this.evidence == null) - this.evidence = new ArrayList(); + this.evidence = new ArrayList(); this.evidence.add(t); return this; } @@ -1435,7 +1378,7 @@ public class Condition extends DomainResource { /** * @return The first repetition of repeating field {@link #evidence}, creating it if it does not already exist {3} */ - public ConditionEvidenceComponent getEvidenceFirstRep() { + public CodeableReference getEvidenceFirstRep() { if (getEvidence().isEmpty()) { addEvidence(); } @@ -1509,10 +1452,9 @@ public class Condition extends DomainResource { children.add(new Property("onset[x]", "dateTime|Age|Period|Range|string", "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", 0, 1, onset)); children.add(new Property("abatement[x]", "dateTime|Age|Period|Range|string", "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\" - Some conditions, such as chronic conditions, are never really resolved, but they can abate.", 0, 1, abatement)); children.add(new Property("recordedDate", "dateTime", "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.", 0, 1, recordedDate)); - children.add(new Property("recorder", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson)", "Individual who recorded the record and takes responsibility for its content.", 0, 1, recorder)); - children.add(new Property("asserter", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Device)", "Individual or device that is making the condition statement.", 0, 1, asserter)); + children.add(new Property("participant", "", "Indicates who or what participated in the activities related to the condition and how they were involved.", 0, java.lang.Integer.MAX_VALUE, participant)); children.add(new Property("stage", "", "A simple summary of the stage such as \"Stage 3\" or \"Early Onset\". The determination of the stage is disease-specific, such as cancer, retinopathy of prematurity, kidney diseases, Alzheimer's, or Parkinson disease.", 0, java.lang.Integer.MAX_VALUE, stage)); - children.add(new Property("evidence", "", "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", 0, java.lang.Integer.MAX_VALUE, evidence)); + children.add(new Property("evidence", "CodeableReference(Any)", "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", 0, java.lang.Integer.MAX_VALUE, evidence)); children.add(new Property("note", "Annotation", "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.", 0, java.lang.Integer.MAX_VALUE, note)); } @@ -1543,10 +1485,9 @@ public class Condition extends DomainResource { case 1218906830: /*abatementRange*/ return new Property("abatement[x]", "Range", "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\" - Some conditions, such as chronic conditions, are never really resolved, but they can abate.", 0, 1, abatement); case -822296416: /*abatementString*/ return new Property("abatement[x]", "string", "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\" - Some conditions, such as chronic conditions, are never really resolved, but they can abate.", 0, 1, abatement); case -1952893826: /*recordedDate*/ return new Property("recordedDate", "dateTime", "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.", 0, 1, recordedDate); - case -799233858: /*recorder*/ return new Property("recorder", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson)", "Individual who recorded the record and takes responsibility for its content.", 0, 1, recorder); - case -373242253: /*asserter*/ return new Property("asserter", "Reference(Practitioner|PractitionerRole|Patient|RelatedPerson|Device)", "Individual or device that is making the condition statement.", 0, 1, asserter); + case 767422259: /*participant*/ return new Property("participant", "", "Indicates who or what participated in the activities related to the condition and how they were involved.", 0, java.lang.Integer.MAX_VALUE, participant); case 109757182: /*stage*/ return new Property("stage", "", "A simple summary of the stage such as \"Stage 3\" or \"Early Onset\". The determination of the stage is disease-specific, such as cancer, retinopathy of prematurity, kidney diseases, Alzheimer's, or Parkinson disease.", 0, java.lang.Integer.MAX_VALUE, stage); - case 382967383: /*evidence*/ return new Property("evidence", "", "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", 0, java.lang.Integer.MAX_VALUE, evidence); + case 382967383: /*evidence*/ return new Property("evidence", "CodeableReference(Any)", "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", 0, java.lang.Integer.MAX_VALUE, evidence); case 3387378: /*note*/ return new Property("note", "Annotation", "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.", 0, java.lang.Integer.MAX_VALUE, note); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1568,10 +1509,9 @@ public class Condition extends DomainResource { case 105901603: /*onset*/ return this.onset == null ? new Base[0] : new Base[] {this.onset}; // DataType case -921554001: /*abatement*/ return this.abatement == null ? new Base[0] : new Base[] {this.abatement}; // DataType case -1952893826: /*recordedDate*/ return this.recordedDate == null ? new Base[0] : new Base[] {this.recordedDate}; // DateTimeType - case -799233858: /*recorder*/ return this.recorder == null ? new Base[0] : new Base[] {this.recorder}; // Reference - case -373242253: /*asserter*/ return this.asserter == null ? new Base[0] : new Base[] {this.asserter}; // Reference + case 767422259: /*participant*/ return this.participant == null ? new Base[0] : this.participant.toArray(new Base[this.participant.size()]); // ConditionParticipantComponent case 109757182: /*stage*/ return this.stage == null ? new Base[0] : this.stage.toArray(new Base[this.stage.size()]); // ConditionStageComponent - case 382967383: /*evidence*/ return this.evidence == null ? new Base[0] : this.evidence.toArray(new Base[this.evidence.size()]); // ConditionEvidenceComponent + case 382967383: /*evidence*/ return this.evidence == null ? new Base[0] : this.evidence.toArray(new Base[this.evidence.size()]); // CodeableReference case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation default: return super.getProperty(hash, name, checkValid); } @@ -1617,17 +1557,14 @@ public class Condition extends DomainResource { case -1952893826: // recordedDate this.recordedDate = TypeConvertor.castToDateTime(value); // DateTimeType return value; - case -799233858: // recorder - this.recorder = TypeConvertor.castToReference(value); // Reference - return value; - case -373242253: // asserter - this.asserter = TypeConvertor.castToReference(value); // Reference + case 767422259: // participant + this.getParticipant().add((ConditionParticipantComponent) value); // ConditionParticipantComponent return value; case 109757182: // stage this.getStage().add((ConditionStageComponent) value); // ConditionStageComponent return value; case 382967383: // evidence - this.getEvidence().add((ConditionEvidenceComponent) value); // ConditionEvidenceComponent + this.getEvidence().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference return value; case 3387378: // note this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation @@ -1663,14 +1600,12 @@ public class Condition extends DomainResource { this.abatement = TypeConvertor.castToType(value); // DataType } else if (name.equals("recordedDate")) { this.recordedDate = TypeConvertor.castToDateTime(value); // DateTimeType - } else if (name.equals("recorder")) { - this.recorder = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("asserter")) { - this.asserter = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("participant")) { + this.getParticipant().add((ConditionParticipantComponent) value); } else if (name.equals("stage")) { this.getStage().add((ConditionStageComponent) value); } else if (name.equals("evidence")) { - this.getEvidence().add((ConditionEvidenceComponent) value); + this.getEvidence().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("note")) { this.getNote().add(TypeConvertor.castToAnnotation(value)); } else @@ -1695,8 +1630,7 @@ public class Condition extends DomainResource { case -584196495: return getAbatement(); case -921554001: return getAbatement(); case -1952893826: return getRecordedDateElement(); - case -799233858: return getRecorder(); - case -373242253: return getAsserter(); + case 767422259: return addParticipant(); case 109757182: return addStage(); case 382967383: return addEvidence(); case 3387378: return addNote(); @@ -1720,10 +1654,9 @@ public class Condition extends DomainResource { case 105901603: /*onset*/ return new String[] {"dateTime", "Age", "Period", "Range", "string"}; case -921554001: /*abatement*/ return new String[] {"dateTime", "Age", "Period", "Range", "string"}; case -1952893826: /*recordedDate*/ return new String[] {"dateTime"}; - case -799233858: /*recorder*/ return new String[] {"Reference"}; - case -373242253: /*asserter*/ return new String[] {"Reference"}; + case 767422259: /*participant*/ return new String[] {}; case 109757182: /*stage*/ return new String[] {}; - case 382967383: /*evidence*/ return new String[] {}; + case 382967383: /*evidence*/ return new String[] {"CodeableReference"}; case 3387378: /*note*/ return new String[] {"Annotation"}; default: return super.getTypesForProperty(hash, name); } @@ -1808,13 +1741,8 @@ public class Condition extends DomainResource { else if (name.equals("recordedDate")) { throw new FHIRException("Cannot call addChild on a primitive type Condition.recordedDate"); } - else if (name.equals("recorder")) { - this.recorder = new Reference(); - return this.recorder; - } - else if (name.equals("asserter")) { - this.asserter = new Reference(); - return this.asserter; + else if (name.equals("participant")) { + return addParticipant(); } else if (name.equals("stage")) { return addStage(); @@ -1866,16 +1794,19 @@ public class Condition extends DomainResource { dst.onset = onset == null ? null : onset.copy(); dst.abatement = abatement == null ? null : abatement.copy(); dst.recordedDate = recordedDate == null ? null : recordedDate.copy(); - dst.recorder = recorder == null ? null : recorder.copy(); - dst.asserter = asserter == null ? null : asserter.copy(); + if (participant != null) { + dst.participant = new ArrayList(); + for (ConditionParticipantComponent i : participant) + dst.participant.add(i.copy()); + }; if (stage != null) { dst.stage = new ArrayList(); for (ConditionStageComponent i : stage) dst.stage.add(i.copy()); }; if (evidence != null) { - dst.evidence = new ArrayList(); - for (ConditionEvidenceComponent i : evidence) + dst.evidence = new ArrayList(); + for (CodeableReference i : evidence) dst.evidence.add(i.copy()); }; if (note != null) { @@ -1901,8 +1832,8 @@ public class Condition extends DomainResource { && compareDeep(severity, o.severity, true) && compareDeep(code, o.code, true) && compareDeep(bodySite, o.bodySite, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) && compareDeep(onset, o.onset, true) && compareDeep(abatement, o.abatement, true) && compareDeep(recordedDate, o.recordedDate, true) - && compareDeep(recorder, o.recorder, true) && compareDeep(asserter, o.asserter, true) && compareDeep(stage, o.stage, true) - && compareDeep(evidence, o.evidence, true) && compareDeep(note, o.note, true); + && compareDeep(participant, o.participant, true) && compareDeep(stage, o.stage, true) && compareDeep(evidence, o.evidence, true) + && compareDeep(note, o.note, true); } @Override @@ -1918,7 +1849,7 @@ public class Condition extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, clinicalStatus , verificationStatus, category, severity, code, bodySite, subject, encounter, onset - , abatement, recordedDate, recorder, asserter, stage, evidence, note); + , abatement, recordedDate, participant, stage, evidence, note); } @Override @@ -1926,358 +1857,20 @@ public class Condition extends DomainResource { return ResourceType.Condition; } - /** - * Search parameter: abatement-age - *

- * Description: Abatement as age or age range
- * Type: quantity
- * Path: Condition.abatement.as(Age) | Condition.abatement.as(Range)
- *

- */ - @SearchParamDefinition(name="abatement-age", path="Condition.abatement.as(Age) | Condition.abatement.as(Range)", description="Abatement as age or age range", type="quantity" ) - public static final String SP_ABATEMENT_AGE = "abatement-age"; - /** - * Fluent Client search parameter constant for abatement-age - *

- * Description: Abatement as age or age range
- * Type: quantity
- * Path: Condition.abatement.as(Age) | Condition.abatement.as(Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam ABATEMENT_AGE = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_ABATEMENT_AGE); - - /** - * Search parameter: abatement-date - *

- * Description: Date-related abatements (dateTime and period)
- * Type: date
- * Path: Condition.abatement.as(dateTime) | Condition.abatement.as(Period)
- *

- */ - @SearchParamDefinition(name="abatement-date", path="Condition.abatement.as(dateTime) | Condition.abatement.as(Period)", description="Date-related abatements (dateTime and period)", type="date" ) - public static final String SP_ABATEMENT_DATE = "abatement-date"; - /** - * Fluent Client search parameter constant for abatement-date - *

- * Description: Date-related abatements (dateTime and period)
- * Type: date
- * Path: Condition.abatement.as(dateTime) | Condition.abatement.as(Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ABATEMENT_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ABATEMENT_DATE); - - /** - * Search parameter: abatement-string - *

- * Description: Abatement as a string
- * Type: string
- * Path: Condition.abatement.as(string)
- *

- */ - @SearchParamDefinition(name="abatement-string", path="Condition.abatement.as(string)", description="Abatement as a string", type="string" ) - public static final String SP_ABATEMENT_STRING = "abatement-string"; - /** - * Fluent Client search parameter constant for abatement-string - *

- * Description: Abatement as a string
- * Type: string
- * Path: Condition.abatement.as(string)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ABATEMENT_STRING = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ABATEMENT_STRING); - - /** - * Search parameter: asserter - *

- * Description: Person or device that asserts this condition
- * Type: reference
- * Path: Condition.asserter
- *

- */ - @SearchParamDefinition(name="asserter", path="Condition.asserter", description="Person or device that asserts this condition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ASSERTER = "asserter"; - /** - * Fluent Client search parameter constant for asserter - *

- * Description: Person or device that asserts this condition
- * Type: reference
- * Path: Condition.asserter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ASSERTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ASSERTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Condition:asserter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ASSERTER = new ca.uhn.fhir.model.api.Include("Condition:asserter").toLocked(); - - /** - * Search parameter: body-site - *

- * Description: Anatomical location, if relevant
- * Type: token
- * Path: Condition.bodySite
- *

- */ - @SearchParamDefinition(name="body-site", path="Condition.bodySite", description="Anatomical location, if relevant", type="token" ) - public static final String SP_BODY_SITE = "body-site"; - /** - * Fluent Client search parameter constant for body-site - *

- * Description: Anatomical location, if relevant
- * Type: token
- * Path: Condition.bodySite
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BODY_SITE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BODY_SITE); - - /** - * Search parameter: category - *

- * Description: The category of the condition
- * Type: token
- * Path: Condition.category
- *

- */ - @SearchParamDefinition(name="category", path="Condition.category", description="The category of the condition", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: The category of the condition
- * Type: token
- * Path: Condition.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: clinical-status - *

- * Description: The clinical status of the condition
- * Type: token
- * Path: Condition.clinicalStatus
- *

- */ - @SearchParamDefinition(name="clinical-status", path="Condition.clinicalStatus", description="The clinical status of the condition", type="token" ) - public static final String SP_CLINICAL_STATUS = "clinical-status"; - /** - * Fluent Client search parameter constant for clinical-status - *

- * Description: The clinical status of the condition
- * Type: token
- * Path: Condition.clinicalStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLINICAL_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLINICAL_STATUS); - - /** - * Search parameter: encounter - *

- * Description: The Encounter during which this Condition was created
- * Type: reference
- * Path: Condition.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Condition.encounter", description="The Encounter during which this Condition was created", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The Encounter during which this Condition was created
- * Type: reference
- * Path: Condition.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Condition:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Condition:encounter").toLocked(); - - /** - * Search parameter: evidence-detail - *

- * Description: Supporting information found elsewhere
- * Type: reference
- * Path: Condition.evidence.detail
- *

- */ - @SearchParamDefinition(name="evidence-detail", path="Condition.evidence.detail", description="Supporting information found elsewhere", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_EVIDENCE_DETAIL = "evidence-detail"; - /** - * Fluent Client search parameter constant for evidence-detail - *

- * Description: Supporting information found elsewhere
- * Type: reference
- * Path: Condition.evidence.detail
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EVIDENCE_DETAIL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EVIDENCE_DETAIL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Condition:evidence-detail". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_EVIDENCE_DETAIL = new ca.uhn.fhir.model.api.Include("Condition:evidence-detail").toLocked(); - - /** - * Search parameter: evidence - *

- * Description: Manifestation/symptom
- * Type: token
- * Path: Condition.evidence.code
- *

- */ - @SearchParamDefinition(name="evidence", path="Condition.evidence.code", description="Manifestation/symptom", type="token" ) - public static final String SP_EVIDENCE = "evidence"; - /** - * Fluent Client search parameter constant for evidence - *

- * Description: Manifestation/symptom
- * Type: token
- * Path: Condition.evidence.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVIDENCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EVIDENCE); - - /** - * Search parameter: onset-age - *

- * Description: Onsets as age or age range
- * Type: quantity
- * Path: Condition.onset.as(Age) | Condition.onset.as(Range)
- *

- */ - @SearchParamDefinition(name="onset-age", path="Condition.onset.as(Age) | Condition.onset.as(Range)", description="Onsets as age or age range", type="quantity" ) - public static final String SP_ONSET_AGE = "onset-age"; - /** - * Fluent Client search parameter constant for onset-age - *

- * Description: Onsets as age or age range
- * Type: quantity
- * Path: Condition.onset.as(Age) | Condition.onset.as(Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam ONSET_AGE = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_ONSET_AGE); - - /** - * Search parameter: onset-date - *

- * Description: Date related onsets (dateTime and Period)
- * Type: date
- * Path: Condition.onset.as(dateTime) | Condition.onset.as(Period)
- *

- */ - @SearchParamDefinition(name="onset-date", path="Condition.onset.as(dateTime) | Condition.onset.as(Period)", description="Date related onsets (dateTime and Period)", type="date" ) - public static final String SP_ONSET_DATE = "onset-date"; - /** - * Fluent Client search parameter constant for onset-date - *

- * Description: Date related onsets (dateTime and Period)
- * Type: date
- * Path: Condition.onset.as(dateTime) | Condition.onset.as(Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ONSET_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ONSET_DATE); - - /** - * Search parameter: onset-info - *

- * Description: Onsets as a string
- * Type: string
- * Path: Condition.onset.as(string)
- *

- */ - @SearchParamDefinition(name="onset-info", path="Condition.onset.as(string)", description="Onsets as a string", type="string" ) - public static final String SP_ONSET_INFO = "onset-info"; - /** - * Fluent Client search parameter constant for onset-info - *

- * Description: Onsets as a string
- * Type: string
- * Path: Condition.onset.as(string)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ONSET_INFO = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ONSET_INFO); - - /** - * Search parameter: recorded-date - *

- * Description: Date record was first recorded
- * Type: date
- * Path: Condition.recordedDate
- *

- */ - @SearchParamDefinition(name="recorded-date", path="Condition.recordedDate", description="Date record was first recorded", type="date" ) - public static final String SP_RECORDED_DATE = "recorded-date"; - /** - * Fluent Client search parameter constant for recorded-date - *

- * Description: Date record was first recorded
- * Type: date
- * Path: Condition.recordedDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam RECORDED_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_RECORDED_DATE); - - /** - * Search parameter: severity - *

- * Description: The severity of the condition
- * Type: token
- * Path: Condition.severity
- *

- */ - @SearchParamDefinition(name="severity", path="Condition.severity", description="The severity of the condition", type="token" ) - public static final String SP_SEVERITY = "severity"; - /** - * Fluent Client search parameter constant for severity - *

- * Description: The severity of the condition
- * Type: token
- * Path: Condition.severity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SEVERITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SEVERITY); - - /** - * Search parameter: stage - *

- * Description: Simple summary (disease specific)
- * Type: token
- * Path: Condition.stage.summary
- *

- */ - @SearchParamDefinition(name="stage", path="Condition.stage.summary", description="Simple summary (disease specific)", type="token" ) - public static final String SP_STAGE = "stage"; - /** - * Fluent Client search parameter constant for stage - *

- * Description: Simple summary (disease specific)
- * Type: token
- * Path: Condition.stage.summary
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STAGE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STAGE); - /** * Search parameter: subject *

- * Description: Who has the condition?
+ * Description: Search by condition subject
* Type: reference
* Path: Condition.subject
*

*/ - @SearchParamDefinition(name="subject", path="Condition.subject", description="Who has the condition?", type="reference", target={Group.class, Patient.class } ) + @SearchParamDefinition(name="subject", path="Condition.subject", description="Search by condition subject", type="reference", target={Organization.class } ) public static final String SP_SUBJECT = "subject"; /** * Fluent Client search parameter constant for subject *

- * Description: Who has the condition?
+ * Description: Search by condition subject
* Type: reference
* Path: Condition.subject
*

@@ -2290,256 +1883,6 @@ public class Condition extends DomainResource { */ public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Condition:subject").toLocked(); - /** - * Search parameter: verification-status - *

- * Description: unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
- * Type: token
- * Path: Condition.verificationStatus
- *

- */ - @SearchParamDefinition(name="verification-status", path="Condition.verificationStatus", description="unconfirmed | provisional | differential | confirmed | refuted | entered-in-error", type="token" ) - public static final String SP_VERIFICATION_STATUS = "verification-status"; - /** - * Fluent Client search parameter constant for verification-status - *

- * Description: unconfirmed | provisional | differential | confirmed | refuted | entered-in-error
- * Type: token
- * Path: Condition.verificationStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERIFICATION_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERIFICATION_STATUS); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Condition:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Condition:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConditionDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConditionDefinition.java index 3d2ecaa78..232af4956 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConditionDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ConditionDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class ConditionDefinition extends MetadataResource { switch (this) { case SENSITIVE: return "sensitive"; case SPECIFIC: return "specific"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class ConditionDefinition extends MetadataResource { switch (this) { case SENSITIVE: return "http://hl7.org/fhir/condition-precondition-type"; case SPECIFIC: return "http://hl7.org/fhir/condition-precondition-type"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class ConditionDefinition extends MetadataResource { switch (this) { case SENSITIVE: return "The observation is very sensitive for the condition, but may also indicate other conditions."; case SPECIFIC: return "The observation is very specific for this condition, but not particularly sensitive."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class ConditionDefinition extends MetadataResource { switch (this) { case SENSITIVE: return "Sensitive"; case SPECIFIC: return "Specific"; + case NULL: return null; default: return "?"; } } @@ -181,6 +185,7 @@ public class ConditionDefinition extends MetadataResource { case PREADMIT: return "preadmit"; case DIFFDIAGNOSIS: return "diff-diagnosis"; case OUTCOME: return "outcome"; + case NULL: return null; default: return "?"; } } @@ -189,6 +194,7 @@ public class ConditionDefinition extends MetadataResource { case PREADMIT: return "http://hl7.org/fhir/condition-questionnaire-purpose"; case DIFFDIAGNOSIS: return "http://hl7.org/fhir/condition-questionnaire-purpose"; case OUTCOME: return "http://hl7.org/fhir/condition-questionnaire-purpose"; + case NULL: return null; default: return "?"; } } @@ -197,6 +203,7 @@ public class ConditionDefinition extends MetadataResource { case PREADMIT: return "A pre-admit questionnaire."; case DIFFDIAGNOSIS: return "A questionnaire that helps with diferential diagnosis."; case OUTCOME: return "A questionnaire to check on outcomes for the patient."; + case NULL: return null; default: return "?"; } } @@ -205,6 +212,7 @@ public class ConditionDefinition extends MetadataResource { case PREADMIT: return "Pre-admit"; case DIFFDIAGNOSIS: return "Diff Diagnosis"; case OUTCOME: return "Outcome"; + case NULL: return null; default: return "?"; } } @@ -3116,7 +3124,7 @@ public class ConditionDefinition extends MetadataResource { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the condition definition. Topics provide a high-level categorization of the condition definition that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -3884,306 +3892,6 @@ public class ConditionDefinition extends MetadataResource { return ResourceType.ConditionDefinition; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the condition definition
- * Type: quantity
- * Path: (ConditionDefinition.useContext.value as Quantity) | (ConditionDefinition.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(ConditionDefinition.useContext.value as Quantity) | (ConditionDefinition.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the condition definition", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the condition definition
- * Type: quantity
- * Path: (ConditionDefinition.useContext.value as Quantity) | (ConditionDefinition.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the condition definition
- * Type: composite
- * Path: ConditionDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="ConditionDefinition.useContext", description="A use context type and quantity- or range-based value assigned to the condition definition", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the condition definition
- * Type: composite
- * Path: ConditionDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the condition definition
- * Type: composite
- * Path: ConditionDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="ConditionDefinition.useContext", description="A use context type and value assigned to the condition definition", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the condition definition
- * Type: composite
- * Path: ConditionDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the condition definition
- * Type: token
- * Path: ConditionDefinition.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="ConditionDefinition.useContext.code", description="A type of use context assigned to the condition definition", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the condition definition
- * Type: token
- * Path: ConditionDefinition.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the condition definition
- * Type: token
- * Path: (ConditionDefinition.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(ConditionDefinition.useContext.value as CodeableConcept)", description="A use context assigned to the condition definition", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the condition definition
- * Type: token
- * Path: (ConditionDefinition.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The condition definition publication date
- * Type: date
- * Path: ConditionDefinition.date
- *

- */ - @SearchParamDefinition(name="date", path="ConditionDefinition.date", description="The condition definition publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The condition definition publication date
- * Type: date
- * Path: ConditionDefinition.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: The description of the condition definition
- * Type: string
- * Path: ConditionDefinition.description
- *

- */ - @SearchParamDefinition(name="description", path="ConditionDefinition.description", description="The description of the condition definition", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the condition definition
- * Type: string
- * Path: ConditionDefinition.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the condition definition
- * Type: token
- * Path: ConditionDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ConditionDefinition.identifier", description="External identifier for the condition definition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the condition definition
- * Type: token
- * Path: ConditionDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the condition definition
- * Type: token
- * Path: ConditionDefinition.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="ConditionDefinition.jurisdiction", description="Intended jurisdiction for the condition definition", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the condition definition
- * Type: token
- * Path: ConditionDefinition.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the condition definition
- * Type: string
- * Path: ConditionDefinition.name
- *

- */ - @SearchParamDefinition(name="name", path="ConditionDefinition.name", description="Computationally friendly name of the condition definition", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the condition definition
- * Type: string
- * Path: ConditionDefinition.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the condition definition
- * Type: string
- * Path: ConditionDefinition.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="ConditionDefinition.publisher", description="Name of the publisher of the condition definition", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the condition definition
- * Type: string
- * Path: ConditionDefinition.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the condition definition
- * Type: token
- * Path: ConditionDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="ConditionDefinition.status", description="The current status of the condition definition", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the condition definition
- * Type: token
- * Path: ConditionDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the condition definition
- * Type: string
- * Path: ConditionDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="ConditionDefinition.title", description="The human-friendly name of the condition definition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the condition definition
- * Type: string
- * Path: ConditionDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the condition definition
- * Type: uri
- * Path: ConditionDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="ConditionDefinition.url", description="The uri that identifies the condition definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the condition definition
- * Type: uri
- * Path: ConditionDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the condition definition
- * Type: token
- * Path: ConditionDefinition.version
- *

- */ - @SearchParamDefinition(name="version", path="ConditionDefinition.version", description="The business version of the condition definition", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the condition definition
- * Type: token
- * Path: ConditionDefinition.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Consent.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Consent.java index 040917068..719c5da37 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Consent.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Consent.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class Consent extends DomainResource { case RELATED: return "related"; case DEPENDENTS: return "dependents"; case AUTHOREDBY: return "authoredby"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class Consent extends DomainResource { case RELATED: return "http://hl7.org/fhir/consent-data-meaning"; case DEPENDENTS: return "http://hl7.org/fhir/consent-data-meaning"; case AUTHOREDBY: return "http://hl7.org/fhir/consent-data-meaning"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class Consent extends DomainResource { case RELATED: return "The consent applies directly to the instance of the resource and instances it refers to."; case DEPENDENTS: return "The consent applies directly to the instance of the resource and instances that refer to it."; case AUTHOREDBY: return "The consent applies to instances of resources that are authored by."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class Consent extends DomainResource { case RELATED: return "Related"; case DEPENDENTS: return "Dependents"; case AUTHOREDBY: return "AuthoredBy"; + case NULL: return null; default: return "?"; } } @@ -206,6 +210,7 @@ public class Consent extends DomainResource { switch (this) { case DENY: return "deny"; case PERMIT: return "permit"; + case NULL: return null; default: return "?"; } } @@ -213,6 +218,7 @@ public class Consent extends DomainResource { switch (this) { case DENY: return "http://hl7.org/fhir/consent-provision-type"; case PERMIT: return "http://hl7.org/fhir/consent-provision-type"; + case NULL: return null; default: return "?"; } } @@ -220,6 +226,7 @@ public class Consent extends DomainResource { switch (this) { case DENY: return "Consent is denied for actions meeting these rules."; case PERMIT: return "Consent is provided for actions meeting these rules."; + case NULL: return null; default: return "?"; } } @@ -227,6 +234,7 @@ public class Consent extends DomainResource { switch (this) { case DENY: return "Deny"; case PERMIT: return "Permit"; + case NULL: return null; default: return "?"; } } @@ -282,6 +290,10 @@ public class Consent extends DomainResource { * The consent is terminated or replaced. */ INACTIVE, + /** + * The consent development has been terminated prior to completion. + */ + NOTDONE, /** * The consent was created wrongly (e.g. wrong patient) and should be ignored. */ @@ -303,6 +315,8 @@ public class Consent extends DomainResource { return ACTIVE; if ("inactive".equals(codeString)) return INACTIVE; + if ("not-done".equals(codeString)) + return NOTDONE; if ("entered-in-error".equals(codeString)) return ENTEREDINERROR; if ("unknown".equals(codeString)) @@ -317,8 +331,10 @@ public class Consent extends DomainResource { case DRAFT: return "draft"; case ACTIVE: return "active"; case INACTIVE: return "inactive"; + case NOTDONE: return "not-done"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -327,8 +343,10 @@ public class Consent extends DomainResource { case DRAFT: return "http://hl7.org/fhir/consent-state-codes"; case ACTIVE: return "http://hl7.org/fhir/consent-state-codes"; case INACTIVE: return "http://hl7.org/fhir/consent-state-codes"; + case NOTDONE: return "http://hl7.org/fhir/consent-state-codes"; case ENTEREDINERROR: return "http://hl7.org/fhir/consent-state-codes"; case UNKNOWN: return "http://hl7.org/fhir/consent-state-codes"; + case NULL: return null; default: return "?"; } } @@ -337,8 +355,10 @@ public class Consent extends DomainResource { case DRAFT: return "The consent is in development or awaiting use but is not yet intended to be acted upon."; case ACTIVE: return "The consent is to be followed and enforced."; case INACTIVE: return "The consent is terminated or replaced."; + case NOTDONE: return "The consent development has been terminated prior to completion."; case ENTEREDINERROR: return "The consent was created wrongly (e.g. wrong patient) and should be ignored."; case UNKNOWN: return "The resource is in an indeterminate state."; + case NULL: return null; default: return "?"; } } @@ -347,8 +367,10 @@ public class Consent extends DomainResource { case DRAFT: return "Pending"; case ACTIVE: return "Active"; case INACTIVE: return "Inactive"; + case NOTDONE: return "Abandoned"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -365,6 +387,8 @@ public class Consent extends DomainResource { return ConsentState.ACTIVE; if ("inactive".equals(codeString)) return ConsentState.INACTIVE; + if ("not-done".equals(codeString)) + return ConsentState.NOTDONE; if ("entered-in-error".equals(codeString)) return ConsentState.ENTEREDINERROR; if ("unknown".equals(codeString)) @@ -385,6 +409,8 @@ public class Consent extends DomainResource { return new Enumeration(this, ConsentState.ACTIVE); if ("inactive".equals(codeString)) return new Enumeration(this, ConsentState.INACTIVE); + if ("not-done".equals(codeString)) + return new Enumeration(this, ConsentState.NOTDONE); if ("entered-in-error".equals(codeString)) return new Enumeration(this, ConsentState.ENTEREDINERROR); if ("unknown".equals(codeString)) @@ -398,6 +424,8 @@ public class Consent extends DomainResource { return "active"; if (code == ConsentState.INACTIVE) return "inactive"; + if (code == ConsentState.NOTDONE) + return "not-done"; if (code == ConsentState.ENTEREDINERROR) return "entered-in-error"; if (code == ConsentState.UNKNOWN) @@ -410,139 +438,114 @@ public class Consent extends DomainResource { } @Block() - public static class ConsentPolicyComponent extends BackboneElement implements IBaseBackboneElement { + public static class ConsentPolicyBasisComponent extends BackboneElement implements IBaseBackboneElement { /** - * Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives. + * A Reference that identifies the policy the organization will enforce for this Consent. */ - @Child(name = "authority", type = {UriType.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Enforcement source for policy", formalDefinition="Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives." ) - protected UriType authority; + @Child(name = "reference", type = {Reference.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Reference backing policy resource", formalDefinition="A Reference that identifies the policy the organization will enforce for this Consent." ) + protected Reference reference; /** - * The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law. + * A URL that links to a computable version of the policy the organization will enforce for this Consent. */ - @Child(name = "uri", type = {UriType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Specific policy covered by this consent", formalDefinition="The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law." ) - protected UriType uri; + @Child(name = "url", type = {UrlType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="URL to a computable backing policy", formalDefinition="A URL that links to a computable version of the policy the organization will enforce for this Consent." ) + protected UrlType url; - private static final long serialVersionUID = 672275705L; + private static final long serialVersionUID = 252506182L; /** * Constructor */ - public ConsentPolicyComponent() { + public ConsentPolicyBasisComponent() { super(); } /** - * @return {@link #authority} (Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.). This is the underlying object with id, value and extensions. The accessor "getAuthority" gives direct access to the value + * @return {@link #reference} (A Reference that identifies the policy the organization will enforce for this Consent.) */ - public UriType getAuthorityElement() { - if (this.authority == null) + public Reference getReference() { + if (this.reference == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConsentPolicyComponent.authority"); + throw new Error("Attempt to auto-create ConsentPolicyBasisComponent.reference"); else if (Configuration.doAutoCreate()) - this.authority = new UriType(); // bb - return this.authority; + this.reference = new Reference(); // cc + return this.reference; } - public boolean hasAuthorityElement() { - return this.authority != null && !this.authority.isEmpty(); - } - - public boolean hasAuthority() { - return this.authority != null && !this.authority.isEmpty(); + public boolean hasReference() { + return this.reference != null && !this.reference.isEmpty(); } /** - * @param value {@link #authority} (Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.). This is the underlying object with id, value and extensions. The accessor "getAuthority" gives direct access to the value + * @param value {@link #reference} (A Reference that identifies the policy the organization will enforce for this Consent.) */ - public ConsentPolicyComponent setAuthorityElement(UriType value) { - this.authority = value; + public ConsentPolicyBasisComponent setReference(Reference value) { + this.reference = value; return this; } /** - * @return Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives. + * @return {@link #url} (A URL that links to a computable version of the policy the organization will enforce for this Consent.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ - public String getAuthority() { - return this.authority == null ? null : this.authority.getValue(); - } - - /** - * @param value Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives. - */ - public ConsentPolicyComponent setAuthority(String value) { - if (Utilities.noString(value)) - this.authority = null; - else { - if (this.authority == null) - this.authority = new UriType(); - this.authority.setValue(value); - } - return this; - } - - /** - * @return {@link #uri} (The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.). This is the underlying object with id, value and extensions. The accessor "getUri" gives direct access to the value - */ - public UriType getUriElement() { - if (this.uri == null) + public UrlType getUrlElement() { + if (this.url == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ConsentPolicyComponent.uri"); + throw new Error("Attempt to auto-create ConsentPolicyBasisComponent.url"); else if (Configuration.doAutoCreate()) - this.uri = new UriType(); // bb - return this.uri; + this.url = new UrlType(); // bb + return this.url; } - public boolean hasUriElement() { - return this.uri != null && !this.uri.isEmpty(); + public boolean hasUrlElement() { + return this.url != null && !this.url.isEmpty(); } - public boolean hasUri() { - return this.uri != null && !this.uri.isEmpty(); + public boolean hasUrl() { + return this.url != null && !this.url.isEmpty(); } /** - * @param value {@link #uri} (The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.). This is the underlying object with id, value and extensions. The accessor "getUri" gives direct access to the value + * @param value {@link #url} (A URL that links to a computable version of the policy the organization will enforce for this Consent.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ - public ConsentPolicyComponent setUriElement(UriType value) { - this.uri = value; + public ConsentPolicyBasisComponent setUrlElement(UrlType value) { + this.url = value; return this; } /** - * @return The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law. + * @return A URL that links to a computable version of the policy the organization will enforce for this Consent. */ - public String getUri() { - return this.uri == null ? null : this.uri.getValue(); + public String getUrl() { + return this.url == null ? null : this.url.getValue(); } /** - * @param value The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law. + * @param value A URL that links to a computable version of the policy the organization will enforce for this Consent. */ - public ConsentPolicyComponent setUri(String value) { + public ConsentPolicyBasisComponent setUrl(String value) { if (Utilities.noString(value)) - this.uri = null; + this.url = null; else { - if (this.uri == null) - this.uri = new UriType(); - this.uri.setValue(value); + if (this.url == null) + this.url = new UrlType(); + this.url.setValue(value); } return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("authority", "uri", "Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.", 0, 1, authority)); - children.add(new Property("uri", "uri", "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.", 0, 1, uri)); + children.add(new Property("reference", "Reference(Any)", "A Reference that identifies the policy the organization will enforce for this Consent.", 0, 1, reference)); + children.add(new Property("url", "url", "A URL that links to a computable version of the policy the organization will enforce for this Consent.", 0, 1, url)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 1475610435: /*authority*/ return new Property("authority", "uri", "Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.", 0, 1, authority); - case 116076: /*uri*/ return new Property("uri", "uri", "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.", 0, 1, uri); + case -925155509: /*reference*/ return new Property("reference", "Reference(Any)", "A Reference that identifies the policy the organization will enforce for this Consent.", 0, 1, reference); + case 116079: /*url*/ return new Property("url", "url", "A URL that links to a computable version of the policy the organization will enforce for this Consent.", 0, 1, url); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -551,8 +554,8 @@ public class Consent extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 1475610435: /*authority*/ return this.authority == null ? new Base[0] : new Base[] {this.authority}; // UriType - case 116076: /*uri*/ return this.uri == null ? new Base[0] : new Base[] {this.uri}; // UriType + case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // Reference + case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UrlType default: return super.getProperty(hash, name, checkValid); } @@ -561,11 +564,11 @@ public class Consent extends DomainResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case 1475610435: // authority - this.authority = TypeConvertor.castToUri(value); // UriType + case -925155509: // reference + this.reference = TypeConvertor.castToReference(value); // Reference return value; - case 116076: // uri - this.uri = TypeConvertor.castToUri(value); // UriType + case 116079: // url + this.url = TypeConvertor.castToUrl(value); // UrlType return value; default: return super.setProperty(hash, name, value); } @@ -574,10 +577,10 @@ public class Consent extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("authority")) { - this.authority = TypeConvertor.castToUri(value); // UriType - } else if (name.equals("uri")) { - this.uri = TypeConvertor.castToUri(value); // UriType + if (name.equals("reference")) { + this.reference = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("url")) { + this.url = TypeConvertor.castToUrl(value); // UrlType } else return super.setProperty(name, value); return value; @@ -586,8 +589,8 @@ public class Consent extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 1475610435: return getAuthorityElement(); - case 116076: return getUriElement(); + case -925155509: return getReference(); + case 116079: return getUrlElement(); default: return super.makeProperty(hash, name); } @@ -596,8 +599,8 @@ public class Consent extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 1475610435: /*authority*/ return new String[] {"uri"}; - case 116076: /*uri*/ return new String[] {"uri"}; + case -925155509: /*reference*/ return new String[] {"Reference"}; + case 116079: /*url*/ return new String[] {"url"}; default: return super.getTypesForProperty(hash, name); } @@ -605,54 +608,55 @@ public class Consent extends DomainResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("authority")) { - throw new FHIRException("Cannot call addChild on a primitive type Consent.policy.authority"); + if (name.equals("reference")) { + this.reference = new Reference(); + return this.reference; } - else if (name.equals("uri")) { - throw new FHIRException("Cannot call addChild on a primitive type Consent.policy.uri"); + else if (name.equals("url")) { + throw new FHIRException("Cannot call addChild on a primitive type Consent.policyBasis.url"); } else return super.addChild(name); } - public ConsentPolicyComponent copy() { - ConsentPolicyComponent dst = new ConsentPolicyComponent(); + public ConsentPolicyBasisComponent copy() { + ConsentPolicyBasisComponent dst = new ConsentPolicyBasisComponent(); copyValues(dst); return dst; } - public void copyValues(ConsentPolicyComponent dst) { + public void copyValues(ConsentPolicyBasisComponent dst) { super.copyValues(dst); - dst.authority = authority == null ? null : authority.copy(); - dst.uri = uri == null ? null : uri.copy(); + dst.reference = reference == null ? null : reference.copy(); + dst.url = url == null ? null : url.copy(); } @Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof ConsentPolicyComponent)) + if (!(other_ instanceof ConsentPolicyBasisComponent)) return false; - ConsentPolicyComponent o = (ConsentPolicyComponent) other_; - return compareDeep(authority, o.authority, true) && compareDeep(uri, o.uri, true); + ConsentPolicyBasisComponent o = (ConsentPolicyBasisComponent) other_; + return compareDeep(reference, o.reference, true) && compareDeep(url, o.url, true); } @Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof ConsentPolicyComponent)) + if (!(other_ instanceof ConsentPolicyBasisComponent)) return false; - ConsentPolicyComponent o = (ConsentPolicyComponent) other_; - return compareValues(authority, o.authority, true) && compareValues(uri, o.uri, true); + ConsentPolicyBasisComponent o = (ConsentPolicyBasisComponent) other_; + return compareValues(url, o.url, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(authority, uri); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(reference, url); } public String fhirType() { - return "Consent.policy"; + return "Consent.policyBasis"; } @@ -676,10 +680,10 @@ public class Consent extends DomainResource { protected CodeableConcept verificationType; /** - * The person who conducted the verification/validation of the Grantee decision. + * The person who conducted the verification/validation of the Grantor decision. */ @Child(name = "verifiedBy", type = {Organization.class, Practitioner.class, PractitionerRole.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Person conducting verification", formalDefinition="The person who conducted the verification/validation of the Grantee decision." ) + @Description(shortDefinition="Person conducting verification", formalDefinition="The person who conducted the verification/validation of the Grantor decision." ) protected Reference verifiedBy; /** @@ -783,7 +787,7 @@ public class Consent extends DomainResource { } /** - * @return {@link #verifiedBy} (The person who conducted the verification/validation of the Grantee decision.) + * @return {@link #verifiedBy} (The person who conducted the verification/validation of the Grantor decision.) */ public Reference getVerifiedBy() { if (this.verifiedBy == null) @@ -799,7 +803,7 @@ public class Consent extends DomainResource { } /** - * @param value {@link #verifiedBy} (The person who conducted the verification/validation of the Grantee decision.) + * @param value {@link #verifiedBy} (The person who conducted the verification/validation of the Grantor decision.) */ public ConsentVerificationComponent setVerifiedBy(Reference value) { this.verifiedBy = value; @@ -895,7 +899,7 @@ public class Consent extends DomainResource { super.listChildren(children); children.add(new Property("verified", "boolean", "Has the instruction been verified.", 0, 1, verified)); children.add(new Property("verificationType", "CodeableConcept", "Extensible list of verification type starting with verification and re-validation.", 0, 1, verificationType)); - children.add(new Property("verifiedBy", "Reference(Organization|Practitioner|PractitionerRole)", "The person who conducted the verification/validation of the Grantee decision.", 0, 1, verifiedBy)); + children.add(new Property("verifiedBy", "Reference(Organization|Practitioner|PractitionerRole)", "The person who conducted the verification/validation of the Grantor decision.", 0, 1, verifiedBy)); children.add(new Property("verifiedWith", "Reference(Patient|RelatedPerson)", "Who verified the instruction (Patient, Relative or other Authorized Person).", 0, 1, verifiedWith)); children.add(new Property("verificationDate", "dateTime", "Date(s) verification was collected.", 0, java.lang.Integer.MAX_VALUE, verificationDate)); } @@ -905,7 +909,7 @@ public class Consent extends DomainResource { switch (_hash) { case -1994383672: /*verified*/ return new Property("verified", "boolean", "Has the instruction been verified.", 0, 1, verified); case 642733045: /*verificationType*/ return new Property("verificationType", "CodeableConcept", "Extensible list of verification type starting with verification and re-validation.", 0, 1, verificationType); - case -1047292609: /*verifiedBy*/ return new Property("verifiedBy", "Reference(Organization|Practitioner|PractitionerRole)", "The person who conducted the verification/validation of the Grantee decision.", 0, 1, verifiedBy); + case -1047292609: /*verifiedBy*/ return new Property("verifiedBy", "Reference(Organization|Practitioner|PractitionerRole)", "The person who conducted the verification/validation of the Grantor decision.", 0, 1, verifiedBy); case -1425236050: /*verifiedWith*/ return new Property("verifiedWith", "Reference(Patient|RelatedPerson)", "Who verified the instruction (Patient, Relative or other Authorized Person).", 0, 1, verifiedWith); case 642233449: /*verificationDate*/ return new Property("verificationDate", "dateTime", "Date(s) verification was collected.", 0, java.lang.Integer.MAX_VALUE, verificationDate); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1075,7 +1079,7 @@ public class Consent extends DomainResource { /** * Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules. */ - @Child(name = "type", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Child(name = "type", type = {CodeType.class}, order=1, min=0, max=1, modifier=true, summary=true) @Description(shortDefinition="deny | permit", formalDefinition="Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/consent-provision-type") protected Enumeration type; @@ -1107,7 +1111,7 @@ public class Consent extends DomainResource { */ @Child(name = "securityLabel", type = {Coding.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Security Labels that define affected resources", formalDefinition="A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-labels") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-label-examples") protected List securityLabel; /** @@ -2471,7 +2475,7 @@ public class Consent extends DomainResource { * Indicates the current state of this Consent resource. */ @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) - @Description(shortDefinition="draft | active | inactive | entered-in-error | unknown", formalDefinition="Indicates the current state of this Consent resource." ) + @Description(shortDefinition="draft | active | inactive | not-done | entered-in-error | unknown", formalDefinition="Indicates the current state of this Consent resource." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/consent-state-codes") protected Enumeration status; @@ -2540,35 +2544,42 @@ public class Consent extends DomainResource { protected List sourceReference; /** - * The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law. + * A set of codes that indicate the regulatory basis (if any) that this consent supports. */ - @Child(name = "policy", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Policies covered by this consent", formalDefinition="The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law." ) - protected List policy; - - /** - * A reference to the specific base computable regulation or policy. - */ - @Child(name = "policyRule", type = {CodeableConcept.class}, order=12, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Regulation that this consents to", formalDefinition="A reference to the specific base computable regulation or policy." ) + @Child(name = "regulatoryBasis", type = {CodeableConcept.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Regulations establishing base Consent", formalDefinition="A set of codes that indicate the regulatory basis (if any) that this consent supports." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/consent-policy") - protected CodeableConcept policyRule; + protected List regulatoryBasis; /** - * Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person. + * A Reference or URL used to uniquely identify the policy the organization will enforce for this Consent. This Reference or URL should be specific to the version of the policy and should be dereferencable to a computable policy of some form. */ - @Child(name = "verification", type = {}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Consent Verified by patient or family", formalDefinition="Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person." ) + @Child(name = "policyBasis", type = {}, order=12, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Computable version of the backing policy", formalDefinition="A Reference or URL used to uniquely identify the policy the organization will enforce for this Consent. This Reference or URL should be specific to the version of the policy and should be dereferencable to a computable policy of some form." ) + protected ConsentPolicyBasisComponent policyBasis; + + /** + * A Reference to the human readable policy explaining the basis for the Consent. + */ + @Child(name = "policyText", type = {DocumentReference.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Human Readable Policy", formalDefinition="A Reference to the human readable policy explaining the basis for the Consent." ) + protected List policyText; + + /** + * Whether a treatment instruction (e.g. artificial respiration: yes or no) was verified with the patient, his/her family or another authorized person. + */ + @Child(name = "verification", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Consent Verified by patient or family", formalDefinition="Whether a treatment instruction (e.g. artificial respiration: yes or no) was verified with the patient, his/her family or another authorized person." ) protected List verification; /** * An exception to the base policy of this consent. An exception can be an addition or removal of access permissions. */ - @Child(name = "provision", type = {}, order=14, min=0, max=1, modifier=false, summary=true) + @Child(name = "provision", type = {}, order=15, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Constraints to the base Consent.policyRule/Consent.policy", formalDefinition="An exception to the base policy of this consent. An exception can be an addition or removal of access permissions." ) protected ProvisionComponent provision; - private static final long serialVersionUID = 1432735278L; + private static final long serialVersionUID = 1252772004L; /** * Constructor @@ -3128,84 +3139,137 @@ public class Consent extends DomainResource { } /** - * @return {@link #policy} (The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.) + * @return {@link #regulatoryBasis} (A set of codes that indicate the regulatory basis (if any) that this consent supports.) */ - public List getPolicy() { - if (this.policy == null) - this.policy = new ArrayList(); - return this.policy; + public List getRegulatoryBasis() { + if (this.regulatoryBasis == null) + this.regulatoryBasis = new ArrayList(); + return this.regulatoryBasis; } /** * @return Returns a reference to this for easy method chaining */ - public Consent setPolicy(List thePolicy) { - this.policy = thePolicy; + public Consent setRegulatoryBasis(List theRegulatoryBasis) { + this.regulatoryBasis = theRegulatoryBasis; return this; } - public boolean hasPolicy() { - if (this.policy == null) + public boolean hasRegulatoryBasis() { + if (this.regulatoryBasis == null) return false; - for (ConsentPolicyComponent item : this.policy) + for (CodeableConcept item : this.regulatoryBasis) if (!item.isEmpty()) return true; return false; } - public ConsentPolicyComponent addPolicy() { //3 - ConsentPolicyComponent t = new ConsentPolicyComponent(); - if (this.policy == null) - this.policy = new ArrayList(); - this.policy.add(t); + public CodeableConcept addRegulatoryBasis() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.regulatoryBasis == null) + this.regulatoryBasis = new ArrayList(); + this.regulatoryBasis.add(t); return t; } - public Consent addPolicy(ConsentPolicyComponent t) { //3 + public Consent addRegulatoryBasis(CodeableConcept t) { //3 if (t == null) return this; - if (this.policy == null) - this.policy = new ArrayList(); - this.policy.add(t); + if (this.regulatoryBasis == null) + this.regulatoryBasis = new ArrayList(); + this.regulatoryBasis.add(t); return this; } /** - * @return The first repetition of repeating field {@link #policy}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #regulatoryBasis}, creating it if it does not already exist {3} */ - public ConsentPolicyComponent getPolicyFirstRep() { - if (getPolicy().isEmpty()) { - addPolicy(); + public CodeableConcept getRegulatoryBasisFirstRep() { + if (getRegulatoryBasis().isEmpty()) { + addRegulatoryBasis(); } - return getPolicy().get(0); + return getRegulatoryBasis().get(0); } /** - * @return {@link #policyRule} (A reference to the specific base computable regulation or policy.) + * @return {@link #policyBasis} (A Reference or URL used to uniquely identify the policy the organization will enforce for this Consent. This Reference or URL should be specific to the version of the policy and should be dereferencable to a computable policy of some form.) */ - public CodeableConcept getPolicyRule() { - if (this.policyRule == null) + public ConsentPolicyBasisComponent getPolicyBasis() { + if (this.policyBasis == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Consent.policyRule"); + throw new Error("Attempt to auto-create Consent.policyBasis"); else if (Configuration.doAutoCreate()) - this.policyRule = new CodeableConcept(); // cc - return this.policyRule; + this.policyBasis = new ConsentPolicyBasisComponent(); // cc + return this.policyBasis; } - public boolean hasPolicyRule() { - return this.policyRule != null && !this.policyRule.isEmpty(); + public boolean hasPolicyBasis() { + return this.policyBasis != null && !this.policyBasis.isEmpty(); } /** - * @param value {@link #policyRule} (A reference to the specific base computable regulation or policy.) + * @param value {@link #policyBasis} (A Reference or URL used to uniquely identify the policy the organization will enforce for this Consent. This Reference or URL should be specific to the version of the policy and should be dereferencable to a computable policy of some form.) */ - public Consent setPolicyRule(CodeableConcept value) { - this.policyRule = value; + public Consent setPolicyBasis(ConsentPolicyBasisComponent value) { + this.policyBasis = value; return this; } /** - * @return {@link #verification} (Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.) + * @return {@link #policyText} (A Reference to the human readable policy explaining the basis for the Consent.) + */ + public List getPolicyText() { + if (this.policyText == null) + this.policyText = new ArrayList(); + return this.policyText; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Consent setPolicyText(List thePolicyText) { + this.policyText = thePolicyText; + return this; + } + + public boolean hasPolicyText() { + if (this.policyText == null) + return false; + for (Reference item : this.policyText) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addPolicyText() { //3 + Reference t = new Reference(); + if (this.policyText == null) + this.policyText = new ArrayList(); + this.policyText.add(t); + return t; + } + + public Consent addPolicyText(Reference t) { //3 + if (t == null) + return this; + if (this.policyText == null) + this.policyText = new ArrayList(); + this.policyText.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #policyText}, creating it if it does not already exist {3} + */ + public Reference getPolicyTextFirstRep() { + if (getPolicyText().isEmpty()) { + addPolicyText(); + } + return getPolicyText().get(0); + } + + /** + * @return {@link #verification} (Whether a treatment instruction (e.g. artificial respiration: yes or no) was verified with the patient, his/her family or another authorized person.) */ public List getVerification() { if (this.verification == null) @@ -3294,9 +3358,10 @@ public class Consent extends DomainResource { children.add(new Property("controller", "Reference(HealthcareService|Organization|Patient|Practitioner)", "The actor that controls/enforces the access according to the consent.", 0, java.lang.Integer.MAX_VALUE, controller)); children.add(new Property("sourceAttachment", "Attachment", "The source on which this consent statement is based. The source might be a scanned original paper form.", 0, java.lang.Integer.MAX_VALUE, sourceAttachment)); children.add(new Property("sourceReference", "Reference(Consent|DocumentReference|Contract|QuestionnaireResponse)", "A reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.", 0, java.lang.Integer.MAX_VALUE, sourceReference)); - children.add(new Property("policy", "", "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.", 0, java.lang.Integer.MAX_VALUE, policy)); - children.add(new Property("policyRule", "CodeableConcept", "A reference to the specific base computable regulation or policy.", 0, 1, policyRule)); - children.add(new Property("verification", "", "Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.", 0, java.lang.Integer.MAX_VALUE, verification)); + children.add(new Property("regulatoryBasis", "CodeableConcept", "A set of codes that indicate the regulatory basis (if any) that this consent supports.", 0, java.lang.Integer.MAX_VALUE, regulatoryBasis)); + children.add(new Property("policyBasis", "", "A Reference or URL used to uniquely identify the policy the organization will enforce for this Consent. This Reference or URL should be specific to the version of the policy and should be dereferencable to a computable policy of some form.", 0, 1, policyBasis)); + children.add(new Property("policyText", "Reference(DocumentReference)", "A Reference to the human readable policy explaining the basis for the Consent.", 0, java.lang.Integer.MAX_VALUE, policyText)); + children.add(new Property("verification", "", "Whether a treatment instruction (e.g. artificial respiration: yes or no) was verified with the patient, his/her family or another authorized person.", 0, java.lang.Integer.MAX_VALUE, verification)); children.add(new Property("provision", "", "An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.", 0, 1, provision)); } @@ -3314,9 +3379,10 @@ public class Consent extends DomainResource { case 637428636: /*controller*/ return new Property("controller", "Reference(HealthcareService|Organization|Patient|Practitioner)", "The actor that controls/enforces the access according to the consent.", 0, java.lang.Integer.MAX_VALUE, controller); case 1964406686: /*sourceAttachment*/ return new Property("sourceAttachment", "Attachment", "The source on which this consent statement is based. The source might be a scanned original paper form.", 0, java.lang.Integer.MAX_VALUE, sourceAttachment); case -244259472: /*sourceReference*/ return new Property("sourceReference", "Reference(Consent|DocumentReference|Contract|QuestionnaireResponse)", "A reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.", 0, java.lang.Integer.MAX_VALUE, sourceReference); - case -982670030: /*policy*/ return new Property("policy", "", "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.", 0, java.lang.Integer.MAX_VALUE, policy); - case 1593493326: /*policyRule*/ return new Property("policyRule", "CodeableConcept", "A reference to the specific base computable regulation or policy.", 0, 1, policyRule); - case -1484401125: /*verification*/ return new Property("verification", "", "Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.", 0, java.lang.Integer.MAX_VALUE, verification); + case -1780301690: /*regulatoryBasis*/ return new Property("regulatoryBasis", "CodeableConcept", "A set of codes that indicate the regulatory basis (if any) that this consent supports.", 0, java.lang.Integer.MAX_VALUE, regulatoryBasis); + case 2138287660: /*policyBasis*/ return new Property("policyBasis", "", "A Reference or URL used to uniquely identify the policy the organization will enforce for this Consent. This Reference or URL should be specific to the version of the policy and should be dereferencable to a computable policy of some form.", 0, 1, policyBasis); + case 1593537919: /*policyText*/ return new Property("policyText", "Reference(DocumentReference)", "A Reference to the human readable policy explaining the basis for the Consent.", 0, java.lang.Integer.MAX_VALUE, policyText); + case -1484401125: /*verification*/ return new Property("verification", "", "Whether a treatment instruction (e.g. artificial respiration: yes or no) was verified with the patient, his/her family or another authorized person.", 0, java.lang.Integer.MAX_VALUE, verification); case -547120939: /*provision*/ return new Property("provision", "", "An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.", 0, 1, provision); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3337,8 +3403,9 @@ public class Consent extends DomainResource { case 637428636: /*controller*/ return this.controller == null ? new Base[0] : this.controller.toArray(new Base[this.controller.size()]); // Reference case 1964406686: /*sourceAttachment*/ return this.sourceAttachment == null ? new Base[0] : this.sourceAttachment.toArray(new Base[this.sourceAttachment.size()]); // Attachment case -244259472: /*sourceReference*/ return this.sourceReference == null ? new Base[0] : this.sourceReference.toArray(new Base[this.sourceReference.size()]); // Reference - case -982670030: /*policy*/ return this.policy == null ? new Base[0] : this.policy.toArray(new Base[this.policy.size()]); // ConsentPolicyComponent - case 1593493326: /*policyRule*/ return this.policyRule == null ? new Base[0] : new Base[] {this.policyRule}; // CodeableConcept + case -1780301690: /*regulatoryBasis*/ return this.regulatoryBasis == null ? new Base[0] : this.regulatoryBasis.toArray(new Base[this.regulatoryBasis.size()]); // CodeableConcept + case 2138287660: /*policyBasis*/ return this.policyBasis == null ? new Base[0] : new Base[] {this.policyBasis}; // ConsentPolicyBasisComponent + case 1593537919: /*policyText*/ return this.policyText == null ? new Base[0] : this.policyText.toArray(new Base[this.policyText.size()]); // Reference case -1484401125: /*verification*/ return this.verification == null ? new Base[0] : this.verification.toArray(new Base[this.verification.size()]); // ConsentVerificationComponent case -547120939: /*provision*/ return this.provision == null ? new Base[0] : new Base[] {this.provision}; // ProvisionComponent default: return super.getProperty(hash, name, checkValid); @@ -3383,11 +3450,14 @@ public class Consent extends DomainResource { case -244259472: // sourceReference this.getSourceReference().add(TypeConvertor.castToReference(value)); // Reference return value; - case -982670030: // policy - this.getPolicy().add((ConsentPolicyComponent) value); // ConsentPolicyComponent + case -1780301690: // regulatoryBasis + this.getRegulatoryBasis().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; - case 1593493326: // policyRule - this.policyRule = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + case 2138287660: // policyBasis + this.policyBasis = (ConsentPolicyBasisComponent) value; // ConsentPolicyBasisComponent + return value; + case 1593537919: // policyText + this.getPolicyText().add(TypeConvertor.castToReference(value)); // Reference return value; case -1484401125: // verification this.getVerification().add((ConsentVerificationComponent) value); // ConsentVerificationComponent @@ -3425,10 +3495,12 @@ public class Consent extends DomainResource { this.getSourceAttachment().add(TypeConvertor.castToAttachment(value)); } else if (name.equals("sourceReference")) { this.getSourceReference().add(TypeConvertor.castToReference(value)); - } else if (name.equals("policy")) { - this.getPolicy().add((ConsentPolicyComponent) value); - } else if (name.equals("policyRule")) { - this.policyRule = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("regulatoryBasis")) { + this.getRegulatoryBasis().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("policyBasis")) { + this.policyBasis = (ConsentPolicyBasisComponent) value; // ConsentPolicyBasisComponent + } else if (name.equals("policyText")) { + this.getPolicyText().add(TypeConvertor.castToReference(value)); } else if (name.equals("verification")) { this.getVerification().add((ConsentVerificationComponent) value); } else if (name.equals("provision")) { @@ -3452,8 +3524,9 @@ public class Consent extends DomainResource { case 637428636: return addController(); case 1964406686: return addSourceAttachment(); case -244259472: return addSourceReference(); - case -982670030: return addPolicy(); - case 1593493326: return getPolicyRule(); + case -1780301690: return addRegulatoryBasis(); + case 2138287660: return getPolicyBasis(); + case 1593537919: return addPolicyText(); case -1484401125: return addVerification(); case -547120939: return getProvision(); default: return super.makeProperty(hash, name); @@ -3475,8 +3548,9 @@ public class Consent extends DomainResource { case 637428636: /*controller*/ return new String[] {"Reference"}; case 1964406686: /*sourceAttachment*/ return new String[] {"Attachment"}; case -244259472: /*sourceReference*/ return new String[] {"Reference"}; - case -982670030: /*policy*/ return new String[] {}; - case 1593493326: /*policyRule*/ return new String[] {"CodeableConcept"}; + case -1780301690: /*regulatoryBasis*/ return new String[] {"CodeableConcept"}; + case 2138287660: /*policyBasis*/ return new String[] {}; + case 1593537919: /*policyText*/ return new String[] {"Reference"}; case -1484401125: /*verification*/ return new String[] {}; case -547120939: /*provision*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); @@ -3520,12 +3594,15 @@ public class Consent extends DomainResource { else if (name.equals("sourceReference")) { return addSourceReference(); } - else if (name.equals("policy")) { - return addPolicy(); + else if (name.equals("regulatoryBasis")) { + return addRegulatoryBasis(); } - else if (name.equals("policyRule")) { - this.policyRule = new CodeableConcept(); - return this.policyRule; + else if (name.equals("policyBasis")) { + this.policyBasis = new ConsentPolicyBasisComponent(); + return this.policyBasis; + } + else if (name.equals("policyText")) { + return addPolicyText(); } else if (name.equals("verification")) { return addVerification(); @@ -3594,12 +3671,17 @@ public class Consent extends DomainResource { for (Reference i : sourceReference) dst.sourceReference.add(i.copy()); }; - if (policy != null) { - dst.policy = new ArrayList(); - for (ConsentPolicyComponent i : policy) - dst.policy.add(i.copy()); + if (regulatoryBasis != null) { + dst.regulatoryBasis = new ArrayList(); + for (CodeableConcept i : regulatoryBasis) + dst.regulatoryBasis.add(i.copy()); + }; + dst.policyBasis = policyBasis == null ? null : policyBasis.copy(); + if (policyText != null) { + dst.policyText = new ArrayList(); + for (Reference i : policyText) + dst.policyText.add(i.copy()); }; - dst.policyRule = policyRule == null ? null : policyRule.copy(); if (verification != null) { dst.verification = new ArrayList(); for (ConsentVerificationComponent i : verification) @@ -3623,7 +3705,8 @@ public class Consent extends DomainResource { && compareDeep(subject, o.subject, true) && compareDeep(dateTime, o.dateTime, true) && compareDeep(grantor, o.grantor, true) && compareDeep(grantee, o.grantee, true) && compareDeep(manager, o.manager, true) && compareDeep(controller, o.controller, true) && compareDeep(sourceAttachment, o.sourceAttachment, true) && compareDeep(sourceReference, o.sourceReference, true) - && compareDeep(policy, o.policy, true) && compareDeep(policyRule, o.policyRule, true) && compareDeep(verification, o.verification, true) + && compareDeep(regulatoryBasis, o.regulatoryBasis, true) && compareDeep(policyBasis, o.policyBasis, true) + && compareDeep(policyText, o.policyText, true) && compareDeep(verification, o.verification, true) && compareDeep(provision, o.provision, true); } @@ -3640,7 +3723,7 @@ public class Consent extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, category , subject, dateTime, grantor, grantee, manager, controller, sourceAttachment, sourceReference - , policy, policyRule, verification, provision); + , regulatoryBasis, policyBasis, policyText, verification, provision); } @Override @@ -3648,604 +3731,6 @@ public class Consent extends DomainResource { return ResourceType.Consent; } - /** - * Search parameter: action - *

- * Description: Actions controlled by this rule
- * Type: token
- * Path: Consent.provision.action
- *

- */ - @SearchParamDefinition(name="action", path="Consent.provision.action", description="Actions controlled by this rule", type="token" ) - public static final String SP_ACTION = "action"; - /** - * Fluent Client search parameter constant for action - *

- * Description: Actions controlled by this rule
- * Type: token
- * Path: Consent.provision.action
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTION); - - /** - * Search parameter: actor - *

- * Description: Resource for the actor (or group, by role)
- * Type: reference
- * Path: Consent.provision.actor.reference
- *

- */ - @SearchParamDefinition(name="actor", path="Consent.provision.actor.reference", description="Resource for the actor (or group, by role)", type="reference", target={CareTeam.class, Device.class, Group.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ACTOR = "actor"; - /** - * Fluent Client search parameter constant for actor - *

- * Description: Resource for the actor (or group, by role)
- * Type: reference
- * Path: Consent.provision.actor.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:actor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR = new ca.uhn.fhir.model.api.Include("Consent:actor").toLocked(); - - /** - * Search parameter: category - *

- * Description: Classification of the consent statement - for indexing/retrieval
- * Type: token
- * Path: Consent.category
- *

- */ - @SearchParamDefinition(name="category", path="Consent.category", description="Classification of the consent statement - for indexing/retrieval", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Classification of the consent statement - for indexing/retrieval
- * Type: token
- * Path: Consent.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: controller - *

- * Description: Consent Enforcer
- * Type: reference
- * Path: Consent.controller
- *

- */ - @SearchParamDefinition(name="controller", path="Consent.controller", description="Consent Enforcer", type="reference", target={HealthcareService.class, Organization.class, Patient.class, Practitioner.class } ) - public static final String SP_CONTROLLER = "controller"; - /** - * Fluent Client search parameter constant for controller - *

- * Description: Consent Enforcer
- * Type: reference
- * Path: Consent.controller
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTROLLER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTROLLER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:controller". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTROLLER = new ca.uhn.fhir.model.api.Include("Consent:controller").toLocked(); - - /** - * Search parameter: data - *

- * Description: The actual data reference
- * Type: reference
- * Path: Consent.provision.data.reference
- *

- */ - @SearchParamDefinition(name="data", path="Consent.provision.data.reference", description="The actual data reference", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DATA = "data"; - /** - * Fluent Client search parameter constant for data - *

- * Description: The actual data reference
- * Type: reference
- * Path: Consent.provision.data.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DATA = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DATA); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:data". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DATA = new ca.uhn.fhir.model.api.Include("Consent:data").toLocked(); - - /** - * Search parameter: grantee - *

- * Description: Who is agreeing to the policy and rules
- * Type: reference
- * Path: Consent.grantee
- *

- */ - @SearchParamDefinition(name="grantee", path="Consent.grantee", description="Who is agreeing to the policy and rules", type="reference", target={CareTeam.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_GRANTEE = "grantee"; - /** - * Fluent Client search parameter constant for grantee - *

- * Description: Who is agreeing to the policy and rules
- * Type: reference
- * Path: Consent.grantee
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GRANTEE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GRANTEE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:grantee". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GRANTEE = new ca.uhn.fhir.model.api.Include("Consent:grantee").toLocked(); - - /** - * Search parameter: manager - *

- * Description: Consent workflow management
- * Type: reference
- * Path: Consent.manager
- *

- */ - @SearchParamDefinition(name="manager", path="Consent.manager", description="Consent workflow management", type="reference", target={HealthcareService.class, Organization.class, Patient.class, Practitioner.class } ) - public static final String SP_MANAGER = "manager"; - /** - * Fluent Client search parameter constant for manager - *

- * Description: Consent workflow management
- * Type: reference
- * Path: Consent.manager
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANAGER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANAGER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:manager". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANAGER = new ca.uhn.fhir.model.api.Include("Consent:manager").toLocked(); - - /** - * Search parameter: period - *

- * Description: Timeframe for this rule
- * Type: date
- * Path: Consent.provision.period
- *

- */ - @SearchParamDefinition(name="period", path="Consent.provision.period", description="Timeframe for this rule", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: Timeframe for this rule
- * Type: date
- * Path: Consent.provision.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: policy-uri - *

- * Description: Search for Consents aligned with a specific policy or policy date/version. URIs should be complete with date/version and not assume the Resource will maintain versioning information
- * Type: uri
- * Path: Consent.policy.uri
- *

- */ - @SearchParamDefinition(name="policy-uri", path="Consent.policy.uri", description="Search for Consents aligned with a specific policy or policy date/version. URIs should be complete with date/version and not assume the Resource will maintain versioning information", type="uri" ) - public static final String SP_POLICY_URI = "policy-uri"; - /** - * Fluent Client search parameter constant for policy-uri - *

- * Description: Search for Consents aligned with a specific policy or policy date/version. URIs should be complete with date/version and not assume the Resource will maintain versioning information
- * Type: uri
- * Path: Consent.policy.uri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam POLICY_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_POLICY_URI); - - /** - * Search parameter: purpose - *

- * Description: Context of activities covered by this rule
- * Type: token
- * Path: Consent.provision.purpose
- *

- */ - @SearchParamDefinition(name="purpose", path="Consent.provision.purpose", description="Context of activities covered by this rule", type="token" ) - public static final String SP_PURPOSE = "purpose"; - /** - * Fluent Client search parameter constant for purpose - *

- * Description: Context of activities covered by this rule
- * Type: token
- * Path: Consent.provision.purpose
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PURPOSE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PURPOSE); - - /** - * Search parameter: security-label - *

- * Description: Security Labels that define affected resources
- * Type: token
- * Path: Consent.provision.securityLabel
- *

- */ - @SearchParamDefinition(name="security-label", path="Consent.provision.securityLabel", description="Security Labels that define affected resources", type="token" ) - public static final String SP_SECURITY_LABEL = "security-label"; - /** - * Fluent Client search parameter constant for security-label - *

- * Description: Security Labels that define affected resources
- * Type: token
- * Path: Consent.provision.securityLabel
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECURITY_LABEL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SECURITY_LABEL); - - /** - * Search parameter: source-reference - *

- * Description: Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse
- * Type: reference
- * Path: Consent.sourceReference
- *

- */ - @SearchParamDefinition(name="source-reference", path="Consent.sourceReference", description="Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse", type="reference", target={Consent.class, Contract.class, DocumentReference.class, QuestionnaireResponse.class } ) - public static final String SP_SOURCE_REFERENCE = "source-reference"; - /** - * Fluent Client search parameter constant for source-reference - *

- * Description: Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse
- * Type: reference
- * Path: Consent.sourceReference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:source-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE_REFERENCE = new ca.uhn.fhir.model.api.Include("Consent:source-reference").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | active | inactive | entered-in-error | unknown
- * Type: token
- * Path: Consent.status
- *

- */ - @SearchParamDefinition(name="status", path="Consent.status", description="draft | active | inactive | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | inactive | entered-in-error | unknown
- * Type: token
- * Path: Consent.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Who the consent applies to
- * Type: reference
- * Path: Consent.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Consent.subject", description="Who the consent applies to", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class, Practitioner.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who the consent applies to
- * Type: reference
- * Path: Consent.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Consent:subject").toLocked(); - - /** - * Search parameter: verified-date - *

- * Description: When consent verified
- * Type: date
- * Path: Consent.verification.verificationDate
- *

- */ - @SearchParamDefinition(name="verified-date", path="Consent.verification.verificationDate", description="When consent verified", type="date" ) - public static final String SP_VERIFIED_DATE = "verified-date"; - /** - * Fluent Client search parameter constant for verified-date - *

- * Description: When consent verified
- * Type: date
- * Path: Consent.verification.verificationDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam VERIFIED_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_VERIFIED_DATE); - - /** - * Search parameter: verified - *

- * Description: Has been verified
- * Type: token
- * Path: Consent.verification.verified
- *

- */ - @SearchParamDefinition(name="verified", path="Consent.verification.verified", description="Has been verified", type="token" ) - public static final String SP_VERIFIED = "verified"; - /** - * Fluent Client search parameter constant for verified - *

- * Description: Has been verified
- * Type: token
- * Path: Consent.verification.verified
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERIFIED = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERIFIED); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Consent:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Consent:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Constants.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Constants.java index cdeadb62c..1df13af28 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Constants.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Constants.java @@ -30,17 +30,17 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR v4.6.0 public class Constants { - public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|ClinicalUseIssue|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|ConceptMap2|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}"; + public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}"; public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System."; - public final static String VERSION = "5.0.0-snapshot1"; - public final static String VERSION_MM = "5.0"; - public final static String DATE = "Tue, Dec 28, 2021 07:16+1100"; - public final static String URI_REGEX = "((http|https)://([A-Za-z0-9\\\\\\.\\:\\%\\$]*\\/)*)?(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|ClinicalUseIssue|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|ConceptMap2|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?"; + public final static String VERSION = "4.6.0"; + public final static String VERSION_MM = "4.6"; + public final static String DATE = "Fri, Jul 15, 2022 11:20+1000"; + public final static String URI_REGEX = "((http|https)://([A-Za-z0-9\\\\\\.\\:\\%\\$]*\\/)*)?(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|ArtifactAssessment|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseDefinition|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceDispense|DeviceMetric|DeviceRequest|DeviceUsage|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceReport|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|FormularyItem|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|InventoryReport|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Transport|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?"; } \ No newline at end of file diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactDetail.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactDetail.java index d1f2705d4..74bc23675 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactDetail.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactDetail.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactPoint.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactPoint.java index 50b1b5adc..bb3d562a2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactPoint.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ContactPoint.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -115,6 +115,7 @@ public class ContactPoint extends DataType implements ICompositeType { case URL: return "url"; case SMS: return "sms"; case OTHER: return "other"; + case NULL: return null; default: return "?"; } } @@ -127,6 +128,7 @@ public class ContactPoint extends DataType implements ICompositeType { case URL: return "http://hl7.org/fhir/contact-point-system"; case SMS: return "http://hl7.org/fhir/contact-point-system"; case OTHER: return "http://hl7.org/fhir/contact-point-system"; + case NULL: return null; default: return "?"; } } @@ -139,6 +141,7 @@ public class ContactPoint extends DataType implements ICompositeType { case URL: return "A contact that is not a phone, fax, pager or email address and is expressed as a URL. This is intended for various institutional or personal contacts including web sites, blogs, Skype, Twitter, Facebook, etc. Do not use for email addresses."; case SMS: return "A contact that can be used for sending an sms message (e.g. mobile phones, some landlines)."; case OTHER: return "A contact that is not a phone, fax, page or email address and is not expressible as a URL. E.g. Internal mail address. This SHOULD NOT be used for contacts that are expressible as a URL (e.g. Skype, Twitter, Facebook, etc.) Extensions may be used to distinguish \"other\" contact types."; + case NULL: return null; default: return "?"; } } @@ -151,6 +154,7 @@ public class ContactPoint extends DataType implements ICompositeType { case URL: return "URL"; case SMS: return "SMS"; case OTHER: return "Other"; + case NULL: return null; default: return "?"; } } @@ -273,6 +277,7 @@ public class ContactPoint extends DataType implements ICompositeType { case TEMP: return "temp"; case OLD: return "old"; case MOBILE: return "mobile"; + case NULL: return null; default: return "?"; } } @@ -283,6 +288,7 @@ public class ContactPoint extends DataType implements ICompositeType { 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 NULL: return null; default: return "?"; } } @@ -293,6 +299,7 @@ public class ContactPoint extends DataType implements ICompositeType { case TEMP: return "A temporary contact point. The period can provide more detailed information."; case OLD: return "This contact point is no longer in use (or was never correct, but retained for records)."; case MOBILE: return "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 NULL: return null; default: return "?"; } } @@ -303,6 +310,7 @@ public class ContactPoint extends DataType implements ICompositeType { case TEMP: return "Temp"; case OLD: return "Old"; case MOBILE: return "Mobile"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contract.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contract.java index 7798c750d..da6ea83aa 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contract.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contract.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -174,6 +174,7 @@ public class Contract extends DomainResource { case REVOKED: return "revoked"; case RESOLVED: return "resolved"; case TERMINATED: return "terminated"; + case NULL: return null; default: return "?"; } } @@ -194,6 +195,7 @@ public class Contract extends DomainResource { case REVOKED: return "http://hl7.org/fhir/contract-publicationstatus"; case RESOLVED: return "http://hl7.org/fhir/contract-publicationstatus"; case TERMINATED: return "http://hl7.org/fhir/contract-publicationstatus"; + case NULL: return null; default: return "?"; } } @@ -214,6 +216,7 @@ public class Contract extends DomainResource { case REVOKED: return "A Contract that is rescinded. May be required prior to replacing with an updated Contract. Comparable FHIR and v.3 status codes: nullified."; case RESOLVED: return "Contract is reactivated after being pended because of faulty execution. *E.g., competency of the signer(s), or where the policy is substantially different from and did not accompany the application/form so that the applicant could not compare them. Aka - ''reactivated''. Usage: Optional stage where a pended contract is reactivated. Precedence Order = 8. Comparable FHIR and v.3 status codes: reactivated."; case TERMINATED: return "Contract reaches its expiry date. It might or might not be renewed or renegotiated. Usage: Normal end of contract period. Precedence Order = 12. Comparable FHIR and v.3 status codes: Obsoleted."; + case NULL: return null; default: return "?"; } } @@ -234,6 +237,7 @@ public class Contract extends DomainResource { case REVOKED: return "Revoked"; case RESOLVED: return "Resolved"; case TERMINATED: return "Terminated"; + case NULL: return null; default: return "?"; } } @@ -474,6 +478,7 @@ public class Contract extends DomainResource { case REVOKED: return "revoked"; case RESOLVED: return "resolved"; case TERMINATED: return "terminated"; + case NULL: return null; default: return "?"; } } @@ -494,6 +499,7 @@ public class Contract extends DomainResource { case REVOKED: return "http://hl7.org/fhir/contract-status"; case RESOLVED: return "http://hl7.org/fhir/contract-status"; case TERMINATED: return "http://hl7.org/fhir/contract-status"; + case NULL: return null; default: return "?"; } } @@ -514,6 +520,7 @@ public class Contract extends DomainResource { case REVOKED: return "A Contract that is rescinded. May be required prior to replacing with an updated Contract. Comparable FHIR and v.3 status codes: nullified."; case RESOLVED: return "Contract is reactivated after being pended because of faulty execution. *E.g., competency of the signer(s), or where the policy is substantially different from and did not accompany the application/form so that the applicant could not compare them. Aka - ''reactivated''. Usage: Optional stage where a pended contract is reactivated. Precedence Order = 8. Comparable FHIR and v.3 status codes: reactivated."; case TERMINATED: return "Contract reaches its expiry date. It might or might not be renewed or renegotiated. Usage: Normal end of contract period. Precedence Order = 12. Comparable FHIR and v.3 status codes: Obsoleted."; + case NULL: return null; default: return "?"; } } @@ -534,6 +541,7 @@ public class Contract extends DomainResource { case REVOKED: return "Revoked"; case RESOLVED: return "Resolved"; case TERMINATED: return "Terminated"; + case NULL: return null; default: return "?"; } } @@ -11430,236 +11438,6 @@ public class Contract extends DomainResource { return ResourceType.Contract; } - /** - * Search parameter: authority - *

- * Description: The authority of the contract
- * Type: reference
- * Path: Contract.authority
- *

- */ - @SearchParamDefinition(name="authority", path="Contract.authority", description="The authority of the contract", type="reference", target={Organization.class } ) - public static final String SP_AUTHORITY = "authority"; - /** - * Fluent Client search parameter constant for authority - *

- * Description: The authority of the contract
- * Type: reference
- * Path: Contract.authority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHORITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHORITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Contract:authority". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHORITY = new ca.uhn.fhir.model.api.Include("Contract:authority").toLocked(); - - /** - * Search parameter: domain - *

- * Description: The domain of the contract
- * Type: reference
- * Path: Contract.domain
- *

- */ - @SearchParamDefinition(name="domain", path="Contract.domain", description="The domain of the contract", type="reference", target={Location.class } ) - public static final String SP_DOMAIN = "domain"; - /** - * Fluent Client search parameter constant for domain - *

- * Description: The domain of the contract
- * Type: reference
- * Path: Contract.domain
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DOMAIN = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DOMAIN); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Contract:domain". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DOMAIN = new ca.uhn.fhir.model.api.Include("Contract:domain").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: The identity of the contract
- * Type: token
- * Path: Contract.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Contract.identifier", description="The identity of the contract", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The identity of the contract
- * Type: token
- * Path: Contract.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: instantiates - *

- * Description: A source definition of the contract
- * Type: uri
- * Path: Contract.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates", path="Contract.instantiatesUri", description="A source definition of the contract", type="uri" ) - public static final String SP_INSTANTIATES = "instantiates"; - /** - * Fluent Client search parameter constant for instantiates - *

- * Description: A source definition of the contract
- * Type: uri
- * Path: Contract.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES); - - /** - * Search parameter: issued - *

- * Description: The date/time the contract was issued
- * Type: date
- * Path: Contract.issued
- *

- */ - @SearchParamDefinition(name="issued", path="Contract.issued", description="The date/time the contract was issued", type="date" ) - public static final String SP_ISSUED = "issued"; - /** - * Fluent Client search parameter constant for issued - *

- * Description: The date/time the contract was issued
- * Type: date
- * Path: Contract.issued
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ISSUED); - - /** - * Search parameter: patient - *

- * Description: The identity of the subject of the contract (if a patient)
- * Type: reference
- * Path: Contract.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Contract.subject.where(resolve() is Patient)", description="The identity of the subject of the contract (if a patient)", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The identity of the subject of the contract (if a patient)
- * Type: reference
- * Path: Contract.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Contract:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Contract:patient").toLocked(); - - /** - * Search parameter: signer - *

- * Description: Contract Signatory Party
- * Type: reference
- * Path: Contract.signer.party
- *

- */ - @SearchParamDefinition(name="signer", path="Contract.signer.party", description="Contract Signatory Party", type="reference", target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SIGNER = "signer"; - /** - * Fluent Client search parameter constant for signer - *

- * Description: Contract Signatory Party
- * Type: reference
- * Path: Contract.signer.party
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SIGNER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SIGNER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Contract:signer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SIGNER = new ca.uhn.fhir.model.api.Include("Contract:signer").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the contract
- * Type: token
- * Path: Contract.status
- *

- */ - @SearchParamDefinition(name="status", path="Contract.status", description="The status of the contract", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the contract
- * Type: token
- * Path: Contract.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The identity of the subject of the contract
- * Type: reference
- * Path: Contract.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Contract.subject", description="The identity of the subject of the contract", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of the subject of the contract
- * Type: reference
- * Path: Contract.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Contract:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Contract:subject").toLocked(); - - /** - * Search parameter: url - *

- * Description: The basal contract definition
- * Type: uri
- * Path: Contract.url
- *

- */ - @SearchParamDefinition(name="url", path="Contract.url", description="The basal contract definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The basal contract definition
- * Type: uri
- * Path: Contract.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contributor.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contributor.java index 9149d5dec..6a92117d7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contributor.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Contributor.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -94,6 +94,7 @@ public class Contributor extends DataType implements ICompositeType { case EDITOR: return "editor"; case REVIEWER: return "reviewer"; case ENDORSER: return "endorser"; + case NULL: return null; default: return "?"; } } @@ -103,6 +104,7 @@ public class Contributor extends DataType implements ICompositeType { case EDITOR: return "http://hl7.org/fhir/contributor-type"; case REVIEWER: return "http://hl7.org/fhir/contributor-type"; case ENDORSER: return "http://hl7.org/fhir/contributor-type"; + case NULL: return null; default: return "?"; } } @@ -112,6 +114,7 @@ public class Contributor extends DataType implements ICompositeType { case EDITOR: return "An editor of the content of the module."; case REVIEWER: return "A reviewer of the content of the module."; case ENDORSER: return "An endorser of the content of the module."; + case NULL: return null; default: return "?"; } } @@ -121,6 +124,7 @@ public class Contributor extends DataType implements ICompositeType { case EDITOR: return "Editor"; case REVIEWER: return "Reviewer"; case ENDORSER: return "Endorser"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Count.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Count.java index cf985e22f..99657814a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Count.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Count.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coverage.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coverage.java index 86ab92676..12b109181 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coverage.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Coverage.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -2077,256 +2077,6 @@ public class Coverage extends DomainResource { return ResourceType.Coverage; } - /** - * Search parameter: beneficiary - *

- * Description: Covered party
- * Type: reference
- * Path: Coverage.beneficiary
- *

- */ - @SearchParamDefinition(name="beneficiary", path="Coverage.beneficiary", description="Covered party", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_BENEFICIARY = "beneficiary"; - /** - * Fluent Client search parameter constant for beneficiary - *

- * Description: Covered party
- * Type: reference
- * Path: Coverage.beneficiary
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BENEFICIARY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BENEFICIARY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Coverage:beneficiary". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BENEFICIARY = new ca.uhn.fhir.model.api.Include("Coverage:beneficiary").toLocked(); - - /** - * Search parameter: class-type - *

- * Description: Coverage class (eg. plan, group)
- * Type: token
- * Path: Coverage.class.type
- *

- */ - @SearchParamDefinition(name="class-type", path="Coverage.class.type", description="Coverage class (eg. plan, group)", type="token" ) - public static final String SP_CLASS_TYPE = "class-type"; - /** - * Fluent Client search parameter constant for class-type - *

- * Description: Coverage class (eg. plan, group)
- * Type: token
- * Path: Coverage.class.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASS_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLASS_TYPE); - - /** - * Search parameter: class-value - *

- * Description: Value of the class (eg. Plan number, group number)
- * Type: string
- * Path: Coverage.class.value
- *

- */ - @SearchParamDefinition(name="class-value", path="Coverage.class.value", description="Value of the class (eg. Plan number, group number)", type="string" ) - public static final String SP_CLASS_VALUE = "class-value"; - /** - * Fluent Client search parameter constant for class-value - *

- * Description: Value of the class (eg. Plan number, group number)
- * Type: string
- * Path: Coverage.class.value
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam CLASS_VALUE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_CLASS_VALUE); - - /** - * Search parameter: dependent - *

- * Description: Dependent number
- * Type: string
- * Path: Coverage.dependent
- *

- */ - @SearchParamDefinition(name="dependent", path="Coverage.dependent", description="Dependent number", type="string" ) - public static final String SP_DEPENDENT = "dependent"; - /** - * Fluent Client search parameter constant for dependent - *

- * Description: Dependent number
- * Type: string
- * Path: Coverage.dependent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DEPENDENT = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DEPENDENT); - - /** - * Search parameter: identifier - *

- * Description: The primary identifier of the insured and the coverage
- * Type: token
- * Path: Coverage.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Coverage.identifier", description="The primary identifier of the insured and the coverage", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The primary identifier of the insured and the coverage
- * Type: token
- * Path: Coverage.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Retrieve coverages for a patient
- * Type: reference
- * Path: Coverage.beneficiary
- *

- */ - @SearchParamDefinition(name="patient", path="Coverage.beneficiary", description="Retrieve coverages for a patient", type="reference", target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Retrieve coverages for a patient
- * Type: reference
- * Path: Coverage.beneficiary
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Coverage:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Coverage:patient").toLocked(); - - /** - * Search parameter: payor - *

- * Description: The identity of the insurer or party paying for services
- * Type: reference
- * Path: Coverage.payor
- *

- */ - @SearchParamDefinition(name="payor", path="Coverage.payor", description="The identity of the insurer or party paying for services", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, RelatedPerson.class } ) - public static final String SP_PAYOR = "payor"; - /** - * Fluent Client search parameter constant for payor - *

- * Description: The identity of the insurer or party paying for services
- * Type: reference
- * Path: Coverage.payor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PAYOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PAYOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Coverage:payor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PAYOR = new ca.uhn.fhir.model.api.Include("Coverage:payor").toLocked(); - - /** - * Search parameter: policy-holder - *

- * Description: Reference to the policyholder
- * Type: reference
- * Path: Coverage.policyHolder
- *

- */ - @SearchParamDefinition(name="policy-holder", path="Coverage.policyHolder", description="Reference to the policyholder", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, RelatedPerson.class } ) - public static final String SP_POLICY_HOLDER = "policy-holder"; - /** - * Fluent Client search parameter constant for policy-holder - *

- * Description: Reference to the policyholder
- * Type: reference
- * Path: Coverage.policyHolder
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam POLICY_HOLDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_POLICY_HOLDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Coverage:policy-holder". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_POLICY_HOLDER = new ca.uhn.fhir.model.api.Include("Coverage:policy-holder").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the Coverage
- * Type: token
- * Path: Coverage.status
- *

- */ - @SearchParamDefinition(name="status", path="Coverage.status", description="The status of the Coverage", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the Coverage
- * Type: token
- * Path: Coverage.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subscriber - *

- * Description: Reference to the subscriber
- * Type: reference
- * Path: Coverage.subscriber
- *

- */ - @SearchParamDefinition(name="subscriber", path="Coverage.subscriber", description="Reference to the subscriber", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Patient.class, RelatedPerson.class } ) - public static final String SP_SUBSCRIBER = "subscriber"; - /** - * Fluent Client search parameter constant for subscriber - *

- * Description: Reference to the subscriber
- * Type: reference
- * Path: Coverage.subscriber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSCRIBER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBSCRIBER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Coverage:subscriber". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSCRIBER = new ca.uhn.fhir.model.api.Include("Coverage:subscriber").toLocked(); - - /** - * Search parameter: type - *

- * Description: The kind of coverage (health plan, auto, Workers Compensation)
- * Type: token
- * Path: Coverage.type
- *

- */ - @SearchParamDefinition(name="type", path="Coverage.type", description="The kind of coverage (health plan, auto, Workers Compensation)", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The kind of coverage (health plan, auto, Workers Compensation)
- * Type: token
- * Path: Coverage.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityRequest.java index 7535b3b8c..13323e5cc 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class CoverageEligibilityRequest extends DomainResource { case BENEFITS: return "benefits"; case DISCOVERY: return "discovery"; case VALIDATION: return "validation"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class CoverageEligibilityRequest extends DomainResource { case BENEFITS: return "http://hl7.org/fhir/eligibilityrequest-purpose"; case DISCOVERY: return "http://hl7.org/fhir/eligibilityrequest-purpose"; case VALIDATION: return "http://hl7.org/fhir/eligibilityrequest-purpose"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class CoverageEligibilityRequest extends DomainResource { case BENEFITS: return "The plan benefits and optionally benefits consumed for the listed, or discovered if specified, converages are requested."; case DISCOVERY: return "The insurer is requested to report on any coverages which they are aware of in addition to any specifed."; case VALIDATION: return "A check that the specified coverages are in-force is requested."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class CoverageEligibilityRequest extends DomainResource { case BENEFITS: return "Coverage benefits"; case DISCOVERY: return "Coverage Discovery"; case VALIDATION: return "Coverage Validation"; + case NULL: return null; default: return "?"; } } @@ -2710,170 +2714,6 @@ public class CoverageEligibilityRequest extends DomainResource { return ResourceType.CoverageEligibilityRequest; } - /** - * Search parameter: created - *

- * Description: The creation date for the EOB
- * Type: date
- * Path: CoverageEligibilityRequest.created
- *

- */ - @SearchParamDefinition(name="created", path="CoverageEligibilityRequest.created", description="The creation date for the EOB", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: The creation date for the EOB
- * Type: date
- * Path: CoverageEligibilityRequest.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: enterer - *

- * Description: The party who is responsible for the request
- * Type: reference
- * Path: CoverageEligibilityRequest.enterer
- *

- */ - @SearchParamDefinition(name="enterer", path="CoverageEligibilityRequest.enterer", description="The party who is responsible for the request", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_ENTERER = "enterer"; - /** - * Fluent Client search parameter constant for enterer - *

- * Description: The party who is responsible for the request
- * Type: reference
- * Path: CoverageEligibilityRequest.enterer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTERER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTERER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityRequest:enterer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTERER = new ca.uhn.fhir.model.api.Include("CoverageEligibilityRequest:enterer").toLocked(); - - /** - * Search parameter: facility - *

- * Description: Facility responsible for the goods and services
- * Type: reference
- * Path: CoverageEligibilityRequest.facility
- *

- */ - @SearchParamDefinition(name="facility", path="CoverageEligibilityRequest.facility", description="Facility responsible for the goods and services", type="reference", target={Location.class } ) - public static final String SP_FACILITY = "facility"; - /** - * Fluent Client search parameter constant for facility - *

- * Description: Facility responsible for the goods and services
- * Type: reference
- * Path: CoverageEligibilityRequest.facility
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FACILITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FACILITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityRequest:facility". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FACILITY = new ca.uhn.fhir.model.api.Include("CoverageEligibilityRequest:facility").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: The business identifier of the Eligibility
- * Type: token
- * Path: CoverageEligibilityRequest.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CoverageEligibilityRequest.identifier", description="The business identifier of the Eligibility", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier of the Eligibility
- * Type: token
- * Path: CoverageEligibilityRequest.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: The reference to the patient
- * Type: reference
- * Path: CoverageEligibilityRequest.patient
- *

- */ - @SearchParamDefinition(name="patient", path="CoverageEligibilityRequest.patient", description="The reference to the patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The reference to the patient
- * Type: reference
- * Path: CoverageEligibilityRequest.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityRequest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("CoverageEligibilityRequest:patient").toLocked(); - - /** - * Search parameter: provider - *

- * Description: The reference to the provider
- * Type: reference
- * Path: CoverageEligibilityRequest.provider
- *

- */ - @SearchParamDefinition(name="provider", path="CoverageEligibilityRequest.provider", description="The reference to the provider", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PROVIDER = "provider"; - /** - * Fluent Client search parameter constant for provider - *

- * Description: The reference to the provider
- * Type: reference
- * Path: CoverageEligibilityRequest.provider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityRequest:provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROVIDER = new ca.uhn.fhir.model.api.Include("CoverageEligibilityRequest:provider").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the EligibilityRequest
- * Type: token
- * Path: CoverageEligibilityRequest.status
- *

- */ - @SearchParamDefinition(name="status", path="CoverageEligibilityRequest.status", description="The status of the EligibilityRequest", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the EligibilityRequest
- * Type: token
- * Path: CoverageEligibilityRequest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityResponse.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityResponse.java index 27bf8745e..cef572cfd 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityResponse.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CoverageEligibilityResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class CoverageEligibilityResponse extends DomainResource { case COMPLETE: return "complete"; case ERROR: return "error"; case PARTIAL: return "partial"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class CoverageEligibilityResponse extends DomainResource { case COMPLETE: return "http://hl7.org/fhir/eligibility-outcome"; case ERROR: return "http://hl7.org/fhir/eligibility-outcome"; case PARTIAL: return "http://hl7.org/fhir/eligibility-outcome"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class CoverageEligibilityResponse extends DomainResource { case COMPLETE: return "The processing has completed without errors"; case ERROR: return "One or more errors have been detected in the Claim"; case PARTIAL: return "No errors have been detected in the Claim and some of the adjudication has been performed."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class CoverageEligibilityResponse extends DomainResource { case COMPLETE: return "Processing Complete"; case ERROR: return "Error"; case PARTIAL: return "Partial Processing"; + case NULL: return null; default: return "?"; } } @@ -220,6 +224,7 @@ public class CoverageEligibilityResponse extends DomainResource { case BENEFITS: return "benefits"; case DISCOVERY: return "discovery"; case VALIDATION: return "validation"; + case NULL: return null; default: return "?"; } } @@ -229,6 +234,7 @@ public class CoverageEligibilityResponse extends DomainResource { case BENEFITS: return "http://hl7.org/fhir/eligibilityresponse-purpose"; case DISCOVERY: return "http://hl7.org/fhir/eligibilityresponse-purpose"; case VALIDATION: return "http://hl7.org/fhir/eligibilityresponse-purpose"; + case NULL: return null; default: return "?"; } } @@ -238,6 +244,7 @@ public class CoverageEligibilityResponse extends DomainResource { case BENEFITS: return "The plan benefits and optionally benefits consumed for the listed, or discovered if specified, converages are requested."; case DISCOVERY: return "The insurer is requested to report on any coverages which they are aware of in addition to any specifed."; case VALIDATION: return "A check that the specified coverages are in-force is requested."; + case NULL: return null; default: return "?"; } } @@ -247,6 +254,7 @@ public class CoverageEligibilityResponse extends DomainResource { case BENEFITS: return "Coverage benefits"; case DISCOVERY: return "Coverage Discovery"; case VALIDATION: return "Coverage Validation"; + case NULL: return null; default: return "?"; } } @@ -3280,210 +3288,6 @@ public class CoverageEligibilityResponse extends DomainResource { return ResourceType.CoverageEligibilityResponse; } - /** - * Search parameter: created - *

- * Description: The creation date
- * Type: date
- * Path: CoverageEligibilityResponse.created
- *

- */ - @SearchParamDefinition(name="created", path="CoverageEligibilityResponse.created", description="The creation date", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: The creation date
- * Type: date
- * Path: CoverageEligibilityResponse.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: CoverageEligibilityResponse.disposition
- *

- */ - @SearchParamDefinition(name="disposition", path="CoverageEligibilityResponse.disposition", description="The contents of the disposition message", type="string" ) - public static final String SP_DISPOSITION = "disposition"; - /** - * Fluent Client search parameter constant for disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: CoverageEligibilityResponse.disposition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DISPOSITION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DISPOSITION); - - /** - * Search parameter: identifier - *

- * Description: The business identifier
- * Type: token
- * Path: CoverageEligibilityResponse.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CoverageEligibilityResponse.identifier", description="The business identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier
- * Type: token
- * Path: CoverageEligibilityResponse.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: insurer - *

- * Description: The organization which generated this resource
- * Type: reference
- * Path: CoverageEligibilityResponse.insurer
- *

- */ - @SearchParamDefinition(name="insurer", path="CoverageEligibilityResponse.insurer", description="The organization which generated this resource", type="reference", target={Organization.class } ) - public static final String SP_INSURER = "insurer"; - /** - * Fluent Client search parameter constant for insurer - *

- * Description: The organization which generated this resource
- * Type: reference
- * Path: CoverageEligibilityResponse.insurer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSURER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSURER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityResponse:insurer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSURER = new ca.uhn.fhir.model.api.Include("CoverageEligibilityResponse:insurer").toLocked(); - - /** - * Search parameter: outcome - *

- * Description: The processing outcome
- * Type: token
- * Path: CoverageEligibilityResponse.outcome
- *

- */ - @SearchParamDefinition(name="outcome", path="CoverageEligibilityResponse.outcome", description="The processing outcome", type="token" ) - public static final String SP_OUTCOME = "outcome"; - /** - * Fluent Client search parameter constant for outcome - *

- * Description: The processing outcome
- * Type: token
- * Path: CoverageEligibilityResponse.outcome
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam OUTCOME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_OUTCOME); - - /** - * Search parameter: patient - *

- * Description: The reference to the patient
- * Type: reference
- * Path: CoverageEligibilityResponse.patient
- *

- */ - @SearchParamDefinition(name="patient", path="CoverageEligibilityResponse.patient", description="The reference to the patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The reference to the patient
- * Type: reference
- * Path: CoverageEligibilityResponse.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityResponse:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("CoverageEligibilityResponse:patient").toLocked(); - - /** - * Search parameter: request - *

- * Description: The EligibilityRequest reference
- * Type: reference
- * Path: CoverageEligibilityResponse.request
- *

- */ - @SearchParamDefinition(name="request", path="CoverageEligibilityResponse.request", description="The EligibilityRequest reference", type="reference", target={CoverageEligibilityRequest.class } ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The EligibilityRequest reference
- * Type: reference
- * Path: CoverageEligibilityResponse.request
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityResponse:request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("CoverageEligibilityResponse:request").toLocked(); - - /** - * Search parameter: requestor - *

- * Description: The EligibilityRequest provider
- * Type: reference
- * Path: CoverageEligibilityResponse.requestor
- *

- */ - @SearchParamDefinition(name="requestor", path="CoverageEligibilityResponse.requestor", description="The EligibilityRequest provider", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_REQUESTOR = "requestor"; - /** - * Fluent Client search parameter constant for requestor - *

- * Description: The EligibilityRequest provider
- * Type: reference
- * Path: CoverageEligibilityResponse.requestor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "CoverageEligibilityResponse:requestor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTOR = new ca.uhn.fhir.model.api.Include("CoverageEligibilityResponse:requestor").toLocked(); - - /** - * Search parameter: status - *

- * Description: The EligibilityRequest status
- * Type: token
- * Path: CoverageEligibilityResponse.status
- *

- */ - @SearchParamDefinition(name="status", path="CoverageEligibilityResponse.status", description="The EligibilityRequest status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The EligibilityRequest status
- * Type: token
- * Path: CoverageEligibilityResponse.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataRequirement.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataRequirement.java index 2114f7af2..883929256 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataRequirement.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataRequirement.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -80,6 +80,7 @@ public class DataRequirement extends DataType implements ICompositeType { switch (this) { case ASCENDING: return "ascending"; case DESCENDING: return "descending"; + case NULL: return null; default: return "?"; } } @@ -87,6 +88,7 @@ public class DataRequirement extends DataType implements ICompositeType { switch (this) { case ASCENDING: return "http://hl7.org/fhir/sort-direction"; case DESCENDING: return "http://hl7.org/fhir/sort-direction"; + case NULL: return null; default: return "?"; } } @@ -94,6 +96,7 @@ public class DataRequirement extends DataType implements ICompositeType { switch (this) { case ASCENDING: return "Sort by the value ascending, so that lower values appear first."; case DESCENDING: return "Sort by the value descending, so that lower values appear last."; + case NULL: return null; default: return "?"; } } @@ -101,6 +104,7 @@ public class DataRequirement extends DataType implements ICompositeType { switch (this) { case ASCENDING: return "Ascending"; case DESCENDING: return "Descending"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataType.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataType.java index 99cd20ad9..927fad1ca 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataType.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DataType.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DetectedIssue.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DetectedIssue.java index 8d36caee1..07689b29b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DetectedIssue.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DetectedIssue.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class DetectedIssue extends DomainResource { case HIGH: return "high"; case MODERATE: return "moderate"; case LOW: return "low"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class DetectedIssue extends DomainResource { case HIGH: return "http://hl7.org/fhir/detectedissue-severity"; case MODERATE: return "http://hl7.org/fhir/detectedissue-severity"; case LOW: return "http://hl7.org/fhir/detectedissue-severity"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class DetectedIssue extends DomainResource { case HIGH: return "Indicates the issue may be life-threatening or has the potential to cause permanent injury."; case MODERATE: return "Indicates the issue may result in noticeable adverse consequences but is unlikely to be life-threatening or cause permanent injury."; case LOW: return "Indicates the issue may result in some adverse consequences but is unlikely to substantially affect the situation of the subject."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class DetectedIssue extends DomainResource { case HIGH: return "High"; case MODERATE: return "Moderate"; case LOW: return "Low"; + case NULL: return null; default: return "?"; } } @@ -1651,296 +1655,6 @@ public class DetectedIssue extends DomainResource { return ResourceType.DetectedIssue; } - /** - * Search parameter: author - *

- * Description: The provider or device that identified the issue
- * Type: reference
- * Path: DetectedIssue.author
- *

- */ - @SearchParamDefinition(name="author", path="DetectedIssue.author", description="The provider or device that identified the issue", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: The provider or device that identified the issue
- * Type: reference
- * Path: DetectedIssue.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DetectedIssue:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("DetectedIssue:author").toLocked(); - - /** - * Search parameter: code - *

- * Description: Issue Category, e.g. drug-drug, duplicate therapy, etc.
- * Type: token
- * Path: DetectedIssue.code
- *

- */ - @SearchParamDefinition(name="code", path="DetectedIssue.code", description="Issue Category, e.g. drug-drug, duplicate therapy, etc.", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Issue Category, e.g. drug-drug, duplicate therapy, etc.
- * Type: token
- * Path: DetectedIssue.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: identified - *

- * Description: When identified
- * Type: date
- * Path: DetectedIssue.identified
- *

- */ - @SearchParamDefinition(name="identified", path="DetectedIssue.identified", description="When identified", type="date" ) - public static final String SP_IDENTIFIED = "identified"; - /** - * Fluent Client search parameter constant for identified - *

- * Description: When identified
- * Type: date
- * Path: DetectedIssue.identified
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam IDENTIFIED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_IDENTIFIED); - - /** - * Search parameter: implicated - *

- * Description: Problem resource
- * Type: reference
- * Path: DetectedIssue.implicated
- *

- */ - @SearchParamDefinition(name="implicated", path="DetectedIssue.implicated", description="Problem resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_IMPLICATED = "implicated"; - /** - * Fluent Client search parameter constant for implicated - *

- * Description: Problem resource
- * Type: reference
- * Path: DetectedIssue.implicated
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam IMPLICATED = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_IMPLICATED); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DetectedIssue:implicated". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_IMPLICATED = new ca.uhn.fhir.model.api.Include("DetectedIssue:implicated").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the issue
- * Type: token
- * Path: DetectedIssue.status
- *

- */ - @SearchParamDefinition(name="status", path="DetectedIssue.status", description="The status of the issue", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the issue
- * Type: token
- * Path: DetectedIssue.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DetectedIssue:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DetectedIssue:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Device.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Device.java index 7aecc53f7..84123b251 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Device.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Device.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Device extends DomainResource { case ACTIVE: return "active"; case INACTIVE: return "inactive"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Device extends DomainResource { case ACTIVE: return "http://hl7.org/fhir/device-status"; case INACTIVE: return "http://hl7.org/fhir/device-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/device-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Device extends DomainResource { case ACTIVE: return "The device is available for use. Note: For *implanted devices* this means that the device is implanted in the patient."; case INACTIVE: return "The device is no longer available for use (e.g. lost, expired, damaged). Note: For *implanted devices* this means that the device has been removed from the patient."; case ENTEREDINERROR: return "The device was entered in error and voided."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Device extends DomainResource { case ACTIVE: return "Active"; case INACTIVE: return "Inactive"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -225,6 +229,7 @@ public class Device extends DomainResource { case SELFREPORTED: return "self-reported"; case ELECTRONICTRANSMISSION: return "electronic-transmission"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -237,6 +242,7 @@ public class Device extends DomainResource { case SELFREPORTED: return "http://hl7.org/fhir/udi-entry-type"; case ELECTRONICTRANSMISSION: return "http://hl7.org/fhir/udi-entry-type"; case UNKNOWN: return "http://hl7.org/fhir/udi-entry-type"; + case NULL: return null; default: return "?"; } } @@ -249,6 +255,7 @@ public class Device extends DomainResource { case SELFREPORTED: return "The data originated from a patient source and was not directly scanned or read from a label or card."; case ELECTRONICTRANSMISSION: return "The UDI information was received electronically from the device through a communication protocol, such as the IEEE 11073 20601 version 4 exchange protocol over Bluetooth or USB."; case UNKNOWN: return "The method of data capture has not been determined."; + case NULL: return null; default: return "?"; } } @@ -261,6 +268,7 @@ public class Device extends DomainResource { case SELFREPORTED: return "Self Reported"; case ELECTRONICTRANSMISSION: return "Electronic Transmission"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -349,7 +357,7 @@ public class Device extends DomainResource { 3) ICCBBA for blood containers: http://hl7.org/fhir/NamingSystem/iccbba-blood-di, 4) ICCBA for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other-di # Informationsstelle für Arzneispezialitäten (IFA GmbH) (EU only): http://hl7.org/fhir/NamingSystem/ifa-gmbh-di. */ - @Child(name = "issuer", type = {UriType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "issuer", type = {UriType.class}, order=2, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="UDI Issuing Organization", formalDefinition="Organization that is charged with issuing UDIs for devices. For example, the US FDA issuers include: \n1) GS1: http://hl7.org/fhir/NamingSystem/gs1-di, \n2) HIBCC: http://hl7.org/fhir/NamingSystem/hibcc-diI, \n3) ICCBBA for blood containers: http://hl7.org/fhir/NamingSystem/iccbba-blood-di, \n4) ICCBA for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other-di # Informationsstelle für Arzneispezialitäten (IFA GmbH) (EU only): http://hl7.org/fhir/NamingSystem/ifa-gmbh-di." ) protected UriType issuer; @@ -394,9 +402,10 @@ public class Device extends DomainResource { /** * Constructor */ - public DeviceUdiCarrierComponent(String deviceIdentifier) { + public DeviceUdiCarrierComponent(String deviceIdentifier, String issuer) { super(); this.setDeviceIdentifier(deviceIdentifier); + this.setIssuer(issuer); } /** @@ -499,13 +508,9 @@ public class Device extends DomainResource { 4) ICCBA for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other-di # Informationsstelle für Arzneispezialitäten (IFA GmbH) (EU only): http://hl7.org/fhir/NamingSystem/ifa-gmbh-di. */ public DeviceUdiCarrierComponent setIssuer(String value) { - if (Utilities.noString(value)) - this.issuer = null; - else { if (this.issuer == null) this.issuer = new UriType(); this.issuer.setValue(value); - } return this; } @@ -1168,14 +1173,21 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Description(shortDefinition="The hardware or software module of the device to which the version applies", formalDefinition="The hardware or software module of the device to which the version applies." ) protected Identifier component; + /** + * The date the version was installed on the device. + */ + @Child(name = "installDate", type = {DateTimeType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The date the version was installed on the device", formalDefinition="The date the version was installed on the device." ) + protected DateTimeType installDate; + /** * The version text. */ - @Child(name = "value", type = {StringType.class}, order=3, min=1, max=1, modifier=false, summary=false) + @Child(name = "value", type = {StringType.class}, order=4, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="The version text", formalDefinition="The version text." ) protected StringType value; - private static final long serialVersionUID = 645214295L; + private static final long serialVersionUID = 1358422741L; /** * Constructor @@ -1240,6 +1252,55 @@ RegisteredName | UserFriendlyName | PatientReportedName. return this; } + /** + * @return {@link #installDate} (The date the version was installed on the device.). This is the underlying object with id, value and extensions. The accessor "getInstallDate" gives direct access to the value + */ + public DateTimeType getInstallDateElement() { + if (this.installDate == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceVersionComponent.installDate"); + else if (Configuration.doAutoCreate()) + this.installDate = new DateTimeType(); // bb + return this.installDate; + } + + public boolean hasInstallDateElement() { + return this.installDate != null && !this.installDate.isEmpty(); + } + + public boolean hasInstallDate() { + return this.installDate != null && !this.installDate.isEmpty(); + } + + /** + * @param value {@link #installDate} (The date the version was installed on the device.). This is the underlying object with id, value and extensions. The accessor "getInstallDate" gives direct access to the value + */ + public DeviceVersionComponent setInstallDateElement(DateTimeType value) { + this.installDate = value; + return this; + } + + /** + * @return The date the version was installed on the device. + */ + public Date getInstallDate() { + return this.installDate == null ? null : this.installDate.getValue(); + } + + /** + * @param value The date the version was installed on the device. + */ + public DeviceVersionComponent setInstallDate(Date value) { + if (value == null) + this.installDate = null; + else { + if (this.installDate == null) + this.installDate = new DateTimeType(); + this.installDate.setValue(value); + } + return this; + } + /** * @return {@link #value} (The version text.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value */ @@ -1289,6 +1350,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. super.listChildren(children); children.add(new Property("type", "CodeableConcept", "The type of the device version, e.g. manufacturer, approved, internal.", 0, 1, type)); children.add(new Property("component", "Identifier", "The hardware or software module of the device to which the version applies.", 0, 1, component)); + children.add(new Property("installDate", "dateTime", "The date the version was installed on the device.", 0, 1, installDate)); children.add(new Property("value", "string", "The version text.", 0, 1, value)); } @@ -1297,6 +1359,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. switch (_hash) { case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of the device version, e.g. manufacturer, approved, internal.", 0, 1, type); case -1399907075: /*component*/ return new Property("component", "Identifier", "The hardware or software module of the device to which the version applies.", 0, 1, component); + case 2143044585: /*installDate*/ return new Property("installDate", "dateTime", "The date the version was installed on the device.", 0, 1, installDate); case 111972721: /*value*/ return new Property("value", "string", "The version text.", 0, 1, value); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1308,6 +1371,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. switch (hash) { case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case -1399907075: /*component*/ return this.component == null ? new Base[0] : new Base[] {this.component}; // Identifier + case 2143044585: /*installDate*/ return this.installDate == null ? new Base[0] : new Base[] {this.installDate}; // DateTimeType case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // StringType default: return super.getProperty(hash, name, checkValid); } @@ -1323,6 +1387,9 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1399907075: // component this.component = TypeConvertor.castToIdentifier(value); // Identifier return value; + case 2143044585: // installDate + this.installDate = TypeConvertor.castToDateTime(value); // DateTimeType + return value; case 111972721: // value this.value = TypeConvertor.castToString(value); // StringType return value; @@ -1337,6 +1404,8 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("component")) { this.component = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("installDate")) { + this.installDate = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("value")) { this.value = TypeConvertor.castToString(value); // StringType } else @@ -1349,6 +1418,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. switch (hash) { case 3575610: return getType(); case -1399907075: return getComponent(); + case 2143044585: return getInstallDateElement(); case 111972721: return getValueElement(); default: return super.makeProperty(hash, name); } @@ -1360,6 +1430,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. switch (hash) { case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case -1399907075: /*component*/ return new String[] {"Identifier"}; + case 2143044585: /*installDate*/ return new String[] {"dateTime"}; case 111972721: /*value*/ return new String[] {"string"}; default: return super.getTypesForProperty(hash, name); } @@ -1376,6 +1447,9 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.component = new Identifier(); return this.component; } + else if (name.equals("installDate")) { + throw new FHIRException("Cannot call addChild on a primitive type Device.version.installDate"); + } else if (name.equals("value")) { throw new FHIRException("Cannot call addChild on a primitive type Device.version.value"); } @@ -1393,6 +1467,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. super.copyValues(dst); dst.type = type == null ? null : type.copy(); dst.component = component == null ? null : component.copy(); + dst.installDate = installDate == null ? null : installDate.copy(); dst.value = value == null ? null : value.copy(); } @@ -1403,8 +1478,8 @@ RegisteredName | UserFriendlyName | PatientReportedName. if (!(other_ instanceof DeviceVersionComponent)) return false; DeviceVersionComponent o = (DeviceVersionComponent) other_; - return compareDeep(type, o.type, true) && compareDeep(component, o.component, true) && compareDeep(value, o.value, true) - ; + return compareDeep(type, o.type, true) && compareDeep(component, o.component, true) && compareDeep(installDate, o.installDate, true) + && compareDeep(value, o.value, true); } @Override @@ -1414,11 +1489,12 @@ RegisteredName | UserFriendlyName | PatientReportedName. if (!(other_ instanceof DeviceVersionComponent)) return false; DeviceVersionComponent o = (DeviceVersionComponent) other_; - return compareValues(value, o.value, true); + return compareValues(installDate, o.installDate, true) && compareValues(value, o.value, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, component, value); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, component, installDate + , value); } public String fhirType() { @@ -1426,6 +1502,288 @@ RegisteredName | UserFriendlyName | PatientReportedName. } + } + + @Block() + public static class DeviceSpecializationComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Code that specifies the property being represented. No codes are specified but the MDC codes are an example: https://build.fhir.org/mdc.html. + */ + @Child(name = "systemType", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Code that specifies the property being represented", formalDefinition="Code that specifies the property being represented. No codes are specified but the MDC codes are an example: https://build.fhir.org/mdc.html." ) + protected CodeableConcept systemType; + + /** + * The version of the standard that is used to operate and communicate. + */ + @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Standard version used", formalDefinition="The version of the standard that is used to operate and communicate." ) + protected StringType version; + + /** + * Kind of standards that the device adheres to, e.g., communication, performance or communication. + */ + @Child(name = "category", type = {Coding.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="communication | performance | measurement", formalDefinition="Kind of standards that the device adheres to, e.g., communication, performance or communication." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-specialization-category") + protected Coding category; + + private static final long serialVersionUID = 1771791003L; + + /** + * Constructor + */ + public DeviceSpecializationComponent() { + super(); + } + + /** + * Constructor + */ + public DeviceSpecializationComponent(CodeableConcept systemType) { + super(); + this.setSystemType(systemType); + } + + /** + * @return {@link #systemType} (Code that specifies the property being represented. No codes are specified but the MDC codes are an example: https://build.fhir.org/mdc.html.) + */ + public CodeableConcept getSystemType() { + if (this.systemType == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceSpecializationComponent.systemType"); + else if (Configuration.doAutoCreate()) + this.systemType = new CodeableConcept(); // cc + return this.systemType; + } + + public boolean hasSystemType() { + return this.systemType != null && !this.systemType.isEmpty(); + } + + /** + * @param value {@link #systemType} (Code that specifies the property being represented. No codes are specified but the MDC codes are an example: https://build.fhir.org/mdc.html.) + */ + public DeviceSpecializationComponent setSystemType(CodeableConcept value) { + this.systemType = value; + return this; + } + + /** + * @return {@link #version} (The version of the standard that is used to operate and communicate.). 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 DeviceSpecializationComponent.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 version of the standard that is used to operate and communicate.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + */ + public DeviceSpecializationComponent setVersionElement(StringType value) { + this.version = value; + return this; + } + + /** + * @return The version of the standard that is used to operate and communicate. + */ + public String getVersion() { + return this.version == null ? null : this.version.getValue(); + } + + /** + * @param value The version of the standard that is used to operate and communicate. + */ + public DeviceSpecializationComponent 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 #category} (Kind of standards that the device adheres to, e.g., communication, performance or communication.) + */ + public Coding getCategory() { + if (this.category == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceSpecializationComponent.category"); + else if (Configuration.doAutoCreate()) + this.category = new Coding(); // cc + return this.category; + } + + public boolean hasCategory() { + return this.category != null && !this.category.isEmpty(); + } + + /** + * @param value {@link #category} (Kind of standards that the device adheres to, e.g., communication, performance or communication.) + */ + public DeviceSpecializationComponent setCategory(Coding value) { + this.category = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("systemType", "CodeableConcept", "Code that specifies the property being represented. No codes are specified but the MDC codes are an example: https://build.fhir.org/mdc.html.", 0, 1, systemType)); + children.add(new Property("version", "string", "The version of the standard that is used to operate and communicate.", 0, 1, version)); + children.add(new Property("category", "Coding", "Kind of standards that the device adheres to, e.g., communication, performance or communication.", 0, 1, category)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 642893321: /*systemType*/ return new Property("systemType", "CodeableConcept", "Code that specifies the property being represented. No codes are specified but the MDC codes are an example: https://build.fhir.org/mdc.html.", 0, 1, systemType); + case 351608024: /*version*/ return new Property("version", "string", "The version of the standard that is used to operate and communicate.", 0, 1, version); + case 50511102: /*category*/ return new Property("category", "Coding", "Kind of standards that the device adheres to, e.g., communication, performance or communication.", 0, 1, category); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 642893321: /*systemType*/ return this.systemType == null ? new Base[0] : new Base[] {this.systemType}; // CodeableConcept + case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType + case 50511102: /*category*/ return this.category == null ? new Base[0] : new Base[] {this.category}; // Coding + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 642893321: // systemType + this.systemType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 351608024: // version + this.version = TypeConvertor.castToString(value); // StringType + return value; + case 50511102: // category + this.category = TypeConvertor.castToCoding(value); // Coding + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("systemType")) { + this.systemType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("version")) { + this.version = TypeConvertor.castToString(value); // StringType + } else if (name.equals("category")) { + this.category = TypeConvertor.castToCoding(value); // Coding + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 642893321: return getSystemType(); + case 351608024: return getVersionElement(); + case 50511102: return getCategory(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 642893321: /*systemType*/ return new String[] {"CodeableConcept"}; + case 351608024: /*version*/ return new String[] {"string"}; + case 50511102: /*category*/ return new String[] {"Coding"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("systemType")) { + this.systemType = new CodeableConcept(); + return this.systemType; + } + else if (name.equals("version")) { + throw new FHIRException("Cannot call addChild on a primitive type Device.specialization.version"); + } + else if (name.equals("category")) { + this.category = new Coding(); + return this.category; + } + else + return super.addChild(name); + } + + public DeviceSpecializationComponent copy() { + DeviceSpecializationComponent dst = new DeviceSpecializationComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(DeviceSpecializationComponent dst) { + super.copyValues(dst); + dst.systemType = systemType == null ? null : systemType.copy(); + dst.version = version == null ? null : version.copy(); + dst.category = category == null ? null : category.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof DeviceSpecializationComponent)) + return false; + DeviceSpecializationComponent o = (DeviceSpecializationComponent) other_; + return compareDeep(systemType, o.systemType, true) && compareDeep(version, o.version, true) && compareDeep(category, o.category, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof DeviceSpecializationComponent)) + return false; + DeviceSpecializationComponent o = (DeviceSpecializationComponent) other_; + return compareValues(version, o.version, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(systemType, version, category + ); + } + + public String fhirType() { + return "Device.specialization"; + + } + } @Block() @@ -1440,7 +1798,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * Property value - can be a code, quantity, boolean, string or attachment. */ - @Child(name = "value", type = {Quantity.class, CodeableConcept.class, StringType.class, BooleanType.class, IntegerType.class, Range.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "value", type = {Quantity.class, CodeableConcept.class, StringType.class, BooleanType.class, IntegerType.class, Range.class, Attachment.class}, order=2, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="Property value - as a code, quantity, boolean, string or attachmment", formalDefinition="Property value - can be a code, quantity, boolean, string or attachment." ) protected DataType value; @@ -1456,9 +1814,10 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * Constructor */ - public DevicePropertyComponent(CodeableConcept type) { + public DevicePropertyComponent(CodeableConcept type, DataType value) { super(); this.setType(type); + this.setValue(value); } /** @@ -1773,127 +2132,291 @@ RegisteredName | UserFriendlyName | PatientReportedName. } @Block() - public static class DeviceOperationalStatusComponent extends BackboneElement implements IBaseBackboneElement { + public static class DeviceOperationalStateComponent extends BackboneElement implements IBaseBackboneElement { /** - * on |off | standby. + * The state or condition of the device's operation. */ - @Child(name = "value", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="on |off | standby", formalDefinition="on |off | standby." ) + @Child(name = "status", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Device operational condition", formalDefinition="The state or condition of the device's operation." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-operationalstatus") - protected CodeableConcept value; + protected CodeableConcept status; /** * The reasons given for the current operational status - i.e. why is the device switched on etc. */ - @Child(name = "reason", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "statusReason", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The reasons given for the current operational status", formalDefinition="The reasons given for the current operational status - i.e. why is the device switched on etc." ) - protected List reason; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-operation-status-reason") + protected List statusReason; - private static final long serialVersionUID = 1425627429L; + /** + * The individual performing the action enabled by the device. + */ + @Child(name = "operator", type = {Patient.class, Practitioner.class, RelatedPerson.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The current device operator", formalDefinition="The individual performing the action enabled by the device." ) + protected List operator; + + /** + * The designated condition for performing a task with the device. + */ + @Child(name = "mode", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Designated condition for task", formalDefinition="The designated condition for performing a task with the device." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-operational-state-mode") + protected CodeableConcept mode; + + /** + * The series of occurrences that repeats during the operation of the device. + */ + @Child(name = "cycle", type = {Count.class}, order=5, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Number of operationcycles", formalDefinition="The series of occurrences that repeats during the operation of the device." ) + protected Count cycle; + + /** + * A measurement of time during the device's operation (e.g., days, hours, mins, etc). + */ + @Child(name = "duration", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Operation time measurement", formalDefinition="A measurement of time during the device's operation (e.g., days, hours, mins, etc)." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-operational-state-mode") + protected CodeableConcept duration; + + private static final long serialVersionUID = 803068311L; /** * Constructor */ - public DeviceOperationalStatusComponent() { + public DeviceOperationalStateComponent() { super(); } /** * Constructor */ - public DeviceOperationalStatusComponent(CodeableConcept value) { + public DeviceOperationalStateComponent(CodeableConcept status) { super(); - this.setValue(value); + this.setStatus(status); } /** - * @return {@link #value} (on |off | standby.) + * @return {@link #status} (The state or condition of the device's operation.) */ - public CodeableConcept getValue() { - if (this.value == null) + public CodeableConcept getStatus() { + if (this.status == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create DeviceOperationalStatusComponent.value"); + throw new Error("Attempt to auto-create DeviceOperationalStateComponent.status"); else if (Configuration.doAutoCreate()) - this.value = new CodeableConcept(); // cc - return this.value; + this.status = new CodeableConcept(); // cc + return this.status; } - public boolean hasValue() { - return this.value != null && !this.value.isEmpty(); + public boolean hasStatus() { + return this.status != null && !this.status.isEmpty(); } /** - * @param value {@link #value} (on |off | standby.) + * @param value {@link #status} (The state or condition of the device's operation.) */ - public DeviceOperationalStatusComponent setValue(CodeableConcept value) { - this.value = value; + public DeviceOperationalStateComponent setStatus(CodeableConcept value) { + this.status = value; return this; } /** - * @return {@link #reason} (The reasons given for the current operational status - i.e. why is the device switched on etc.) + * @return {@link #statusReason} (The reasons given for the current operational status - i.e. why is the device switched on etc.) */ - public List getReason() { - if (this.reason == null) - this.reason = new ArrayList(); - return this.reason; + public List getStatusReason() { + if (this.statusReason == null) + this.statusReason = new ArrayList(); + return this.statusReason; } /** * @return Returns a reference to this for easy method chaining */ - public DeviceOperationalStatusComponent setReason(List theReason) { - this.reason = theReason; + public DeviceOperationalStateComponent setStatusReason(List theStatusReason) { + this.statusReason = theStatusReason; return this; } - public boolean hasReason() { - if (this.reason == null) + public boolean hasStatusReason() { + if (this.statusReason == null) return false; - for (CodeableConcept item : this.reason) + for (CodeableConcept item : this.statusReason) if (!item.isEmpty()) return true; return false; } - public CodeableConcept addReason() { //3 + public CodeableConcept addStatusReason() { //3 CodeableConcept t = new CodeableConcept(); - if (this.reason == null) - this.reason = new ArrayList(); - this.reason.add(t); + if (this.statusReason == null) + this.statusReason = new ArrayList(); + this.statusReason.add(t); return t; } - public DeviceOperationalStatusComponent addReason(CodeableConcept t) { //3 + public DeviceOperationalStateComponent addStatusReason(CodeableConcept t) { //3 if (t == null) return this; - if (this.reason == null) - this.reason = new ArrayList(); - this.reason.add(t); + if (this.statusReason == null) + this.statusReason = new ArrayList(); + this.statusReason.add(t); return this; } /** - * @return The first repetition of repeating field {@link #reason}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #statusReason}, creating it if it does not already exist {3} */ - public CodeableConcept getReasonFirstRep() { - if (getReason().isEmpty()) { - addReason(); + public CodeableConcept getStatusReasonFirstRep() { + if (getStatusReason().isEmpty()) { + addStatusReason(); } - return getReason().get(0); + return getStatusReason().get(0); + } + + /** + * @return {@link #operator} (The individual performing the action enabled by the device.) + */ + public List getOperator() { + if (this.operator == null) + this.operator = new ArrayList(); + return this.operator; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public DeviceOperationalStateComponent setOperator(List theOperator) { + this.operator = theOperator; + return this; + } + + public boolean hasOperator() { + if (this.operator == null) + return false; + for (Reference item : this.operator) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addOperator() { //3 + Reference t = new Reference(); + if (this.operator == null) + this.operator = new ArrayList(); + this.operator.add(t); + return t; + } + + public DeviceOperationalStateComponent addOperator(Reference t) { //3 + if (t == null) + return this; + if (this.operator == null) + this.operator = new ArrayList(); + this.operator.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #operator}, creating it if it does not already exist {3} + */ + public Reference getOperatorFirstRep() { + if (getOperator().isEmpty()) { + addOperator(); + } + return getOperator().get(0); + } + + /** + * @return {@link #mode} (The designated condition for performing a task with the device.) + */ + public CodeableConcept getMode() { + if (this.mode == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceOperationalStateComponent.mode"); + else if (Configuration.doAutoCreate()) + this.mode = new CodeableConcept(); // cc + return this.mode; + } + + public boolean hasMode() { + return this.mode != null && !this.mode.isEmpty(); + } + + /** + * @param value {@link #mode} (The designated condition for performing a task with the device.) + */ + public DeviceOperationalStateComponent setMode(CodeableConcept value) { + this.mode = value; + return this; + } + + /** + * @return {@link #cycle} (The series of occurrences that repeats during the operation of the device.) + */ + public Count getCycle() { + if (this.cycle == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceOperationalStateComponent.cycle"); + else if (Configuration.doAutoCreate()) + this.cycle = new Count(); // cc + return this.cycle; + } + + public boolean hasCycle() { + return this.cycle != null && !this.cycle.isEmpty(); + } + + /** + * @param value {@link #cycle} (The series of occurrences that repeats during the operation of the device.) + */ + public DeviceOperationalStateComponent setCycle(Count value) { + this.cycle = value; + return this; + } + + /** + * @return {@link #duration} (A measurement of time during the device's operation (e.g., days, hours, mins, etc).) + */ + public CodeableConcept getDuration() { + if (this.duration == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceOperationalStateComponent.duration"); + else if (Configuration.doAutoCreate()) + this.duration = new CodeableConcept(); // cc + return this.duration; + } + + public boolean hasDuration() { + return this.duration != null && !this.duration.isEmpty(); + } + + /** + * @param value {@link #duration} (A measurement of time during the device's operation (e.g., days, hours, mins, etc).) + */ + public DeviceOperationalStateComponent setDuration(CodeableConcept value) { + this.duration = value; + return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("value", "CodeableConcept", "on |off | standby.", 0, 1, value)); - children.add(new Property("reason", "CodeableConcept", "The reasons given for the current operational status - i.e. why is the device switched on etc.", 0, java.lang.Integer.MAX_VALUE, reason)); + children.add(new Property("status", "CodeableConcept", "The state or condition of the device's operation.", 0, 1, status)); + children.add(new Property("statusReason", "CodeableConcept", "The reasons given for the current operational status - i.e. why is the device switched on etc.", 0, java.lang.Integer.MAX_VALUE, statusReason)); + children.add(new Property("operator", "Reference(Patient|Practitioner|RelatedPerson)", "The individual performing the action enabled by the device.", 0, java.lang.Integer.MAX_VALUE, operator)); + children.add(new Property("mode", "CodeableConcept", "The designated condition for performing a task with the device.", 0, 1, mode)); + children.add(new Property("cycle", "Count", "The series of occurrences that repeats during the operation of the device.", 0, 1, cycle)); + children.add(new Property("duration", "CodeableConcept", "A measurement of time during the device's operation (e.g., days, hours, mins, etc).", 0, 1, duration)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 111972721: /*value*/ return new Property("value", "CodeableConcept", "on |off | standby.", 0, 1, value); - case -934964668: /*reason*/ return new Property("reason", "CodeableConcept", "The reasons given for the current operational status - i.e. why is the device switched on etc.", 0, java.lang.Integer.MAX_VALUE, reason); + case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The state or condition of the device's operation.", 0, 1, status); + case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableConcept", "The reasons given for the current operational status - i.e. why is the device switched on etc.", 0, java.lang.Integer.MAX_VALUE, statusReason); + case -500553564: /*operator*/ return new Property("operator", "Reference(Patient|Practitioner|RelatedPerson)", "The individual performing the action enabled by the device.", 0, java.lang.Integer.MAX_VALUE, operator); + case 3357091: /*mode*/ return new Property("mode", "CodeableConcept", "The designated condition for performing a task with the device.", 0, 1, mode); + case 95131878: /*cycle*/ return new Property("cycle", "Count", "The series of occurrences that repeats during the operation of the device.", 0, 1, cycle); + case -1992012396: /*duration*/ return new Property("duration", "CodeableConcept", "A measurement of time during the device's operation (e.g., days, hours, mins, etc).", 0, 1, duration); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1902,8 +2425,12 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // CodeableConcept - case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableConcept + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept + case 2051346646: /*statusReason*/ return this.statusReason == null ? new Base[0] : this.statusReason.toArray(new Base[this.statusReason.size()]); // CodeableConcept + case -500553564: /*operator*/ return this.operator == null ? new Base[0] : this.operator.toArray(new Base[this.operator.size()]); // Reference + case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // CodeableConcept + case 95131878: /*cycle*/ return this.cycle == null ? new Base[0] : new Base[] {this.cycle}; // Count + case -1992012396: /*duration*/ return this.duration == null ? new Base[0] : new Base[] {this.duration}; // CodeableConcept default: return super.getProperty(hash, name, checkValid); } @@ -1912,11 +2439,23 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case 111972721: // value - this.value = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + case -892481550: // status + this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; - case -934964668: // reason - this.getReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + case 2051346646: // statusReason + this.getStatusReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; + case -500553564: // operator + this.getOperator().add(TypeConvertor.castToReference(value)); // Reference + return value; + case 3357091: // mode + this.mode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 95131878: // cycle + this.cycle = TypeConvertor.castToCount(value); // Count + return value; + case -1992012396: // duration + this.duration = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; default: return super.setProperty(hash, name, value); } @@ -1925,10 +2464,18 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("value")) { - this.value = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("reason")) { - this.getReason().add(TypeConvertor.castToCodeableConcept(value)); + if (name.equals("status")) { + this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("statusReason")) { + this.getStatusReason().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("operator")) { + this.getOperator().add(TypeConvertor.castToReference(value)); + } else if (name.equals("mode")) { + this.mode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("cycle")) { + this.cycle = TypeConvertor.castToCount(value); // Count + } else if (name.equals("duration")) { + this.duration = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else return super.setProperty(name, value); return value; @@ -1937,8 +2484,12 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 111972721: return getValue(); - case -934964668: return addReason(); + case -892481550: return getStatus(); + case 2051346646: return addStatusReason(); + case -500553564: return addOperator(); + case 3357091: return getMode(); + case 95131878: return getCycle(); + case -1992012396: return getDuration(); default: return super.makeProperty(hash, name); } @@ -1947,8 +2498,12 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 111972721: /*value*/ return new String[] {"CodeableConcept"}; - case -934964668: /*reason*/ return new String[] {"CodeableConcept"}; + case -892481550: /*status*/ return new String[] {"CodeableConcept"}; + case 2051346646: /*statusReason*/ return new String[] {"CodeableConcept"}; + case -500553564: /*operator*/ return new String[] {"Reference"}; + case 3357091: /*mode*/ return new String[] {"CodeableConcept"}; + case 95131878: /*cycle*/ return new String[] {"Count"}; + case -1992012396: /*duration*/ return new String[] {"CodeableConcept"}; default: return super.getTypesForProperty(hash, name); } @@ -1956,186 +2511,278 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base addChild(String name) throws FHIRException { - if (name.equals("value")) { - this.value = new CodeableConcept(); - return this.value; + if (name.equals("status")) { + this.status = new CodeableConcept(); + return this.status; } - else if (name.equals("reason")) { - return addReason(); + else if (name.equals("statusReason")) { + return addStatusReason(); + } + else if (name.equals("operator")) { + return addOperator(); + } + else if (name.equals("mode")) { + this.mode = new CodeableConcept(); + return this.mode; + } + else if (name.equals("cycle")) { + this.cycle = new Count(); + return this.cycle; + } + else if (name.equals("duration")) { + this.duration = new CodeableConcept(); + return this.duration; } else return super.addChild(name); } - public DeviceOperationalStatusComponent copy() { - DeviceOperationalStatusComponent dst = new DeviceOperationalStatusComponent(); + public DeviceOperationalStateComponent copy() { + DeviceOperationalStateComponent dst = new DeviceOperationalStateComponent(); copyValues(dst); return dst; } - public void copyValues(DeviceOperationalStatusComponent dst) { + public void copyValues(DeviceOperationalStateComponent dst) { super.copyValues(dst); - dst.value = value == null ? null : value.copy(); - if (reason != null) { - dst.reason = new ArrayList(); - for (CodeableConcept i : reason) - dst.reason.add(i.copy()); + dst.status = status == null ? null : status.copy(); + if (statusReason != null) { + dst.statusReason = new ArrayList(); + for (CodeableConcept i : statusReason) + dst.statusReason.add(i.copy()); }; + if (operator != null) { + dst.operator = new ArrayList(); + for (Reference i : operator) + dst.operator.add(i.copy()); + }; + dst.mode = mode == null ? null : mode.copy(); + dst.cycle = cycle == null ? null : cycle.copy(); + dst.duration = duration == null ? null : duration.copy(); } @Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof DeviceOperationalStatusComponent)) + if (!(other_ instanceof DeviceOperationalStateComponent)) return false; - DeviceOperationalStatusComponent o = (DeviceOperationalStatusComponent) other_; - return compareDeep(value, o.value, true) && compareDeep(reason, o.reason, true); + DeviceOperationalStateComponent o = (DeviceOperationalStateComponent) other_; + return compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(operator, o.operator, true) + && compareDeep(mode, o.mode, true) && compareDeep(cycle, o.cycle, true) && compareDeep(duration, o.duration, true) + ; } @Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof DeviceOperationalStatusComponent)) + if (!(other_ instanceof DeviceOperationalStateComponent)) return false; - DeviceOperationalStatusComponent o = (DeviceOperationalStatusComponent) other_; + DeviceOperationalStateComponent o = (DeviceOperationalStateComponent) other_; return true; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(value, reason); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(status, statusReason, operator + , mode, cycle, duration); } public String fhirType() { - return "Device.operationalStatus"; + return "Device.operationalState"; } } @Block() - public static class DeviceAssociationStatusComponent extends BackboneElement implements IBaseBackboneElement { + public static class DeviceAssociationComponent extends BackboneElement implements IBaseBackboneElement { /** - * implanted|explanted|attached. + * The state of the usage or application of the device. */ - @Child(name = "value", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="implanted|explanted|attached", formalDefinition="implanted|explanted|attached." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-associationstatus") - protected CodeableConcept value; + @Child(name = "status", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Device useage state", formalDefinition="The state of the usage or application of the device." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-association-status") + protected CodeableConcept status; /** * The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc. */ - @Child(name = "reason", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "statusReason", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The reasons given for the current association status", formalDefinition="The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc." ) - protected List reason; + protected List statusReason; - private static final long serialVersionUID = 1425627429L; + /** + * The individual to whom the device is affixed or inserted in their body. + */ + @Child(name = "humanSubject", type = {Patient.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The individual associated with the device", formalDefinition="The individual to whom the device is affixed or inserted in their body." ) + protected Reference humanSubject; + + /** + * The current anatomical location of the device in/on the humanSubject where it is attached or placed. + */ + @Child(name = "bodyStructure", type = {CodeableReference.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Current anatomical location of device in/on humanSubject", formalDefinition="The current anatomical location of the device in/on the humanSubject where it is attached or placed." ) + protected CodeableReference bodyStructure; + + private static final long serialVersionUID = -534050127L; /** * Constructor */ - public DeviceAssociationStatusComponent() { + public DeviceAssociationComponent() { super(); } /** * Constructor */ - public DeviceAssociationStatusComponent(CodeableConcept value) { + public DeviceAssociationComponent(CodeableConcept status) { super(); - this.setValue(value); + this.setStatus(status); } /** - * @return {@link #value} (implanted|explanted|attached.) + * @return {@link #status} (The state of the usage or application of the device.) */ - public CodeableConcept getValue() { - if (this.value == null) + public CodeableConcept getStatus() { + if (this.status == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create DeviceAssociationStatusComponent.value"); + throw new Error("Attempt to auto-create DeviceAssociationComponent.status"); else if (Configuration.doAutoCreate()) - this.value = new CodeableConcept(); // cc - return this.value; + this.status = new CodeableConcept(); // cc + return this.status; } - public boolean hasValue() { - return this.value != null && !this.value.isEmpty(); + public boolean hasStatus() { + return this.status != null && !this.status.isEmpty(); } /** - * @param value {@link #value} (implanted|explanted|attached.) + * @param value {@link #status} (The state of the usage or application of the device.) */ - public DeviceAssociationStatusComponent setValue(CodeableConcept value) { - this.value = value; + public DeviceAssociationComponent setStatus(CodeableConcept value) { + this.status = value; return this; } /** - * @return {@link #reason} (The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc.) + * @return {@link #statusReason} (The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc.) */ - public List getReason() { - if (this.reason == null) - this.reason = new ArrayList(); - return this.reason; + public List getStatusReason() { + if (this.statusReason == null) + this.statusReason = new ArrayList(); + return this.statusReason; } /** * @return Returns a reference to this for easy method chaining */ - public DeviceAssociationStatusComponent setReason(List theReason) { - this.reason = theReason; + public DeviceAssociationComponent setStatusReason(List theStatusReason) { + this.statusReason = theStatusReason; return this; } - public boolean hasReason() { - if (this.reason == null) + public boolean hasStatusReason() { + if (this.statusReason == null) return false; - for (CodeableConcept item : this.reason) + for (CodeableConcept item : this.statusReason) if (!item.isEmpty()) return true; return false; } - public CodeableConcept addReason() { //3 + public CodeableConcept addStatusReason() { //3 CodeableConcept t = new CodeableConcept(); - if (this.reason == null) - this.reason = new ArrayList(); - this.reason.add(t); + if (this.statusReason == null) + this.statusReason = new ArrayList(); + this.statusReason.add(t); return t; } - public DeviceAssociationStatusComponent addReason(CodeableConcept t) { //3 + public DeviceAssociationComponent addStatusReason(CodeableConcept t) { //3 if (t == null) return this; - if (this.reason == null) - this.reason = new ArrayList(); - this.reason.add(t); + if (this.statusReason == null) + this.statusReason = new ArrayList(); + this.statusReason.add(t); return this; } /** - * @return The first repetition of repeating field {@link #reason}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #statusReason}, creating it if it does not already exist {3} */ - public CodeableConcept getReasonFirstRep() { - if (getReason().isEmpty()) { - addReason(); + public CodeableConcept getStatusReasonFirstRep() { + if (getStatusReason().isEmpty()) { + addStatusReason(); } - return getReason().get(0); + return getStatusReason().get(0); + } + + /** + * @return {@link #humanSubject} (The individual to whom the device is affixed or inserted in their body.) + */ + public Reference getHumanSubject() { + if (this.humanSubject == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceAssociationComponent.humanSubject"); + else if (Configuration.doAutoCreate()) + this.humanSubject = new Reference(); // cc + return this.humanSubject; + } + + public boolean hasHumanSubject() { + return this.humanSubject != null && !this.humanSubject.isEmpty(); + } + + /** + * @param value {@link #humanSubject} (The individual to whom the device is affixed or inserted in their body.) + */ + public DeviceAssociationComponent setHumanSubject(Reference value) { + this.humanSubject = value; + return this; + } + + /** + * @return {@link #bodyStructure} (The current anatomical location of the device in/on the humanSubject where it is attached or placed.) + */ + public CodeableReference getBodyStructure() { + if (this.bodyStructure == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceAssociationComponent.bodyStructure"); + else if (Configuration.doAutoCreate()) + this.bodyStructure = new CodeableReference(); // cc + return this.bodyStructure; + } + + public boolean hasBodyStructure() { + return this.bodyStructure != null && !this.bodyStructure.isEmpty(); + } + + /** + * @param value {@link #bodyStructure} (The current anatomical location of the device in/on the humanSubject where it is attached or placed.) + */ + public DeviceAssociationComponent setBodyStructure(CodeableReference value) { + this.bodyStructure = value; + return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("value", "CodeableConcept", "implanted|explanted|attached.", 0, 1, value)); - children.add(new Property("reason", "CodeableConcept", "The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc.", 0, java.lang.Integer.MAX_VALUE, reason)); + children.add(new Property("status", "CodeableConcept", "The state of the usage or application of the device.", 0, 1, status)); + children.add(new Property("statusReason", "CodeableConcept", "The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc.", 0, java.lang.Integer.MAX_VALUE, statusReason)); + children.add(new Property("humanSubject", "Reference(Patient)", "The individual to whom the device is affixed or inserted in their body.", 0, 1, humanSubject)); + children.add(new Property("bodyStructure", "CodeableReference(BodyStructure)", "The current anatomical location of the device in/on the humanSubject where it is attached or placed.", 0, 1, bodyStructure)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 111972721: /*value*/ return new Property("value", "CodeableConcept", "implanted|explanted|attached.", 0, 1, value); - case -934964668: /*reason*/ return new Property("reason", "CodeableConcept", "The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc.", 0, java.lang.Integer.MAX_VALUE, reason); + case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The state of the usage or application of the device.", 0, 1, status); + case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableConcept", "The reasons given for the current association status - i.e. why is the device explanted, or attached to the patient, etc.", 0, java.lang.Integer.MAX_VALUE, statusReason); + case -192393409: /*humanSubject*/ return new Property("humanSubject", "Reference(Patient)", "The individual to whom the device is affixed or inserted in their body.", 0, 1, humanSubject); + case -1001731599: /*bodyStructure*/ return new Property("bodyStructure", "CodeableReference(BodyStructure)", "The current anatomical location of the device in/on the humanSubject where it is attached or placed.", 0, 1, bodyStructure); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2144,8 +2791,10 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // CodeableConcept - case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableConcept + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept + case 2051346646: /*statusReason*/ return this.statusReason == null ? new Base[0] : this.statusReason.toArray(new Base[this.statusReason.size()]); // CodeableConcept + case -192393409: /*humanSubject*/ return this.humanSubject == null ? new Base[0] : new Base[] {this.humanSubject}; // Reference + case -1001731599: /*bodyStructure*/ return this.bodyStructure == null ? new Base[0] : new Base[] {this.bodyStructure}; // CodeableReference default: return super.getProperty(hash, name, checkValid); } @@ -2154,11 +2803,17 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case 111972721: // value - this.value = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + case -892481550: // status + this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; - case -934964668: // reason - this.getReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + case 2051346646: // statusReason + this.getStatusReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; + case -192393409: // humanSubject + this.humanSubject = TypeConvertor.castToReference(value); // Reference + return value; + case -1001731599: // bodyStructure + this.bodyStructure = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; default: return super.setProperty(hash, name, value); } @@ -2167,10 +2822,14 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("value")) { - this.value = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("reason")) { - this.getReason().add(TypeConvertor.castToCodeableConcept(value)); + if (name.equals("status")) { + this.status = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("statusReason")) { + this.getStatusReason().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("humanSubject")) { + this.humanSubject = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("bodyStructure")) { + this.bodyStructure = TypeConvertor.castToCodeableReference(value); // CodeableReference } else return super.setProperty(name, value); return value; @@ -2179,8 +2838,10 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 111972721: return getValue(); - case -934964668: return addReason(); + case -892481550: return getStatus(); + case 2051346646: return addStatusReason(); + case -192393409: return getHumanSubject(); + case -1001731599: return getBodyStructure(); default: return super.makeProperty(hash, name); } @@ -2189,8 +2850,10 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 111972721: /*value*/ return new String[] {"CodeableConcept"}; - case -934964668: /*reason*/ return new String[] {"CodeableConcept"}; + case -892481550: /*status*/ return new String[] {"CodeableConcept"}; + case 2051346646: /*statusReason*/ return new String[] {"CodeableConcept"}; + case -192393409: /*humanSubject*/ return new String[] {"Reference"}; + case -1001731599: /*bodyStructure*/ return new String[] {"CodeableReference"}; default: return super.getTypesForProperty(hash, name); } @@ -2198,59 +2861,71 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Override public Base addChild(String name) throws FHIRException { - if (name.equals("value")) { - this.value = new CodeableConcept(); - return this.value; + if (name.equals("status")) { + this.status = new CodeableConcept(); + return this.status; } - else if (name.equals("reason")) { - return addReason(); + else if (name.equals("statusReason")) { + return addStatusReason(); + } + else if (name.equals("humanSubject")) { + this.humanSubject = new Reference(); + return this.humanSubject; + } + else if (name.equals("bodyStructure")) { + this.bodyStructure = new CodeableReference(); + return this.bodyStructure; } else return super.addChild(name); } - public DeviceAssociationStatusComponent copy() { - DeviceAssociationStatusComponent dst = new DeviceAssociationStatusComponent(); + public DeviceAssociationComponent copy() { + DeviceAssociationComponent dst = new DeviceAssociationComponent(); copyValues(dst); return dst; } - public void copyValues(DeviceAssociationStatusComponent dst) { + public void copyValues(DeviceAssociationComponent dst) { super.copyValues(dst); - dst.value = value == null ? null : value.copy(); - if (reason != null) { - dst.reason = new ArrayList(); - for (CodeableConcept i : reason) - dst.reason.add(i.copy()); + dst.status = status == null ? null : status.copy(); + if (statusReason != null) { + dst.statusReason = new ArrayList(); + for (CodeableConcept i : statusReason) + dst.statusReason.add(i.copy()); }; + dst.humanSubject = humanSubject == null ? null : humanSubject.copy(); + dst.bodyStructure = bodyStructure == null ? null : bodyStructure.copy(); } @Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof DeviceAssociationStatusComponent)) + if (!(other_ instanceof DeviceAssociationComponent)) return false; - DeviceAssociationStatusComponent o = (DeviceAssociationStatusComponent) other_; - return compareDeep(value, o.value, true) && compareDeep(reason, o.reason, true); + DeviceAssociationComponent o = (DeviceAssociationComponent) other_; + return compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(humanSubject, o.humanSubject, true) + && compareDeep(bodyStructure, o.bodyStructure, true); } @Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof DeviceAssociationStatusComponent)) + if (!(other_ instanceof DeviceAssociationComponent)) return false; - DeviceAssociationStatusComponent o = (DeviceAssociationStatusComponent) other_; + DeviceAssociationComponent o = (DeviceAssociationComponent) other_; return true; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(value, reason); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(status, statusReason, humanSubject + , bodyStructure); } public String fhirType() { - return "Device.associationStatus"; + return "Device.association"; } @@ -2513,11 +3188,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. protected List statusReason; /** - * An identifier that supports traceability to the biological entity that is the source of biological material in the product. + * An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled. */ - @Child(name = "biologicalSource", type = {Identifier.class}, order=6, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="An identifier that supports traceability to the biological entity that is the source of biological material in the product", formalDefinition="An identifier that supports traceability to the biological entity that is the source of biological material in the product." ) - protected Identifier biologicalSource; + @Child(name = "biologicalSourceEvent", type = {Identifier.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled", formalDefinition="An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled." ) + protected Identifier biologicalSourceEvent; /** * A name of the manufacturer or entity legally responsible for the device. @@ -2591,97 +3266,105 @@ RegisteredName | UserFriendlyName | PatientReportedName. protected List version; /** - * The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties. + * The standards to which the device adheres and may be certified to in support of its capabilities, e.g., communication, performance, process, or measurement standards. */ - @Child(name = "property", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties", formalDefinition="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties." ) + @Child(name = "specialization", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The standard(s) the device supports", formalDefinition="The standards to which the device adheres and may be certified to in support of its capabilities, e.g., communication, performance, process, or measurement standards." ) + protected List specialization; + + /** + * Characteristics or features of the device that are otherwise not captured in available attributes, e.g., actual configuration settings, time or timing attributes, resolution, accuracy, and physical attributes. The focus is on properties of the device actually in use while DeviceDefinition focuses on properties that are available to be used. + */ + @Child(name = "property", type = {}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties", formalDefinition="Characteristics or features of the device that are otherwise not captured in available attributes, e.g., actual configuration settings, time or timing attributes, resolution, accuracy, and physical attributes. The focus is on properties of the device actually in use while DeviceDefinition focuses on properties that are available to be used." ) protected List property; /** - * Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. + * Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. The use of Patient is also appropriate for the use of devices outside a healthcare setting, such as a fitness tracker. */ - @Child(name = "subject", type = {Patient.class, Practitioner.class, Person.class}, order=18, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Patient to whom Device is affixed", formalDefinition="Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in." ) + @Child(name = "subject", type = {Patient.class, Practitioner.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Patient to whom Device is affixed", formalDefinition="Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. The use of Patient is also appropriate for the use of devices outside a healthcare setting, such as a fitness tracker." ) protected Reference subject; /** * The status of the device itself - whether it is switched on, or activated, etc. */ - @Child(name = "operationalStatus", type = {}, order=19, min=0, max=1, modifier=false, summary=false) + @Child(name = "operationalState", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The status of the device itself - whether it is switched on, or activated, etc", formalDefinition="The status of the device itself - whether it is switched on, or activated, etc." ) - protected DeviceOperationalStatusComponent operationalStatus; + protected List operationalState; /** - * The state of the usage or application of the device - whether the device is implanted, or explanted, or attached to the patient. + * The details about the device when it is affixed or inside of a patient. */ - @Child(name = "associationStatus", type = {}, order=20, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="The state of the usage or application of the device", formalDefinition="The state of the usage or application of the device - whether the device is implanted, or explanted, or attached to the patient." ) - protected DeviceAssociationStatusComponent associationStatus; + @Child(name = "association", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Current association of the device", formalDefinition="The details about the device when it is affixed or inside of a patient." ) + protected List association; /** * An organization that is responsible for the provision and ongoing maintenance of the device. */ - @Child(name = "owner", type = {Organization.class}, order=21, min=0, max=1, modifier=false, summary=false) + @Child(name = "owner", type = {Organization.class}, order=22, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Organization responsible for device", formalDefinition="An organization that is responsible for the provision and ongoing maintenance of the device." ) protected Reference owner; /** * Contact details for an organization or a particular human that is responsible for the device. */ - @Child(name = "contact", type = {ContactPoint.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "contact", type = {ContactPoint.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @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; /** * The place where the device can be found. */ - @Child(name = "location", type = {Location.class}, order=23, min=0, max=1, modifier=false, summary=false) + @Child(name = "location", type = {Location.class}, order=24, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Where the device is found", formalDefinition="The place where the device can be found." ) protected Reference location; /** * A network address on which the device may be contacted directly. */ - @Child(name = "url", type = {UriType.class}, order=24, min=0, max=1, modifier=false, summary=false) + @Child(name = "url", type = {UriType.class}, order=25, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Network address to contact device", formalDefinition="A network address on which the device may be contacted directly." ) protected UriType url; /** * Technical endpoints providing access to services provided by the device defined at this resource. */ - @Child(name = "endpoint", type = {Endpoint.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "endpoint", type = {Endpoint.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Technical endpoints providing access to electronic services provided by the device", formalDefinition="Technical endpoints providing access to services provided by the device defined at this resource." ) protected List endpoint; /** * An associated device, attached to, used with, communicating with or linking a previous or new device model to the focal device. */ - @Child(name = "link", type = {}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "link", type = {}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="An associated device, attached to, used with, communicating with or linking a previous or new device model to the focal device", formalDefinition="An associated device, attached to, used with, communicating with or linking a previous or new device model to the focal device." ) protected List link; /** * Descriptive information, usage information or implantation information that is not captured in an existing element. */ - @Child(name = "note", type = {Annotation.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @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; /** * Provides additional safety characteristics about a medical device. For example devices containing latex. */ - @Child(name = "safety", type = {CodeableConcept.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "safety", type = {CodeableConcept.class}, order=29, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Safety Characteristics of Device", formalDefinition="Provides additional safety characteristics about a medical device. For example devices containing latex." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/device-safety") protected List safety; /** - * The device that this device is attached to or is part of. + * The higher level or encompassing device that this device is a logical part of. */ - @Child(name = "parent", type = {Device.class}, order=29, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="The device that this device is attached to or is part of", formalDefinition="The device that this device is attached to or is part of." ) + @Child(name = "parent", type = {Device.class}, order=30, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The device that this device is attached to or is part of", formalDefinition="The higher level or encompassing device that this device is a logical part of." ) protected Reference parent; - private static final long serialVersionUID = 1453107483L; + private static final long serialVersionUID = -478488554L; /** * Constructor @@ -2972,26 +3655,26 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @return {@link #biologicalSource} (An identifier that supports traceability to the biological entity that is the source of biological material in the product.) + * @return {@link #biologicalSourceEvent} (An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.) */ - public Identifier getBiologicalSource() { - if (this.biologicalSource == null) + public Identifier getBiologicalSourceEvent() { + if (this.biologicalSourceEvent == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Device.biologicalSource"); + throw new Error("Attempt to auto-create Device.biologicalSourceEvent"); else if (Configuration.doAutoCreate()) - this.biologicalSource = new Identifier(); // cc - return this.biologicalSource; + this.biologicalSourceEvent = new Identifier(); // cc + return this.biologicalSourceEvent; } - public boolean hasBiologicalSource() { - return this.biologicalSource != null && !this.biologicalSource.isEmpty(); + public boolean hasBiologicalSourceEvent() { + return this.biologicalSourceEvent != null && !this.biologicalSourceEvent.isEmpty(); } /** - * @param value {@link #biologicalSource} (An identifier that supports traceability to the biological entity that is the source of biological material in the product.) + * @param value {@link #biologicalSourceEvent} (An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.) */ - public Device setBiologicalSource(Identifier value) { - this.biologicalSource = value; + public Device setBiologicalSourceEvent(Identifier value) { + this.biologicalSourceEvent = value; return this; } @@ -3498,7 +4181,60 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @return {@link #property} (The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.) + * @return {@link #specialization} (The standards to which the device adheres and may be certified to in support of its capabilities, e.g., communication, performance, process, or measurement standards.) + */ + public List getSpecialization() { + if (this.specialization == null) + this.specialization = new ArrayList(); + return this.specialization; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Device setSpecialization(List theSpecialization) { + this.specialization = theSpecialization; + return this; + } + + public boolean hasSpecialization() { + if (this.specialization == null) + return false; + for (DeviceSpecializationComponent item : this.specialization) + if (!item.isEmpty()) + return true; + return false; + } + + public DeviceSpecializationComponent addSpecialization() { //3 + DeviceSpecializationComponent t = new DeviceSpecializationComponent(); + if (this.specialization == null) + this.specialization = new ArrayList(); + this.specialization.add(t); + return t; + } + + public Device addSpecialization(DeviceSpecializationComponent t) { //3 + if (t == null) + return this; + if (this.specialization == null) + this.specialization = new ArrayList(); + this.specialization.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #specialization}, creating it if it does not already exist {3} + */ + public DeviceSpecializationComponent getSpecializationFirstRep() { + if (getSpecialization().isEmpty()) { + addSpecialization(); + } + return getSpecialization().get(0); + } + + /** + * @return {@link #property} (Characteristics or features of the device that are otherwise not captured in available attributes, e.g., actual configuration settings, time or timing attributes, resolution, accuracy, and physical attributes. The focus is on properties of the device actually in use while DeviceDefinition focuses on properties that are available to be used.) */ public List getProperty() { if (this.property == null) @@ -3551,7 +4287,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @return {@link #subject} (Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in.) + * @return {@link #subject} (Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. The use of Patient is also appropriate for the use of devices outside a healthcare setting, such as a fitness tracker.) */ public Reference getSubject() { if (this.subject == null) @@ -3567,7 +4303,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @param value {@link #subject} (Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in.) + * @param value {@link #subject} (Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. The use of Patient is also appropriate for the use of devices outside a healthcare setting, such as a fitness tracker.) */ public Device setSubject(Reference value) { this.subject = value; @@ -3575,53 +4311,111 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @return {@link #operationalStatus} (The status of the device itself - whether it is switched on, or activated, etc.) + * @return {@link #operationalState} (The status of the device itself - whether it is switched on, or activated, etc.) */ - public DeviceOperationalStatusComponent getOperationalStatus() { - if (this.operationalStatus == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Device.operationalStatus"); - else if (Configuration.doAutoCreate()) - this.operationalStatus = new DeviceOperationalStatusComponent(); // cc - return this.operationalStatus; - } - - public boolean hasOperationalStatus() { - return this.operationalStatus != null && !this.operationalStatus.isEmpty(); + public List getOperationalState() { + if (this.operationalState == null) + this.operationalState = new ArrayList(); + return this.operationalState; } /** - * @param value {@link #operationalStatus} (The status of the device itself - whether it is switched on, or activated, etc.) + * @return Returns a reference to this for easy method chaining */ - public Device setOperationalStatus(DeviceOperationalStatusComponent value) { - this.operationalStatus = value; + public Device setOperationalState(List theOperationalState) { + this.operationalState = theOperationalState; + return this; + } + + public boolean hasOperationalState() { + if (this.operationalState == null) + return false; + for (DeviceOperationalStateComponent item : this.operationalState) + if (!item.isEmpty()) + return true; + return false; + } + + public DeviceOperationalStateComponent addOperationalState() { //3 + DeviceOperationalStateComponent t = new DeviceOperationalStateComponent(); + if (this.operationalState == null) + this.operationalState = new ArrayList(); + this.operationalState.add(t); + return t; + } + + public Device addOperationalState(DeviceOperationalStateComponent t) { //3 + if (t == null) + return this; + if (this.operationalState == null) + this.operationalState = new ArrayList(); + this.operationalState.add(t); return this; } /** - * @return {@link #associationStatus} (The state of the usage or application of the device - whether the device is implanted, or explanted, or attached to the patient.) + * @return The first repetition of repeating field {@link #operationalState}, creating it if it does not already exist {3} */ - public DeviceAssociationStatusComponent getAssociationStatus() { - if (this.associationStatus == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Device.associationStatus"); - else if (Configuration.doAutoCreate()) - this.associationStatus = new DeviceAssociationStatusComponent(); // cc - return this.associationStatus; - } - - public boolean hasAssociationStatus() { - return this.associationStatus != null && !this.associationStatus.isEmpty(); + public DeviceOperationalStateComponent getOperationalStateFirstRep() { + if (getOperationalState().isEmpty()) { + addOperationalState(); + } + return getOperationalState().get(0); } /** - * @param value {@link #associationStatus} (The state of the usage or application of the device - whether the device is implanted, or explanted, or attached to the patient.) + * @return {@link #association} (The details about the device when it is affixed or inside of a patient.) */ - public Device setAssociationStatus(DeviceAssociationStatusComponent value) { - this.associationStatus = value; + public List getAssociation() { + if (this.association == null) + this.association = new ArrayList(); + return this.association; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Device setAssociation(List theAssociation) { + this.association = theAssociation; return this; } + public boolean hasAssociation() { + if (this.association == null) + return false; + for (DeviceAssociationComponent item : this.association) + if (!item.isEmpty()) + return true; + return false; + } + + public DeviceAssociationComponent addAssociation() { //3 + DeviceAssociationComponent t = new DeviceAssociationComponent(); + if (this.association == null) + this.association = new ArrayList(); + this.association.add(t); + return t; + } + + public Device addAssociation(DeviceAssociationComponent t) { //3 + if (t == null) + return this; + if (this.association == null) + this.association = new ArrayList(); + this.association.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #association}, creating it if it does not already exist {3} + */ + public DeviceAssociationComponent getAssociationFirstRep() { + if (getAssociation().isEmpty()) { + addAssociation(); + } + return getAssociation().get(0); + } + /** * @return {@link #owner} (An organization that is responsible for the provision and ongoing maintenance of the device.) */ @@ -3985,7 +4779,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @return {@link #parent} (The device that this device is attached to or is part of.) + * @return {@link #parent} (The higher level or encompassing device that this device is a logical part of.) */ public Reference getParent() { if (this.parent == null) @@ -4001,7 +4795,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. } /** - * @param value {@link #parent} (The device that this device is attached to or is part of.) + * @param value {@link #parent} (The higher level or encompassing device that this device is a logical part of.) */ public Device setParent(Reference value) { this.parent = value; @@ -4016,7 +4810,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. children.add(new Property("udiCarrier", "", "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", 0, java.lang.Integer.MAX_VALUE, udiCarrier)); children.add(new Property("status", "code", "Status of the Device record. This is not the status of the device like availability.", 0, 1, status)); children.add(new Property("statusReason", "CodeableConcept", "Reason for the status of the Device record. For example, why is the record not active.", 0, java.lang.Integer.MAX_VALUE, statusReason)); - children.add(new Property("biologicalSource", "Identifier", "An identifier that supports traceability to the biological entity that is the source of biological material in the product.", 0, 1, biologicalSource)); + children.add(new Property("biologicalSourceEvent", "Identifier", "An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.", 0, 1, biologicalSourceEvent)); children.add(new Property("manufacturer", "string", "A name of the manufacturer or entity legally responsible for the device.", 0, 1, manufacturer)); children.add(new Property("manufactureDate", "dateTime", "The date and time when the device was manufactured.", 0, 1, manufactureDate)); children.add(new Property("expirationDate", "dateTime", "The date and time beyond which this device is no longer valid or should not be used (if applicable).", 0, 1, expirationDate)); @@ -4027,10 +4821,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. children.add(new Property("partNumber", "string", "The part number or catalog number of the device.", 0, 1, partNumber)); children.add(new Property("type", "CodeableConcept", "The kind or type of device. A device instance may have more than one type - in which case those are the types that apply to the specific instance of the device.", 0, java.lang.Integer.MAX_VALUE, type)); children.add(new Property("version", "", "The actual design of the device or software version running on the device.", 0, java.lang.Integer.MAX_VALUE, version)); - children.add(new Property("property", "", "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.", 0, java.lang.Integer.MAX_VALUE, property)); - children.add(new Property("subject", "Reference(Patient|Practitioner|Person)", "Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in.", 0, 1, subject)); - children.add(new Property("operationalStatus", "", "The status of the device itself - whether it is switched on, or activated, etc.", 0, 1, operationalStatus)); - children.add(new Property("associationStatus", "", "The state of the usage or application of the device - whether the device is implanted, or explanted, or attached to the patient.", 0, 1, associationStatus)); + children.add(new Property("specialization", "", "The standards to which the device adheres and may be certified to in support of its capabilities, e.g., communication, performance, process, or measurement standards.", 0, java.lang.Integer.MAX_VALUE, specialization)); + children.add(new Property("property", "", "Characteristics or features of the device that are otherwise not captured in available attributes, e.g., actual configuration settings, time or timing attributes, resolution, accuracy, and physical attributes. The focus is on properties of the device actually in use while DeviceDefinition focuses on properties that are available to be used.", 0, java.lang.Integer.MAX_VALUE, property)); + children.add(new Property("subject", "Reference(Patient|Practitioner)", "Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. The use of Patient is also appropriate for the use of devices outside a healthcare setting, such as a fitness tracker.", 0, 1, subject)); + children.add(new Property("operationalState", "", "The status of the device itself - whether it is switched on, or activated, etc.", 0, java.lang.Integer.MAX_VALUE, operationalState)); + children.add(new Property("association", "", "The details about the device when it is affixed or inside of a patient.", 0, java.lang.Integer.MAX_VALUE, association)); children.add(new Property("owner", "Reference(Organization)", "An organization that is responsible for the provision and ongoing maintenance of the device.", 0, 1, owner)); children.add(new Property("contact", "ContactPoint", "Contact details for an organization or a particular human that is responsible for the device.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("location", "Reference(Location)", "The place where the device can be found.", 0, 1, location)); @@ -4039,7 +4834,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. children.add(new Property("link", "", "An associated device, attached to, used with, communicating with or linking a previous or new device model to the focal device.", 0, java.lang.Integer.MAX_VALUE, link)); children.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)); children.add(new Property("safety", "CodeableConcept", "Provides additional safety characteristics about a medical device. For example devices containing latex.", 0, java.lang.Integer.MAX_VALUE, safety)); - children.add(new Property("parent", "Reference(Device)", "The device that this device is attached to or is part of.", 0, 1, parent)); + children.add(new Property("parent", "Reference(Device)", "The higher level or encompassing device that this device is a logical part of.", 0, 1, parent)); } @Override @@ -4051,7 +4846,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1343558178: /*udiCarrier*/ return new Property("udiCarrier", "", "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", 0, java.lang.Integer.MAX_VALUE, udiCarrier); case -892481550: /*status*/ return new Property("status", "code", "Status of the Device record. This is not the status of the device like availability.", 0, 1, status); case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableConcept", "Reason for the status of the Device record. For example, why is the record not active.", 0, java.lang.Integer.MAX_VALUE, statusReason); - case -883952260: /*biologicalSource*/ return new Property("biologicalSource", "Identifier", "An identifier that supports traceability to the biological entity that is the source of biological material in the product.", 0, 1, biologicalSource); + case -654468482: /*biologicalSourceEvent*/ return new Property("biologicalSourceEvent", "Identifier", "An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.", 0, 1, biologicalSourceEvent); case -1969347631: /*manufacturer*/ return new Property("manufacturer", "string", "A name of the manufacturer or entity legally responsible for the device.", 0, 1, manufacturer); case 416714767: /*manufactureDate*/ return new Property("manufactureDate", "dateTime", "The date and time when the device was manufactured.", 0, 1, manufactureDate); case -668811523: /*expirationDate*/ return new Property("expirationDate", "dateTime", "The date and time beyond which this device is no longer valid or should not be used (if applicable).", 0, 1, expirationDate); @@ -4062,10 +4857,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -731502308: /*partNumber*/ return new Property("partNumber", "string", "The part number or catalog number of the device.", 0, 1, partNumber); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The kind or type of device. A device instance may have more than one type - in which case those are the types that apply to the specific instance of the device.", 0, java.lang.Integer.MAX_VALUE, type); case 351608024: /*version*/ return new Property("version", "", "The actual design of the device or software version running on the device.", 0, java.lang.Integer.MAX_VALUE, version); - case -993141291: /*property*/ return new Property("property", "", "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.", 0, java.lang.Integer.MAX_VALUE, property); - case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Practitioner|Person)", "Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in.", 0, 1, subject); - case -2103166364: /*operationalStatus*/ return new Property("operationalStatus", "", "The status of the device itself - whether it is switched on, or activated, etc.", 0, 1, operationalStatus); - case -605391917: /*associationStatus*/ return new Property("associationStatus", "", "The state of the usage or application of the device - whether the device is implanted, or explanted, or attached to the patient.", 0, 1, associationStatus); + case 682815883: /*specialization*/ return new Property("specialization", "", "The standards to which the device adheres and may be certified to in support of its capabilities, e.g., communication, performance, process, or measurement standards.", 0, java.lang.Integer.MAX_VALUE, specialization); + case -993141291: /*property*/ return new Property("property", "", "Characteristics or features of the device that are otherwise not captured in available attributes, e.g., actual configuration settings, time or timing attributes, resolution, accuracy, and physical attributes. The focus is on properties of the device actually in use while DeviceDefinition focuses on properties that are available to be used.", 0, java.lang.Integer.MAX_VALUE, property); + case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Practitioner)", "Patient information, if the device is affixed to, or associated to a patient for their specific use, irrespective of the procedure, use, observation, or other activity that the device is involved in. The use of Patient is also appropriate for the use of devices outside a healthcare setting, such as a fitness tracker.", 0, 1, subject); + case -1176222753: /*operationalState*/ return new Property("operationalState", "", "The status of the device itself - whether it is switched on, or activated, etc.", 0, java.lang.Integer.MAX_VALUE, operationalState); + case -87499647: /*association*/ return new Property("association", "", "The details about the device when it is affixed or inside of a patient.", 0, java.lang.Integer.MAX_VALUE, association); case 106164915: /*owner*/ return new Property("owner", "Reference(Organization)", "An organization that is responsible for the provision and ongoing maintenance of the device.", 0, 1, owner); case 951526432: /*contact*/ return new Property("contact", "ContactPoint", "Contact details for an organization or a particular human that is responsible for the device.", 0, java.lang.Integer.MAX_VALUE, contact); case 1901043637: /*location*/ return new Property("location", "Reference(Location)", "The place where the device can be found.", 0, 1, location); @@ -4074,7 +4870,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case 3321850: /*link*/ return new Property("link", "", "An associated device, attached to, used with, communicating with or linking a previous or new device model to the focal device.", 0, java.lang.Integer.MAX_VALUE, link); case 3387378: /*note*/ return 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); case -909893934: /*safety*/ return new Property("safety", "CodeableConcept", "Provides additional safety characteristics about a medical device. For example devices containing latex.", 0, java.lang.Integer.MAX_VALUE, safety); - case -995424086: /*parent*/ return new Property("parent", "Reference(Device)", "The device that this device is attached to or is part of.", 0, 1, parent); + case -995424086: /*parent*/ return new Property("parent", "Reference(Device)", "The higher level or encompassing device that this device is a logical part of.", 0, 1, parent); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -4089,7 +4885,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1343558178: /*udiCarrier*/ return this.udiCarrier == null ? new Base[0] : this.udiCarrier.toArray(new Base[this.udiCarrier.size()]); // DeviceUdiCarrierComponent case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 2051346646: /*statusReason*/ return this.statusReason == null ? new Base[0] : this.statusReason.toArray(new Base[this.statusReason.size()]); // CodeableConcept - case -883952260: /*biologicalSource*/ return this.biologicalSource == null ? new Base[0] : new Base[] {this.biologicalSource}; // Identifier + case -654468482: /*biologicalSourceEvent*/ return this.biologicalSourceEvent == null ? new Base[0] : new Base[] {this.biologicalSourceEvent}; // Identifier case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : new Base[] {this.manufacturer}; // StringType case 416714767: /*manufactureDate*/ return this.manufactureDate == null ? new Base[0] : new Base[] {this.manufactureDate}; // DateTimeType case -668811523: /*expirationDate*/ return this.expirationDate == null ? new Base[0] : new Base[] {this.expirationDate}; // DateTimeType @@ -4100,10 +4896,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -731502308: /*partNumber*/ return this.partNumber == null ? new Base[0] : new Base[] {this.partNumber}; // StringType case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept case 351608024: /*version*/ return this.version == null ? new Base[0] : this.version.toArray(new Base[this.version.size()]); // DeviceVersionComponent + case 682815883: /*specialization*/ return this.specialization == null ? new Base[0] : this.specialization.toArray(new Base[this.specialization.size()]); // DeviceSpecializationComponent case -993141291: /*property*/ return this.property == null ? new Base[0] : this.property.toArray(new Base[this.property.size()]); // DevicePropertyComponent case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference - case -2103166364: /*operationalStatus*/ return this.operationalStatus == null ? new Base[0] : new Base[] {this.operationalStatus}; // DeviceOperationalStatusComponent - case -605391917: /*associationStatus*/ return this.associationStatus == null ? new Base[0] : new Base[] {this.associationStatus}; // DeviceAssociationStatusComponent + case -1176222753: /*operationalState*/ return this.operationalState == null ? new Base[0] : this.operationalState.toArray(new Base[this.operationalState.size()]); // DeviceOperationalStateComponent + case -87499647: /*association*/ return this.association == null ? new Base[0] : this.association.toArray(new Base[this.association.size()]); // DeviceAssociationComponent case 106164915: /*owner*/ return this.owner == null ? new Base[0] : new Base[] {this.owner}; // Reference case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactPoint case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // Reference @@ -4140,8 +4937,8 @@ RegisteredName | UserFriendlyName | PatientReportedName. case 2051346646: // statusReason this.getStatusReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; - case -883952260: // biologicalSource - this.biologicalSource = TypeConvertor.castToIdentifier(value); // Identifier + case -654468482: // biologicalSourceEvent + this.biologicalSourceEvent = TypeConvertor.castToIdentifier(value); // Identifier return value; case -1969347631: // manufacturer this.manufacturer = TypeConvertor.castToString(value); // StringType @@ -4173,17 +4970,20 @@ RegisteredName | UserFriendlyName | PatientReportedName. case 351608024: // version this.getVersion().add((DeviceVersionComponent) value); // DeviceVersionComponent return value; + case 682815883: // specialization + this.getSpecialization().add((DeviceSpecializationComponent) value); // DeviceSpecializationComponent + return value; case -993141291: // property this.getProperty().add((DevicePropertyComponent) value); // DevicePropertyComponent return value; case -1867885268: // subject this.subject = TypeConvertor.castToReference(value); // Reference return value; - case -2103166364: // operationalStatus - this.operationalStatus = (DeviceOperationalStatusComponent) value; // DeviceOperationalStatusComponent + case -1176222753: // operationalState + this.getOperationalState().add((DeviceOperationalStateComponent) value); // DeviceOperationalStateComponent return value; - case -605391917: // associationStatus - this.associationStatus = (DeviceAssociationStatusComponent) value; // DeviceAssociationStatusComponent + case -87499647: // association + this.getAssociation().add((DeviceAssociationComponent) value); // DeviceAssociationComponent return value; case 106164915: // owner this.owner = TypeConvertor.castToReference(value); // Reference @@ -4232,8 +5032,8 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.status = (Enumeration) value; // Enumeration } else if (name.equals("statusReason")) { this.getStatusReason().add(TypeConvertor.castToCodeableConcept(value)); - } else if (name.equals("biologicalSource")) { - this.biologicalSource = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("biologicalSourceEvent")) { + this.biologicalSourceEvent = TypeConvertor.castToIdentifier(value); // Identifier } else if (name.equals("manufacturer")) { this.manufacturer = TypeConvertor.castToString(value); // StringType } else if (name.equals("manufactureDate")) { @@ -4254,14 +5054,16 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.getType().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("version")) { this.getVersion().add((DeviceVersionComponent) value); + } else if (name.equals("specialization")) { + this.getSpecialization().add((DeviceSpecializationComponent) value); } else if (name.equals("property")) { this.getProperty().add((DevicePropertyComponent) value); } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("operationalStatus")) { - this.operationalStatus = (DeviceOperationalStatusComponent) value; // DeviceOperationalStatusComponent - } else if (name.equals("associationStatus")) { - this.associationStatus = (DeviceAssociationStatusComponent) value; // DeviceAssociationStatusComponent + } else if (name.equals("operationalState")) { + this.getOperationalState().add((DeviceOperationalStateComponent) value); + } else if (name.equals("association")) { + this.getAssociation().add((DeviceAssociationComponent) value); } else if (name.equals("owner")) { this.owner = TypeConvertor.castToReference(value); // Reference } else if (name.equals("contact")) { @@ -4294,7 +5096,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1343558178: return addUdiCarrier(); case -892481550: return getStatusElement(); case 2051346646: return addStatusReason(); - case -883952260: return getBiologicalSource(); + case -654468482: return getBiologicalSourceEvent(); case -1969347631: return getManufacturerElement(); case 416714767: return getManufactureDateElement(); case -668811523: return getExpirationDateElement(); @@ -4305,10 +5107,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -731502308: return getPartNumberElement(); case 3575610: return addType(); case 351608024: return addVersion(); + case 682815883: return addSpecialization(); case -993141291: return addProperty(); case -1867885268: return getSubject(); - case -2103166364: return getOperationalStatus(); - case -605391917: return getAssociationStatus(); + case -1176222753: return addOperationalState(); + case -87499647: return addAssociation(); case 106164915: return getOwner(); case 951526432: return addContact(); case 1901043637: return getLocation(); @@ -4332,7 +5135,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1343558178: /*udiCarrier*/ return new String[] {}; case -892481550: /*status*/ return new String[] {"code"}; case 2051346646: /*statusReason*/ return new String[] {"CodeableConcept"}; - case -883952260: /*biologicalSource*/ return new String[] {"Identifier"}; + case -654468482: /*biologicalSourceEvent*/ return new String[] {"Identifier"}; case -1969347631: /*manufacturer*/ return new String[] {"string"}; case 416714767: /*manufactureDate*/ return new String[] {"dateTime"}; case -668811523: /*expirationDate*/ return new String[] {"dateTime"}; @@ -4343,10 +5146,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -731502308: /*partNumber*/ return new String[] {"string"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 351608024: /*version*/ return new String[] {}; + case 682815883: /*specialization*/ return new String[] {}; case -993141291: /*property*/ return new String[] {}; case -1867885268: /*subject*/ return new String[] {"Reference"}; - case -2103166364: /*operationalStatus*/ return new String[] {}; - case -605391917: /*associationStatus*/ return new String[] {}; + case -1176222753: /*operationalState*/ return new String[] {}; + case -87499647: /*association*/ return new String[] {}; case 106164915: /*owner*/ return new String[] {"Reference"}; case 951526432: /*contact*/ return new String[] {"ContactPoint"}; case 1901043637: /*location*/ return new String[] {"Reference"}; @@ -4382,9 +5186,9 @@ RegisteredName | UserFriendlyName | PatientReportedName. else if (name.equals("statusReason")) { return addStatusReason(); } - else if (name.equals("biologicalSource")) { - this.biologicalSource = new Identifier(); - return this.biologicalSource; + else if (name.equals("biologicalSourceEvent")) { + this.biologicalSourceEvent = new Identifier(); + return this.biologicalSourceEvent; } else if (name.equals("manufacturer")) { throw new FHIRException("Cannot call addChild on a primitive type Device.manufacturer"); @@ -4416,6 +5220,9 @@ RegisteredName | UserFriendlyName | PatientReportedName. else if (name.equals("version")) { return addVersion(); } + else if (name.equals("specialization")) { + return addSpecialization(); + } else if (name.equals("property")) { return addProperty(); } @@ -4423,13 +5230,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.subject = new Reference(); return this.subject; } - else if (name.equals("operationalStatus")) { - this.operationalStatus = new DeviceOperationalStatusComponent(); - return this.operationalStatus; + else if (name.equals("operationalState")) { + return addOperationalState(); } - else if (name.equals("associationStatus")) { - this.associationStatus = new DeviceAssociationStatusComponent(); - return this.associationStatus; + else if (name.equals("association")) { + return addAssociation(); } else if (name.equals("owner")) { this.owner = new Reference(); @@ -4496,7 +5301,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. for (CodeableConcept i : statusReason) dst.statusReason.add(i.copy()); }; - dst.biologicalSource = biologicalSource == null ? null : biologicalSource.copy(); + dst.biologicalSourceEvent = biologicalSourceEvent == null ? null : biologicalSourceEvent.copy(); dst.manufacturer = manufacturer == null ? null : manufacturer.copy(); dst.manufactureDate = manufactureDate == null ? null : manufactureDate.copy(); dst.expirationDate = expirationDate == null ? null : expirationDate.copy(); @@ -4519,14 +5324,27 @@ RegisteredName | UserFriendlyName | PatientReportedName. for (DeviceVersionComponent i : version) dst.version.add(i.copy()); }; + if (specialization != null) { + dst.specialization = new ArrayList(); + for (DeviceSpecializationComponent i : specialization) + dst.specialization.add(i.copy()); + }; if (property != null) { dst.property = new ArrayList(); for (DevicePropertyComponent i : property) dst.property.add(i.copy()); }; dst.subject = subject == null ? null : subject.copy(); - dst.operationalStatus = operationalStatus == null ? null : operationalStatus.copy(); - dst.associationStatus = associationStatus == null ? null : associationStatus.copy(); + if (operationalState != null) { + dst.operationalState = new ArrayList(); + for (DeviceOperationalStateComponent i : operationalState) + dst.operationalState.add(i.copy()); + }; + if (association != null) { + dst.association = new ArrayList(); + for (DeviceAssociationComponent i : association) + dst.association.add(i.copy()); + }; dst.owner = owner == null ? null : owner.copy(); if (contact != null) { dst.contact = new ArrayList(); @@ -4571,17 +5389,17 @@ RegisteredName | UserFriendlyName | PatientReportedName. Device o = (Device) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(displayName, o.displayName, true) && compareDeep(definition, o.definition, true) && compareDeep(udiCarrier, o.udiCarrier, true) && compareDeep(status, o.status, true) - && compareDeep(statusReason, o.statusReason, true) && compareDeep(biologicalSource, o.biologicalSource, true) + && compareDeep(statusReason, o.statusReason, true) && compareDeep(biologicalSourceEvent, o.biologicalSourceEvent, true) && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(manufactureDate, o.manufactureDate, true) && compareDeep(expirationDate, o.expirationDate, true) && compareDeep(lotNumber, o.lotNumber, true) && compareDeep(serialNumber, o.serialNumber, true) && compareDeep(deviceName, o.deviceName, true) && compareDeep(modelNumber, o.modelNumber, true) && compareDeep(partNumber, o.partNumber, true) - && compareDeep(type, o.type, true) && compareDeep(version, o.version, true) && compareDeep(property, o.property, true) - && compareDeep(subject, o.subject, true) && compareDeep(operationalStatus, o.operationalStatus, true) - && compareDeep(associationStatus, o.associationStatus, true) && compareDeep(owner, o.owner, true) - && compareDeep(contact, o.contact, true) && compareDeep(location, o.location, true) && compareDeep(url, o.url, true) - && compareDeep(endpoint, o.endpoint, true) && compareDeep(link, o.link, true) && compareDeep(note, o.note, true) - && compareDeep(safety, o.safety, true) && compareDeep(parent, o.parent, true); + && compareDeep(type, o.type, true) && compareDeep(version, o.version, true) && compareDeep(specialization, o.specialization, true) + && compareDeep(property, o.property, true) && compareDeep(subject, o.subject, true) && compareDeep(operationalState, o.operationalState, true) + && compareDeep(association, o.association, true) && compareDeep(owner, o.owner, true) && compareDeep(contact, o.contact, true) + && compareDeep(location, o.location, true) && compareDeep(url, o.url, true) && compareDeep(endpoint, o.endpoint, true) + && compareDeep(link, o.link, true) && compareDeep(note, o.note, true) && compareDeep(safety, o.safety, true) + && compareDeep(parent, o.parent, true); } @Override @@ -4600,10 +5418,10 @@ RegisteredName | UserFriendlyName | PatientReportedName. public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, displayName, definition - , udiCarrier, status, statusReason, biologicalSource, manufacturer, manufactureDate + , udiCarrier, status, statusReason, biologicalSourceEvent, manufacturer, manufactureDate , expirationDate, lotNumber, serialNumber, deviceName, modelNumber, partNumber, type - , version, property, subject, operationalStatus, associationStatus, owner, contact - , location, url, endpoint, link, note, safety, parent); + , version, specialization, property, subject, operationalState, association, owner + , contact, location, url, endpoint, link, note, safety, parent); } @Override @@ -4611,462 +5429,6 @@ RegisteredName | UserFriendlyName | PatientReportedName. return ResourceType.Device; } - /** - * Search parameter: biological-source - *

- * Description: The biological source for the device
- * Type: token
- * Path: Device.biologicalSource
- *

- */ - @SearchParamDefinition(name="biological-source", path="Device.biologicalSource", description="The biological source for the device", type="token" ) - public static final String SP_BIOLOGICAL_SOURCE = "biological-source"; - /** - * Fluent Client search parameter constant for biological-source - *

- * Description: The biological source for the device
- * Type: token
- * Path: Device.biologicalSource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BIOLOGICAL_SOURCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BIOLOGICAL_SOURCE); - - /** - * Search parameter: definition - *

- * Description: The definition / type of the device
- * Type: reference
- * Path: Device.definition.reference
- *

- */ - @SearchParamDefinition(name="definition", path="Device.definition.reference", description="The definition / type of the device", type="reference" ) - public static final String SP_DEFINITION = "definition"; - /** - * Fluent Client search parameter constant for definition - *

- * Description: The definition / type of the device
- * Type: reference
- * Path: Device.definition.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEFINITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEFINITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Device:definition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEFINITION = new ca.uhn.fhir.model.api.Include("Device:definition").toLocked(); - - /** - * Search parameter: device-name - *

- * Description: A server defined search that may match any of the string fields in Device.deviceName or Device.type.
- * Type: string
- * Path: Device.deviceName.name | Device.type.coding.display | Device.type.text
- *

- */ - @SearchParamDefinition(name="device-name", path="Device.deviceName.name | Device.type.coding.display | Device.type.text", description="A server defined search that may match any of the string fields in Device.deviceName or Device.type.", type="string" ) - public static final String SP_DEVICE_NAME = "device-name"; - /** - * Fluent Client search parameter constant for device-name - *

- * Description: A server defined search that may match any of the string fields in Device.deviceName or Device.type.
- * Type: string
- * Path: Device.deviceName.name | Device.type.coding.display | Device.type.text
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DEVICE_NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DEVICE_NAME); - - /** - * Search parameter: expiration-date - *

- * Description: The expiration date of the device
- * Type: date
- * Path: Device.expirationDate
- *

- */ - @SearchParamDefinition(name="expiration-date", path="Device.expirationDate", description="The expiration date of the device", type="date" ) - public static final String SP_EXPIRATION_DATE = "expiration-date"; - /** - * Fluent Client search parameter constant for expiration-date - *

- * Description: The expiration date of the device
- * Type: date
- * Path: Device.expirationDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EXPIRATION_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EXPIRATION_DATE); - - /** - * Search parameter: identifier - *

- * Description: Instance id from manufacturer, owner, and others
- * Type: token
- * Path: Device.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Device.identifier", description="Instance id from manufacturer, owner, and others", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Instance id from manufacturer, owner, and others
- * Type: token
- * Path: Device.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: A location, where the resource is found
- * Type: reference
- * Path: Device.location
- *

- */ - @SearchParamDefinition(name="location", path="Device.location", description="A location, where the resource is found", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: A location, where the resource is found
- * Type: reference
- * Path: Device.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Device:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("Device:location").toLocked(); - - /** - * Search parameter: lot-number - *

- * Description: The lot number of the device
- * Type: string
- * Path: Device.lotNumber
- *

- */ - @SearchParamDefinition(name="lot-number", path="Device.lotNumber", description="The lot number of the device", type="string" ) - public static final String SP_LOT_NUMBER = "lot-number"; - /** - * Fluent Client search parameter constant for lot-number - *

- * Description: The lot number of the device
- * Type: string
- * Path: Device.lotNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam LOT_NUMBER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_LOT_NUMBER); - - /** - * Search parameter: manufacture-date - *

- * Description: The manufacture date of the device
- * Type: date
- * Path: Device.manufactureDate
- *

- */ - @SearchParamDefinition(name="manufacture-date", path="Device.manufactureDate", description="The manufacture date of the device", type="date" ) - public static final String SP_MANUFACTURE_DATE = "manufacture-date"; - /** - * Fluent Client search parameter constant for manufacture-date - *

- * Description: The manufacture date of the device
- * Type: date
- * Path: Device.manufactureDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam MANUFACTURE_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_MANUFACTURE_DATE); - - /** - * Search parameter: manufacturer - *

- * Description: The manufacturer of the device
- * Type: string
- * Path: Device.manufacturer
- *

- */ - @SearchParamDefinition(name="manufacturer", path="Device.manufacturer", description="The manufacturer of the device", type="string" ) - public static final String SP_MANUFACTURER = "manufacturer"; - /** - * Fluent Client search parameter constant for manufacturer - *

- * Description: The manufacturer of the device
- * Type: string
- * Path: Device.manufacturer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam MANUFACTURER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_MANUFACTURER); - - /** - * Search parameter: model - *

- * Description: The model of the device
- * Type: string
- * Path: Device.modelNumber
- *

- */ - @SearchParamDefinition(name="model", path="Device.modelNumber", description="The model of the device", type="string" ) - public static final String SP_MODEL = "model"; - /** - * Fluent Client search parameter constant for model - *

- * Description: The model of the device
- * Type: string
- * Path: Device.modelNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam MODEL = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_MODEL); - - /** - * Search parameter: organization - *

- * Description: The organization responsible for the device
- * Type: reference
- * Path: Device.owner
- *

- */ - @SearchParamDefinition(name="organization", path="Device.owner", description="The organization responsible for the device", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The organization responsible for the device
- * Type: reference
- * Path: Device.owner
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Device:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("Device:organization").toLocked(); - - /** - * Search parameter: parent - *

- * Description: The parent device
- * Type: reference
- * Path: Device.parent
- *

- */ - @SearchParamDefinition(name="parent", path="Device.parent", description="The parent device", type="reference", target={Device.class } ) - public static final String SP_PARENT = "parent"; - /** - * Fluent Client search parameter constant for parent - *

- * Description: The parent device
- * Type: reference
- * Path: Device.parent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Device:parent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT = new ca.uhn.fhir.model.api.Include("Device:parent").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Patient information, if the resource is affixed to a person
- * Type: reference
- * Path: Device.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Device.subject.where(resolve() is Patient)", description="Patient information, if the resource is affixed to a person", type="reference", target={Patient.class, Person.class, Practitioner.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Patient information, if the resource is affixed to a person
- * Type: reference
- * Path: Device.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Device:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Device:patient").toLocked(); - - /** - * Search parameter: serial-number - *

- * Description: The serial number of the device
- * Type: string
- * Path: Device.serialNumber
- *

- */ - @SearchParamDefinition(name="serial-number", path="Device.serialNumber", description="The serial number of the device", type="string" ) - public static final String SP_SERIAL_NUMBER = "serial-number"; - /** - * Fluent Client search parameter constant for serial-number - *

- * Description: The serial number of the device
- * Type: string
- * Path: Device.serialNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam SERIAL_NUMBER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_SERIAL_NUMBER); - - /** - * Search parameter: status - *

- * Description: active | inactive | entered-in-error | unknown
- * Type: token
- * Path: Device.status
- *

- */ - @SearchParamDefinition(name="status", path="Device.status", description="active | inactive | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | inactive | entered-in-error | unknown
- * Type: token
- * Path: Device.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Subject information, to which the device is associated of affixed
- * Type: reference
- * Path: Device.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Device.subject", description="Subject information, to which the device is associated of affixed", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class, Person.class, Practitioner.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Subject information, to which the device is associated of affixed
- * Type: reference
- * Path: Device.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Device:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Device:subject").toLocked(); - - /** - * Search parameter: type - *

- * Description: The type of the device
- * Type: token
- * Path: Device.type
- *

- */ - @SearchParamDefinition(name="type", path="Device.type", description="The type of the device", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The type of the device
- * Type: token
- * Path: Device.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: udi-carrier - *

- * Description: UDI Barcode (RFID or other technology) string in *HRF* format.
- * Type: string
- * Path: Device.udiCarrier.carrierHRF
- *

- */ - @SearchParamDefinition(name="udi-carrier", path="Device.udiCarrier.carrierHRF", description="UDI Barcode (RFID or other technology) string in *HRF* format.", type="string" ) - public static final String SP_UDI_CARRIER = "udi-carrier"; - /** - * Fluent Client search parameter constant for udi-carrier - *

- * Description: UDI Barcode (RFID or other technology) string in *HRF* format.
- * Type: string
- * Path: Device.udiCarrier.carrierHRF
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam UDI_CARRIER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_UDI_CARRIER); - - /** - * Search parameter: udi-di - *

- * Description: The udi Device Identifier (DI)
- * Type: string
- * Path: Device.udiCarrier.deviceIdentifier
- *

- */ - @SearchParamDefinition(name="udi-di", path="Device.udiCarrier.deviceIdentifier", description="The udi Device Identifier (DI)", type="string" ) - public static final String SP_UDI_DI = "udi-di"; - /** - * Fluent Client search parameter constant for udi-di - *

- * Description: The udi Device Identifier (DI)
- * Type: string
- * Path: Device.udiCarrier.deviceIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam UDI_DI = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_UDI_DI); - - /** - * Search parameter: url - *

- * Description: Network address to contact device
- * Type: uri
- * Path: Device.url
- *

- */ - @SearchParamDefinition(name="url", path="Device.url", description="Network address to contact device", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Network address to contact device
- * Type: uri
- * Path: Device.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The specific version of the device
- * Type: string
- * Path: Device.version.value
- *

- */ - @SearchParamDefinition(name="version", path="Device.version.value", description="The specific version of the device", type="string" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The specific version of the device
- * Type: string
- * Path: Device.version.value
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam VERSION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_VERSION); - /** * Search parameter: din *

diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDefinition.java index eb9ed9d02..1a03b9b64 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class DeviceDefinition extends DomainResource { case MODEL: return "model"; case LOTNUMBERS: return "lot-numbers"; case SERIALNUMBERS: return "serial-numbers"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class DeviceDefinition extends DomainResource { case MODEL: return "http://hl7.org/fhir/device-correctiveactionscope"; case LOTNUMBERS: return "http://hl7.org/fhir/device-correctiveactionscope"; case SERIALNUMBERS: return "http://hl7.org/fhir/device-correctiveactionscope"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class DeviceDefinition extends DomainResource { case MODEL: return "The corrective action was intended for all units of the same model."; case LOTNUMBERS: return "The corrective action was intended for a specific batch of units identified by a lot number."; case SERIALNUMBERS: return "The corrective action was intended for an individual unit (or a set of units) individually identified by serial number."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class DeviceDefinition extends DomainResource { case MODEL: return "Model"; case LOTNUMBERS: return "Lot Numbers"; case SERIALNUMBERS: return "Serial Numbers"; + case NULL: return null; default: return "?"; } } @@ -218,6 +222,7 @@ public class DeviceDefinition extends DomainResource { case EXPIRATIONDATE: return "expiration-date"; case BIOLOGICALSOURCE: return "biological-source"; case SOFTWAREVERSION: return "software-version"; + case NULL: return null; default: return "?"; } } @@ -229,6 +234,7 @@ public class DeviceDefinition extends DomainResource { case EXPIRATIONDATE: return "http://terminology.hl7.org/CodeSystem/device-productidentifierinudi"; case BIOLOGICALSOURCE: return "http://terminology.hl7.org/CodeSystem/device-productidentifierinudi"; case SOFTWAREVERSION: return "http://terminology.hl7.org/CodeSystem/device-productidentifierinudi"; + case NULL: return null; default: return "?"; } } @@ -240,6 +246,7 @@ public class DeviceDefinition extends DomainResource { case EXPIRATIONDATE: return "The label includes the expiration date."; case BIOLOGICALSOURCE: return "The label includes the biological source identifier."; case SOFTWAREVERSION: return "The label includes the software version."; + case NULL: return null; default: return "?"; } } @@ -251,6 +258,7 @@ public class DeviceDefinition extends DomainResource { case EXPIRATIONDATE: return "Expiration date"; case BIOLOGICALSOURCE: return "Biological source"; case SOFTWAREVERSION: return "Software Version"; + case NULL: return null; default: return "?"; } } @@ -341,10 +349,10 @@ public class DeviceDefinition extends DomainResource { protected UriType jurisdiction; /** - * The organization that assigns the identifier algorithm. + * Indicates where and when the device is available on the market. */ @Child(name = "marketDistribution", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Indicates whether and when the device is available on the market", formalDefinition="The organization that assigns the identifier algorithm." ) + @Description(shortDefinition="Indicates whether and when the device is available on the market", formalDefinition="Indicates where and when the device is available on the market." ) protected List marketDistribution; private static final long serialVersionUID = -1659077973L; @@ -502,7 +510,7 @@ public class DeviceDefinition extends DomainResource { } /** - * @return {@link #marketDistribution} (The organization that assigns the identifier algorithm.) + * @return {@link #marketDistribution} (Indicates where and when the device is available on the market.) */ public List getMarketDistribution() { if (this.marketDistribution == null) @@ -559,7 +567,7 @@ public class DeviceDefinition extends DomainResource { children.add(new Property("deviceIdentifier", "string", "The identifier that is to be associated with every Device that references this DeviceDefintiion for the issuer and jurisdiction provided in the DeviceDefinition.udiDeviceIdentifier.", 0, 1, deviceIdentifier)); children.add(new Property("issuer", "uri", "The organization that assigns the identifier algorithm.", 0, 1, issuer)); children.add(new Property("jurisdiction", "uri", "The jurisdiction to which the deviceIdentifier applies.", 0, 1, jurisdiction)); - children.add(new Property("marketDistribution", "", "The organization that assigns the identifier algorithm.", 0, java.lang.Integer.MAX_VALUE, marketDistribution)); + children.add(new Property("marketDistribution", "", "Indicates where and when the device is available on the market.", 0, java.lang.Integer.MAX_VALUE, marketDistribution)); } @Override @@ -568,7 +576,7 @@ public class DeviceDefinition extends DomainResource { case 1322005407: /*deviceIdentifier*/ return new Property("deviceIdentifier", "string", "The identifier that is to be associated with every Device that references this DeviceDefintiion for the issuer and jurisdiction provided in the DeviceDefinition.udiDeviceIdentifier.", 0, 1, deviceIdentifier); case -1179159879: /*issuer*/ return new Property("issuer", "uri", "The organization that assigns the identifier algorithm.", 0, 1, issuer); case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "uri", "The jurisdiction to which the deviceIdentifier applies.", 0, 1, jurisdiction); - case 530037984: /*marketDistribution*/ return new Property("marketDistribution", "", "The organization that assigns the identifier algorithm.", 0, java.lang.Integer.MAX_VALUE, marketDistribution); + case 530037984: /*marketDistribution*/ return new Property("marketDistribution", "", "Indicates where and when the device is available on the market.", 0, java.lang.Integer.MAX_VALUE, marketDistribution); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3322,7 +3330,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * Property value - the data type depends on the property type. */ - @Child(name = "value", type = {Quantity.class, CodeableConcept.class, StringType.class, BooleanType.class, IntegerType.class, Range.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "value", type = {Quantity.class, CodeableConcept.class, StringType.class, BooleanType.class, IntegerType.class, Range.class, Attachment.class}, order=2, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="Property value - as a code or quantity", formalDefinition="Property value - the data type depends on the property type." ) protected DataType value; @@ -3338,9 +3346,10 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * Constructor */ - public DeviceDefinitionPropertyComponent(CodeableConcept type) { + public DeviceDefinitionPropertyComponent(CodeableConcept type, DataType value) { super(); this.setType(type); + this.setValue(value); } /** @@ -5480,9 +5489,9 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction. */ - @Child(name = "manufacturer", type = {StringType.class, Organization.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "manufacturer", type = {Organization.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Name of device manufacturer", formalDefinition="A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction." ) - protected DataType manufacturer; + protected Reference manufacturer; /** * The name or names of the device as given by the manufacturer. @@ -5633,7 +5642,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. @Description(shortDefinition="Billing code or reference associated with the device", formalDefinition="Billing code or reference associated with the device." ) protected List chargeItem; - private static final long serialVersionUID = 1434026898L; + private static final long serialVersionUID = -1006753471L; /** * Constructor @@ -5849,40 +5858,15 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * @return {@link #manufacturer} (A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.) */ - public DataType getManufacturer() { + public Reference getManufacturer() { + if (this.manufacturer == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceDefinition.manufacturer"); + else if (Configuration.doAutoCreate()) + this.manufacturer = new Reference(); // cc return this.manufacturer; } - /** - * @return {@link #manufacturer} (A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.) - */ - public StringType getManufacturerStringType() throws FHIRException { - if (this.manufacturer == null) - this.manufacturer = new StringType(); - if (!(this.manufacturer instanceof StringType)) - throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.manufacturer.getClass().getName()+" was encountered"); - return (StringType) this.manufacturer; - } - - public boolean hasManufacturerStringType() { - return this != null && this.manufacturer instanceof StringType; - } - - /** - * @return {@link #manufacturer} (A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.) - */ - public Reference getManufacturerReference() throws FHIRException { - if (this.manufacturer == null) - this.manufacturer = new Reference(); - if (!(this.manufacturer instanceof Reference)) - throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.manufacturer.getClass().getName()+" was encountered"); - return (Reference) this.manufacturer; - } - - public boolean hasManufacturerReference() { - return this != null && this.manufacturer instanceof Reference; - } - public boolean hasManufacturer() { return this.manufacturer != null && !this.manufacturer.isEmpty(); } @@ -5890,9 +5874,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. /** * @param value {@link #manufacturer} (A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.) */ - public DeviceDefinition setManufacturer(DataType value) { - if (value != null && !(value instanceof StringType || value instanceof Reference)) - throw new Error("Not the right type for DeviceDefinition.manufacturer[x]: "+value.fhirType()); + public DeviceDefinition setManufacturer(Reference value) { this.manufacturer = value; return this; } @@ -6904,7 +6886,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. children.add(new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners. For example: handle ID. The identifier is typically valued if the udiDeviceIdentifier, partNumber or modelNumber is not valued and represents a different type of identifier. However, it is permissible to still include those identifiers in DeviceDefinition.identifier with the appropriate identifier.type.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("udiDeviceIdentifier", "", "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", 0, java.lang.Integer.MAX_VALUE, udiDeviceIdentifier)); children.add(new Property("partNumber", "string", "The part number or catalog number of the device.", 0, 1, partNumber)); - children.add(new Property("manufacturer[x]", "string|Reference(Organization)", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer)); + children.add(new Property("manufacturer", "Reference(Organization)", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer)); children.add(new Property("deviceName", "", "The name or names of the device as given by the manufacturer.", 0, java.lang.Integer.MAX_VALUE, deviceName)); children.add(new Property("modelNumber", "string", "The model number for the device for example as defined by the manufacturer or labeler, or other agency.", 0, 1, modelNumber)); children.add(new Property("classification", "", "What kind of device or device system this is.", 0, java.lang.Integer.MAX_VALUE, classification)); @@ -6935,10 +6917,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners. For example: handle ID. The identifier is typically valued if the udiDeviceIdentifier, partNumber or modelNumber is not valued and represents a different type of identifier. However, it is permissible to still include those identifiers in DeviceDefinition.identifier with the appropriate identifier.type.", 0, java.lang.Integer.MAX_VALUE, identifier); case -99121287: /*udiDeviceIdentifier*/ return new Property("udiDeviceIdentifier", "", "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", 0, java.lang.Integer.MAX_VALUE, udiDeviceIdentifier); case -731502308: /*partNumber*/ return new Property("partNumber", "string", "The part number or catalog number of the device.", 0, 1, partNumber); - case 418079503: /*manufacturer[x]*/ return new Property("manufacturer[x]", "string|Reference(Organization)", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer); - case -1969347631: /*manufacturer*/ return new Property("manufacturer[x]", "string|Reference(Organization)", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer); - case -630681790: /*manufacturerString*/ return new Property("manufacturer[x]", "string", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer); - case 1104934522: /*manufacturerReference*/ return new Property("manufacturer[x]", "Reference(Organization)", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer); + case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "A name of the manufacturer or legal representative e.g. labeler. Whether this is the actual manufacturer or the labeler or responsible depends on implementation and jurisdiction.", 0, 1, manufacturer); case 780988929: /*deviceName*/ return new Property("deviceName", "", "The name or names of the device as given by the manufacturer.", 0, java.lang.Integer.MAX_VALUE, deviceName); case 346619858: /*modelNumber*/ return new Property("modelNumber", "string", "The model number for the device for example as defined by the manufacturer or labeler, or other agency.", 0, 1, modelNumber); case 382350310: /*classification*/ return new Property("classification", "", "What kind of device or device system this is.", 0, java.lang.Integer.MAX_VALUE, classification); @@ -6972,7 +6951,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -99121287: /*udiDeviceIdentifier*/ return this.udiDeviceIdentifier == null ? new Base[0] : this.udiDeviceIdentifier.toArray(new Base[this.udiDeviceIdentifier.size()]); // DeviceDefinitionUdiDeviceIdentifierComponent case -731502308: /*partNumber*/ return this.partNumber == null ? new Base[0] : new Base[] {this.partNumber}; // StringType - case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : new Base[] {this.manufacturer}; // DataType + case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : new Base[] {this.manufacturer}; // Reference case 780988929: /*deviceName*/ return this.deviceName == null ? new Base[0] : this.deviceName.toArray(new Base[this.deviceName.size()]); // DeviceDefinitionDeviceNameComponent case 346619858: /*modelNumber*/ return this.modelNumber == null ? new Base[0] : new Base[] {this.modelNumber}; // StringType case 382350310: /*classification*/ return this.classification == null ? new Base[0] : this.classification.toArray(new Base[this.classification.size()]); // DeviceDefinitionClassificationComponent @@ -7015,7 +6994,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.partNumber = TypeConvertor.castToString(value); // StringType return value; case -1969347631: // manufacturer - this.manufacturer = TypeConvertor.castToType(value); // DataType + this.manufacturer = TypeConvertor.castToReference(value); // Reference return value; case 780988929: // deviceName this.getDeviceName().add((DeviceDefinitionDeviceNameComponent) value); // DeviceDefinitionDeviceNameComponent @@ -7096,8 +7075,8 @@ RegisteredName | UserFriendlyName | PatientReportedName. this.getUdiDeviceIdentifier().add((DeviceDefinitionUdiDeviceIdentifierComponent) value); } else if (name.equals("partNumber")) { this.partNumber = TypeConvertor.castToString(value); // StringType - } else if (name.equals("manufacturer[x]")) { - this.manufacturer = TypeConvertor.castToType(value); // DataType + } else if (name.equals("manufacturer")) { + this.manufacturer = TypeConvertor.castToReference(value); // Reference } else if (name.equals("deviceName")) { this.getDeviceName().add((DeviceDefinitionDeviceNameComponent) value); } else if (name.equals("modelNumber")) { @@ -7153,7 +7132,6 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1618432855: return addIdentifier(); case -99121287: return addUdiDeviceIdentifier(); case -731502308: return getPartNumberElement(); - case 418079503: return getManufacturer(); case -1969347631: return getManufacturer(); case 780988929: return addDeviceName(); case 346619858: return getModelNumberElement(); @@ -7188,7 +7166,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -99121287: /*udiDeviceIdentifier*/ return new String[] {}; case -731502308: /*partNumber*/ return new String[] {"string"}; - case -1969347631: /*manufacturer*/ return new String[] {"string", "Reference"}; + case -1969347631: /*manufacturer*/ return new String[] {"Reference"}; case 780988929: /*deviceName*/ return new String[] {}; case 346619858: /*modelNumber*/ return new String[] {"string"}; case 382350310: /*classification*/ return new String[] {}; @@ -7229,11 +7207,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. else if (name.equals("partNumber")) { throw new FHIRException("Cannot call addChild on a primitive type DeviceDefinition.partNumber"); } - else if (name.equals("manufacturerString")) { - this.manufacturer = new StringType(); - return this.manufacturer; - } - else if (name.equals("manufacturerReference")) { + else if (name.equals("manufacturer")) { this.manufacturer = new Reference(); return this.manufacturer; } @@ -7471,72 +7445,6 @@ RegisteredName | UserFriendlyName | PatientReportedName. return ResourceType.DeviceDefinition; } - /** - * Search parameter: identifier - *

- * Description: The identifier of the component
- * Type: token
- * Path: DeviceDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="DeviceDefinition.identifier", description="The identifier of the component", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The identifier of the component
- * Type: token
- * Path: DeviceDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: parent - *

- * Description: The parent DeviceDefinition resource
- * Type: reference
- * Path: DeviceDefinition.parentDevice
- *

- */ - @SearchParamDefinition(name="parent", path="DeviceDefinition.parentDevice", description="The parent DeviceDefinition resource", type="reference", target={DeviceDefinition.class } ) - public static final String SP_PARENT = "parent"; - /** - * Fluent Client search parameter constant for parent - *

- * Description: The parent DeviceDefinition resource
- * Type: reference
- * Path: DeviceDefinition.parentDevice
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceDefinition:parent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT = new ca.uhn.fhir.model.api.Include("DeviceDefinition:parent").toLocked(); - - /** - * Search parameter: type - *

- * Description: The device component type
- * Type: token
- * Path: DeviceDefinition.classification.type
- *

- */ - @SearchParamDefinition(name="type", path="DeviceDefinition.classification.type", description="The device component type", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The device component type
- * Type: token
- * Path: DeviceDefinition.classification.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDispense.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDispense.java index b9af0d523..e1124bc2b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDispense.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceDispense.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -131,6 +131,7 @@ public class DeviceDispense extends DomainResource { case STOPPED: return "stopped"; case DECLINED: return "declined"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -145,6 +146,7 @@ public class DeviceDispense extends DomainResource { case STOPPED: return "http://terminology.hl7.org/CodeSystem/devicedispense-status"; case DECLINED: return "http://terminology.hl7.org/CodeSystem/devicedispense-status"; case UNKNOWN: return "http://terminology.hl7.org/CodeSystem/devicedispense-status"; + case NULL: return null; default: return "?"; } } @@ -159,6 +161,7 @@ public class DeviceDispense extends DomainResource { case STOPPED: return "Actions implied by the dispense have been permanently halted, before all of them occurred."; case DECLINED: return "The dispense was declined and not performed."; case UNKNOWN: return "The authoring system does not know which of the status values applies for this dispense. Note: this concept is not to be used for other - one of the listed statuses is presumed to apply, it's just now known which one."; + case NULL: return null; default: return "?"; } } @@ -173,6 +176,7 @@ public class DeviceDispense extends DomainResource { case STOPPED: return "Stopped"; case DECLINED: return "Declined"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -1873,52 +1877,6 @@ public class DeviceDispense extends DomainResource { return ResourceType.DeviceDispense; } - /** - * Search parameter: code - *

- * Description: Search for devices that match this code
- * Type: token
- * Path: DeviceDispense.device.concept
- *

- */ - @SearchParamDefinition(name="code", path="DeviceDispense.device.concept", description="Search for devices that match this code", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Search for devices that match this code
- * Type: token
- * Path: DeviceDispense.device.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: subject - *

- * Description: The identity of a patient for whom to list dispenses
- * Type: reference
- * Path: DeviceDispense.subject
- *

- */ - @SearchParamDefinition(name="subject", path="DeviceDispense.subject", description="The identity of a patient for whom to list dispenses", type="reference", target={Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a patient for whom to list dispenses
- * Type: reference
- * Path: DeviceDispense.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceDispense:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("DeviceDispense:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceMetric.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceMetric.java index 3e0cde13a..aea40961d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceMetric.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceMetric.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class DeviceMetric extends DomainResource { case CALIBRATIONREQUIRED: return "calibration-required"; case CALIBRATED: return "calibrated"; case UNSPECIFIED: return "unspecified"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class DeviceMetric extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class DeviceMetric extends DomainResource { case CALIBRATIONREQUIRED: return "The metric needs to be calibrated."; case CALIBRATED: return "The metric has been calibrated."; case UNSPECIFIED: return "The state of calibration of this metric is unspecified."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class DeviceMetric extends DomainResource { case CALIBRATIONREQUIRED: return "Calibration Required"; case CALIBRATED: return "Calibrated"; case UNSPECIFIED: return "Unspecified"; + case NULL: return null; default: return "?"; } } @@ -220,6 +224,7 @@ public class DeviceMetric extends DomainResource { case OFFSET: return "offset"; case GAIN: return "gain"; case TWOPOINT: return "two-point"; + case NULL: return null; default: return "?"; } } @@ -229,6 +234,7 @@ public class DeviceMetric extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -238,6 +244,7 @@ public class DeviceMetric extends DomainResource { case OFFSET: return "Offset metric calibration method."; case GAIN: return "Gain metric calibration method."; case TWOPOINT: return "Two-point metric calibration method."; + case NULL: return null; default: return "?"; } } @@ -247,6 +254,7 @@ public class DeviceMetric extends DomainResource { case OFFSET: return "Offset"; case GAIN: return "Gain"; case TWOPOINT: return "Two Point"; + case NULL: return null; default: return "?"; } } @@ -344,6 +352,7 @@ public class DeviceMetric extends DomainResource { case SETTING: return "setting"; case CALCULATION: return "calculation"; case UNSPECIFIED: return "unspecified"; + case NULL: return null; default: return "?"; } } @@ -353,6 +362,7 @@ public class DeviceMetric extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -362,6 +372,7 @@ public class DeviceMetric extends DomainResource { case SETTING: return "DeviceObservations generated for this DeviceMetric is a setting that will influence the behavior of the Device."; case CALCULATION: return "DeviceObservations generated for this DeviceMetric are calculated."; case UNSPECIFIED: return "The category of this DeviceMetric is unspecified."; + case NULL: return null; default: return "?"; } } @@ -371,6 +382,7 @@ public class DeviceMetric extends DomainResource { case SETTING: return "Setting"; case CALCULATION: return "Calculation"; case UNSPECIFIED: return "Unspecified"; + case NULL: return null; default: return "?"; } } @@ -496,6 +508,7 @@ public class DeviceMetric extends DomainResource { case MAGENTA: return "magenta"; case CYAN: return "cyan"; case WHITE: return "white"; + case NULL: return null; default: return "?"; } } @@ -509,6 +522,7 @@ public class DeviceMetric extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -522,6 +536,7 @@ public class DeviceMetric extends DomainResource { case MAGENTA: return "Color for representation - magenta."; case CYAN: return "Color for representation - cyan."; case WHITE: return "Color for representation - white."; + case NULL: return null; default: return "?"; } } @@ -535,6 +550,7 @@ public class DeviceMetric extends DomainResource { case MAGENTA: return "Color Magenta"; case CYAN: return "Color Cyan"; case WHITE: return "Color White"; + case NULL: return null; default: return "?"; } } @@ -656,6 +672,7 @@ public class DeviceMetric extends DomainResource { case OFF: return "off"; case STANDBY: return "standby"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -665,6 +682,7 @@ public class DeviceMetric extends DomainResource { case OFF: return "http://hl7.org/fhir/metric-operational-status"; case STANDBY: return "http://hl7.org/fhir/metric-operational-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/metric-operational-status"; + case NULL: return null; default: return "?"; } } @@ -674,6 +692,7 @@ public class DeviceMetric extends DomainResource { case OFF: return "The DeviceMetric is not operating."; case STANDBY: return "The DeviceMetric is operating, but will not generate any DeviceObservations."; case ENTEREDINERROR: return "The DeviceMetric was entered in error."; + case NULL: return null; default: return "?"; } } @@ -683,6 +702,7 @@ public class DeviceMetric extends DomainResource { case OFF: return "Off"; case STANDBY: return "Standby"; case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; default: return "?"; } } @@ -1795,118 +1815,6 @@ public class DeviceMetric extends DomainResource { return ResourceType.DeviceMetric; } - /** - * Search parameter: category - *

- * Description: The category of the metric
- * Type: token
- * Path: DeviceMetric.category
- *

- */ - @SearchParamDefinition(name="category", path="DeviceMetric.category", description="The category of the metric", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: The category of the metric
- * Type: token
- * Path: DeviceMetric.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: identifier - *

- * Description: The identifier of the metric
- * Type: token
- * Path: DeviceMetric.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="DeviceMetric.identifier", description="The identifier of the metric", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The identifier of the metric
- * Type: token
- * Path: DeviceMetric.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: parent - *

- * Description: The parent DeviceMetric resource
- * Type: reference
- * Path: DeviceMetric.parent
- *

- */ - @SearchParamDefinition(name="parent", path="DeviceMetric.parent", description="The parent DeviceMetric resource", type="reference", target={Device.class } ) - public static final String SP_PARENT = "parent"; - /** - * Fluent Client search parameter constant for parent - *

- * Description: The parent DeviceMetric resource
- * Type: reference
- * Path: DeviceMetric.parent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceMetric:parent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT = new ca.uhn.fhir.model.api.Include("DeviceMetric:parent").toLocked(); - - /** - * Search parameter: source - *

- * Description: The device resource
- * Type: reference
- * Path: DeviceMetric.source
- *

- */ - @SearchParamDefinition(name="source", path="DeviceMetric.source", description="The device resource", type="reference", target={Device.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: The device resource
- * Type: reference
- * Path: DeviceMetric.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceMetric:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("DeviceMetric:source").toLocked(); - - /** - * Search parameter: type - *

- * Description: The component type
- * Type: token
- * Path: DeviceMetric.type
- *

- */ - @SearchParamDefinition(name="type", path="DeviceMetric.type", description="The component type", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The component type
- * Type: token
- * Path: DeviceMetric.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceRequest.java index 103a3f301..c66126269 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -360,9 +360,9 @@ public class DeviceRequest extends DomainResource { /** * The request takes the place of the referenced completed or terminated request(s). */ - @Child(name = "priorRequest", type = {DeviceRequest.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "replaces", type = {DeviceRequest.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="What request replaces", formalDefinition="The request takes the place of the referenced completed or terminated request(s)." ) - protected List priorRequest; + protected List replaces; /** * Composite request this is part of. @@ -510,7 +510,7 @@ public class DeviceRequest extends DomainResource { @Description(shortDefinition="Request provenance", formalDefinition="Key events in the history of the request." ) protected List relevantHistory; - private static final long serialVersionUID = 97830140L; + private static final long serialVersionUID = 503857634L; /** * Constructor @@ -758,56 +758,56 @@ public class DeviceRequest extends DomainResource { } /** - * @return {@link #priorRequest} (The request takes the place of the referenced completed or terminated request(s).) + * @return {@link #replaces} (The request takes the place of the referenced completed or terminated request(s).) */ - public List getPriorRequest() { - if (this.priorRequest == null) - this.priorRequest = new ArrayList(); - return this.priorRequest; + public List getReplaces() { + if (this.replaces == null) + this.replaces = new ArrayList(); + return this.replaces; } /** * @return Returns a reference to this for easy method chaining */ - public DeviceRequest setPriorRequest(List thePriorRequest) { - this.priorRequest = thePriorRequest; + public DeviceRequest setReplaces(List theReplaces) { + this.replaces = theReplaces; return this; } - public boolean hasPriorRequest() { - if (this.priorRequest == null) + public boolean hasReplaces() { + if (this.replaces == null) return false; - for (Reference item : this.priorRequest) + for (Reference item : this.replaces) if (!item.isEmpty()) return true; return false; } - public Reference addPriorRequest() { //3 + public Reference addReplaces() { //3 Reference t = new Reference(); - if (this.priorRequest == null) - this.priorRequest = new ArrayList(); - this.priorRequest.add(t); + if (this.replaces == null) + this.replaces = new ArrayList(); + this.replaces.add(t); return t; } - public DeviceRequest addPriorRequest(Reference t) { //3 + public DeviceRequest addReplaces(Reference t) { //3 if (t == null) return this; - if (this.priorRequest == null) - this.priorRequest = new ArrayList(); - this.priorRequest.add(t); + if (this.replaces == null) + this.replaces = new ArrayList(); + this.replaces.add(t); return this; } /** - * @return The first repetition of repeating field {@link #priorRequest}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #replaces}, creating it if it does not already exist {3} */ - public Reference getPriorRequestFirstRep() { - if (getPriorRequest().isEmpty()) { - addPriorRequest(); + public Reference getReplacesFirstRep() { + if (getReplaces().isEmpty()) { + addReplaces(); } - return getPriorRequest().get(0); + return getReplaces().get(0); } /** @@ -1650,7 +1650,7 @@ public class DeviceRequest extends DomainResource { children.add(new Property("instantiatesCanonical", "canonical(ActivityDefinition|PlanDefinition)", "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.", 0, java.lang.Integer.MAX_VALUE, instantiatesCanonical)); children.add(new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.", 0, java.lang.Integer.MAX_VALUE, instantiatesUri)); children.add(new Property("basedOn", "Reference(Any)", "Plan/proposal/order fulfilled by this request.", 0, java.lang.Integer.MAX_VALUE, basedOn)); - children.add(new Property("priorRequest", "Reference(DeviceRequest)", "The request takes the place of the referenced completed or terminated request(s).", 0, java.lang.Integer.MAX_VALUE, priorRequest)); + children.add(new Property("replaces", "Reference(DeviceRequest)", "The request takes the place of the referenced completed or terminated request(s).", 0, java.lang.Integer.MAX_VALUE, replaces)); children.add(new Property("groupIdentifier", "Identifier", "Composite request this is part of.", 0, 1, groupIdentifier)); children.add(new Property("status", "code", "The status of the request.", 0, 1, status)); children.add(new Property("intent", "code", "Whether the request is a proposal, plan, an original order or a reflex order.", 0, 1, intent)); @@ -1680,7 +1680,7 @@ public class DeviceRequest extends DomainResource { case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(ActivityDefinition|PlanDefinition)", "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.", 0, java.lang.Integer.MAX_VALUE, instantiatesCanonical); case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this DeviceRequest.", 0, java.lang.Integer.MAX_VALUE, instantiatesUri); case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(Any)", "Plan/proposal/order fulfilled by this request.", 0, java.lang.Integer.MAX_VALUE, basedOn); - case 237568101: /*priorRequest*/ return new Property("priorRequest", "Reference(DeviceRequest)", "The request takes the place of the referenced completed or terminated request(s).", 0, java.lang.Integer.MAX_VALUE, priorRequest); + case -430332865: /*replaces*/ return new Property("replaces", "Reference(DeviceRequest)", "The request takes the place of the referenced completed or terminated request(s).", 0, java.lang.Integer.MAX_VALUE, replaces); case -445338488: /*groupIdentifier*/ return new Property("groupIdentifier", "Identifier", "Composite request this is part of.", 0, 1, groupIdentifier); case -892481550: /*status*/ return new Property("status", "code", "The status of the request.", 0, 1, status); case -1183762788: /*intent*/ return new Property("intent", "code", "Whether the request is a proposal, plan, an original order or a reflex order.", 0, 1, intent); @@ -1717,7 +1717,7 @@ public class DeviceRequest extends DomainResource { case 8911915: /*instantiatesCanonical*/ return this.instantiatesCanonical == null ? new Base[0] : this.instantiatesCanonical.toArray(new Base[this.instantiatesCanonical.size()]); // CanonicalType case -1926393373: /*instantiatesUri*/ return this.instantiatesUri == null ? new Base[0] : this.instantiatesUri.toArray(new Base[this.instantiatesUri.size()]); // UriType case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference - case 237568101: /*priorRequest*/ return this.priorRequest == null ? new Base[0] : this.priorRequest.toArray(new Base[this.priorRequest.size()]); // Reference + case -430332865: /*replaces*/ return this.replaces == null ? new Base[0] : this.replaces.toArray(new Base[this.replaces.size()]); // Reference case -445338488: /*groupIdentifier*/ return this.groupIdentifier == null ? new Base[0] : new Base[] {this.groupIdentifier}; // Identifier case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case -1183762788: /*intent*/ return this.intent == null ? new Base[0] : new Base[] {this.intent}; // Enumeration @@ -1758,8 +1758,8 @@ public class DeviceRequest extends DomainResource { case -332612366: // basedOn this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference return value; - case 237568101: // priorRequest - this.getPriorRequest().add(TypeConvertor.castToReference(value)); // Reference + case -430332865: // replaces + this.getReplaces().add(TypeConvertor.castToReference(value)); // Reference return value; case -445338488: // groupIdentifier this.groupIdentifier = TypeConvertor.castToIdentifier(value); // Identifier @@ -1839,8 +1839,8 @@ public class DeviceRequest extends DomainResource { this.getInstantiatesUri().add(TypeConvertor.castToUri(value)); } else if (name.equals("basedOn")) { this.getBasedOn().add(TypeConvertor.castToReference(value)); - } else if (name.equals("priorRequest")) { - this.getPriorRequest().add(TypeConvertor.castToReference(value)); + } else if (name.equals("replaces")) { + this.getReplaces().add(TypeConvertor.castToReference(value)); } else if (name.equals("groupIdentifier")) { this.groupIdentifier = TypeConvertor.castToIdentifier(value); // Identifier } else if (name.equals("status")) { @@ -1896,7 +1896,7 @@ public class DeviceRequest extends DomainResource { case 8911915: return addInstantiatesCanonicalElement(); case -1926393373: return addInstantiatesUriElement(); case -332612366: return addBasedOn(); - case 237568101: return addPriorRequest(); + case -430332865: return addReplaces(); case -445338488: return getGroupIdentifier(); case -892481550: return getStatusElement(); case -1183762788: return getIntentElement(); @@ -1930,7 +1930,7 @@ public class DeviceRequest extends DomainResource { case 8911915: /*instantiatesCanonical*/ return new String[] {"canonical"}; case -1926393373: /*instantiatesUri*/ return new String[] {"uri"}; case -332612366: /*basedOn*/ return new String[] {"Reference"}; - case 237568101: /*priorRequest*/ return new String[] {"Reference"}; + case -430332865: /*replaces*/ return new String[] {"Reference"}; case -445338488: /*groupIdentifier*/ return new String[] {"Identifier"}; case -892481550: /*status*/ return new String[] {"code"}; case -1183762788: /*intent*/ return new String[] {"code"}; @@ -1970,8 +1970,8 @@ public class DeviceRequest extends DomainResource { else if (name.equals("basedOn")) { return addBasedOn(); } - else if (name.equals("priorRequest")) { - return addPriorRequest(); + else if (name.equals("replaces")) { + return addReplaces(); } else if (name.equals("groupIdentifier")) { this.groupIdentifier = new Identifier(); @@ -2086,10 +2086,10 @@ public class DeviceRequest extends DomainResource { for (Reference i : basedOn) dst.basedOn.add(i.copy()); }; - if (priorRequest != null) { - dst.priorRequest = new ArrayList(); - for (Reference i : priorRequest) - dst.priorRequest.add(i.copy()); + if (replaces != null) { + dst.replaces = new ArrayList(); + for (Reference i : replaces) + dst.replaces.add(i.copy()); }; dst.groupIdentifier = groupIdentifier == null ? null : groupIdentifier.copy(); dst.status = status == null ? null : status.copy(); @@ -2150,7 +2150,7 @@ public class DeviceRequest extends DomainResource { DeviceRequest o = (DeviceRequest) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(instantiatesCanonical, o.instantiatesCanonical, true) && compareDeep(instantiatesUri, o.instantiatesUri, true) && compareDeep(basedOn, o.basedOn, true) - && compareDeep(priorRequest, o.priorRequest, true) && compareDeep(groupIdentifier, o.groupIdentifier, true) + && compareDeep(replaces, o.replaces, true) && compareDeep(groupIdentifier, o.groupIdentifier, true) && compareDeep(status, o.status, true) && compareDeep(intent, o.intent, true) && compareDeep(priority, o.priority, true) && compareDeep(doNotPerform, o.doNotPerform, true) && compareDeep(code, o.code, true) && compareDeep(quantity, o.quantity, true) && compareDeep(parameter, o.parameter, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) @@ -2175,7 +2175,7 @@ public class DeviceRequest extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiatesCanonical - , instantiatesUri, basedOn, priorRequest, groupIdentifier, status, intent, priority + , instantiatesUri, basedOn, replaces, groupIdentifier, status, intent, priority , doNotPerform, code, quantity, parameter, subject, encounter, occurrence, authoredOn , requester, performerType, performer, reason, insurance, supportingInfo, note , relevantHistory); @@ -2186,618 +2186,6 @@ public class DeviceRequest extends DomainResource { return ResourceType.DeviceRequest; } - /** - * Search parameter: authored-on - *

- * Description: When the request transitioned to being actionable
- * Type: date
- * Path: DeviceRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="authored-on", path="DeviceRequest.authoredOn", description="When the request transitioned to being actionable", type="date" ) - public static final String SP_AUTHORED_ON = "authored-on"; - /** - * Fluent Client search parameter constant for authored-on - *

- * Description: When the request transitioned to being actionable
- * Type: date
- * Path: DeviceRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED_ON = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHORED_ON); - - /** - * Search parameter: based-on - *

- * Description: Plan/proposal/order fulfilled by this request
- * Type: reference
- * Path: DeviceRequest.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="DeviceRequest.basedOn", description="Plan/proposal/order fulfilled by this request", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Plan/proposal/order fulfilled by this request
- * Type: reference
- * Path: DeviceRequest.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("DeviceRequest:based-on").toLocked(); - - /** - * Search parameter: device - *

- * Description: Reference to resource that is being requested/ordered
- * Type: reference
- * Path: DeviceRequest.code.reference
- *

- */ - @SearchParamDefinition(name="device", path="DeviceRequest.code.reference", description="Reference to resource that is being requested/ordered", type="reference" ) - public static final String SP_DEVICE = "device"; - /** - * Fluent Client search parameter constant for device - *

- * Description: Reference to resource that is being requested/ordered
- * Type: reference
- * Path: DeviceRequest.code.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:device". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE = new ca.uhn.fhir.model.api.Include("DeviceRequest:device").toLocked(); - - /** - * Search parameter: event-date - *

- * Description: When service should occur
- * Type: date
- * Path: (DeviceRequest.occurrence as dateTime) | (DeviceRequest.occurrence as Period)
- *

- */ - @SearchParamDefinition(name="event-date", path="(DeviceRequest.occurrence as dateTime) | (DeviceRequest.occurrence as Period)", description="When service should occur", type="date" ) - public static final String SP_EVENT_DATE = "event-date"; - /** - * Fluent Client search parameter constant for event-date - *

- * Description: When service should occur
- * Type: date
- * Path: (DeviceRequest.occurrence as dateTime) | (DeviceRequest.occurrence as Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EVENT_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EVENT_DATE); - - /** - * Search parameter: group-identifier - *

- * Description: Composite request this is part of
- * Type: token
- * Path: DeviceRequest.groupIdentifier
- *

- */ - @SearchParamDefinition(name="group-identifier", path="DeviceRequest.groupIdentifier", description="Composite request this is part of", type="token" ) - public static final String SP_GROUP_IDENTIFIER = "group-identifier"; - /** - * Fluent Client search parameter constant for group-identifier - *

- * Description: Composite request this is part of
- * Type: token
- * Path: DeviceRequest.groupIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GROUP_IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GROUP_IDENTIFIER); - - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: DeviceRequest.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="DeviceRequest.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, PlanDefinition.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: DeviceRequest.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("DeviceRequest:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: DeviceRequest.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="DeviceRequest.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: DeviceRequest.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: insurance - *

- * Description: Associated insurance coverage
- * Type: reference
- * Path: DeviceRequest.insurance
- *

- */ - @SearchParamDefinition(name="insurance", path="DeviceRequest.insurance", description="Associated insurance coverage", type="reference", target={ClaimResponse.class, Coverage.class } ) - public static final String SP_INSURANCE = "insurance"; - /** - * Fluent Client search parameter constant for insurance - *

- * Description: Associated insurance coverage
- * Type: reference
- * Path: DeviceRequest.insurance
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSURANCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSURANCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:insurance". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSURANCE = new ca.uhn.fhir.model.api.Include("DeviceRequest:insurance").toLocked(); - - /** - * Search parameter: intent - *

- * Description: proposal | plan | original-order |reflex-order
- * Type: token
- * Path: DeviceRequest.intent
- *

- */ - @SearchParamDefinition(name="intent", path="DeviceRequest.intent", description="proposal | plan | original-order |reflex-order", type="token" ) - public static final String SP_INTENT = "intent"; - /** - * Fluent Client search parameter constant for intent - *

- * Description: proposal | plan | original-order |reflex-order
- * Type: token
- * Path: DeviceRequest.intent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENT); - - /** - * Search parameter: performer - *

- * Description: Desired performer for service
- * Type: reference
- * Path: DeviceRequest.performer
- *

- */ - @SearchParamDefinition(name="performer", path="DeviceRequest.performer", description="Desired performer for service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Desired performer for service
- * Type: reference
- * Path: DeviceRequest.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("DeviceRequest:performer").toLocked(); - - /** - * Search parameter: prior-request - *

- * Description: Request takes the place of referenced completed or terminated requests
- * Type: reference
- * Path: DeviceRequest.priorRequest
- *

- */ - @SearchParamDefinition(name="prior-request", path="DeviceRequest.priorRequest", description="Request takes the place of referenced completed or terminated requests", type="reference", target={DeviceRequest.class } ) - public static final String SP_PRIOR_REQUEST = "prior-request"; - /** - * Fluent Client search parameter constant for prior-request - *

- * Description: Request takes the place of referenced completed or terminated requests
- * Type: reference
- * Path: DeviceRequest.priorRequest
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRIOR_REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRIOR_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:prior-request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRIOR_REQUEST = new ca.uhn.fhir.model.api.Include("DeviceRequest:prior-request").toLocked(); - - /** - * Search parameter: requester - *

- * Description: Who/what is requesting service
- * Type: reference
- * Path: DeviceRequest.requester
- *

- */ - @SearchParamDefinition(name="requester", path="DeviceRequest.requester", description="Who/what is requesting service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_REQUESTER = "requester"; - /** - * Fluent Client search parameter constant for requester - *

- * Description: Who/what is requesting service
- * Type: reference
- * Path: DeviceRequest.requester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:requester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER = new ca.uhn.fhir.model.api.Include("DeviceRequest:requester").toLocked(); - - /** - * Search parameter: status - *

- * Description: entered-in-error | draft | active |suspended | completed
- * Type: token
- * Path: DeviceRequest.status
- *

- */ - @SearchParamDefinition(name="status", path="DeviceRequest.status", description="entered-in-error | draft | active |suspended | completed", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: entered-in-error | draft | active |suspended | completed
- * Type: token
- * Path: DeviceRequest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Individual the service is ordered for
- * Type: reference
- * Path: DeviceRequest.subject
- *

- */ - @SearchParamDefinition(name="subject", path="DeviceRequest.subject", description="Individual the service is ordered for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Device.class, Group.class, Location.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Individual the service is ordered for
- * Type: reference
- * Path: DeviceRequest.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("DeviceRequest:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("DeviceRequest:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceRequest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DeviceRequest:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceUsage.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceUsage.java index db252622d..3c6232515 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceUsage.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DeviceUsage.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -117,6 +117,7 @@ public class DeviceUsage extends DomainResource { case INTENDED: return "intended"; case STOPPED: return "stopped"; case ONHOLD: return "on-hold"; + case NULL: return null; default: return "?"; } } @@ -129,6 +130,7 @@ public class DeviceUsage extends DomainResource { case INTENDED: return "http://hl7.org/fhir/device-usage-status"; case STOPPED: return "http://hl7.org/fhir/device-usage-status"; case ONHOLD: return "http://hl7.org/fhir/device-usage-status"; + case NULL: return null; default: return "?"; } } @@ -141,6 +143,7 @@ public class DeviceUsage extends DomainResource { case INTENDED: return "The device may be used at some time in the future."; case STOPPED: return "Actions implied by the statement have been permanently halted, before all of them occurred."; case ONHOLD: return "Actions implied by the statement have been temporarily halted, but are expected to continue later. May also be called \"suspended\"."; + case NULL: return null; default: return "?"; } } @@ -153,6 +156,7 @@ public class DeviceUsage extends DomainResource { case INTENDED: return "Intended"; case STOPPED: return "Stopped"; case ONHOLD: return "On Hold"; + case NULL: return null; default: return "?"; } } @@ -225,6 +229,250 @@ public class DeviceUsage extends DomainResource { } } + @Block() + public static class DeviceUsageAdherenceComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Type of adherence. + */ + @Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="always | never | sometimes", formalDefinition="Type of adherence." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/deviceusage-adherence-code") + protected CodeableConcept code; + + /** + * Reason for adherence type. + */ + @Child(name = "reason", type = {CodeableConcept.class}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="lost | stolen | prescribed | broken | burned | forgot", formalDefinition="Reason for adherence type." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/deviceusage-adherence-reason") + protected List reason; + + private static final long serialVersionUID = -1932336797L; + + /** + * Constructor + */ + public DeviceUsageAdherenceComponent() { + super(); + } + + /** + * Constructor + */ + public DeviceUsageAdherenceComponent(CodeableConcept code, CodeableConcept reason) { + super(); + this.setCode(code); + this.addReason(reason); + } + + /** + * @return {@link #code} (Type of adherence.) + */ + public CodeableConcept getCode() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceUsageAdherenceComponent.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} (Type of adherence.) + */ + public DeviceUsageAdherenceComponent setCode(CodeableConcept value) { + this.code = value; + return this; + } + + /** + * @return {@link #reason} (Reason for adherence type.) + */ + public List getReason() { + if (this.reason == null) + this.reason = new ArrayList(); + return this.reason; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public DeviceUsageAdherenceComponent setReason(List theReason) { + this.reason = theReason; + return this; + } + + public boolean hasReason() { + if (this.reason == null) + return false; + for (CodeableConcept item : this.reason) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addReason() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.reason == null) + this.reason = new ArrayList(); + this.reason.add(t); + return t; + } + + public DeviceUsageAdherenceComponent addReason(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.reason == null) + this.reason = new ArrayList(); + this.reason.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #reason}, creating it if it does not already exist {3} + */ + public CodeableConcept getReasonFirstRep() { + if (getReason().isEmpty()) { + addReason(); + } + return getReason().get(0); + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("code", "CodeableConcept", "Type of adherence.", 0, 1, code)); + children.add(new Property("reason", "CodeableConcept", "Reason for adherence type.", 0, java.lang.Integer.MAX_VALUE, reason)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Type of adherence.", 0, 1, code); + case -934964668: /*reason*/ return new Property("reason", "CodeableConcept", "Reason for adherence type.", 0, java.lang.Integer.MAX_VALUE, reason); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept + case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableConcept + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3059181: // code + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -934964668: // reason + this.getReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("code")) { + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("reason")) { + this.getReason().add(TypeConvertor.castToCodeableConcept(value)); + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3059181: return getCode(); + case -934964668: return addReason(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3059181: /*code*/ return new String[] {"CodeableConcept"}; + case -934964668: /*reason*/ return new String[] {"CodeableConcept"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("code")) { + this.code = new CodeableConcept(); + return this.code; + } + else if (name.equals("reason")) { + return addReason(); + } + else + return super.addChild(name); + } + + public DeviceUsageAdherenceComponent copy() { + DeviceUsageAdherenceComponent dst = new DeviceUsageAdherenceComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(DeviceUsageAdherenceComponent dst) { + super.copyValues(dst); + dst.code = code == null ? null : code.copy(); + if (reason != null) { + dst.reason = new ArrayList(); + for (CodeableConcept i : reason) + dst.reason.add(i.copy()); + }; + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof DeviceUsageAdherenceComponent)) + return false; + DeviceUsageAdherenceComponent o = (DeviceUsageAdherenceComponent) other_; + return compareDeep(code, o.code, true) && compareDeep(reason, o.reason, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof DeviceUsageAdherenceComponent)) + return false; + DeviceUsageAdherenceComponent o = (DeviceUsageAdherenceComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, reason); + } + + public String fhirType() { + return "DeviceUsage.adherence"; + + } + + } + /** * An external identifier for this statement such as an IRI. */ @@ -304,31 +552,38 @@ public class DeviceUsage extends DomainResource { @Description(shortDefinition="The reason for asserting the usage status - for example forgot, lost, stolen, broken", formalDefinition="The reason for asserting the usage status - for example forgot, lost, stolen, broken." ) protected List usageReason; + /** + * This indicates how or if the device is being used. + */ + @Child(name = "adherence", type = {}, order=11, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="How device is being used", formalDefinition="This indicates how or if the device is being used." ) + protected DeviceUsageAdherenceComponent adherence; + /** * Who reported the device was being used by the patient. */ - @Child(name = "informationSource", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Child(name = "informationSource", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=12, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who made the statement", formalDefinition="Who reported the device was being used by the patient." ) protected Reference informationSource; /** * Code or Reference to device used. */ - @Child(name = "device", type = {CodeableReference.class}, order=12, min=1, max=1, modifier=false, summary=true) + @Child(name = "device", type = {CodeableReference.class}, order=13, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Code or Reference to device used", formalDefinition="Code or Reference to device used." ) protected CodeableReference device; /** * Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage. */ - @Child(name = "reason", type = {CodeableReference.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "reason", type = {CodeableReference.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Why device was used", formalDefinition="Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage." ) protected List reason; /** * Indicates the anotomic location on the subject's body where the device was used ( i.e. the target). */ - @Child(name = "bodySite", type = {CodeableReference.class}, order=14, min=0, max=1, modifier=false, summary=true) + @Child(name = "bodySite", type = {CodeableReference.class}, order=15, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Target body site", formalDefinition="Indicates the anotomic location on the subject's body where the device was used ( i.e. the target)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") protected CodeableReference bodySite; @@ -336,11 +591,11 @@ public class DeviceUsage extends DomainResource { /** * 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. */ - @Child(name = "note", type = {Annotation.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Addition details (comments, instructions)", formalDefinition="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." ) protected List note; - private static final long serialVersionUID = 979004394L; + private static final long serialVersionUID = -10803928L; /** * Constructor @@ -856,6 +1111,30 @@ public class DeviceUsage extends DomainResource { return getUsageReason().get(0); } + /** + * @return {@link #adherence} (This indicates how or if the device is being used.) + */ + public DeviceUsageAdherenceComponent getAdherence() { + if (this.adherence == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create DeviceUsage.adherence"); + else if (Configuration.doAutoCreate()) + this.adherence = new DeviceUsageAdherenceComponent(); // cc + return this.adherence; + } + + public boolean hasAdherence() { + return this.adherence != null && !this.adherence.isEmpty(); + } + + /** + * @param value {@link #adherence} (This indicates how or if the device is being used.) + */ + public DeviceUsage setAdherence(DeviceUsageAdherenceComponent value) { + this.adherence = value; + return this; + } + /** * @return {@link #informationSource} (Who reported the device was being used by the patient.) */ @@ -1047,9 +1326,10 @@ public class DeviceUsage extends DomainResource { children.add(new Property("dateAsserted", "dateTime", "The time at which the statement was recorded by informationSource.", 0, 1, dateAsserted)); children.add(new Property("usageStatus", "CodeableConcept", "The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement.", 0, 1, usageStatus)); children.add(new Property("usageReason", "CodeableConcept", "The reason for asserting the usage status - for example forgot, lost, stolen, broken.", 0, java.lang.Integer.MAX_VALUE, usageReason)); + children.add(new Property("adherence", "", "This indicates how or if the device is being used.", 0, 1, adherence)); children.add(new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Who reported the device was being used by the patient.", 0, 1, informationSource)); children.add(new Property("device", "CodeableReference(Device|DeviceDefinition)", "Code or Reference to device used.", 0, 1, device)); - children.add(new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport|DocumentReference)", "Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage.", 0, java.lang.Integer.MAX_VALUE, reason)); + children.add(new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport|DocumentReference|Procedure)", "Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage.", 0, java.lang.Integer.MAX_VALUE, reason)); children.add(new Property("bodySite", "CodeableReference(BodyStructure)", "Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).", 0, 1, bodySite)); children.add(new Property("note", "Annotation", "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.", 0, java.lang.Integer.MAX_VALUE, note)); } @@ -1072,9 +1352,10 @@ public class DeviceUsage extends DomainResource { case -1980855245: /*dateAsserted*/ return new Property("dateAsserted", "dateTime", "The time at which the statement was recorded by informationSource.", 0, 1, dateAsserted); case 907197683: /*usageStatus*/ return new Property("usageStatus", "CodeableConcept", "The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement.", 0, 1, usageStatus); case 864714565: /*usageReason*/ return new Property("usageReason", "CodeableConcept", "The reason for asserting the usage status - for example forgot, lost, stolen, broken.", 0, java.lang.Integer.MAX_VALUE, usageReason); + case -231003683: /*adherence*/ return new Property("adherence", "", "This indicates how or if the device is being used.", 0, 1, adherence); case -2123220889: /*informationSource*/ return new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Who reported the device was being used by the patient.", 0, 1, informationSource); case -1335157162: /*device*/ return new Property("device", "CodeableReference(Device|DeviceDefinition)", "Code or Reference to device used.", 0, 1, device); - case -934964668: /*reason*/ return new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport|DocumentReference)", "Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage.", 0, java.lang.Integer.MAX_VALUE, reason); + case -934964668: /*reason*/ return new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport|DocumentReference|Procedure)", "Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage.", 0, java.lang.Integer.MAX_VALUE, reason); case 1702620169: /*bodySite*/ return new Property("bodySite", "CodeableReference(BodyStructure)", "Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).", 0, 1, bodySite); case 3387378: /*note*/ return new Property("note", "Annotation", "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.", 0, java.lang.Integer.MAX_VALUE, note); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1096,6 +1377,7 @@ public class DeviceUsage extends DomainResource { case -1980855245: /*dateAsserted*/ return this.dateAsserted == null ? new Base[0] : new Base[] {this.dateAsserted}; // DateTimeType case 907197683: /*usageStatus*/ return this.usageStatus == null ? new Base[0] : new Base[] {this.usageStatus}; // CodeableConcept case 864714565: /*usageReason*/ return this.usageReason == null ? new Base[0] : this.usageReason.toArray(new Base[this.usageReason.size()]); // CodeableConcept + case -231003683: /*adherence*/ return this.adherence == null ? new Base[0] : new Base[] {this.adherence}; // DeviceUsageAdherenceComponent case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : new Base[] {this.informationSource}; // Reference case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // CodeableReference case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableReference @@ -1143,6 +1425,9 @@ public class DeviceUsage extends DomainResource { case 864714565: // usageReason this.getUsageReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; + case -231003683: // adherence + this.adherence = (DeviceUsageAdherenceComponent) value; // DeviceUsageAdherenceComponent + return value; case -2123220889: // informationSource this.informationSource = TypeConvertor.castToReference(value); // Reference return value; @@ -1188,6 +1473,8 @@ public class DeviceUsage extends DomainResource { this.usageStatus = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("usageReason")) { this.getUsageReason().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("adherence")) { + this.adherence = (DeviceUsageAdherenceComponent) value; // DeviceUsageAdherenceComponent } else if (name.equals("informationSource")) { this.informationSource = TypeConvertor.castToReference(value); // Reference } else if (name.equals("device")) { @@ -1218,6 +1505,7 @@ public class DeviceUsage extends DomainResource { case -1980855245: return getDateAssertedElement(); case 907197683: return getUsageStatus(); case 864714565: return addUsageReason(); + case -231003683: return getAdherence(); case -2123220889: return getInformationSource(); case -1335157162: return getDevice(); case -934964668: return addReason(); @@ -1242,6 +1530,7 @@ public class DeviceUsage extends DomainResource { case -1980855245: /*dateAsserted*/ return new String[] {"dateTime"}; case 907197683: /*usageStatus*/ return new String[] {"CodeableConcept"}; case 864714565: /*usageReason*/ return new String[] {"CodeableConcept"}; + case -231003683: /*adherence*/ return new String[] {}; case -2123220889: /*informationSource*/ return new String[] {"Reference"}; case -1335157162: /*device*/ return new String[] {"CodeableReference"}; case -934964668: /*reason*/ return new String[] {"CodeableReference"}; @@ -1299,6 +1588,10 @@ public class DeviceUsage extends DomainResource { else if (name.equals("usageReason")) { return addUsageReason(); } + else if (name.equals("adherence")) { + this.adherence = new DeviceUsageAdherenceComponent(); + return this.adherence; + } else if (name.equals("informationSource")) { this.informationSource = new Reference(); return this.informationSource; @@ -1365,6 +1658,7 @@ public class DeviceUsage extends DomainResource { for (CodeableConcept i : usageReason) dst.usageReason.add(i.copy()); }; + dst.adherence = adherence == null ? null : adherence.copy(); dst.informationSource = informationSource == null ? null : informationSource.copy(); dst.device = device == null ? null : device.copy(); if (reason != null) { @@ -1395,9 +1689,9 @@ public class DeviceUsage extends DomainResource { && compareDeep(category, o.category, true) && compareDeep(patient, o.patient, true) && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(context, o.context, true) && compareDeep(timing, o.timing, true) && compareDeep(dateAsserted, o.dateAsserted, true) && compareDeep(usageStatus, o.usageStatus, true) && compareDeep(usageReason, o.usageReason, true) - && compareDeep(informationSource, o.informationSource, true) && compareDeep(device, o.device, true) - && compareDeep(reason, o.reason, true) && compareDeep(bodySite, o.bodySite, true) && compareDeep(note, o.note, true) - ; + && compareDeep(adherence, o.adherence, true) && compareDeep(informationSource, o.informationSource, true) + && compareDeep(device, o.device, true) && compareDeep(reason, o.reason, true) && compareDeep(bodySite, o.bodySite, true) + && compareDeep(note, o.note, true); } @Override @@ -1413,7 +1707,7 @@ public class DeviceUsage extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, basedOn, status , category, patient, derivedFrom, context, timing, dateAsserted, usageStatus, usageReason - , informationSource, device, reason, bodySite, note); + , adherence, informationSource, device, reason, bodySite, note); } @Override @@ -1421,140 +1715,6 @@ public class DeviceUsage extends DomainResource { return ResourceType.DeviceUsage; } - /** - * Search parameter: device - *

- * Description: Search by device
- * Type: token
- * Path: DeviceUsage.device.concept
- *

- */ - @SearchParamDefinition(name="device", path="DeviceUsage.device.concept", description="Search by device", type="token" ) - public static final String SP_DEVICE = "device"; - /** - * Fluent Client search parameter constant for device - *

- * Description: Search by device
- * Type: token
- * Path: DeviceUsage.device.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DEVICE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DEVICE); - - /** - * Search parameter: identifier - *

- * Description: Search by identifier
- * Type: token
- * Path: DeviceUsage.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="DeviceUsage.identifier", description="Search by identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Search by identifier
- * Type: token
- * Path: DeviceUsage.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DeviceUsage:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DeviceUsage:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DiagnosticReport.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DiagnosticReport.java index 06f070ccb..0e3853a1d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DiagnosticReport.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DiagnosticReport.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -138,6 +138,7 @@ public class DiagnosticReport extends DomainResource { case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -153,6 +154,7 @@ public class DiagnosticReport extends DomainResource { case CANCELLED: return "http://hl7.org/fhir/diagnostic-report-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/diagnostic-report-status"; case UNKNOWN: return "http://hl7.org/fhir/diagnostic-report-status"; + case NULL: return null; default: return "?"; } } @@ -168,6 +170,7 @@ public class DiagnosticReport extends DomainResource { case CANCELLED: return "The report is unavailable because the measurement was not started or not completed (also sometimes called \"aborted\")."; case ENTEREDINERROR: return "The report has been withdrawn following a previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".)."; case UNKNOWN: return "The authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which."; + case NULL: return null; default: return "?"; } } @@ -183,6 +186,7 @@ public class DiagnosticReport extends DomainResource { case CANCELLED: return "Cancelled"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -2053,610 +2057,6 @@ public class DiagnosticReport extends DomainResource { return ResourceType.DiagnosticReport; } - /** - * Search parameter: based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: DiagnosticReport.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="DiagnosticReport.basedOn", description="Reference to the service request.", type="reference", target={CarePlan.class, ImmunizationRecommendation.class, MedicationRequest.class, NutritionOrder.class, ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: DiagnosticReport.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("DiagnosticReport:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: Which diagnostic discipline/department created the report
- * Type: token
- * Path: DiagnosticReport.category
- *

- */ - @SearchParamDefinition(name="category", path="DiagnosticReport.category", description="Which diagnostic discipline/department created the report", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Which diagnostic discipline/department created the report
- * Type: token
- * Path: DiagnosticReport.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: conclusion - *

- * Description: A coded conclusion (interpretation/impression) on the report
- * Type: token
- * Path: DiagnosticReport.conclusionCode
- *

- */ - @SearchParamDefinition(name="conclusion", path="DiagnosticReport.conclusionCode", description="A coded conclusion (interpretation/impression) on the report", type="token" ) - public static final String SP_CONCLUSION = "conclusion"; - /** - * Fluent Client search parameter constant for conclusion - *

- * Description: A coded conclusion (interpretation/impression) on the report
- * Type: token
- * Path: DiagnosticReport.conclusionCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONCLUSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONCLUSION); - - /** - * Search parameter: issued - *

- * Description: When the report was issued
- * Type: date
- * Path: DiagnosticReport.issued
- *

- */ - @SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date" ) - public static final String SP_ISSUED = "issued"; - /** - * Fluent Client search parameter constant for issued - *

- * Description: When the report was issued
- * Type: date
- * Path: DiagnosticReport.issued
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ISSUED); - - /** - * Search parameter: media - *

- * Description: A reference to the image source.
- * Type: reference
- * Path: DiagnosticReport.media.link
- *

- */ - @SearchParamDefinition(name="media", path="DiagnosticReport.media.link", description="A reference to the image source.", type="reference", target={DocumentReference.class } ) - public static final String SP_MEDIA = "media"; - /** - * Fluent Client search parameter constant for media - *

- * Description: A reference to the image source.
- * Type: reference
- * Path: DiagnosticReport.media.link
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDIA = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEDIA); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:media". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDIA = new ca.uhn.fhir.model.api.Include("DiagnosticReport:media").toLocked(); - - /** - * Search parameter: performer - *

- * Description: Who is responsible for the report
- * Type: reference
- * Path: DiagnosticReport.performer
- *

- */ - @SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who is responsible for the report", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={CareTeam.class, Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Who is responsible for the report
- * Type: reference
- * Path: DiagnosticReport.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("DiagnosticReport:performer").toLocked(); - - /** - * Search parameter: result - *

- * Description: Link to an atomic result (observation resource)
- * Type: reference
- * Path: DiagnosticReport.result
- *

- */ - @SearchParamDefinition(name="result", path="DiagnosticReport.result", description="Link to an atomic result (observation resource)", type="reference", target={Observation.class } ) - public static final String SP_RESULT = "result"; - /** - * Fluent Client search parameter constant for result - *

- * Description: Link to an atomic result (observation resource)
- * Type: reference
- * Path: DiagnosticReport.result
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESULT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESULT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:result". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESULT = new ca.uhn.fhir.model.api.Include("DiagnosticReport:result").toLocked(); - - /** - * Search parameter: results-interpreter - *

- * Description: Who was the source of the report
- * Type: reference
- * Path: DiagnosticReport.resultsInterpreter
- *

- */ - @SearchParamDefinition(name="results-interpreter", path="DiagnosticReport.resultsInterpreter", description="Who was the source of the report", type="reference", target={CareTeam.class, Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_RESULTS_INTERPRETER = "results-interpreter"; - /** - * Fluent Client search parameter constant for results-interpreter - *

- * Description: Who was the source of the report
- * Type: reference
- * Path: DiagnosticReport.resultsInterpreter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESULTS_INTERPRETER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESULTS_INTERPRETER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:results-interpreter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESULTS_INTERPRETER = new ca.uhn.fhir.model.api.Include("DiagnosticReport:results-interpreter").toLocked(); - - /** - * Search parameter: specimen - *

- * Description: The specimen details
- * Type: reference
- * Path: DiagnosticReport.specimen
- *

- */ - @SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference", target={Specimen.class } ) - public static final String SP_SPECIMEN = "specimen"; - /** - * Fluent Client search parameter constant for specimen - *

- * Description: The specimen details
- * Type: reference
- * Path: DiagnosticReport.specimen
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SPECIMEN = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SPECIMEN); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:specimen". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SPECIMEN = new ca.uhn.fhir.model.api.Include("DiagnosticReport:specimen").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the report
- * Type: token
- * Path: DiagnosticReport.status
- *

- */ - @SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the report
- * Type: token
- * Path: DiagnosticReport.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject of the report
- * Type: reference
- * Path: DiagnosticReport.subject
- *

- */ - @SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Medication.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject of the report
- * Type: reference
- * Path: DiagnosticReport.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("DiagnosticReport:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("DiagnosticReport:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DiagnosticReport:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DiagnosticReport:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Distance.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Distance.java index f60a12402..ffb121e45 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Distance.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Distance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentManifest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentManifest.java index 64f9562e4..22492cf45 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentManifest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentManifest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1192,450 +1192,6 @@ public class DocumentManifest extends DomainResource { return ResourceType.DocumentManifest; } - /** - * Search parameter: author - *

- * Description: Who and/or what authored the DocumentManifest
- * Type: reference
- * Path: DocumentManifest.author
- *

- */ - @SearchParamDefinition(name="author", path="DocumentManifest.author", description="Who and/or what authored the DocumentManifest", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: Who and/or what authored the DocumentManifest
- * Type: reference
- * Path: DocumentManifest.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentManifest:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("DocumentManifest:author").toLocked(); - - /** - * Search parameter: created - *

- * Description: When this document manifest created
- * Type: date
- * Path: DocumentManifest.created
- *

- */ - @SearchParamDefinition(name="created", path="DocumentManifest.created", description="When this document manifest created", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: When this document manifest created
- * Type: date
- * Path: DocumentManifest.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: description - *

- * Description: Human-readable description (title)
- * Type: string
- * Path: DocumentManifest.description
- *

- */ - @SearchParamDefinition(name="description", path="DocumentManifest.description", description="Human-readable description (title)", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Human-readable description (title)
- * Type: string
- * Path: DocumentManifest.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: item - *

- * Description: Items in manifest
- * Type: reference
- * Path: DocumentManifest.content
- *

- */ - @SearchParamDefinition(name="item", path="DocumentManifest.content", description="Items in manifest", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_ITEM = "item"; - /** - * Fluent Client search parameter constant for item - *

- * Description: Items in manifest
- * Type: reference
- * Path: DocumentManifest.content
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentManifest:item". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM = new ca.uhn.fhir.model.api.Include("DocumentManifest:item").toLocked(); - - /** - * Search parameter: recipient - *

- * Description: Intended to get notified about this set of documents
- * Type: reference
- * Path: DocumentManifest.recipient
- *

- */ - @SearchParamDefinition(name="recipient", path="DocumentManifest.recipient", description="Intended to get notified about this set of documents", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_RECIPIENT = "recipient"; - /** - * Fluent Client search parameter constant for recipient - *

- * Description: Intended to get notified about this set of documents
- * Type: reference
- * Path: DocumentManifest.recipient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECIPIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentManifest:recipient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT = new ca.uhn.fhir.model.api.Include("DocumentManifest:recipient").toLocked(); - - /** - * Search parameter: related-id - *

- * Description: Identifiers of things that are related
- * Type: token
- * Path: DocumentManifest.related.identifier
- *

- */ - @SearchParamDefinition(name="related-id", path="DocumentManifest.related.identifier", description="Identifiers of things that are related", type="token" ) - public static final String SP_RELATED_ID = "related-id"; - /** - * Fluent Client search parameter constant for related-id - *

- * Description: Identifiers of things that are related
- * Type: token
- * Path: DocumentManifest.related.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATED_ID = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RELATED_ID); - - /** - * Search parameter: related-ref - *

- * Description: Related Resource
- * Type: reference
- * Path: DocumentManifest.related.ref
- *

- */ - @SearchParamDefinition(name="related-ref", path="DocumentManifest.related.ref", description="Related Resource", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_RELATED_REF = "related-ref"; - /** - * Fluent Client search parameter constant for related-ref - *

- * Description: Related Resource
- * Type: reference
- * Path: DocumentManifest.related.ref
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATED_REF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RELATED_REF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentManifest:related-ref". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATED_REF = new ca.uhn.fhir.model.api.Include("DocumentManifest:related-ref").toLocked(); - - /** - * Search parameter: source - *

- * Description: The source system/application/software
- * Type: uri
- * Path: DocumentManifest.source
- *

- */ - @SearchParamDefinition(name="source", path="DocumentManifest.source", description="The source system/application/software", type="uri" ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: The source system/application/software
- * Type: uri
- * Path: DocumentManifest.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam SOURCE = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_SOURCE); - - /** - * Search parameter: status - *

- * Description: current | superseded | entered-in-error
- * Type: token
- * Path: DocumentManifest.status
- *

- */ - @SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superseded | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: current | superseded | entered-in-error
- * Type: token
- * Path: DocumentManifest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject of the set of documents
- * Type: reference
- * Path: DocumentManifest.subject
- *

- */ - @SearchParamDefinition(name="subject", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Group.class, Patient.class, Practitioner.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject of the set of documents
- * Type: reference
- * Path: DocumentManifest.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentManifest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("DocumentManifest:subject").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentManifest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DocumentManifest:patient").toLocked(); - - /** - * Search parameter: type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - @SearchParamDefinition(name="type", path="AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html): Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html): Kind of document set\r\n* [DocumentReference](documentreference.html): Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html): Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management\r\n", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentReference.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentReference.java index 6dc37eb93..ece024904 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentReference.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DocumentReference.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,155 +53,31 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="DocumentReference", profile="http://hl7.org/fhir/StructureDefinition/DocumentReference") public class DocumentReference extends DomainResource { - public enum DocumentAttestationMode { - /** - * The person authenticated the content in their personal capacity. - */ - PERSONAL, - /** - * The person authenticated the content in their professional capacity. - */ - PROFESSIONAL, - /** - * The person authenticated the content and accepted legal responsibility for its content. - */ - LEGAL, - /** - * The organization authenticated the content as consistent with their policies and procedures. - */ - OFFICIAL, - /** - * added to help the parsers with the generic types - */ - NULL; - public static DocumentAttestationMode fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("personal".equals(codeString)) - return PERSONAL; - if ("professional".equals(codeString)) - return PROFESSIONAL; - if ("legal".equals(codeString)) - return LEGAL; - if ("official".equals(codeString)) - return OFFICIAL; - if (Configuration.isAcceptInvalidEnums()) - return null; - else - throw new FHIRException("Unknown DocumentAttestationMode code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case PERSONAL: return "personal"; - case PROFESSIONAL: return "professional"; - case LEGAL: return "legal"; - case OFFICIAL: return "official"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case PERSONAL: return "http://hl7.org/fhir/document-attestation-mode"; - case PROFESSIONAL: return "http://hl7.org/fhir/document-attestation-mode"; - case LEGAL: return "http://hl7.org/fhir/document-attestation-mode"; - case OFFICIAL: return "http://hl7.org/fhir/document-attestation-mode"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case PERSONAL: return "The person authenticated the content in their personal capacity."; - case PROFESSIONAL: return "The person authenticated the content in their professional capacity."; - case LEGAL: return "The person authenticated the content and accepted legal responsibility for its content."; - case OFFICIAL: return "The organization authenticated the content as consistent with their policies and procedures."; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case PERSONAL: return "Personal"; - case PROFESSIONAL: return "Professional"; - case LEGAL: return "Legal"; - case OFFICIAL: return "Official"; - default: return "?"; - } - } - } - - public static class DocumentAttestationModeEnumFactory implements EnumFactory { - public DocumentAttestationMode fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("personal".equals(codeString)) - return DocumentAttestationMode.PERSONAL; - if ("professional".equals(codeString)) - return DocumentAttestationMode.PROFESSIONAL; - if ("legal".equals(codeString)) - return DocumentAttestationMode.LEGAL; - if ("official".equals(codeString)) - return DocumentAttestationMode.OFFICIAL; - throw new IllegalArgumentException("Unknown DocumentAttestationMode code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("personal".equals(codeString)) - return new Enumeration(this, DocumentAttestationMode.PERSONAL); - if ("professional".equals(codeString)) - return new Enumeration(this, DocumentAttestationMode.PROFESSIONAL); - if ("legal".equals(codeString)) - return new Enumeration(this, DocumentAttestationMode.LEGAL); - if ("official".equals(codeString)) - return new Enumeration(this, DocumentAttestationMode.OFFICIAL); - throw new FHIRException("Unknown DocumentAttestationMode code '"+codeString+"'"); - } - public String toCode(DocumentAttestationMode code) { - if (code == DocumentAttestationMode.PERSONAL) - return "personal"; - if (code == DocumentAttestationMode.PROFESSIONAL) - return "professional"; - if (code == DocumentAttestationMode.LEGAL) - return "legal"; - if (code == DocumentAttestationMode.OFFICIAL) - return "official"; - return "?"; - } - public String toSystem(DocumentAttestationMode code) { - return code.getSystem(); - } - } - @Block() public static class DocumentReferenceAttesterComponent extends BackboneElement implements IBaseBackboneElement { /** * The type of attestation the authenticator offers. */ - @Child(name = "mode", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Child(name = "mode", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="personal | professional | legal | official", formalDefinition="The type of attestation the authenticator offers." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-attestation-mode") - protected Enumeration mode; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/composition-attestation-mode") + protected CodeableConcept mode; /** - * When the composition was attested by the party. + * When the document was attested by the party. */ @Child(name = "time", type = {DateTimeType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="When the composition was attested", formalDefinition="When the composition was attested by the party." ) + @Description(shortDefinition="When the document was attested", formalDefinition="When the document was attested by the party." ) protected DateTimeType time; /** - * Who attested the composition in the specified way. + * Who attested the document in the specified way. */ @Child(name = "party", type = {Patient.class, RelatedPerson.class, Practitioner.class, PractitionerRole.class, Organization.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Who attested the composition", formalDefinition="Who attested the composition in the specified way." ) + @Description(shortDefinition="Who attested the document", formalDefinition="Who attested the document in the specified way." ) protected Reference party; - private static final long serialVersionUID = -437585715L; + private static final long serialVersionUID = 545132751L; /** * Constructor @@ -213,58 +89,37 @@ public class DocumentReference extends DomainResource { /** * Constructor */ - public DocumentReferenceAttesterComponent(DocumentAttestationMode mode) { + public DocumentReferenceAttesterComponent(CodeableConcept mode) { super(); this.setMode(mode); } /** - * @return {@link #mode} (The type of attestation the authenticator offers.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value + * @return {@link #mode} (The type of attestation the authenticator offers.) */ - public Enumeration getModeElement() { + public CodeableConcept getMode() { if (this.mode == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DocumentReferenceAttesterComponent.mode"); else if (Configuration.doAutoCreate()) - this.mode = new Enumeration(new DocumentAttestationModeEnumFactory()); // bb + this.mode = new CodeableConcept(); // cc return this.mode; } - public boolean hasModeElement() { - return this.mode != null && !this.mode.isEmpty(); - } - public boolean hasMode() { return this.mode != null && !this.mode.isEmpty(); } /** - * @param value {@link #mode} (The type of attestation the authenticator offers.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value + * @param value {@link #mode} (The type of attestation the authenticator offers.) */ - public DocumentReferenceAttesterComponent setModeElement(Enumeration value) { + public DocumentReferenceAttesterComponent setMode(CodeableConcept value) { this.mode = value; return this; } /** - * @return The type of attestation the authenticator offers. - */ - public DocumentAttestationMode getMode() { - return this.mode == null ? null : this.mode.getValue(); - } - - /** - * @param value The type of attestation the authenticator offers. - */ - public DocumentReferenceAttesterComponent setMode(DocumentAttestationMode value) { - if (this.mode == null) - this.mode = new Enumeration(new DocumentAttestationModeEnumFactory()); - this.mode.setValue(value); - return this; - } - - /** - * @return {@link #time} (When the composition was attested by the party.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value + * @return {@link #time} (When the document was attested by the party.). 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) @@ -284,7 +139,7 @@ public class DocumentReference extends DomainResource { } /** - * @param value {@link #time} (When the composition was attested by the party.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value + * @param value {@link #time} (When the document was attested by the party.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the value */ public DocumentReferenceAttesterComponent setTimeElement(DateTimeType value) { this.time = value; @@ -292,14 +147,14 @@ public class DocumentReference extends DomainResource { } /** - * @return When the composition was attested by the party. + * @return When the document was attested by the party. */ public Date getTime() { return this.time == null ? null : this.time.getValue(); } /** - * @param value When the composition was attested by the party. + * @param value When the document was attested by the party. */ public DocumentReferenceAttesterComponent setTime(Date value) { if (value == null) @@ -313,7 +168,7 @@ public class DocumentReference extends DomainResource { } /** - * @return {@link #party} (Who attested the composition in the specified way.) + * @return {@link #party} (Who attested the document in the specified way.) */ public Reference getParty() { if (this.party == null) @@ -329,7 +184,7 @@ public class DocumentReference extends DomainResource { } /** - * @param value {@link #party} (Who attested the composition in the specified way.) + * @param value {@link #party} (Who attested the document in the specified way.) */ public DocumentReferenceAttesterComponent setParty(Reference value) { this.party = value; @@ -338,17 +193,17 @@ public class DocumentReference extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("mode", "code", "The type of attestation the authenticator offers.", 0, 1, mode)); - children.add(new Property("time", "dateTime", "When the composition was attested by the party.", 0, 1, time)); - children.add(new Property("party", "Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Who attested the composition in the specified way.", 0, 1, party)); + children.add(new Property("mode", "CodeableConcept", "The type of attestation the authenticator offers.", 0, 1, mode)); + children.add(new Property("time", "dateTime", "When the document was attested by the party.", 0, 1, time)); + children.add(new Property("party", "Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Who attested the document in the specified way.", 0, 1, party)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3357091: /*mode*/ return new Property("mode", "code", "The type of attestation the authenticator offers.", 0, 1, mode); - case 3560141: /*time*/ return new Property("time", "dateTime", "When the composition was attested by the party.", 0, 1, time); - case 106437350: /*party*/ return new Property("party", "Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Who attested the composition in the specified way.", 0, 1, party); + case 3357091: /*mode*/ return new Property("mode", "CodeableConcept", "The type of attestation the authenticator offers.", 0, 1, mode); + case 3560141: /*time*/ return new Property("time", "dateTime", "When the document was attested by the party.", 0, 1, time); + case 106437350: /*party*/ return new Property("party", "Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Who attested the document in the specified way.", 0, 1, party); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -357,7 +212,7 @@ public class DocumentReference extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // Enumeration + case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // CodeableConcept case 3560141: /*time*/ return this.time == null ? new Base[0] : new Base[] {this.time}; // DateTimeType case 106437350: /*party*/ return this.party == null ? new Base[0] : new Base[] {this.party}; // Reference default: return super.getProperty(hash, name, checkValid); @@ -369,8 +224,7 @@ public class DocumentReference extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case 3357091: // mode - value = new DocumentAttestationModeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.mode = (Enumeration) value; // Enumeration + this.mode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case 3560141: // time this.time = TypeConvertor.castToDateTime(value); // DateTimeType @@ -386,8 +240,7 @@ public class DocumentReference extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("mode")) { - value = new DocumentAttestationModeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.mode = (Enumeration) value; // Enumeration + this.mode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("time")) { this.time = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("party")) { @@ -400,7 +253,7 @@ public class DocumentReference extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3357091: return getModeElement(); + case 3357091: return getMode(); case 3560141: return getTimeElement(); case 106437350: return getParty(); default: return super.makeProperty(hash, name); @@ -411,7 +264,7 @@ public class DocumentReference extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3357091: /*mode*/ return new String[] {"code"}; + case 3357091: /*mode*/ return new String[] {"CodeableConcept"}; case 3560141: /*time*/ return new String[] {"dateTime"}; case 106437350: /*party*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); @@ -422,7 +275,8 @@ public class DocumentReference extends DomainResource { @Override public Base addChild(String name) throws FHIRException { if (name.equals("mode")) { - throw new FHIRException("Cannot call addChild on a primitive type DocumentReference.attester.mode"); + this.mode = new CodeableConcept(); + return this.mode; } else if (name.equals("time")) { throw new FHIRException("Cannot call addChild on a primitive type DocumentReference.attester.time"); @@ -466,7 +320,7 @@ public class DocumentReference extends DomainResource { if (!(other_ instanceof DocumentReferenceAttesterComponent)) return false; DocumentReferenceAttesterComponent o = (DocumentReferenceAttesterComponent) other_; - return compareValues(mode, o.mode, true) && compareValues(time, o.time, true); + return compareValues(time, o.time, true); } public boolean isEmpty() { @@ -701,21 +555,13 @@ public class DocumentReference extends DomainResource { protected Attachment attachment; /** - * 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 constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType. */ - @Child(name = "format", type = {Coding.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Format/content rules for the document", formalDefinition="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/formatcodes") - protected Coding format; + @Child(name = "profile", type = {}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Content profile rules for the document", formalDefinition="An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." ) + protected List profile; - /** - * 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. - */ - @Child(name = "identifier", type = {Identifier.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Identifier of the attachment binary", formalDefinition="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." ) - protected Identifier identifier; - - private static final long serialVersionUID = 1399001009L; + private static final long serialVersionUID = 174089424L; /** * Constructor @@ -757,66 +603,69 @@ public class DocumentReference extends DomainResource { } /** - * @return {@link #format} (An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.) + * @return {@link #profile} (An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.) */ - public Coding getFormat() { - if (this.format == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create DocumentReferenceContentComponent.format"); - else if (Configuration.doAutoCreate()) - this.format = new Coding(); // cc - return this.format; - } - - public boolean hasFormat() { - return this.format != null && !this.format.isEmpty(); + public List getProfile() { + if (this.profile == null) + this.profile = new ArrayList(); + return this.profile; } /** - * @param value {@link #format} (An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.) + * @return Returns a reference to this for easy method chaining */ - public DocumentReferenceContentComponent setFormat(Coding value) { - this.format = value; + public DocumentReferenceContentComponent setProfile(List theProfile) { + this.profile = theProfile; + return this; + } + + public boolean hasProfile() { + if (this.profile == null) + return false; + for (DocumentReferenceContentProfileComponent item : this.profile) + if (!item.isEmpty()) + return true; + return false; + } + + public DocumentReferenceContentProfileComponent addProfile() { //3 + DocumentReferenceContentProfileComponent t = new DocumentReferenceContentProfileComponent(); + if (this.profile == null) + this.profile = new ArrayList(); + this.profile.add(t); + return t; + } + + public DocumentReferenceContentComponent addProfile(DocumentReferenceContentProfileComponent t) { //3 + if (t == null) + return this; + if (this.profile == null) + this.profile = new ArrayList(); + this.profile.add(t); return this; } /** - * @return {@link #identifier} (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.) + * @return The first repetition of repeating field {@link #profile}, creating it if it does not already exist {3} */ - public Identifier getIdentifier() { - if (this.identifier == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create DocumentReferenceContentComponent.identifier"); - else if (Configuration.doAutoCreate()) - this.identifier = new Identifier(); // cc - return this.identifier; - } - - public boolean hasIdentifier() { - return this.identifier != null && !this.identifier.isEmpty(); - } - - /** - * @param value {@link #identifier} (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.) - */ - public DocumentReferenceContentComponent setIdentifier(Identifier value) { - this.identifier = value; - return this; + public DocumentReferenceContentProfileComponent getProfileFirstRep() { + if (getProfile().isEmpty()) { + addProfile(); + } + return getProfile().get(0); } protected void listChildren(List children) { super.listChildren(children); children.add(new Property("attachment", "Attachment", "The document or URL of the document along with critical metadata to prove content has integrity.", 0, 1, attachment)); - children.add(new Property("format", "Coding", "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", 0, 1, format)); - children.add(new Property("identifier", "Identifier", "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.", 0, 1, identifier)); + children.add(new Property("profile", "", "An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", 0, java.lang.Integer.MAX_VALUE, profile)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1963501277: /*attachment*/ return new Property("attachment", "Attachment", "The document or URL of the document along with critical metadata to prove content has integrity.", 0, 1, attachment); - case -1268779017: /*format*/ return new Property("format", "Coding", "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", 0, 1, format); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "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.", 0, 1, identifier); + case -309425751: /*profile*/ return new Property("profile", "", "An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", 0, java.lang.Integer.MAX_VALUE, profile); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -826,8 +675,7 @@ public class DocumentReference extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -1963501277: /*attachment*/ return this.attachment == null ? new Base[0] : new Base[] {this.attachment}; // Attachment - case -1268779017: /*format*/ return this.format == null ? new Base[0] : new Base[] {this.format}; // Coding - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : new Base[] {this.identifier}; // Identifier + case -309425751: /*profile*/ return this.profile == null ? new Base[0] : this.profile.toArray(new Base[this.profile.size()]); // DocumentReferenceContentProfileComponent default: return super.getProperty(hash, name, checkValid); } @@ -839,11 +687,8 @@ public class DocumentReference extends DomainResource { case -1963501277: // attachment this.attachment = TypeConvertor.castToAttachment(value); // Attachment return value; - case -1268779017: // format - this.format = TypeConvertor.castToCoding(value); // Coding - return value; - case -1618432855: // identifier - this.identifier = TypeConvertor.castToIdentifier(value); // Identifier + case -309425751: // profile + this.getProfile().add((DocumentReferenceContentProfileComponent) value); // DocumentReferenceContentProfileComponent return value; default: return super.setProperty(hash, name, value); } @@ -854,10 +699,8 @@ public class DocumentReference extends DomainResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("attachment")) { this.attachment = TypeConvertor.castToAttachment(value); // Attachment - } else if (name.equals("format")) { - this.format = TypeConvertor.castToCoding(value); // Coding - } else if (name.equals("identifier")) { - this.identifier = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("profile")) { + this.getProfile().add((DocumentReferenceContentProfileComponent) value); } else return super.setProperty(name, value); return value; @@ -867,8 +710,7 @@ public class DocumentReference extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1963501277: return getAttachment(); - case -1268779017: return getFormat(); - case -1618432855: return getIdentifier(); + case -309425751: return addProfile(); default: return super.makeProperty(hash, name); } @@ -878,8 +720,7 @@ public class DocumentReference extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -1963501277: /*attachment*/ return new String[] {"Attachment"}; - case -1268779017: /*format*/ return new String[] {"Coding"}; - case -1618432855: /*identifier*/ return new String[] {"Identifier"}; + case -309425751: /*profile*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); } @@ -891,13 +732,8 @@ public class DocumentReference extends DomainResource { this.attachment = new Attachment(); return this.attachment; } - else if (name.equals("format")) { - this.format = new Coding(); - return this.format; - } - else if (name.equals("identifier")) { - this.identifier = new Identifier(); - return this.identifier; + else if (name.equals("profile")) { + return addProfile(); } else return super.addChild(name); @@ -912,8 +748,11 @@ public class DocumentReference extends DomainResource { public void copyValues(DocumentReferenceContentComponent dst) { super.copyValues(dst); dst.attachment = attachment == null ? null : attachment.copy(); - dst.format = format == null ? null : format.copy(); - dst.identifier = identifier == null ? null : identifier.copy(); + if (profile != null) { + dst.profile = new ArrayList(); + for (DocumentReferenceContentProfileComponent i : profile) + dst.profile.add(i.copy()); + }; } @Override @@ -923,8 +762,7 @@ public class DocumentReference extends DomainResource { if (!(other_ instanceof DocumentReferenceContentComponent)) return false; DocumentReferenceContentComponent o = (DocumentReferenceContentComponent) other_; - return compareDeep(attachment, o.attachment, true) && compareDeep(format, o.format, true) && compareDeep(identifier, o.identifier, true) - ; + return compareDeep(attachment, o.attachment, true) && compareDeep(profile, o.profile, true); } @Override @@ -938,8 +776,7 @@ public class DocumentReference extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(attachment, format, identifier - ); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(attachment, profile); } public String fhirType() { @@ -949,17 +786,236 @@ public class DocumentReference extends DomainResource { } + @Block() + public static class DocumentReferenceContentProfileComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Code|uri|canonical. + */ + @Child(name = "value", type = {Coding.class, UriType.class, CanonicalType.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Code|uri|canonical", formalDefinition="Code|uri|canonical." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/formatcodes") + protected DataType value; + + private static final long serialVersionUID = -1135414639L; + /** - * Other identifiers associated with the document, including version independent identifiers. + * Constructor + */ + public DocumentReferenceContentProfileComponent() { + super(); + } + + /** + * Constructor + */ + public DocumentReferenceContentProfileComponent(DataType value) { + super(); + this.setValue(value); + } + + /** + * @return {@link #value} (Code|uri|canonical.) + */ + public DataType getValue() { + return this.value; + } + + /** + * @return {@link #value} (Code|uri|canonical.) + */ + public Coding getValueCoding() throws FHIRException { + if (this.value == null) + this.value = new Coding(); + if (!(this.value instanceof Coding)) + throw new FHIRException("Type mismatch: the type Coding was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Coding) this.value; + } + + public boolean hasValueCoding() { + return this != null && this.value instanceof Coding; + } + + /** + * @return {@link #value} (Code|uri|canonical.) + */ + public UriType getValueUriType() throws FHIRException { + if (this.value == null) + this.value = new UriType(); + if (!(this.value instanceof UriType)) + throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UriType) this.value; + } + + public boolean hasValueUriType() { + return this != null && this.value instanceof UriType; + } + + /** + * @return {@link #value} (Code|uri|canonical.) + */ + public CanonicalType getValueCanonicalType() throws FHIRException { + if (this.value == null) + this.value = new CanonicalType(); + if (!(this.value instanceof CanonicalType)) + throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CanonicalType) this.value; + } + + public boolean hasValueCanonicalType() { + return this != null && this.value instanceof CanonicalType; + } + + public boolean hasValue() { + return this.value != null && !this.value.isEmpty(); + } + + /** + * @param value {@link #value} (Code|uri|canonical.) + */ + public DocumentReferenceContentProfileComponent setValue(DataType value) { + if (value != null && !(value instanceof Coding || value instanceof UriType || value instanceof CanonicalType)) + throw new Error("Not the right type for DocumentReference.content.profile.value[x]: "+value.fhirType()); + this.value = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("value[x]", "Coding|uri|canonical", "Code|uri|canonical.", 0, 1, value)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -1410166417: /*value[x]*/ return new Property("value[x]", "Coding|uri|canonical", "Code|uri|canonical.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "Coding|uri|canonical", "Code|uri|canonical.", 0, 1, value); + case -1887705029: /*valueCoding*/ return new Property("value[x]", "Coding", "Code|uri|canonical.", 0, 1, value); + case -1410172357: /*valueUri*/ return new Property("value[x]", "uri", "Code|uri|canonical.", 0, 1, value); + case -786218365: /*valueCanonical*/ return new Property("value[x]", "canonical", "Code|uri|canonical.", 0, 1, value); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 111972721: // value + this.value = TypeConvertor.castToType(value); // DataType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("value[x]")) { + this.value = TypeConvertor.castToType(value); // DataType + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1410166417: return getValue(); + case 111972721: return getValue(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 111972721: /*value*/ return new String[] {"Coding", "uri", "canonical"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("valueCoding")) { + this.value = new Coding(); + return this.value; + } + else if (name.equals("valueUri")) { + this.value = new UriType(); + return this.value; + } + else if (name.equals("valueCanonical")) { + this.value = new CanonicalType(); + return this.value; + } + else + return super.addChild(name); + } + + public DocumentReferenceContentProfileComponent copy() { + DocumentReferenceContentProfileComponent dst = new DocumentReferenceContentProfileComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(DocumentReferenceContentProfileComponent dst) { + super.copyValues(dst); + dst.value = value == null ? null : value.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof DocumentReferenceContentProfileComponent)) + return false; + DocumentReferenceContentProfileComponent o = (DocumentReferenceContentProfileComponent) other_; + return compareDeep(value, o.value, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof DocumentReferenceContentProfileComponent)) + return false; + DocumentReferenceContentProfileComponent o = (DocumentReferenceContentProfileComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(value); + } + + public String fhirType() { + return "DocumentReference.content.profile"; + + } + + } + + /** + * Other business identifiers associated with the document, including version independent identifiers. */ @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Other identifiers for the document", formalDefinition="Other identifiers associated with the document, including version independent identifiers." ) + @Description(shortDefinition="Business identifiers for the document", formalDefinition="Other business identifiers associated with the document, including version independent identifiers." ) protected List identifier; /** * A procedure that is fulfilled in whole or in part by the creation of this media. */ - @Child(name = "basedOn", type = {ServiceRequest.class, CarePlan.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "basedOn", type = {Appointment.class, AppointmentResponse.class, CarePlan.class, Claim.class, CommunicationRequest.class, Contract.class, CoverageEligibilityRequest.class, DeviceRequest.class, EnrollmentRequest.class, EpisodeOfCare.class, ImmunizationRecommendation.class, MedicationRequest.class, NutritionOrder.class, RequestGroup.class, ServiceRequest.class, SupplyRequest.class, VisionPrescription.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Procedure that caused this media to be created", formalDefinition="A procedure that is fulfilled in whole or in part by the creation of this media." ) protected List basedOn; @@ -984,7 +1040,7 @@ public class DocumentReference extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Kind of document (LOINC if possible)", formalDefinition="Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-doc-typecodes") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/doc-typecodes") protected CodeableConcept type; /** @@ -992,30 +1048,30 @@ public class DocumentReference extends DomainResource { */ @Child(name = "category", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Categorization of document", formalDefinition="A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/document-classcodes") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/referenced-item-category") protected List category; /** * Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a 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). */ - @Child(name = "subject", type = {Patient.class, Practitioner.class, Group.class, Device.class, PractitionerRole.class, Specimen.class, Organization.class, Location.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "subject", type = {Reference.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who/what is the subject of the document", formalDefinition="Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a 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)." ) protected Reference subject; /** * Describes the clinical encounter or type of care that the document content is associated with. */ - @Child(name = "encounter", type = {Encounter.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Context of the document content", formalDefinition="Describes the clinical encounter or type of care that the document content is associated with." ) - protected List encounter; + @Child(name = "context", type = {Appointment.class, Encounter.class, EpisodeOfCare.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Context of the document content", formalDefinition="Describes the clinical encounter or type of care that the document content is associated with." ) + protected List context; /** * 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 type Code, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. */ - @Child(name = "event", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "event", type = {CodeableReference.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Main clinical acts documented", formalDefinition="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 type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v3-ActCode") - protected List event; + protected List event; /** * The kind of facility where the patient was seen. @@ -1055,10 +1111,10 @@ public class DocumentReference extends DomainResource { protected List author; /** - * A participant who has attested to the accuracy of the composition/document. + * A participant who has authenticated the accuracy of the document. */ @Child(name = "attester", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Attests to accuracy of composition", formalDefinition="A participant who has attested to the accuracy of the composition/document." ) + @Description(shortDefinition="Attests to accuracy of the document", formalDefinition="A participant who has authenticated the accuracy of the document." ) protected List attester; /** @@ -1083,11 +1139,11 @@ public class DocumentReference extends DomainResource { protected MarkdownType description; /** - * A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the "reference" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to. + * A set of Security-Tag codes specifying the level of privacy/security of the Document found at DocumentReference.content.attachment.url. Note that DocumentReference.meta.security contains the security labels of the data elements in DocumentReference, while DocumentReference.securityLabel contains the security labels for the document the reference refers to. The distinction recognizes that the document may contain sensitive information, while the DocumentReference is metadata about the document and thus might not be as sensitive as the document. For example: a psychotherapy episode may contain highly sensitive information, while the metadata may simply indicate that some episode happened. */ @Child(name = "securityLabel", type = {CodeableConcept.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Document security-tags", formalDefinition="A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-labels") + @Description(shortDefinition="Document security-tags", formalDefinition="A set of Security-Tag codes specifying the level of privacy/security of the Document found at DocumentReference.content.attachment.url. Note that DocumentReference.meta.security contains the security labels of the data elements in DocumentReference, while DocumentReference.securityLabel contains the security labels for the document the reference refers to. The distinction recognizes that the document may contain sensitive information, while the DocumentReference is metadata about the document and thus might not be as sensitive as the document. For example: a psychotherapy episode may contain highly sensitive information, while the metadata may simply indicate that some episode happened." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/security-label-examples") protected List securityLabel; /** @@ -1104,14 +1160,7 @@ public class DocumentReference extends DomainResource { @Description(shortDefinition="Patient demographics from source", formalDefinition="The Patient Information as known when the document was published. May be a reference to a version specific, or contained." ) protected Reference sourcePatientInfo; - /** - * Related identifiers or resources associated with the DocumentReference. - */ - @Child(name = "related", type = {Reference.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Related identifiers or resources", formalDefinition="Related identifiers or resources associated with the DocumentReference." ) - protected List related; - - private static final long serialVersionUID = -1169558405L; + private static final long serialVersionUID = -466177068L; /** * Constructor @@ -1130,7 +1179,7 @@ public class DocumentReference extends DomainResource { } /** - * @return {@link #identifier} (Other identifiers associated with the document, including version independent identifiers.) + * @return {@link #identifier} (Other business identifiers associated with the document, including version independent identifiers.) */ public List getIdentifier() { if (this.identifier == null) @@ -1431,71 +1480,71 @@ public class DocumentReference extends DomainResource { } /** - * @return {@link #encounter} (Describes the clinical encounter or type of care that the document content is associated with.) + * @return {@link #context} (Describes the clinical encounter or type of care that the document content is associated with.) */ - public List getEncounter() { - if (this.encounter == null) - this.encounter = new ArrayList(); - return this.encounter; + public List getContext() { + if (this.context == null) + this.context = new ArrayList(); + return this.context; } /** * @return Returns a reference to this for easy method chaining */ - public DocumentReference setEncounter(List theEncounter) { - this.encounter = theEncounter; + public DocumentReference setContext(List theContext) { + this.context = theContext; return this; } - public boolean hasEncounter() { - if (this.encounter == null) + public boolean hasContext() { + if (this.context == null) return false; - for (Reference item : this.encounter) + for (Reference item : this.context) if (!item.isEmpty()) return true; return false; } - public Reference addEncounter() { //3 + public Reference addContext() { //3 Reference t = new Reference(); - if (this.encounter == null) - this.encounter = new ArrayList(); - this.encounter.add(t); + if (this.context == null) + this.context = new ArrayList(); + this.context.add(t); return t; } - public DocumentReference addEncounter(Reference t) { //3 + public DocumentReference addContext(Reference t) { //3 if (t == null) return this; - if (this.encounter == null) - this.encounter = new ArrayList(); - this.encounter.add(t); + if (this.context == null) + this.context = new ArrayList(); + this.context.add(t); return this; } /** - * @return The first repetition of repeating field {@link #encounter}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #context}, creating it if it does not already exist {3} */ - public Reference getEncounterFirstRep() { - if (getEncounter().isEmpty()) { - addEncounter(); + public Reference getContextFirstRep() { + if (getContext().isEmpty()) { + addContext(); } - return getEncounter().get(0); + return getContext().get(0); } /** * @return {@link #event} (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 type Code, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act.) */ - public List getEvent() { + public List getEvent() { if (this.event == null) - this.event = new ArrayList(); + this.event = new ArrayList(); return this.event; } /** * @return Returns a reference to this for easy method chaining */ - public DocumentReference setEvent(List theEvent) { + public DocumentReference setEvent(List theEvent) { this.event = theEvent; return this; } @@ -1503,25 +1552,25 @@ public class DocumentReference extends DomainResource { public boolean hasEvent() { if (this.event == null) return false; - for (CodeableConcept item : this.event) + for (CodeableReference item : this.event) if (!item.isEmpty()) return true; return false; } - public CodeableConcept addEvent() { //3 - CodeableConcept t = new CodeableConcept(); + public CodeableReference addEvent() { //3 + CodeableReference t = new CodeableReference(); if (this.event == null) - this.event = new ArrayList(); + this.event = new ArrayList(); this.event.add(t); return t; } - public DocumentReference addEvent(CodeableConcept t) { //3 + public DocumentReference addEvent(CodeableReference t) { //3 if (t == null) return this; if (this.event == null) - this.event = new ArrayList(); + this.event = new ArrayList(); this.event.add(t); return this; } @@ -1529,7 +1578,7 @@ public class DocumentReference extends DomainResource { /** * @return The first repetition of repeating field {@link #event}, creating it if it does not already exist {3} */ - public CodeableConcept getEventFirstRep() { + public CodeableReference getEventFirstRep() { if (getEvent().isEmpty()) { addEvent(); } @@ -1711,7 +1760,7 @@ public class DocumentReference extends DomainResource { } /** - * @return {@link #attester} (A participant who has attested to the accuracy of the composition/document.) + * @return {@link #attester} (A participant who has authenticated the accuracy of the document.) */ public List getAttester() { if (this.attester == null) @@ -1890,7 +1939,7 @@ public class DocumentReference extends DomainResource { } /** - * @return {@link #securityLabel} (A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the "reference" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.) + * @return {@link #securityLabel} (A set of Security-Tag codes specifying the level of privacy/security of the Document found at DocumentReference.content.attachment.url. Note that DocumentReference.meta.security contains the security labels of the data elements in DocumentReference, while DocumentReference.securityLabel contains the security labels for the document the reference refers to. The distinction recognizes that the document may contain sensitive information, while the DocumentReference is metadata about the document and thus might not be as sensitive as the document. For example: a psychotherapy episode may contain highly sensitive information, while the metadata may simply indicate that some episode happened.) */ public List getSecurityLabel() { if (this.securityLabel == null) @@ -2019,110 +2068,55 @@ public class DocumentReference extends DomainResource { return this; } - /** - * @return {@link #related} (Related identifiers or resources associated with the DocumentReference.) - */ - public List getRelated() { - if (this.related == null) - this.related = new ArrayList(); - return this.related; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public DocumentReference setRelated(List theRelated) { - this.related = theRelated; - return this; - } - - public boolean hasRelated() { - if (this.related == null) - return false; - for (Reference item : this.related) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addRelated() { //3 - Reference t = new Reference(); - if (this.related == null) - this.related = new ArrayList(); - this.related.add(t); - return t; - } - - public DocumentReference addRelated(Reference t) { //3 - if (t == null) - return this; - if (this.related == null) - this.related = new ArrayList(); - this.related.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #related}, creating it if it does not already exist {3} - */ - public Reference getRelatedFirstRep() { - if (getRelated().isEmpty()) { - addRelated(); - } - return getRelated().get(0); - } - protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "Other identifiers associated with the document, including version independent identifiers.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("basedOn", "Reference(ServiceRequest|CarePlan)", "A procedure that is fulfilled in whole or in part by the creation of this media.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("identifier", "Identifier", "Other business identifiers associated with the document, including version independent identifiers.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("basedOn", "Reference(Appointment|AppointmentResponse|CarePlan|Claim|CommunicationRequest|Contract|CoverageEligibilityRequest|DeviceRequest|EnrollmentRequest|EpisodeOfCare|ImmunizationRecommendation|MedicationRequest|NutritionOrder|RequestGroup|ServiceRequest|SupplyRequest|VisionPrescription)", "A procedure that is fulfilled in whole or in part by the creation of this media.", 0, java.lang.Integer.MAX_VALUE, basedOn)); children.add(new Property("status", "code", "The status of this document reference.", 0, 1, status)); children.add(new Property("docStatus", "code", "The status of the underlying document.", 0, 1, docStatus)); children.add(new Property("type", "CodeableConcept", "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", 0, 1, type)); children.add(new Property("category", "CodeableConcept", "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", 0, java.lang.Integer.MAX_VALUE, category)); - children.add(new Property("subject", "Reference(Patient|Practitioner|Group|Device|PractitionerRole|Specimen|Organization|Location)", "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a 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).", 0, 1, subject)); - children.add(new Property("encounter", "Reference(Encounter)", "Describes the clinical encounter or type of care that the document content is associated with.", 0, java.lang.Integer.MAX_VALUE, encounter)); - children.add(new Property("event", "CodeableConcept", "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 type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", 0, java.lang.Integer.MAX_VALUE, event)); + children.add(new Property("subject", "Reference(Any)", "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a 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).", 0, 1, subject)); + children.add(new Property("context", "Reference(Appointment|Encounter|EpisodeOfCare)", "Describes the clinical encounter or type of care that the document content is associated with.", 0, java.lang.Integer.MAX_VALUE, context)); + children.add(new Property("event", "CodeableReference", "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 type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", 0, java.lang.Integer.MAX_VALUE, event)); children.add(new Property("facilityType", "CodeableConcept", "The kind of facility where the patient was seen.", 0, 1, facilityType)); children.add(new Property("practiceSetting", "CodeableConcept", "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.", 0, 1, practiceSetting)); children.add(new Property("period", "Period", "The time period over which the service that is described by the document was provided.", 0, 1, period)); children.add(new Property("date", "instant", "When the document reference was created.", 0, 1, date)); children.add(new Property("author", "Reference(Practitioner|PractitionerRole|Organization|Device|Patient|RelatedPerson|CareTeam)", "Identifies who is responsible for adding the information to the document.", 0, java.lang.Integer.MAX_VALUE, author)); - children.add(new Property("attester", "", "A participant who has attested to the accuracy of the composition/document.", 0, java.lang.Integer.MAX_VALUE, attester)); + children.add(new Property("attester", "", "A participant who has authenticated the accuracy of the document.", 0, java.lang.Integer.MAX_VALUE, attester)); children.add(new Property("custodian", "Reference(Organization)", "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", 0, 1, custodian)); children.add(new Property("relatesTo", "", "Relationships that this document has with other document references that already exist.", 0, java.lang.Integer.MAX_VALUE, relatesTo)); children.add(new Property("description", "markdown", "Human-readable description of the source document.", 0, 1, description)); - children.add(new Property("securityLabel", "CodeableConcept", "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", 0, java.lang.Integer.MAX_VALUE, securityLabel)); + children.add(new Property("securityLabel", "CodeableConcept", "A set of Security-Tag codes specifying the level of privacy/security of the Document found at DocumentReference.content.attachment.url. Note that DocumentReference.meta.security contains the security labels of the data elements in DocumentReference, while DocumentReference.securityLabel contains the security labels for the document the reference refers to. The distinction recognizes that the document may contain sensitive information, while the DocumentReference is metadata about the document and thus might not be as sensitive as the document. For example: a psychotherapy episode may contain highly sensitive information, while the metadata may simply indicate that some episode happened.", 0, java.lang.Integer.MAX_VALUE, securityLabel)); children.add(new Property("content", "", "The document and format referenced. If there are multiple content element repetitions, these must all represent the same document in different format, or attachment metadata.", 0, java.lang.Integer.MAX_VALUE, content)); children.add(new Property("sourcePatientInfo", "Reference(Patient)", "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", 0, 1, sourcePatientInfo)); - children.add(new Property("related", "Reference(Any)", "Related identifiers or resources associated with the DocumentReference.", 0, java.lang.Integer.MAX_VALUE, related)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Other identifiers associated with the document, including version independent identifiers.", 0, java.lang.Integer.MAX_VALUE, identifier); - case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(ServiceRequest|CarePlan)", "A procedure that is fulfilled in whole or in part by the creation of this media.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Other business identifiers associated with the document, including version independent identifiers.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(Appointment|AppointmentResponse|CarePlan|Claim|CommunicationRequest|Contract|CoverageEligibilityRequest|DeviceRequest|EnrollmentRequest|EpisodeOfCare|ImmunizationRecommendation|MedicationRequest|NutritionOrder|RequestGroup|ServiceRequest|SupplyRequest|VisionPrescription)", "A procedure that is fulfilled in whole or in part by the creation of this media.", 0, java.lang.Integer.MAX_VALUE, basedOn); case -892481550: /*status*/ return new Property("status", "code", "The status of this document reference.", 0, 1, status); case -23496886: /*docStatus*/ return new Property("docStatus", "code", "The status of the underlying document.", 0, 1, docStatus); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", 0, 1, type); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", 0, java.lang.Integer.MAX_VALUE, category); - case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Practitioner|Group|Device|PractitionerRole|Specimen|Organization|Location)", "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a 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).", 0, 1, subject); - case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "Describes the clinical encounter or type of care that the document content is associated with.", 0, java.lang.Integer.MAX_VALUE, encounter); - case 96891546: /*event*/ return new Property("event", "CodeableConcept", "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 type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", 0, java.lang.Integer.MAX_VALUE, event); + case -1867885268: /*subject*/ return new Property("subject", "Reference(Any)", "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a 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).", 0, 1, subject); + case 951530927: /*context*/ return new Property("context", "Reference(Appointment|Encounter|EpisodeOfCare)", "Describes the clinical encounter or type of care that the document content is associated with.", 0, java.lang.Integer.MAX_VALUE, context); + case 96891546: /*event*/ return new Property("event", "CodeableReference", "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 type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", 0, java.lang.Integer.MAX_VALUE, event); case 370698365: /*facilityType*/ return new Property("facilityType", "CodeableConcept", "The kind of facility where the patient was seen.", 0, 1, facilityType); case 331373717: /*practiceSetting*/ return new Property("practiceSetting", "CodeableConcept", "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.", 0, 1, practiceSetting); case -991726143: /*period*/ return new Property("period", "Period", "The time period over which the service that is described by the document was provided.", 0, 1, period); case 3076014: /*date*/ return new Property("date", "instant", "When the document reference was created.", 0, 1, date); case -1406328437: /*author*/ return new Property("author", "Reference(Practitioner|PractitionerRole|Organization|Device|Patient|RelatedPerson|CareTeam)", "Identifies who is responsible for adding the information to the document.", 0, java.lang.Integer.MAX_VALUE, author); - case 542920370: /*attester*/ return new Property("attester", "", "A participant who has attested to the accuracy of the composition/document.", 0, java.lang.Integer.MAX_VALUE, attester); + case 542920370: /*attester*/ return new Property("attester", "", "A participant who has authenticated the accuracy of the document.", 0, java.lang.Integer.MAX_VALUE, attester); case 1611297262: /*custodian*/ return new Property("custodian", "Reference(Organization)", "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", 0, 1, custodian); case -7765931: /*relatesTo*/ return new Property("relatesTo", "", "Relationships that this document has with other document references that already exist.", 0, java.lang.Integer.MAX_VALUE, relatesTo); case -1724546052: /*description*/ return new Property("description", "markdown", "Human-readable description of the source document.", 0, 1, description); - case -722296940: /*securityLabel*/ return new Property("securityLabel", "CodeableConcept", "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", 0, java.lang.Integer.MAX_VALUE, securityLabel); + case -722296940: /*securityLabel*/ return new Property("securityLabel", "CodeableConcept", "A set of Security-Tag codes specifying the level of privacy/security of the Document found at DocumentReference.content.attachment.url. Note that DocumentReference.meta.security contains the security labels of the data elements in DocumentReference, while DocumentReference.securityLabel contains the security labels for the document the reference refers to. The distinction recognizes that the document may contain sensitive information, while the DocumentReference is metadata about the document and thus might not be as sensitive as the document. For example: a psychotherapy episode may contain highly sensitive information, while the metadata may simply indicate that some episode happened.", 0, java.lang.Integer.MAX_VALUE, securityLabel); case 951530617: /*content*/ return new Property("content", "", "The document and format referenced. If there are multiple content element repetitions, these must all represent the same document in different format, or attachment metadata.", 0, java.lang.Integer.MAX_VALUE, content); case 2031381048: /*sourcePatientInfo*/ return new Property("sourcePatientInfo", "Reference(Patient)", "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", 0, 1, sourcePatientInfo); - case 1090493483: /*related*/ return new Property("related", "Reference(Any)", "Related identifiers or resources associated with the DocumentReference.", 0, java.lang.Integer.MAX_VALUE, related); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2138,8 +2132,8 @@ public class DocumentReference extends DomainResource { case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference - case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : this.encounter.toArray(new Base[this.encounter.size()]); // Reference - case 96891546: /*event*/ return this.event == null ? new Base[0] : this.event.toArray(new Base[this.event.size()]); // CodeableConcept + case 951530927: /*context*/ return this.context == null ? new Base[0] : this.context.toArray(new Base[this.context.size()]); // Reference + case 96891546: /*event*/ return this.event == null ? new Base[0] : this.event.toArray(new Base[this.event.size()]); // CodeableReference case 370698365: /*facilityType*/ return this.facilityType == null ? new Base[0] : new Base[] {this.facilityType}; // CodeableConcept case 331373717: /*practiceSetting*/ return this.practiceSetting == null ? new Base[0] : new Base[] {this.practiceSetting}; // CodeableConcept case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period @@ -2152,7 +2146,6 @@ public class DocumentReference extends DomainResource { case -722296940: /*securityLabel*/ return this.securityLabel == null ? new Base[0] : this.securityLabel.toArray(new Base[this.securityLabel.size()]); // CodeableConcept case 951530617: /*content*/ return this.content == null ? new Base[0] : this.content.toArray(new Base[this.content.size()]); // DocumentReferenceContentComponent case 2031381048: /*sourcePatientInfo*/ return this.sourcePatientInfo == null ? new Base[0] : new Base[] {this.sourcePatientInfo}; // Reference - case 1090493483: /*related*/ return this.related == null ? new Base[0] : this.related.toArray(new Base[this.related.size()]); // Reference default: return super.getProperty(hash, name, checkValid); } @@ -2184,11 +2177,11 @@ public class DocumentReference extends DomainResource { case -1867885268: // subject this.subject = TypeConvertor.castToReference(value); // Reference return value; - case 1524132147: // encounter - this.getEncounter().add(TypeConvertor.castToReference(value)); // Reference + case 951530927: // context + this.getContext().add(TypeConvertor.castToReference(value)); // Reference return value; case 96891546: // event - this.getEvent().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + this.getEvent().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference return value; case 370698365: // facilityType this.facilityType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept @@ -2226,9 +2219,6 @@ public class DocumentReference extends DomainResource { case 2031381048: // sourcePatientInfo this.sourcePatientInfo = TypeConvertor.castToReference(value); // Reference return value; - case 1090493483: // related - this.getRelated().add(TypeConvertor.castToReference(value)); // Reference - return value; default: return super.setProperty(hash, name, value); } @@ -2252,10 +2242,10 @@ public class DocumentReference extends DomainResource { this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("encounter")) { - this.getEncounter().add(TypeConvertor.castToReference(value)); + } else if (name.equals("context")) { + this.getContext().add(TypeConvertor.castToReference(value)); } else if (name.equals("event")) { - this.getEvent().add(TypeConvertor.castToCodeableConcept(value)); + this.getEvent().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("facilityType")) { this.facilityType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("practiceSetting")) { @@ -2280,8 +2270,6 @@ public class DocumentReference extends DomainResource { this.getContent().add((DocumentReferenceContentComponent) value); } else if (name.equals("sourcePatientInfo")) { this.sourcePatientInfo = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("related")) { - this.getRelated().add(TypeConvertor.castToReference(value)); } else return super.setProperty(name, value); return value; @@ -2297,7 +2285,7 @@ public class DocumentReference extends DomainResource { case 3575610: return getType(); case 50511102: return addCategory(); case -1867885268: return getSubject(); - case 1524132147: return addEncounter(); + case 951530927: return addContext(); case 96891546: return addEvent(); case 370698365: return getFacilityType(); case 331373717: return getPracticeSetting(); @@ -2311,7 +2299,6 @@ public class DocumentReference extends DomainResource { case -722296940: return addSecurityLabel(); case 951530617: return addContent(); case 2031381048: return getSourcePatientInfo(); - case 1090493483: return addRelated(); default: return super.makeProperty(hash, name); } @@ -2327,8 +2314,8 @@ public class DocumentReference extends DomainResource { case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; - case 1524132147: /*encounter*/ return new String[] {"Reference"}; - case 96891546: /*event*/ return new String[] {"CodeableConcept"}; + case 951530927: /*context*/ return new String[] {"Reference"}; + case 96891546: /*event*/ return new String[] {"CodeableReference"}; case 370698365: /*facilityType*/ return new String[] {"CodeableConcept"}; case 331373717: /*practiceSetting*/ return new String[] {"CodeableConcept"}; case -991726143: /*period*/ return new String[] {"Period"}; @@ -2341,7 +2328,6 @@ public class DocumentReference extends DomainResource { case -722296940: /*securityLabel*/ return new String[] {"CodeableConcept"}; case 951530617: /*content*/ return new String[] {}; case 2031381048: /*sourcePatientInfo*/ return new String[] {"Reference"}; - case 1090493483: /*related*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -2372,8 +2358,8 @@ public class DocumentReference extends DomainResource { this.subject = new Reference(); return this.subject; } - else if (name.equals("encounter")) { - return addEncounter(); + else if (name.equals("context")) { + return addContext(); } else if (name.equals("event")) { return addEvent(); @@ -2419,9 +2405,6 @@ public class DocumentReference extends DomainResource { this.sourcePatientInfo = new Reference(); return this.sourcePatientInfo; } - else if (name.equals("related")) { - return addRelated(); - } else return super.addChild(name); } @@ -2458,14 +2441,14 @@ public class DocumentReference extends DomainResource { dst.category.add(i.copy()); }; dst.subject = subject == null ? null : subject.copy(); - if (encounter != null) { - dst.encounter = new ArrayList(); - for (Reference i : encounter) - dst.encounter.add(i.copy()); + if (context != null) { + dst.context = new ArrayList(); + for (Reference i : context) + dst.context.add(i.copy()); }; if (event != null) { - dst.event = new ArrayList(); - for (CodeableConcept i : event) + dst.event = new ArrayList(); + for (CodeableReference i : event) dst.event.add(i.copy()); }; dst.facilityType = facilityType == null ? null : facilityType.copy(); @@ -2500,11 +2483,6 @@ public class DocumentReference extends DomainResource { dst.content.add(i.copy()); }; dst.sourcePatientInfo = sourcePatientInfo == null ? null : sourcePatientInfo.copy(); - if (related != null) { - dst.related = new ArrayList(); - for (Reference i : related) - dst.related.add(i.copy()); - }; } protected DocumentReference typedCopy() { @@ -2520,13 +2498,13 @@ public class DocumentReference extends DomainResource { DocumentReference o = (DocumentReference) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(status, o.status, true) && compareDeep(docStatus, o.docStatus, true) && compareDeep(type, o.type, true) && compareDeep(category, o.category, true) - && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) && compareDeep(event, o.event, true) + && compareDeep(subject, o.subject, true) && compareDeep(context, o.context, true) && compareDeep(event, o.event, true) && compareDeep(facilityType, o.facilityType, true) && compareDeep(practiceSetting, o.practiceSetting, true) && compareDeep(period, o.period, true) && compareDeep(date, o.date, true) && compareDeep(author, o.author, true) && compareDeep(attester, o.attester, true) && compareDeep(custodian, o.custodian, true) && compareDeep(relatesTo, o.relatesTo, true) && compareDeep(description, o.description, true) && compareDeep(securityLabel, o.securityLabel, true) && compareDeep(content, o.content, true) && compareDeep(sourcePatientInfo, o.sourcePatientInfo, true) - && compareDeep(related, o.related, true); + ; } @Override @@ -2542,9 +2520,9 @@ public class DocumentReference extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, basedOn, status - , docStatus, type, category, subject, encounter, event, facilityType, practiceSetting + , docStatus, type, category, subject, context, event, facilityType, practiceSetting , period, date, author, attester, custodian, relatesTo, description, securityLabel - , content, sourcePatientInfo, related); + , content, sourcePatientInfo); } @Override @@ -2552,796 +2530,6 @@ public class DocumentReference extends DomainResource { return ResourceType.DocumentReference; } - /** - * Search parameter: attester - *

- * Description: Who attested the composition
- * Type: reference
- * Path: DocumentReference.attester.party
- *

- */ - @SearchParamDefinition(name="attester", path="DocumentReference.attester.party", description="Who attested the composition", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ATTESTER = "attester"; - /** - * Fluent Client search parameter constant for attester - *

- * Description: Who attested the composition
- * Type: reference
- * Path: DocumentReference.attester.party
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ATTESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ATTESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:attester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ATTESTER = new ca.uhn.fhir.model.api.Include("DocumentReference:attester").toLocked(); - - /** - * Search parameter: author - *

- * Description: Who and/or what authored the document
- * Type: reference
- * Path: DocumentReference.author
- *

- */ - @SearchParamDefinition(name="author", path="DocumentReference.author", description="Who and/or what authored the document", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: Who and/or what authored the document
- * Type: reference
- * Path: DocumentReference.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("DocumentReference:author").toLocked(); - - /** - * Search parameter: based-on - *

- * Description: Procedure that caused this media to be created
- * Type: reference
- * Path: DocumentReference.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="DocumentReference.basedOn", description="Procedure that caused this media to be created", type="reference", target={CarePlan.class, ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Procedure that caused this media to be created
- * Type: reference
- * Path: DocumentReference.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("DocumentReference:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: Categorization of document
- * Type: token
- * Path: DocumentReference.category
- *

- */ - @SearchParamDefinition(name="category", path="DocumentReference.category", description="Categorization of document", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Categorization of document
- * Type: token
- * Path: DocumentReference.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: contenttype - *

- * Description: Mime type of the content, with charset etc.
- * Type: token
- * Path: DocumentReference.content.attachment.contentType
- *

- */ - @SearchParamDefinition(name="contenttype", path="DocumentReference.content.attachment.contentType", description="Mime type of the content, with charset etc.", type="token" ) - public static final String SP_CONTENTTYPE = "contenttype"; - /** - * Fluent Client search parameter constant for contenttype - *

- * Description: Mime type of the content, with charset etc.
- * Type: token
- * Path: DocumentReference.content.attachment.contentType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTENTTYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTENTTYPE); - - /** - * Search parameter: creation - *

- * Description: Date attachment was first created
- * Type: date
- * Path: DocumentReference.content.attachment.creation
- *

- */ - @SearchParamDefinition(name="creation", path="DocumentReference.content.attachment.creation", description="Date attachment was first created", type="date" ) - public static final String SP_CREATION = "creation"; - /** - * Fluent Client search parameter constant for creation - *

- * Description: Date attachment was first created
- * Type: date
- * Path: DocumentReference.content.attachment.creation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATION = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATION); - - /** - * Search parameter: custodian - *

- * Description: Organization which maintains the document
- * Type: reference
- * Path: DocumentReference.custodian
- *

- */ - @SearchParamDefinition(name="custodian", path="DocumentReference.custodian", description="Organization which maintains the document", type="reference", target={Organization.class } ) - public static final String SP_CUSTODIAN = "custodian"; - /** - * Fluent Client search parameter constant for custodian - *

- * Description: Organization which maintains the document
- * Type: reference
- * Path: DocumentReference.custodian
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CUSTODIAN = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CUSTODIAN); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:custodian". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CUSTODIAN = new ca.uhn.fhir.model.api.Include("DocumentReference:custodian").toLocked(); - - /** - * Search parameter: date - *

- * Description: When this document reference was created
- * Type: date
- * Path: DocumentReference.date
- *

- */ - @SearchParamDefinition(name="date", path="DocumentReference.date", description="When this document reference was created", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: When this document reference was created
- * Type: date
- * Path: DocumentReference.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Human-readable description
- * Type: string
- * Path: DocumentReference.description
- *

- */ - @SearchParamDefinition(name="description", path="DocumentReference.description", description="Human-readable description", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Human-readable description
- * Type: string
- * Path: DocumentReference.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: doc-status - *

- * Description: preliminary | final | amended | entered-in-error
- * Type: token
- * Path: DocumentReference.docStatus
- *

- */ - @SearchParamDefinition(name="doc-status", path="DocumentReference.docStatus", description="preliminary | final | amended | entered-in-error", type="token" ) - public static final String SP_DOC_STATUS = "doc-status"; - /** - * Fluent Client search parameter constant for doc-status - *

- * Description: preliminary | final | amended | entered-in-error
- * Type: token
- * Path: DocumentReference.docStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOC_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOC_STATUS); - - /** - * Search parameter: event - *

- * Description: Main clinical acts documented
- * Type: token
- * Path: DocumentReference.event
- *

- */ - @SearchParamDefinition(name="event", path="DocumentReference.event", description="Main clinical acts documented", type="token" ) - public static final String SP_EVENT = "event"; - /** - * Fluent Client search parameter constant for event - *

- * Description: Main clinical acts documented
- * Type: token
- * Path: DocumentReference.event
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EVENT); - - /** - * Search parameter: facility - *

- * Description: Kind of facility where patient was seen
- * Type: token
- * Path: DocumentReference.facilityType
- *

- */ - @SearchParamDefinition(name="facility", path="DocumentReference.facilityType", description="Kind of facility where patient was seen", type="token" ) - public static final String SP_FACILITY = "facility"; - /** - * Fluent Client search parameter constant for facility - *

- * Description: Kind of facility where patient was seen
- * Type: token
- * Path: DocumentReference.facilityType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FACILITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FACILITY); - - /** - * Search parameter: format - *

- * Description: Format/content rules for the document
- * Type: token
- * Path: DocumentReference.content.format
- *

- */ - @SearchParamDefinition(name="format", path="DocumentReference.content.format", description="Format/content rules for the document", type="token" ) - public static final String SP_FORMAT = "format"; - /** - * Fluent Client search parameter constant for format - *

- * Description: Format/content rules for the document
- * Type: token
- * Path: DocumentReference.content.format
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORMAT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FORMAT); - - /** - * Search parameter: language - *

- * Description: Human language of the content (BCP-47)
- * Type: token
- * Path: DocumentReference.content.attachment.language
- *

- */ - @SearchParamDefinition(name="language", path="DocumentReference.content.attachment.language", description="Human language of the content (BCP-47)", type="token" ) - public static final String SP_LANGUAGE = "language"; - /** - * Fluent Client search parameter constant for language - *

- * Description: Human language of the content (BCP-47)
- * Type: token
- * Path: DocumentReference.content.attachment.language
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LANGUAGE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LANGUAGE); - - /** - * Search parameter: location - *

- * Description: Uri where the data can be found
- * Type: uri
- * Path: DocumentReference.content.attachment.url
- *

- */ - @SearchParamDefinition(name="location", path="DocumentReference.content.attachment.url", description="Uri where the data can be found", type="uri" ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Uri where the data can be found
- * Type: uri
- * Path: DocumentReference.content.attachment.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam LOCATION = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_LOCATION); - - /** - * Search parameter: period - *

- * Description: Time of service that is being documented
- * Type: date
- * Path: DocumentReference.period
- *

- */ - @SearchParamDefinition(name="period", path="DocumentReference.period", description="Time of service that is being documented", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: Time of service that is being documented
- * Type: date
- * Path: DocumentReference.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: related - *

- * Description: Related identifiers or resources
- * Type: reference
- * Path: DocumentReference.related
- *

- */ - @SearchParamDefinition(name="related", path="DocumentReference.related", description="Related identifiers or resources", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_RELATED = "related"; - /** - * Fluent Client search parameter constant for related - *

- * Description: Related identifiers or resources
- * Type: reference
- * Path: DocumentReference.related
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATED = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RELATED); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:related". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATED = new ca.uhn.fhir.model.api.Include("DocumentReference:related").toLocked(); - - /** - * Search parameter: relatesto - *

- * Description: Target of the relationship
- * Type: reference
- * Path: DocumentReference.relatesTo.target
- *

- */ - @SearchParamDefinition(name="relatesto", path="DocumentReference.relatesTo.target", description="Target of the relationship", type="reference", target={DocumentReference.class } ) - public static final String SP_RELATESTO = "relatesto"; - /** - * Fluent Client search parameter constant for relatesto - *

- * Description: Target of the relationship
- * Type: reference
- * Path: DocumentReference.relatesTo.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATESTO = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RELATESTO); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:relatesto". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATESTO = new ca.uhn.fhir.model.api.Include("DocumentReference:relatesto").toLocked(); - - /** - * Search parameter: relation - *

- * Description: replaces | transforms | signs | appends
- * Type: token
- * Path: DocumentReference.relatesTo.code
- *

- */ - @SearchParamDefinition(name="relation", path="DocumentReference.relatesTo.code", description="replaces | transforms | signs | appends", type="token" ) - public static final String SP_RELATION = "relation"; - /** - * Fluent Client search parameter constant for relation - *

- * Description: replaces | transforms | signs | appends
- * Type: token
- * Path: DocumentReference.relatesTo.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RELATION); - - /** - * Search parameter: relationship - *

- * Description: Combination of relation and relatesTo
- * Type: composite
- * Path: DocumentReference.relatesTo
- *

- */ - @SearchParamDefinition(name="relationship", path="DocumentReference.relatesTo", description="Combination of relation and relatesTo", type="composite", compositeOf={"relatesto", "relation"} ) - public static final String SP_RELATIONSHIP = "relationship"; - /** - * Fluent Client search parameter constant for relationship - *

- * Description: Combination of relation and relatesTo
- * Type: composite
- * Path: DocumentReference.relatesTo
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam RELATIONSHIP = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_RELATIONSHIP); - - /** - * Search parameter: security-label - *

- * Description: Document security-tags
- * Type: token
- * Path: DocumentReference.securityLabel
- *

- */ - @SearchParamDefinition(name="security-label", path="DocumentReference.securityLabel", description="Document security-tags", type="token" ) - public static final String SP_SECURITY_LABEL = "security-label"; - /** - * Fluent Client search parameter constant for security-label - *

- * Description: Document security-tags
- * Type: token
- * Path: DocumentReference.securityLabel
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECURITY_LABEL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SECURITY_LABEL); - - /** - * Search parameter: setting - *

- * Description: Additional details about where the content was created (e.g. clinical specialty)
- * Type: token
- * Path: DocumentReference.practiceSetting
- *

- */ - @SearchParamDefinition(name="setting", path="DocumentReference.practiceSetting", description="Additional details about where the content was created (e.g. clinical specialty)", type="token" ) - public static final String SP_SETTING = "setting"; - /** - * Fluent Client search parameter constant for setting - *

- * Description: Additional details about where the content was created (e.g. clinical specialty)
- * Type: token
- * Path: DocumentReference.practiceSetting
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SETTING = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SETTING); - - /** - * Search parameter: status - *

- * Description: current | superseded | entered-in-error
- * Type: token
- * Path: DocumentReference.status
- *

- */ - @SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superseded | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: current | superseded | entered-in-error
- * Type: token
- * Path: DocumentReference.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Who/what is the subject of the document
- * Type: reference
- * Path: DocumentReference.subject
- *

- */ - @SearchParamDefinition(name="subject", path="DocumentReference.subject", description="Who/what is the subject of the document", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Group.class, Location.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, Specimen.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who/what is the subject of the document
- * Type: reference
- * Path: DocumentReference.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("DocumentReference:subject").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("DocumentReference:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "DocumentReference:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("DocumentReference:patient").toLocked(); - - /** - * Search parameter: type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - @SearchParamDefinition(name="type", path="AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html): Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html): Kind of document set\r\n* [DocumentReference](documentreference.html): Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html): Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management\r\n", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DomainResource.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DomainResource.java index 5f3ffd2c9..b66fac0e2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DomainResource.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/DomainResource.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -406,26 +406,6 @@ Modifier extensions SHALL NOT change the meaning of any elements on Resource or , modifierExtension); } - /** - * Search parameter: _text - *

- * Description: Search on the narrative of the resource
- * Type: special
- * Path: null
- *

- */ - @SearchParamDefinition(name="_text", path="", description="Search on the narrative of the resource", type="special" ) - public static final String SP_TEXT = "_text"; - /** - * Fluent Client search parameter constant for _text - *

- * Description: Search on the narrative of the resource
- * Type: special
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.SpecialClientParam TEXT = new ca.uhn.fhir.rest.gclient.SpecialClientParam(SP_TEXT); - // Manual code (from Configuration.txt): public void checkNoModifiers(String noun, String verb) throws FHIRException { if (hasModifierExtension()) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Dosage.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Dosage.java index 622ea6b06..1cf423e81 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Dosage.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Dosage.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -427,17 +427,24 @@ public class Dosage extends BackboneType implements ICompositeType { protected Timing timing; /** - * Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept). + * Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option). */ - @Child(name = "asNeeded", type = {BooleanType.class, CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Take \"as needed\" (for x)", formalDefinition="Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." ) + @Child(name = "asNeeded", type = {BooleanType.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Take \"as needed\"", formalDefinition="Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option)." ) + protected BooleanType asNeeded; + + /** + * Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept). + */ + @Child(name = "asNeededFor", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Take \"as needed\" (for x)", formalDefinition="Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-as-needed-reason") - protected DataType asNeeded; + protected List asNeededFor; /** * Body site to administer to. */ - @Child(name = "site", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "site", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Body site to administer to", formalDefinition="Body site to administer to." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/approach-site-codes") protected CodeableConcept site; @@ -445,7 +452,7 @@ public class Dosage extends BackboneType implements ICompositeType { /** * How drug should enter body. */ - @Child(name = "route", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "route", type = {CodeableConcept.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="How drug should enter body", formalDefinition="How drug should enter body." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/route-codes") protected CodeableConcept route; @@ -453,40 +460,40 @@ public class Dosage extends BackboneType implements ICompositeType { /** * Technique for administering medication. */ - @Child(name = "method", type = {CodeableConcept.class}, order=8, min=0, max=1, modifier=false, summary=true) + @Child(name = "method", type = {CodeableConcept.class}, order=9, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Technique for administering medication", formalDefinition="Technique for administering medication." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/administration-method-codes") protected CodeableConcept method; /** - * The amount of medication administered. + * Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered. */ - @Child(name = "doseAndRate", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Amount of medication administered", formalDefinition="The amount of medication administered." ) + @Child(name = "doseAndRate", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Amount of medication administered, to be administered or typical amount to be administered", formalDefinition="Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered." ) protected List doseAndRate; /** * Upper limit on medication per unit of time. */ - @Child(name = "maxDosePerPeriod", type = {Ratio.class}, order=10, min=0, max=1, modifier=false, summary=true) + @Child(name = "maxDosePerPeriod", type = {Ratio.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Upper limit on medication per unit of time", formalDefinition="Upper limit on medication per unit of time." ) - protected Ratio maxDosePerPeriod; + protected List maxDosePerPeriod; /** * Upper limit on medication per administration. */ - @Child(name = "maxDosePerAdministration", type = {Quantity.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Child(name = "maxDosePerAdministration", type = {Quantity.class}, order=12, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Upper limit on medication per administration", formalDefinition="Upper limit on medication per administration." ) protected Quantity maxDosePerAdministration; /** * Upper limit on medication per lifetime of the patient. */ - @Child(name = "maxDosePerLifetime", type = {Quantity.class}, order=12, min=0, max=1, modifier=false, summary=true) + @Child(name = "maxDosePerLifetime", type = {Quantity.class}, order=13, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Upper limit on medication per lifetime of the patient", formalDefinition="Upper limit on medication per lifetime of the patient." ) protected Quantity maxDosePerLifetime; - private static final long serialVersionUID = 1743553833L; + private static final long serialVersionUID = 386091152L; /** * Constructor @@ -716,40 +723,19 @@ public class Dosage extends BackboneType implements ICompositeType { } /** - * @return {@link #asNeeded} (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).) + * @return {@link #asNeeded} (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).). This is the underlying object with id, value and extensions. The accessor "getAsNeeded" gives direct access to the value */ - public DataType getAsNeeded() { + public BooleanType getAsNeededElement() { + if (this.asNeeded == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Dosage.asNeeded"); + else if (Configuration.doAutoCreate()) + this.asNeeded = new BooleanType(); // bb return this.asNeeded; } - /** - * @return {@link #asNeeded} (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).) - */ - public BooleanType getAsNeededBooleanType() throws FHIRException { - if (this.asNeeded == null) - this.asNeeded = new BooleanType(); - if (!(this.asNeeded instanceof BooleanType)) - throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.asNeeded.getClass().getName()+" was encountered"); - return (BooleanType) this.asNeeded; - } - - public boolean hasAsNeededBooleanType() { - return this != null && this.asNeeded instanceof BooleanType; - } - - /** - * @return {@link #asNeeded} (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).) - */ - public CodeableConcept getAsNeededCodeableConcept() throws FHIRException { - if (this.asNeeded == null) - this.asNeeded = new CodeableConcept(); - if (!(this.asNeeded instanceof CodeableConcept)) - throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.asNeeded.getClass().getName()+" was encountered"); - return (CodeableConcept) this.asNeeded; - } - - public boolean hasAsNeededCodeableConcept() { - return this != null && this.asNeeded instanceof CodeableConcept; + public boolean hasAsNeededElement() { + return this.asNeeded != null && !this.asNeeded.isEmpty(); } public boolean hasAsNeeded() { @@ -757,15 +743,83 @@ public class Dosage extends BackboneType implements ICompositeType { } /** - * @param value {@link #asNeeded} (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).) + * @param value {@link #asNeeded} (Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).). This is the underlying object with id, value and extensions. The accessor "getAsNeeded" gives direct access to the value */ - public Dosage setAsNeeded(DataType value) { - if (value != null && !(value instanceof BooleanType || value instanceof CodeableConcept)) - throw new Error("Not the right type for Dosage.asNeeded[x]: "+value.fhirType()); + public Dosage setAsNeededElement(BooleanType value) { this.asNeeded = value; return this; } + /** + * @return Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option). + */ + public boolean getAsNeeded() { + return this.asNeeded == null || this.asNeeded.isEmpty() ? false : this.asNeeded.getValue(); + } + + /** + * @param value Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option). + */ + public Dosage setAsNeeded(boolean value) { + if (this.asNeeded == null) + this.asNeeded = new BooleanType(); + this.asNeeded.setValue(value); + return this; + } + + /** + * @return {@link #asNeededFor} (Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).) + */ + public List getAsNeededFor() { + if (this.asNeededFor == null) + this.asNeededFor = new ArrayList(); + return this.asNeededFor; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Dosage setAsNeededFor(List theAsNeededFor) { + this.asNeededFor = theAsNeededFor; + return this; + } + + public boolean hasAsNeededFor() { + if (this.asNeededFor == null) + return false; + for (CodeableConcept item : this.asNeededFor) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addAsNeededFor() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.asNeededFor == null) + this.asNeededFor = new ArrayList(); + this.asNeededFor.add(t); + return t; + } + + public Dosage addAsNeededFor(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.asNeededFor == null) + this.asNeededFor = new ArrayList(); + this.asNeededFor.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #asNeededFor}, creating it if it does not already exist {3} + */ + public CodeableConcept getAsNeededForFirstRep() { + if (getAsNeededFor().isEmpty()) { + addAsNeededFor(); + } + return getAsNeededFor().get(0); + } + /** * @return {@link #site} (Body site to administer to.) */ @@ -839,7 +893,7 @@ public class Dosage extends BackboneType implements ICompositeType { } /** - * @return {@link #doseAndRate} (The amount of medication administered.) + * @return {@link #doseAndRate} (Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered.) */ public List getDoseAndRate() { if (this.doseAndRate == null) @@ -894,25 +948,54 @@ public class Dosage extends BackboneType implements ICompositeType { /** * @return {@link #maxDosePerPeriod} (Upper limit on medication per unit of time.) */ - public Ratio getMaxDosePerPeriod() { + public List getMaxDosePerPeriod() { if (this.maxDosePerPeriod == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Dosage.maxDosePerPeriod"); - else if (Configuration.doAutoCreate()) - this.maxDosePerPeriod = new Ratio(); // cc + this.maxDosePerPeriod = new ArrayList(); return this.maxDosePerPeriod; } + /** + * @return Returns a reference to this for easy method chaining + */ + public Dosage setMaxDosePerPeriod(List theMaxDosePerPeriod) { + this.maxDosePerPeriod = theMaxDosePerPeriod; + return this; + } + public boolean hasMaxDosePerPeriod() { - return this.maxDosePerPeriod != null && !this.maxDosePerPeriod.isEmpty(); + if (this.maxDosePerPeriod == null) + return false; + for (Ratio item : this.maxDosePerPeriod) + if (!item.isEmpty()) + return true; + return false; + } + + public Ratio addMaxDosePerPeriod() { //3 + Ratio t = new Ratio(); + if (this.maxDosePerPeriod == null) + this.maxDosePerPeriod = new ArrayList(); + this.maxDosePerPeriod.add(t); + return t; + } + + public Dosage addMaxDosePerPeriod(Ratio t) { //3 + if (t == null) + return this; + if (this.maxDosePerPeriod == null) + this.maxDosePerPeriod = new ArrayList(); + this.maxDosePerPeriod.add(t); + return this; } /** - * @param value {@link #maxDosePerPeriod} (Upper limit on medication per unit of time.) + * @return The first repetition of repeating field {@link #maxDosePerPeriod}, creating it if it does not already exist {3} */ - public Dosage setMaxDosePerPeriod(Ratio value) { - this.maxDosePerPeriod = value; - return this; + public Ratio getMaxDosePerPeriodFirstRep() { + if (getMaxDosePerPeriod().isEmpty()) { + addMaxDosePerPeriod(); + } + return getMaxDosePerPeriod().get(0); } /** @@ -970,12 +1053,13 @@ public class Dosage extends BackboneType implements ICompositeType { children.add(new Property("additionalInstruction", "CodeableConcept", "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").", 0, java.lang.Integer.MAX_VALUE, additionalInstruction)); children.add(new Property("patientInstruction", "string", "Instructions in terms that are understood by the patient or consumer.", 0, 1, patientInstruction)); children.add(new Property("timing", "Timing", "When medication should be administered.", 0, 1, timing)); - children.add(new Property("asNeeded[x]", "boolean|CodeableConcept", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", 0, 1, asNeeded)); + children.add(new Property("asNeeded", "boolean", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).", 0, 1, asNeeded)); + children.add(new Property("asNeededFor", "CodeableConcept", "Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).", 0, java.lang.Integer.MAX_VALUE, asNeededFor)); children.add(new Property("site", "CodeableConcept", "Body site to administer to.", 0, 1, site)); children.add(new Property("route", "CodeableConcept", "How drug should enter body.", 0, 1, route)); children.add(new Property("method", "CodeableConcept", "Technique for administering medication.", 0, 1, method)); - children.add(new Property("doseAndRate", "", "The amount of medication administered.", 0, java.lang.Integer.MAX_VALUE, doseAndRate)); - children.add(new Property("maxDosePerPeriod", "Ratio", "Upper limit on medication per unit of time.", 0, 1, maxDosePerPeriod)); + children.add(new Property("doseAndRate", "", "Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered.", 0, java.lang.Integer.MAX_VALUE, doseAndRate)); + children.add(new Property("maxDosePerPeriod", "Ratio", "Upper limit on medication per unit of time.", 0, java.lang.Integer.MAX_VALUE, maxDosePerPeriod)); children.add(new Property("maxDosePerAdministration", "Quantity", "Upper limit on medication per administration.", 0, 1, maxDosePerAdministration)); children.add(new Property("maxDosePerLifetime", "Quantity", "Upper limit on medication per lifetime of the patient.", 0, 1, maxDosePerLifetime)); } @@ -988,15 +1072,13 @@ public class Dosage extends BackboneType implements ICompositeType { case 1623641575: /*additionalInstruction*/ return new Property("additionalInstruction", "CodeableConcept", "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").", 0, java.lang.Integer.MAX_VALUE, additionalInstruction); case 737543241: /*patientInstruction*/ return new Property("patientInstruction", "string", "Instructions in terms that are understood by the patient or consumer.", 0, 1, patientInstruction); case -873664438: /*timing*/ return new Property("timing", "Timing", "When medication should be administered.", 0, 1, timing); - case -544329575: /*asNeeded[x]*/ return new Property("asNeeded[x]", "boolean|CodeableConcept", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", 0, 1, asNeeded); - case -1432923513: /*asNeeded*/ return new Property("asNeeded[x]", "boolean|CodeableConcept", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", 0, 1, asNeeded); - case -591717471: /*asNeededBoolean*/ return new Property("asNeeded[x]", "boolean", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", 0, 1, asNeeded); - case 1556420122: /*asNeededCodeableConcept*/ return new Property("asNeeded[x]", "CodeableConcept", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", 0, 1, asNeeded); + case -1432923513: /*asNeeded*/ return new Property("asNeeded", "boolean", "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option).", 0, 1, asNeeded); + case -544350014: /*asNeededFor*/ return new Property("asNeededFor", "CodeableConcept", "Indicates whether the Medication is only taken based on a precondition for taking the Medication (CodeableConcept).", 0, java.lang.Integer.MAX_VALUE, asNeededFor); case 3530567: /*site*/ return new Property("site", "CodeableConcept", "Body site to administer to.", 0, 1, site); case 108704329: /*route*/ return new Property("route", "CodeableConcept", "How drug should enter body.", 0, 1, route); case -1077554975: /*method*/ return new Property("method", "CodeableConcept", "Technique for administering medication.", 0, 1, method); - case -611024774: /*doseAndRate*/ return new Property("doseAndRate", "", "The amount of medication administered.", 0, java.lang.Integer.MAX_VALUE, doseAndRate); - case 1506263709: /*maxDosePerPeriod*/ return new Property("maxDosePerPeriod", "Ratio", "Upper limit on medication per unit of time.", 0, 1, maxDosePerPeriod); + case -611024774: /*doseAndRate*/ return new Property("doseAndRate", "", "Depending on the resource,this is the amount of medication administered, to be administered or typical amount to be administered.", 0, java.lang.Integer.MAX_VALUE, doseAndRate); + case 1506263709: /*maxDosePerPeriod*/ return new Property("maxDosePerPeriod", "Ratio", "Upper limit on medication per unit of time.", 0, java.lang.Integer.MAX_VALUE, maxDosePerPeriod); case 2004889914: /*maxDosePerAdministration*/ return new Property("maxDosePerAdministration", "Quantity", "Upper limit on medication per administration.", 0, 1, maxDosePerAdministration); case 642099621: /*maxDosePerLifetime*/ return new Property("maxDosePerLifetime", "Quantity", "Upper limit on medication per lifetime of the patient.", 0, 1, maxDosePerLifetime); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1012,12 +1094,13 @@ public class Dosage extends BackboneType implements ICompositeType { case 1623641575: /*additionalInstruction*/ return this.additionalInstruction == null ? new Base[0] : this.additionalInstruction.toArray(new Base[this.additionalInstruction.size()]); // CodeableConcept case 737543241: /*patientInstruction*/ return this.patientInstruction == null ? new Base[0] : new Base[] {this.patientInstruction}; // StringType case -873664438: /*timing*/ return this.timing == null ? new Base[0] : new Base[] {this.timing}; // Timing - case -1432923513: /*asNeeded*/ return this.asNeeded == null ? new Base[0] : new Base[] {this.asNeeded}; // DataType + case -1432923513: /*asNeeded*/ return this.asNeeded == null ? new Base[0] : new Base[] {this.asNeeded}; // BooleanType + case -544350014: /*asNeededFor*/ return this.asNeededFor == null ? new Base[0] : this.asNeededFor.toArray(new Base[this.asNeededFor.size()]); // CodeableConcept case 3530567: /*site*/ return this.site == null ? new Base[0] : new Base[] {this.site}; // CodeableConcept case 108704329: /*route*/ return this.route == null ? new Base[0] : new Base[] {this.route}; // CodeableConcept case -1077554975: /*method*/ return this.method == null ? new Base[0] : new Base[] {this.method}; // CodeableConcept case -611024774: /*doseAndRate*/ return this.doseAndRate == null ? new Base[0] : this.doseAndRate.toArray(new Base[this.doseAndRate.size()]); // DosageDoseAndRateComponent - case 1506263709: /*maxDosePerPeriod*/ return this.maxDosePerPeriod == null ? new Base[0] : new Base[] {this.maxDosePerPeriod}; // Ratio + case 1506263709: /*maxDosePerPeriod*/ return this.maxDosePerPeriod == null ? new Base[0] : this.maxDosePerPeriod.toArray(new Base[this.maxDosePerPeriod.size()]); // Ratio case 2004889914: /*maxDosePerAdministration*/ return this.maxDosePerAdministration == null ? new Base[0] : new Base[] {this.maxDosePerAdministration}; // Quantity case 642099621: /*maxDosePerLifetime*/ return this.maxDosePerLifetime == null ? new Base[0] : new Base[] {this.maxDosePerLifetime}; // Quantity default: return super.getProperty(hash, name, checkValid); @@ -1044,7 +1127,10 @@ public class Dosage extends BackboneType implements ICompositeType { this.timing = TypeConvertor.castToTiming(value); // Timing return value; case -1432923513: // asNeeded - this.asNeeded = TypeConvertor.castToType(value); // DataType + this.asNeeded = TypeConvertor.castToBoolean(value); // BooleanType + return value; + case -544350014: // asNeededFor + this.getAsNeededFor().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; case 3530567: // site this.site = TypeConvertor.castToCodeableConcept(value); // CodeableConcept @@ -1059,7 +1145,7 @@ public class Dosage extends BackboneType implements ICompositeType { this.getDoseAndRate().add((DosageDoseAndRateComponent) value); // DosageDoseAndRateComponent return value; case 1506263709: // maxDosePerPeriod - this.maxDosePerPeriod = TypeConvertor.castToRatio(value); // Ratio + this.getMaxDosePerPeriod().add(TypeConvertor.castToRatio(value)); // Ratio return value; case 2004889914: // maxDosePerAdministration this.maxDosePerAdministration = TypeConvertor.castToQuantity(value); // Quantity @@ -1084,8 +1170,10 @@ public class Dosage extends BackboneType implements ICompositeType { this.patientInstruction = TypeConvertor.castToString(value); // StringType } else if (name.equals("timing")) { this.timing = TypeConvertor.castToTiming(value); // Timing - } else if (name.equals("asNeeded[x]")) { - this.asNeeded = TypeConvertor.castToType(value); // DataType + } else if (name.equals("asNeeded")) { + this.asNeeded = TypeConvertor.castToBoolean(value); // BooleanType + } else if (name.equals("asNeededFor")) { + this.getAsNeededFor().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("site")) { this.site = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("route")) { @@ -1095,7 +1183,7 @@ public class Dosage extends BackboneType implements ICompositeType { } else if (name.equals("doseAndRate")) { this.getDoseAndRate().add((DosageDoseAndRateComponent) value); } else if (name.equals("maxDosePerPeriod")) { - this.maxDosePerPeriod = TypeConvertor.castToRatio(value); // Ratio + this.getMaxDosePerPeriod().add(TypeConvertor.castToRatio(value)); } else if (name.equals("maxDosePerAdministration")) { this.maxDosePerAdministration = TypeConvertor.castToQuantity(value); // Quantity } else if (name.equals("maxDosePerLifetime")) { @@ -1113,13 +1201,13 @@ public class Dosage extends BackboneType implements ICompositeType { case 1623641575: return addAdditionalInstruction(); case 737543241: return getPatientInstructionElement(); case -873664438: return getTiming(); - case -544329575: return getAsNeeded(); - case -1432923513: return getAsNeeded(); + case -1432923513: return getAsNeededElement(); + case -544350014: return addAsNeededFor(); case 3530567: return getSite(); case 108704329: return getRoute(); case -1077554975: return getMethod(); case -611024774: return addDoseAndRate(); - case 1506263709: return getMaxDosePerPeriod(); + case 1506263709: return addMaxDosePerPeriod(); case 2004889914: return getMaxDosePerAdministration(); case 642099621: return getMaxDosePerLifetime(); default: return super.makeProperty(hash, name); @@ -1135,7 +1223,8 @@ public class Dosage extends BackboneType implements ICompositeType { case 1623641575: /*additionalInstruction*/ return new String[] {"CodeableConcept"}; case 737543241: /*patientInstruction*/ return new String[] {"string"}; case -873664438: /*timing*/ return new String[] {"Timing"}; - case -1432923513: /*asNeeded*/ return new String[] {"boolean", "CodeableConcept"}; + case -1432923513: /*asNeeded*/ return new String[] {"boolean"}; + case -544350014: /*asNeededFor*/ return new String[] {"CodeableConcept"}; case 3530567: /*site*/ return new String[] {"CodeableConcept"}; case 108704329: /*route*/ return new String[] {"CodeableConcept"}; case -1077554975: /*method*/ return new String[] {"CodeableConcept"}; @@ -1166,13 +1255,11 @@ public class Dosage extends BackboneType implements ICompositeType { this.timing = new Timing(); return this.timing; } - else if (name.equals("asNeededBoolean")) { - this.asNeeded = new BooleanType(); - return this.asNeeded; + else if (name.equals("asNeeded")) { + throw new FHIRException("Cannot call addChild on a primitive type Dosage.asNeeded"); } - else if (name.equals("asNeededCodeableConcept")) { - this.asNeeded = new CodeableConcept(); - return this.asNeeded; + else if (name.equals("asNeededFor")) { + return addAsNeededFor(); } else if (name.equals("site")) { this.site = new CodeableConcept(); @@ -1190,8 +1277,7 @@ public class Dosage extends BackboneType implements ICompositeType { return addDoseAndRate(); } else if (name.equals("maxDosePerPeriod")) { - this.maxDosePerPeriod = new Ratio(); - return this.maxDosePerPeriod; + return addMaxDosePerPeriod(); } else if (name.equals("maxDosePerAdministration")) { this.maxDosePerAdministration = new Quantity(); @@ -1228,6 +1314,11 @@ public class Dosage extends BackboneType implements ICompositeType { dst.patientInstruction = patientInstruction == null ? null : patientInstruction.copy(); dst.timing = timing == null ? null : timing.copy(); dst.asNeeded = asNeeded == null ? null : asNeeded.copy(); + if (asNeededFor != null) { + dst.asNeededFor = new ArrayList(); + for (CodeableConcept i : asNeededFor) + dst.asNeededFor.add(i.copy()); + }; dst.site = site == null ? null : site.copy(); dst.route = route == null ? null : route.copy(); dst.method = method == null ? null : method.copy(); @@ -1236,7 +1327,11 @@ public class Dosage extends BackboneType implements ICompositeType { for (DosageDoseAndRateComponent i : doseAndRate) dst.doseAndRate.add(i.copy()); }; - dst.maxDosePerPeriod = maxDosePerPeriod == null ? null : maxDosePerPeriod.copy(); + if (maxDosePerPeriod != null) { + dst.maxDosePerPeriod = new ArrayList(); + for (Ratio i : maxDosePerPeriod) + dst.maxDosePerPeriod.add(i.copy()); + }; dst.maxDosePerAdministration = maxDosePerAdministration == null ? null : maxDosePerAdministration.copy(); dst.maxDosePerLifetime = maxDosePerLifetime == null ? null : maxDosePerLifetime.copy(); } @@ -1254,10 +1349,10 @@ public class Dosage extends BackboneType implements ICompositeType { Dosage o = (Dosage) other_; return compareDeep(sequence, o.sequence, true) && compareDeep(text, o.text, true) && compareDeep(additionalInstruction, o.additionalInstruction, true) && compareDeep(patientInstruction, o.patientInstruction, true) && compareDeep(timing, o.timing, true) - && compareDeep(asNeeded, o.asNeeded, true) && compareDeep(site, o.site, true) && compareDeep(route, o.route, true) - && compareDeep(method, o.method, true) && compareDeep(doseAndRate, o.doseAndRate, true) && compareDeep(maxDosePerPeriod, o.maxDosePerPeriod, true) - && compareDeep(maxDosePerAdministration, o.maxDosePerAdministration, true) && compareDeep(maxDosePerLifetime, o.maxDosePerLifetime, true) - ; + && compareDeep(asNeeded, o.asNeeded, true) && compareDeep(asNeededFor, o.asNeededFor, true) && compareDeep(site, o.site, true) + && compareDeep(route, o.route, true) && compareDeep(method, o.method, true) && compareDeep(doseAndRate, o.doseAndRate, true) + && compareDeep(maxDosePerPeriod, o.maxDosePerPeriod, true) && compareDeep(maxDosePerAdministration, o.maxDosePerAdministration, true) + && compareDeep(maxDosePerLifetime, o.maxDosePerLifetime, true); } @Override @@ -1268,13 +1363,13 @@ public class Dosage extends BackboneType implements ICompositeType { return false; Dosage o = (Dosage) other_; return compareValues(sequence, o.sequence, true) && compareValues(text, o.text, true) && compareValues(patientInstruction, o.patientInstruction, true) - ; + && compareValues(asNeeded, o.asNeeded, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(sequence, text, additionalInstruction - , patientInstruction, timing, asNeeded, site, route, method, doseAndRate, maxDosePerPeriod - , maxDosePerAdministration, maxDosePerLifetime); + , patientInstruction, timing, asNeeded, asNeededFor, site, route, method, doseAndRate + , maxDosePerPeriod, maxDosePerAdministration, maxDosePerLifetime); } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Duration.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Duration.java index 901ba9ea1..4869946ed 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Duration.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Duration.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java index 56eb4d694..c09126dc0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -93,6 +93,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case CONTAINED: return "contained"; case REFERENCED: return "referenced"; case BUNDLED: return "bundled"; + case NULL: return null; default: return "?"; } } @@ -101,6 +102,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { 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 NULL: return null; default: return "?"; } } @@ -109,6 +111,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case CONTAINED: return "The reference is a local reference to a contained resource."; case REFERENCED: return "The reference to a resource that has to be resolved externally to the resource that includes the reference."; case BUNDLED: return "The resource the reference points to will be found in the same bundle as the resource that includes the reference."; + case NULL: return null; default: return "?"; } } @@ -117,6 +120,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case CONTAINED: return "Contained"; case REFERENCED: return "Referenced"; case BUNDLED: return "Bundled"; + case NULL: return null; default: return "?"; } } @@ -194,6 +198,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { switch (this) { case ERROR: return "error"; case WARNING: return "warning"; + case NULL: return null; default: return "?"; } } @@ -201,6 +206,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { switch (this) { case ERROR: return "http://hl7.org/fhir/constraint-severity"; case WARNING: return "http://hl7.org/fhir/constraint-severity"; + case NULL: return null; default: return "?"; } } @@ -208,6 +214,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { switch (this) { case ERROR: return "If the constraint is violated, the resource is not conformant."; case WARNING: return "If the constraint is violated, the resource is conformant, but it is not necessarily following best practice."; + case NULL: return null; default: return "?"; } } @@ -215,6 +222,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { switch (this) { case ERROR: return "Error"; case WARNING: return "Warning"; + case NULL: return null; default: return "?"; } } @@ -307,6 +315,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case PATTERN: return "pattern"; case TYPE: return "type"; case PROFILE: return "profile"; + case NULL: return null; default: return "?"; } } @@ -317,6 +326,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case PATTERN: return "http://hl7.org/fhir/discriminator-type"; case TYPE: return "http://hl7.org/fhir/discriminator-type"; case PROFILE: return "http://hl7.org/fhir/discriminator-type"; + case NULL: return null; default: return "?"; } } @@ -327,6 +337,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case PATTERN: return "The slices have different values in the nominated element, as determined by testing them against the applicable ElementDefinition.pattern[x]."; case TYPE: return "The slices are differentiated by type of the nominated element."; case PROFILE: return "The slices are differentiated by conformance of the nominated element to a specified profile. Note that if the path specifies .resolve() then the profile is the target profile on the reference. In this case, validation by the possible profiles is required to differentiate the slices."; + case NULL: return null; default: return "?"; } } @@ -337,6 +348,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case PATTERN: return "Pattern"; case TYPE: return "Type"; case PROFILE: return "Profile"; + case NULL: return null; default: return "?"; } } @@ -447,6 +459,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case TYPEATTR: return "typeAttr"; case CDATEXT: return "cdaText"; case XHTML: return "xhtml"; + case NULL: return null; default: return "?"; } } @@ -457,6 +470,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case TYPEATTR: return "http://hl7.org/fhir/property-representation"; case CDATEXT: return "http://hl7.org/fhir/property-representation"; case XHTML: return "http://hl7.org/fhir/property-representation"; + case NULL: return null; default: return "?"; } } @@ -467,6 +481,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case TYPEATTR: return "The type of this element is indicated using xsi:type."; case CDATEXT: return "Use CDA narrative instead of XHTML."; case XHTML: return "The property is represented using XHTML."; + case NULL: return null; default: return "?"; } } @@ -477,6 +492,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case TYPEATTR: return "Type Attribute"; case CDATEXT: return "CDA Text Format"; case XHTML: return "XHTML"; + case NULL: return null; default: return "?"; } } @@ -573,6 +589,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case EITHER: return "either"; case INDEPENDENT: return "independent"; case SPECIFIC: return "specific"; + case NULL: return null; default: return "?"; } } @@ -581,6 +598,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case EITHER: return "http://hl7.org/fhir/reference-version-rules"; case INDEPENDENT: return "http://hl7.org/fhir/reference-version-rules"; case SPECIFIC: return "http://hl7.org/fhir/reference-version-rules"; + case NULL: return null; default: return "?"; } } @@ -589,6 +607,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case EITHER: return "The reference may be either version independent or version specific."; case INDEPENDENT: return "The reference must be version independent."; case SPECIFIC: return "The reference must be version specific."; + case NULL: return null; default: return "?"; } } @@ -597,6 +616,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case EITHER: return "Either Specific or independent"; case INDEPENDENT: return "Version independent"; case SPECIFIC: return "Version Specific"; + case NULL: return null; default: return "?"; } } @@ -681,6 +701,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case CLOSED: return "closed"; case OPEN: return "open"; case OPENATEND: return "openAtEnd"; + case NULL: return null; default: return "?"; } } @@ -689,6 +710,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { 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 NULL: return null; default: return "?"; } } @@ -697,6 +719,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case CLOSED: return "No additional content is allowed other than that described by the slices in this profile."; case OPEN: return "Additional content is allowed anywhere in the list."; case OPENATEND: return "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."; + case NULL: return null; default: return "?"; } } @@ -705,6 +728,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { case CLOSED: return "Closed"; case OPEN: return "Open"; case OPENATEND: return "Open at End"; + case NULL: return null; default: return "?"; } } @@ -1735,7 +1759,7 @@ public class ElementDefinition extends BackboneType implements ICompositeType { */ @Child(name = "code", type = {UriType.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Data type or Resource (reference to definition)", formalDefinition="URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. \"string\" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/defined-types") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/fhir-element-types") protected UriType code; /** @@ -11568,27 +11592,27 @@ When pattern[x] is used to constrain a complex object, it means that each proper public boolean isInlineType() { return getType().size() == 1 && Utilities.existsInList(getType().get(0).getCode(), "Element", "BackboneElement"); - } - - public boolean prohibited() { - return "0".equals(getMax()); - } - - public boolean hasFixedOrPattern() { - return hasFixed() || hasPattern(); - } - - public DataType getFixedOrPattern() { - return hasFixed() ? getFixed() : getPattern(); - } - - public boolean isProhibited() { - return "0".equals(getMax()); } - public boolean isRequired() { - return getMin() == 1; - } + public boolean prohibited() { + return "0".equals(getMax()); + } + + public boolean hasFixedOrPattern() { + return hasFixed() || hasPattern(); + } + + public DataType getFixedOrPattern() { + return hasFixed() ? getFixed() : getPattern(); + } + + public boolean isProhibited() { + return "0".equals(getMax()); + } + + public boolean isRequired() { + return getMin() == 1; + } // end addition diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Encounter.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Encounter.java index 18a0f34d5..79cde7d69 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Encounter.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Encounter.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class Encounter extends DomainResource { case ACTIVE: return "active"; case RESERVED: return "reserved"; case COMPLETED: return "completed"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class Encounter extends DomainResource { case ACTIVE: return "http://hl7.org/fhir/encounter-location-status"; case RESERVED: return "http://hl7.org/fhir/encounter-location-status"; case COMPLETED: return "http://hl7.org/fhir/encounter-location-status"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class Encounter extends DomainResource { case ACTIVE: return "The patient is currently at this location, or was between the period specified.\r\rA system may update these records when the patient leaves the location to either reserved, or completed."; case RESERVED: return "This location is held empty for this patient."; case COMPLETED: return "The patient was at this location during the period specified.\r\rNot to be used when the patient is currently at the location."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class Encounter extends DomainResource { case ACTIVE: return "Active"; case RESERVED: return "Reserved"; case COMPLETED: return "Completed"; + case NULL: return null; default: return "?"; } } @@ -241,6 +245,7 @@ public class Encounter extends DomainResource { case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -253,6 +258,7 @@ public class Encounter extends DomainResource { case CANCELLED: return "http://hl7.org/fhir/encounter-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/encounter-status"; case UNKNOWN: return "http://hl7.org/fhir/encounter-status"; + case NULL: return null; default: return "?"; } } @@ -265,6 +271,7 @@ public class Encounter extends DomainResource { case CANCELLED: return "The Encounter has ended before it has begun."; case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; case UNKNOWN: return "The encounter 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\"."; + case NULL: return null; default: return "?"; } } @@ -277,6 +284,7 @@ public class Encounter extends DomainResource { case CANCELLED: return "Cancelled"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -2338,10 +2346,10 @@ public class Encounter extends DomainResource { /** * Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations. */ - @Child(name = "class", type = {Coding.class}, order=3, min=1, max=1, modifier=false, summary=true) + @Child(name = "class", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Classification of patient encounter", formalDefinition="Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v3-ActEncounterCode") - protected Coding class_; + protected CodeableConcept class_; /** * The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient. @@ -2361,10 +2369,10 @@ public class Encounter extends DomainResource { /** * Broad categorization of the service that is to be provided (e.g. cardiology). */ - @Child(name = "serviceType", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "serviceType", type = {CodeableReference.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Specific type of service", formalDefinition="Broad categorization of the service that is to be provided (e.g. cardiology)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-type") - protected CodeableConcept serviceType; + protected CodeableReference serviceType; /** * Indicates the urgency of the encounter. @@ -2399,8 +2407,8 @@ public class Encounter extends DomainResource { /** * The request this encounter satisfies (e.g. incoming referral or procedure request). */ - @Child(name = "basedOn", type = {ServiceRequest.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="The ServiceRequest that initiated this encounter", formalDefinition="The request this encounter satisfies (e.g. incoming referral or procedure request)." ) + @Child(name = "basedOn", type = {CarePlan.class, DeviceRequest.class, MedicationRequest.class, ServiceRequest.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The request that initiated this encounter", formalDefinition="The request this encounter satisfies (e.g. incoming referral or procedure request)." ) protected List basedOn; /** @@ -2495,7 +2503,7 @@ public class Encounter extends DomainResource { @Description(shortDefinition="Another Encounter this encounter is part of", formalDefinition="Another Encounter of which this encounter is a part of (administratively or in time)." ) protected Reference partOf; - private static final long serialVersionUID = 1632191002L; + private static final long serialVersionUID = 200036296L; /** * Constructor @@ -2507,7 +2515,7 @@ public class Encounter extends DomainResource { /** * Constructor */ - public Encounter(EncounterStatus status, Coding class_) { + public Encounter(EncounterStatus status, CodeableConcept class_) { super(); this.setStatus(status); this.setClass_(class_); @@ -2667,12 +2675,12 @@ public class Encounter extends DomainResource { /** * @return {@link #class_} (Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.) */ - public Coding getClass_() { + public CodeableConcept getClass_() { if (this.class_ == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Encounter.class_"); else if (Configuration.doAutoCreate()) - this.class_ = new Coding(); // cc + this.class_ = new CodeableConcept(); // cc return this.class_; } @@ -2683,7 +2691,7 @@ public class Encounter extends DomainResource { /** * @param value {@link #class_} (Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.) */ - public Encounter setClass_(Coding value) { + public Encounter setClass_(CodeableConcept value) { this.class_ = value; return this; } @@ -2797,12 +2805,12 @@ public class Encounter extends DomainResource { /** * @return {@link #serviceType} (Broad categorization of the service that is to be provided (e.g. cardiology).) */ - public CodeableConcept getServiceType() { + public CodeableReference getServiceType() { if (this.serviceType == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Encounter.serviceType"); else if (Configuration.doAutoCreate()) - this.serviceType = new CodeableConcept(); // cc + this.serviceType = new CodeableReference(); // cc return this.serviceType; } @@ -2813,7 +2821,7 @@ public class Encounter extends DomainResource { /** * @param value {@link #serviceType} (Broad categorization of the service that is to be provided (e.g. cardiology).) */ - public Encounter setServiceType(CodeableConcept value) { + public Encounter setServiceType(CodeableReference value) { this.serviceType = value; return this; } @@ -3537,15 +3545,15 @@ public class Encounter extends DomainResource { children.add(new Property("identifier", "Identifier", "Identifier(s) by which this encounter is known.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("status", "code", "planned | in-progress | onhold | completed | cancelled | entered-in-error | unknown.", 0, 1, status)); children.add(new Property("statusHistory", "", "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.", 0, java.lang.Integer.MAX_VALUE, statusHistory)); - children.add(new Property("class", "Coding", "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", 0, 1, class_)); + children.add(new Property("class", "CodeableConcept", "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", 0, 1, class_)); children.add(new Property("classHistory", "", "The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.", 0, java.lang.Integer.MAX_VALUE, classHistory)); children.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)); - children.add(new Property("serviceType", "CodeableConcept", "Broad categorization of the service that is to be provided (e.g. cardiology).", 0, 1, serviceType)); + children.add(new Property("serviceType", "CodeableReference(HealthcareService)", "Broad categorization of the service that is to be provided (e.g. cardiology).", 0, 1, serviceType)); children.add(new Property("priority", "CodeableConcept", "Indicates the urgency of the encounter.", 0, 1, priority)); children.add(new Property("subject", "Reference(Patient|Group)", "The patient or group present at the encounter.", 0, 1, subject)); children.add(new Property("subjectStatus", "CodeableConcept", "The subjectStatus value can be used to track the patient's status within the encounter. It details whether the patient has arrived or departed, has been triaged or is currently in a waiting status.", 0, 1, subjectStatus)); children.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 government 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).", 0, java.lang.Integer.MAX_VALUE, episodeOfCare)); - children.add(new Property("basedOn", "Reference(ServiceRequest)", "The request this encounter satisfies (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("basedOn", "Reference(CarePlan|DeviceRequest|MedicationRequest|ServiceRequest)", "The request this encounter satisfies (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn)); children.add(new Property("participant", "", "The list of people responsible for providing the service.", 0, java.lang.Integer.MAX_VALUE, participant)); children.add(new Property("appointment", "Reference(Appointment)", "The appointment that scheduled this encounter.", 0, java.lang.Integer.MAX_VALUE, appointment)); children.add(new Property("actualPeriod", "Period", "The actual start and end time of the encounter.", 0, 1, actualPeriod)); @@ -3567,15 +3575,15 @@ public class Encounter extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier(s) by which this encounter is known.", 0, java.lang.Integer.MAX_VALUE, identifier); case -892481550: /*status*/ return new Property("status", "code", "planned | in-progress | onhold | completed | cancelled | entered-in-error | unknown.", 0, 1, status); case -986695614: /*statusHistory*/ return new Property("statusHistory", "", "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.", 0, java.lang.Integer.MAX_VALUE, statusHistory); - case 94742904: /*class*/ return new Property("class", "Coding", "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", 0, 1, class_); + case 94742904: /*class*/ return new Property("class", "CodeableConcept", "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", 0, 1, class_); case 962575356: /*classHistory*/ return new Property("classHistory", "", "The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.", 0, java.lang.Integer.MAX_VALUE, classHistory); case 3575610: /*type*/ return 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); - case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableConcept", "Broad categorization of the service that is to be provided (e.g. cardiology).", 0, 1, serviceType); + case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableReference(HealthcareService)", "Broad categorization of the service that is to be provided (e.g. cardiology).", 0, 1, serviceType); case -1165461084: /*priority*/ return new Property("priority", "CodeableConcept", "Indicates the urgency of the encounter.", 0, 1, priority); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group)", "The patient or group present at the encounter.", 0, 1, subject); case 110854206: /*subjectStatus*/ return new Property("subjectStatus", "CodeableConcept", "The subjectStatus value can be used to track the patient's status within the encounter. It details whether the patient has arrived or departed, has been triaged or is currently in a waiting status.", 0, 1, subjectStatus); case -1892140189: /*episodeOfCare*/ return 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 government 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).", 0, java.lang.Integer.MAX_VALUE, episodeOfCare); - case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(ServiceRequest)", "The request this encounter satisfies (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|DeviceRequest|MedicationRequest|ServiceRequest)", "The request this encounter satisfies (e.g. incoming referral or procedure request).", 0, java.lang.Integer.MAX_VALUE, basedOn); case 767422259: /*participant*/ return new Property("participant", "", "The list of people responsible for providing the service.", 0, java.lang.Integer.MAX_VALUE, participant); case -1474995297: /*appointment*/ return new Property("appointment", "Reference(Appointment)", "The appointment that scheduled this encounter.", 0, java.lang.Integer.MAX_VALUE, appointment); case 789194991: /*actualPeriod*/ return new Property("actualPeriod", "Period", "The actual start and end time of the encounter.", 0, 1, actualPeriod); @@ -3600,10 +3608,10 @@ public class Encounter extends DomainResource { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case -986695614: /*statusHistory*/ return this.statusHistory == null ? new Base[0] : this.statusHistory.toArray(new Base[this.statusHistory.size()]); // StatusHistoryComponent - case 94742904: /*class*/ return this.class_ == null ? new Base[0] : new Base[] {this.class_}; // Coding + case 94742904: /*class*/ return this.class_ == null ? new Base[0] : new Base[] {this.class_}; // CodeableConcept case 962575356: /*classHistory*/ return this.classHistory == null ? new Base[0] : this.classHistory.toArray(new Base[this.classHistory.size()]); // ClassHistoryComponent case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept - case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : new Base[] {this.serviceType}; // CodeableConcept + case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : new Base[] {this.serviceType}; // CodeableReference case -1165461084: /*priority*/ return this.priority == null ? new Base[0] : new Base[] {this.priority}; // CodeableConcept case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case 110854206: /*subjectStatus*/ return this.subjectStatus == null ? new Base[0] : new Base[] {this.subjectStatus}; // CodeableConcept @@ -3641,7 +3649,7 @@ public class Encounter extends DomainResource { this.getStatusHistory().add((StatusHistoryComponent) value); // StatusHistoryComponent return value; case 94742904: // class - this.class_ = TypeConvertor.castToCoding(value); // Coding + this.class_ = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case 962575356: // classHistory this.getClassHistory().add((ClassHistoryComponent) value); // ClassHistoryComponent @@ -3650,7 +3658,7 @@ public class Encounter extends DomainResource { this.getType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; case -1928370289: // serviceType - this.serviceType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.serviceType = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case -1165461084: // priority this.priority = TypeConvertor.castToCodeableConcept(value); // CodeableConcept @@ -3721,13 +3729,13 @@ public class Encounter extends DomainResource { } else if (name.equals("statusHistory")) { this.getStatusHistory().add((StatusHistoryComponent) value); } else if (name.equals("class")) { - this.class_ = TypeConvertor.castToCoding(value); // Coding + this.class_ = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("classHistory")) { this.getClassHistory().add((ClassHistoryComponent) value); } else if (name.equals("type")) { this.getType().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("serviceType")) { - this.serviceType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.serviceType = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("priority")) { this.priority = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("subject")) { @@ -3808,10 +3816,10 @@ public class Encounter extends DomainResource { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -892481550: /*status*/ return new String[] {"code"}; case -986695614: /*statusHistory*/ return new String[] {}; - case 94742904: /*class*/ return new String[] {"Coding"}; + case 94742904: /*class*/ return new String[] {"CodeableConcept"}; case 962575356: /*classHistory*/ return new String[] {}; case 3575610: /*type*/ return new String[] {"CodeableConcept"}; - case -1928370289: /*serviceType*/ return new String[] {"CodeableConcept"}; + case -1928370289: /*serviceType*/ return new String[] {"CodeableReference"}; case -1165461084: /*priority*/ return new String[] {"CodeableConcept"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; case 110854206: /*subjectStatus*/ return new String[] {"CodeableConcept"}; @@ -3847,7 +3855,7 @@ public class Encounter extends DomainResource { return addStatusHistory(); } else if (name.equals("class")) { - this.class_ = new Coding(); + this.class_ = new CodeableConcept(); return this.class_; } else if (name.equals("classHistory")) { @@ -3857,7 +3865,7 @@ public class Encounter extends DomainResource { return addType(); } else if (name.equals("serviceType")) { - this.serviceType = new CodeableConcept(); + this.serviceType = new CodeableReference(); return this.serviceType; } else if (name.equals("priority")) { @@ -4061,750 +4069,6 @@ public class Encounter extends DomainResource { return ResourceType.Encounter; } - /** - * Search parameter: account - *

- * Description: The set of accounts that may be used for billing for this Encounter
- * Type: reference
- * Path: Encounter.account
- *

- */ - @SearchParamDefinition(name="account", path="Encounter.account", description="The set of accounts that may be used for billing for this Encounter", type="reference", target={Account.class } ) - public static final String SP_ACCOUNT = "account"; - /** - * Fluent Client search parameter constant for account - *

- * Description: The set of accounts that may be used for billing for this Encounter
- * Type: reference
- * Path: Encounter.account
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACCOUNT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACCOUNT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:account". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACCOUNT = new ca.uhn.fhir.model.api.Include("Encounter:account").toLocked(); - - /** - * Search parameter: appointment - *

- * Description: The appointment that scheduled this encounter
- * Type: reference
- * Path: Encounter.appointment
- *

- */ - @SearchParamDefinition(name="appointment", path="Encounter.appointment", description="The appointment that scheduled this encounter", type="reference", target={Appointment.class } ) - public static final String SP_APPOINTMENT = "appointment"; - /** - * Fluent Client search parameter constant for appointment - *

- * Description: The appointment that scheduled this encounter
- * Type: reference
- * Path: Encounter.appointment
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam APPOINTMENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_APPOINTMENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:appointment". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_APPOINTMENT = new ca.uhn.fhir.model.api.Include("Encounter:appointment").toLocked(); - - /** - * Search parameter: based-on - *

- * Description: The ServiceRequest that initiated this encounter
- * Type: reference
- * Path: Encounter.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Encounter.basedOn", description="The ServiceRequest that initiated this encounter", type="reference", target={ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: The ServiceRequest that initiated this encounter
- * Type: reference
- * Path: Encounter.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Encounter:based-on").toLocked(); - - /** - * Search parameter: class - *

- * Description: Classification of patient encounter
- * Type: token
- * Path: Encounter.class
- *

- */ - @SearchParamDefinition(name="class", path="Encounter.class", description="Classification of patient encounter", type="token" ) - public static final String SP_CLASS = "class"; - /** - * Fluent Client search parameter constant for class - *

- * Description: Classification of patient encounter
- * Type: token
- * Path: Encounter.class
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLASS); - - /** - * Search parameter: diagnosis - *

- * Description: The diagnosis or procedure relevant to the encounter
- * Type: reference
- * Path: Encounter.diagnosis.condition
- *

- */ - @SearchParamDefinition(name="diagnosis", path="Encounter.diagnosis.condition", description="The diagnosis or procedure relevant to the encounter", type="reference", target={Condition.class, Procedure.class } ) - public static final String SP_DIAGNOSIS = "diagnosis"; - /** - * Fluent Client search parameter constant for diagnosis - *

- * Description: The diagnosis or procedure relevant to the encounter
- * Type: reference
- * Path: Encounter.diagnosis.condition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DIAGNOSIS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DIAGNOSIS); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:diagnosis". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DIAGNOSIS = new ca.uhn.fhir.model.api.Include("Encounter:diagnosis").toLocked(); - - /** - * Search parameter: episode-of-care - *

- * Description: Episode(s) of care that this encounter should be recorded against
- * Type: reference
- * Path: Encounter.episodeOfCare
- *

- */ - @SearchParamDefinition(name="episode-of-care", path="Encounter.episodeOfCare", description="Episode(s) of care that this encounter should be recorded against", type="reference", target={EpisodeOfCare.class } ) - public static final String SP_EPISODE_OF_CARE = "episode-of-care"; - /** - * Fluent Client search parameter constant for episode-of-care - *

- * Description: Episode(s) of care that this encounter should be recorded against
- * Type: reference
- * Path: Encounter.episodeOfCare
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EPISODE_OF_CARE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EPISODE_OF_CARE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:episode-of-care". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_EPISODE_OF_CARE = new ca.uhn.fhir.model.api.Include("Encounter:episode-of-care").toLocked(); - - /** - * Search parameter: length - *

- * Description: Length of encounter in days
- * Type: quantity
- * Path: Encounter.length
- *

- */ - @SearchParamDefinition(name="length", path="Encounter.length", description="Length of encounter in days", type="quantity" ) - public static final String SP_LENGTH = "length"; - /** - * Fluent Client search parameter constant for length - *

- * Description: Length of encounter in days
- * Type: quantity
- * Path: Encounter.length
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam LENGTH = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_LENGTH); - - /** - * Search parameter: location-period - *

- * Description: Time period during which the patient was present at the location
- * Type: date
- * Path: Encounter.location.period
- *

- */ - @SearchParamDefinition(name="location-period", path="Encounter.location.period", description="Time period during which the patient was present at the location", type="date" ) - public static final String SP_LOCATION_PERIOD = "location-period"; - /** - * Fluent Client search parameter constant for location-period - *

- * Description: Time period during which the patient was present at the location
- * Type: date
- * Path: Encounter.location.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam LOCATION_PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_LOCATION_PERIOD); - - /** - * Search parameter: location - *

- * Description: Location the encounter takes place
- * Type: reference
- * Path: Encounter.location.location
- *

- */ - @SearchParamDefinition(name="location", path="Encounter.location.location", description="Location the encounter takes place", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Location the encounter takes place
- * Type: reference
- * Path: Encounter.location.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("Encounter:location").toLocked(); - - /** - * Search parameter: part-of - *

- * Description: Another Encounter this encounter is part of
- * Type: reference
- * Path: Encounter.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="Encounter.partOf", description="Another Encounter this encounter is part of", type="reference", target={Encounter.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Another Encounter this encounter is part of
- * Type: reference
- * Path: Encounter.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("Encounter:part-of").toLocked(); - - /** - * Search parameter: participant-type - *

- * Description: Role of participant in encounter
- * Type: token
- * Path: Encounter.participant.type
- *

- */ - @SearchParamDefinition(name="participant-type", path="Encounter.participant.type", description="Role of participant in encounter", type="token" ) - public static final String SP_PARTICIPANT_TYPE = "participant-type"; - /** - * Fluent Client search parameter constant for participant-type - *

- * Description: Role of participant in encounter
- * Type: token
- * Path: Encounter.participant.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PARTICIPANT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PARTICIPANT_TYPE); - - /** - * Search parameter: participant - *

- * Description: Persons involved in the encounter other than the patient
- * Type: reference
- * Path: Encounter.participant.actor
- *

- */ - @SearchParamDefinition(name="participant", path="Encounter.participant.actor", description="Persons involved in the encounter other than the patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Group.class, HealthcareService.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PARTICIPANT = "participant"; - /** - * Fluent Client search parameter constant for participant - *

- * Description: Persons involved in the encounter other than the patient
- * Type: reference
- * Path: Encounter.participant.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTICIPANT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:participant". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT = new ca.uhn.fhir.model.api.Include("Encounter:participant").toLocked(); - - /** - * Search parameter: practitioner - *

- * Description: Persons involved in the encounter other than the patient
- * Type: reference
- * Path: Encounter.participant.actor.where(resolve() is Practitioner)
- *

- */ - @SearchParamDefinition(name="practitioner", path="Encounter.participant.actor.where(resolve() is Practitioner)", description="Persons involved in the encounter other than the patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Group.class, HealthcareService.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PRACTITIONER = "practitioner"; - /** - * Fluent Client search parameter constant for practitioner - *

- * Description: Persons involved in the encounter other than the patient
- * Type: reference
- * Path: Encounter.participant.actor.where(resolve() is Practitioner)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRACTITIONER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:practitioner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER = new ca.uhn.fhir.model.api.Include("Encounter:practitioner").toLocked(); - - /** - * Search parameter: reason-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Encounter.reason.concept
- *

- */ - @SearchParamDefinition(name="reason-code", path="Encounter.reason.concept", description="Reference to a concept (by class)", type="token" ) - public static final String SP_REASON_CODE = "reason-code"; - /** - * Fluent Client search parameter constant for reason-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Encounter.reason.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON_CODE); - - /** - * Search parameter: reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Encounter.reason.reference
- *

- */ - @SearchParamDefinition(name="reason-reference", path="Encounter.reason.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_REASON_REFERENCE = "reason-reference"; - /** - * Fluent Client search parameter constant for reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Encounter.reason.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REASON_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:reason-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_REFERENCE = new ca.uhn.fhir.model.api.Include("Encounter:reason-reference").toLocked(); - - /** - * Search parameter: service-provider - *

- * Description: The organization (facility) responsible for this encounter
- * Type: reference
- * Path: Encounter.serviceProvider
- *

- */ - @SearchParamDefinition(name="service-provider", path="Encounter.serviceProvider", description="The organization (facility) responsible for this encounter", type="reference", target={Organization.class } ) - public static final String SP_SERVICE_PROVIDER = "service-provider"; - /** - * Fluent Client search parameter constant for service-provider - *

- * Description: The organization (facility) responsible for this encounter
- * Type: reference
- * Path: Encounter.serviceProvider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SERVICE_PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SERVICE_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:service-provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SERVICE_PROVIDER = new ca.uhn.fhir.model.api.Include("Encounter:service-provider").toLocked(); - - /** - * Search parameter: special-arrangement - *

- * Description: Wheelchair, translator, stretcher, etc.
- * Type: token
- * Path: Encounter.hospitalization.specialArrangement
- *

- */ - @SearchParamDefinition(name="special-arrangement", path="Encounter.hospitalization.specialArrangement", description="Wheelchair, translator, stretcher, etc.", type="token" ) - public static final String SP_SPECIAL_ARRANGEMENT = "special-arrangement"; - /** - * Fluent Client search parameter constant for special-arrangement - *

- * Description: Wheelchair, translator, stretcher, etc.
- * Type: token
- * Path: Encounter.hospitalization.specialArrangement
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIAL_ARRANGEMENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIAL_ARRANGEMENT); - - /** - * Search parameter: status - *

- * Description: planned | in-progress | onhold | completed | cancelled | entered-in-error | unknown
- * Type: token
- * Path: Encounter.status
- *

- */ - @SearchParamDefinition(name="status", path="Encounter.status", description="planned | in-progress | onhold | completed | cancelled | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: planned | in-progress | onhold | completed | cancelled | entered-in-error | unknown
- * Type: token
- * Path: Encounter.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject-status - *

- * Description: The current status of the subject in relation to the Encounter
- * Type: token
- * Path: Encounter.subjectStatus
- *

- */ - @SearchParamDefinition(name="subject-status", path="Encounter.subjectStatus", description="The current status of the subject in relation to the Encounter", type="token" ) - public static final String SP_SUBJECT_STATUS = "subject-status"; - /** - * Fluent Client search parameter constant for subject-status - *

- * Description: The current status of the subject in relation to the Encounter
- * Type: token
- * Path: Encounter.subjectStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBJECT_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SUBJECT_STATUS); - - /** - * Search parameter: subject - *

- * Description: The patient or group present at the encounter
- * Type: reference
- * Path: Encounter.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Encounter.subject", description="The patient or group present at the encounter", type="reference", target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The patient or group present at the encounter
- * Type: reference
- * Path: Encounter.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Encounter:subject").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Encounter:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Encounter:patient").toLocked(); - - /** - * Search parameter: type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - @SearchParamDefinition(name="type", path="AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html): Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html): Kind of document set\r\n* [DocumentReference](documentreference.html): Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html): Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management\r\n", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Endpoint.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Endpoint.java index 7c9d3c194..fb4a1db40 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Endpoint.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Endpoint.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -48,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information. + * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information. */ @ResourceDef(name="Endpoint", profile="http://hl7.org/fhir/StructureDefinition/Endpoint") public class Endpoint extends DomainResource { @@ -110,6 +110,7 @@ public class Endpoint extends DomainResource { case OFF: return "off"; case ENTEREDINERROR: return "entered-in-error"; case TEST: return "test"; + case NULL: return null; default: return "?"; } } @@ -121,6 +122,7 @@ public class Endpoint extends DomainResource { case OFF: return "http://hl7.org/fhir/endpoint-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/endpoint-status"; case TEST: return "http://hl7.org/fhir/endpoint-status"; + case NULL: return null; default: return "?"; } } @@ -132,6 +134,7 @@ public class Endpoint extends DomainResource { case OFF: return "This endpoint is no longer to be used."; case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; case TEST: return "This endpoint is not intended for production usage."; + case NULL: return null; default: return "?"; } } @@ -143,6 +146,7 @@ public class Endpoint extends DomainResource { case OFF: return "Off"; case ENTEREDINERROR: return "Entered in error"; case TEST: return "Test"; + case NULL: return null; default: return "?"; } } @@ -217,20 +221,20 @@ public class Endpoint extends DomainResource { protected List identifier; /** - * active | suspended | error | off | test. + * The endpoint status represents the general expected availability of an endpoint. */ @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) - @Description(shortDefinition="active | suspended | error | off | entered-in-error | test", formalDefinition="active | suspended | error | off | test." ) + @Description(shortDefinition="active | suspended | error | off | entered-in-error | test", formalDefinition="The endpoint status represents the general expected availability of an endpoint." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-status") protected Enumeration status; /** * A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook). */ - @Child(name = "connectionType", type = {Coding.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Child(name = "connectionType", type = {Coding.class}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Protocol/Profile/Standard to be used with this endpoint connection", formalDefinition="A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-connection-type") - protected Coding connectionType; + protected List connectionType; /** * A friendly name that this endpoint can be referred to with. @@ -263,7 +267,7 @@ public class Endpoint extends DomainResource { /** * The payload type describes the acceptable content that can be communicated on the endpoint. */ - @Child(name = "payloadType", type = {CodeableConcept.class}, order=7, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "payloadType", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)", formalDefinition="The payload type describes the acceptable content that can be communicated on the endpoint." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/endpoint-payload-type") protected List payloadType; @@ -290,7 +294,7 @@ public class Endpoint extends DomainResource { @Description(shortDefinition="Usage depends on the channel type", formalDefinition="Additional headers / information to send as part of the notification." ) protected List header; - private static final long serialVersionUID = 1528960001L; + private static final long serialVersionUID = 2125513493L; /** * Constructor @@ -302,11 +306,10 @@ public class Endpoint extends DomainResource { /** * Constructor */ - public Endpoint(EndpointStatus status, Coding connectionType, CodeableConcept payloadType, String address) { + public Endpoint(EndpointStatus status, Coding connectionType, String address) { super(); this.setStatus(status); - this.setConnectionType(connectionType); - this.addPayloadType(payloadType); + this.addConnectionType(connectionType); this.setAddress(address); } @@ -364,7 +367,7 @@ public class Endpoint extends DomainResource { } /** - * @return {@link #status} (active | suspended | error | off | test.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + * @return {@link #status} (The endpoint status represents the general expected availability of an endpoint.). 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) @@ -384,7 +387,7 @@ public class Endpoint extends DomainResource { } /** - * @param value {@link #status} (active | suspended | error | off | test.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + * @param value {@link #status} (The endpoint status represents the general expected availability of an endpoint.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ public Endpoint setStatusElement(Enumeration value) { this.status = value; @@ -392,14 +395,14 @@ public class Endpoint extends DomainResource { } /** - * @return active | suspended | error | off | test. + * @return The endpoint status represents the general expected availability of an endpoint. */ public EndpointStatus getStatus() { return this.status == null ? null : this.status.getValue(); } /** - * @param value active | suspended | error | off | test. + * @param value The endpoint status represents the general expected availability of an endpoint. */ public Endpoint setStatus(EndpointStatus value) { if (this.status == null) @@ -411,25 +414,54 @@ public class Endpoint extends DomainResource { /** * @return {@link #connectionType} (A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).) */ - public Coding getConnectionType() { + public List getConnectionType() { if (this.connectionType == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Endpoint.connectionType"); - else if (Configuration.doAutoCreate()) - this.connectionType = new Coding(); // cc + this.connectionType = new ArrayList(); return this.connectionType; } + /** + * @return Returns a reference to this for easy method chaining + */ + public Endpoint setConnectionType(List theConnectionType) { + this.connectionType = theConnectionType; + return this; + } + public boolean hasConnectionType() { - return this.connectionType != null && !this.connectionType.isEmpty(); + if (this.connectionType == null) + return false; + for (Coding item : this.connectionType) + if (!item.isEmpty()) + return true; + return false; + } + + public Coding addConnectionType() { //3 + Coding t = new Coding(); + if (this.connectionType == null) + this.connectionType = new ArrayList(); + this.connectionType.add(t); + return t; + } + + public Endpoint addConnectionType(Coding t) { //3 + if (t == null) + return this; + if (this.connectionType == null) + this.connectionType = new ArrayList(); + this.connectionType.add(t); + return this; } /** - * @param value {@link #connectionType} (A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).) + * @return The first repetition of repeating field {@link #connectionType}, creating it if it does not already exist {3} */ - public Endpoint setConnectionType(Coding value) { - this.connectionType = value; - return this; + public Coding getConnectionTypeFirstRep() { + if (getConnectionType().isEmpty()) { + addConnectionType(); + } + return getConnectionType().get(0); } /** @@ -805,8 +837,8 @@ public class Endpoint extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("identifier", "Identifier", "Identifier for the organization that is used to identify the endpoint across multiple disparate systems.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("status", "code", "active | suspended | error | off | test.", 0, 1, status)); - children.add(new Property("connectionType", "Coding", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, 1, connectionType)); + children.add(new Property("status", "code", "The endpoint status represents the general expected availability of an endpoint.", 0, 1, status)); + children.add(new Property("connectionType", "Coding", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, java.lang.Integer.MAX_VALUE, connectionType)); children.add(new Property("name", "string", "A friendly name that this endpoint can be referred to with.", 0, 1, name)); children.add(new Property("managingOrganization", "Reference(Organization)", "The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).", 0, 1, managingOrganization)); children.add(new Property("contact", "ContactPoint", "Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.", 0, java.lang.Integer.MAX_VALUE, contact)); @@ -821,8 +853,8 @@ public class Endpoint extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for the organization that is used to identify the endpoint across multiple disparate systems.", 0, java.lang.Integer.MAX_VALUE, identifier); - case -892481550: /*status*/ return new Property("status", "code", "active | suspended | error | off | test.", 0, 1, status); - case 1270211384: /*connectionType*/ return new Property("connectionType", "Coding", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, 1, connectionType); + case -892481550: /*status*/ return new Property("status", "code", "The endpoint status represents the general expected availability of an endpoint.", 0, 1, status); + case 1270211384: /*connectionType*/ return new Property("connectionType", "Coding", "A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).", 0, java.lang.Integer.MAX_VALUE, connectionType); case 3373707: /*name*/ return new Property("name", "string", "A friendly name that this endpoint can be referred to with.", 0, 1, name); case -2058947787: /*managingOrganization*/ return new Property("managingOrganization", "Reference(Organization)", "The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).", 0, 1, managingOrganization); case 951526432: /*contact*/ return new Property("contact", "ContactPoint", "Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.", 0, java.lang.Integer.MAX_VALUE, contact); @@ -841,7 +873,7 @@ public class Endpoint extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration - case 1270211384: /*connectionType*/ return this.connectionType == null ? new Base[0] : new Base[] {this.connectionType}; // Coding + case 1270211384: /*connectionType*/ return this.connectionType == null ? new Base[0] : this.connectionType.toArray(new Base[this.connectionType.size()]); // Coding case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case -2058947787: /*managingOrganization*/ return this.managingOrganization == null ? new Base[0] : new Base[] {this.managingOrganization}; // Reference case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactPoint @@ -866,7 +898,7 @@ public class Endpoint extends DomainResource { this.status = (Enumeration) value; // Enumeration return value; case 1270211384: // connectionType - this.connectionType = TypeConvertor.castToCoding(value); // Coding + this.getConnectionType().add(TypeConvertor.castToCoding(value)); // Coding return value; case 3373707: // name this.name = TypeConvertor.castToString(value); // StringType @@ -905,7 +937,7 @@ public class Endpoint extends DomainResource { value = new EndpointStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration } else if (name.equals("connectionType")) { - this.connectionType = TypeConvertor.castToCoding(value); // Coding + this.getConnectionType().add(TypeConvertor.castToCoding(value)); } else if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("managingOrganization")) { @@ -932,7 +964,7 @@ public class Endpoint extends DomainResource { switch (hash) { case -1618432855: return addIdentifier(); case -892481550: return getStatusElement(); - case 1270211384: return getConnectionType(); + case 1270211384: return addConnectionType(); case 3373707: return getNameElement(); case -2058947787: return getManagingOrganization(); case 951526432: return addContact(); @@ -974,8 +1006,7 @@ public class Endpoint extends DomainResource { throw new FHIRException("Cannot call addChild on a primitive type Endpoint.status"); } else if (name.equals("connectionType")) { - this.connectionType = new Coding(); - return this.connectionType; + return addConnectionType(); } else if (name.equals("name")) { throw new FHIRException("Cannot call addChild on a primitive type Endpoint.name"); @@ -1026,7 +1057,11 @@ public class Endpoint extends DomainResource { dst.identifier.add(i.copy()); }; dst.status = status == null ? null : status.copy(); - dst.connectionType = connectionType == null ? null : connectionType.copy(); + if (connectionType != null) { + dst.connectionType = new ArrayList(); + for (Coding i : connectionType) + dst.connectionType.add(i.copy()); + }; dst.name = name == null ? null : name.copy(); dst.managingOrganization = managingOrganization == null ? null : managingOrganization.copy(); if (contact != null) { @@ -1093,132 +1128,6 @@ public class Endpoint extends DomainResource { return ResourceType.Endpoint; } - /** - * Search parameter: connection-type - *

- * Description: Protocol/Profile/Standard to be used with this endpoint connection
- * Type: token
- * Path: Endpoint.connectionType
- *

- */ - @SearchParamDefinition(name="connection-type", path="Endpoint.connectionType", description="Protocol/Profile/Standard to be used with this endpoint connection", type="token" ) - public static final String SP_CONNECTION_TYPE = "connection-type"; - /** - * Fluent Client search parameter constant for connection-type - *

- * Description: Protocol/Profile/Standard to be used with this endpoint connection
- * Type: token
- * Path: Endpoint.connectionType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONNECTION_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONNECTION_TYPE); - - /** - * Search parameter: identifier - *

- * Description: Identifies this endpoint across multiple systems
- * Type: token
- * Path: Endpoint.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Endpoint.identifier", description="Identifies this endpoint across multiple systems", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Identifies this endpoint across multiple systems
- * Type: token
- * Path: Endpoint.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: A name that this endpoint can be identified by
- * Type: string
- * Path: Endpoint.name
- *

- */ - @SearchParamDefinition(name="name", path="Endpoint.name", description="A name that this endpoint can be identified by", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A name that this endpoint can be identified by
- * Type: string
- * Path: Endpoint.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: organization - *

- * Description: The organization that is managing the endpoint
- * Type: reference
- * Path: Endpoint.managingOrganization
- *

- */ - @SearchParamDefinition(name="organization", path="Endpoint.managingOrganization", description="The organization that is managing the endpoint", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The organization that is managing the endpoint
- * Type: reference
- * Path: Endpoint.managingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Endpoint:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("Endpoint:organization").toLocked(); - - /** - * Search parameter: payload-type - *

- * Description: The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)
- * Type: token
- * Path: Endpoint.payloadType
- *

- */ - @SearchParamDefinition(name="payload-type", path="Endpoint.payloadType", description="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)", type="token" ) - public static final String SP_PAYLOAD_TYPE = "payload-type"; - /** - * Fluent Client search parameter constant for payload-type - *

- * Description: The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)
- * Type: token
- * Path: Endpoint.payloadType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PAYLOAD_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PAYLOAD_TYPE); - - /** - * Search parameter: status - *

- * Description: The current status of the Endpoint (usually expected to be active)
- * Type: token
- * Path: Endpoint.status
- *

- */ - @SearchParamDefinition(name="status", path="Endpoint.status", description="The current status of the Endpoint (usually expected to be active)", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the Endpoint (usually expected to be active)
- * Type: token
- * Path: Endpoint.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentRequest.java index a46cdd267..bfc8ee642 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -575,98 +575,6 @@ public class EnrollmentRequest extends DomainResource { return ResourceType.EnrollmentRequest; } - /** - * Search parameter: identifier - *

- * Description: The business identifier of the Enrollment
- * Type: token
- * Path: EnrollmentRequest.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="EnrollmentRequest.identifier", description="The business identifier of the Enrollment", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier of the Enrollment
- * Type: token
- * Path: EnrollmentRequest.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: The party to be enrolled
- * Type: reference
- * Path: EnrollmentRequest.candidate
- *

- */ - @SearchParamDefinition(name="patient", path="EnrollmentRequest.candidate", description="The party to be enrolled", type="reference", target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The party to be enrolled
- * Type: reference
- * Path: EnrollmentRequest.candidate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EnrollmentRequest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("EnrollmentRequest:patient").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the enrollment
- * Type: token
- * Path: EnrollmentRequest.status
- *

- */ - @SearchParamDefinition(name="status", path="EnrollmentRequest.status", description="The status of the enrollment", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the enrollment
- * Type: token
- * Path: EnrollmentRequest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The party to be enrolled
- * Type: reference
- * Path: EnrollmentRequest.candidate
- *

- */ - @SearchParamDefinition(name="subject", path="EnrollmentRequest.candidate", description="The party to be enrolled", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The party to be enrolled
- * Type: reference
- * Path: EnrollmentRequest.candidate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EnrollmentRequest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("EnrollmentRequest:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentResponse.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentResponse.java index 8a2de0112..2f272c20a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentResponse.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EnrollmentResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class EnrollmentResponse extends DomainResource { case COMPLETE: return "complete"; case ERROR: return "error"; case PARTIAL: return "partial"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class EnrollmentResponse extends DomainResource { case COMPLETE: return "http://hl7.org/fhir/enrollment-outcome"; case ERROR: return "http://hl7.org/fhir/enrollment-outcome"; case PARTIAL: return "http://hl7.org/fhir/enrollment-outcome"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class EnrollmentResponse extends DomainResource { case COMPLETE: return "The processing has completed without errors"; case ERROR: return "One or more errors have been detected in the Claim"; case PARTIAL: return "No errors have been detected in the Claim and some of the adjudication has been performed."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class EnrollmentResponse extends DomainResource { case COMPLETE: return "Processing Complete"; case ERROR: return "Error"; case PARTIAL: return "Partial Processing"; + case NULL: return null; default: return "?"; } } @@ -798,72 +802,6 @@ public class EnrollmentResponse extends DomainResource { return ResourceType.EnrollmentResponse; } - /** - * Search parameter: identifier - *

- * Description: The business identifier of the EnrollmentResponse
- * Type: token
- * Path: EnrollmentResponse.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="EnrollmentResponse.identifier", description="The business identifier of the EnrollmentResponse", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier of the EnrollmentResponse
- * Type: token
- * Path: EnrollmentResponse.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: request - *

- * Description: The reference to the claim
- * Type: reference
- * Path: EnrollmentResponse.request
- *

- */ - @SearchParamDefinition(name="request", path="EnrollmentResponse.request", description="The reference to the claim", type="reference", target={EnrollmentRequest.class } ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The reference to the claim
- * Type: reference
- * Path: EnrollmentResponse.request
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EnrollmentResponse:request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("EnrollmentResponse:request").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the enrollment response
- * Type: token
- * Path: EnrollmentResponse.status
- *

- */ - @SearchParamDefinition(name="status", path="EnrollmentResponse.status", description="The status of the enrollment response", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the enrollment response
- * Type: token
- * Path: EnrollmentResponse.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Enumerations.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Enumerations.java index 96129e7e1..254d57b8d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Enumerations.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Enumerations.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Mon, Jul 18, 2022 12:45+1000 for FHIR vcurrent import org.hl7.fhir.instance.model.api.*; @@ -50,11 +50,9 @@ public class Enumerations { // BindingStrength: Indication of the degree of conformance expectations associated with a binding.[ElementDefinition, OperationDefinition] // CapabilityStatementKind: How a capability statement is intended to be used.[CapabilityStatement, CapabilityStatement2, TerminologyCapabilities] // ClaimProcessingCodes: This value set includes Claim Processing Outcome codes.[ClaimResponse, ExplanationOfBenefit] -// ClinicalUseIssueType: Overall defining type of this clinical use issue.[ClinicalUseDefinition, ClinicalUseIssue] // CompartmentType: Which type a compartment definition describes.[CompartmentDefinition, GraphDefinition] // CompositionStatus: The workflow/clinical status of the composition.[Composition, DocumentReference] -// ConceptMapGroupUnmappedMode: Defines which action to take if there is no match in the group.[ConceptMap, ConceptMap2] -// ConceptMapRelationship: The relationship between concepts.[ConceptMap, ConceptMap2] +// ConceptMapRelationship: The relationship between concepts.[ConceptMap] // DaysOfWeek: The days of the week.[HealthcareService, Location, PractitionerRole, Timing] // DeviceNameType: The type of name the device is referred by.[Device, DeviceDefinition] // DocumentReferenceStatus: The status of the document reference.[DocumentManifest, DocumentReference] @@ -72,16 +70,16 @@ public class Enumerations { // ObservationStatus: Codes providing the status of an observation.[DetectedIssue, Observation, RiskAssessment] // OperationParameterUse: Whether an operation parameter is an input or an output parameter.[OperationDefinition, ParameterDefinition] // ParticipationStatus: The Participation status of an appointment.[Appointment, AppointmentResponse] -// PublicationStatus: The lifecycle status of an artifact.[ActivityDefinition, AdministrableProductDefinition, CanonicalResource, CapabilityStatement, CapabilityStatement2, ChargeItemDefinition, Citation, CodeSystem, CompartmentDefinition, ConceptMap, ConceptMap2, ConditionDefinition, EventDefinition, Evidence, EvidenceReport, EvidenceVariable, ExampleScenario, GraphDefinition, ImplementationGuide, Ingredient, InsurancePlan, Library, ManufacturedItemDefinition, Measure, MessageDefinition, NamingSystem, ObservationDefinition, OperationDefinition, PlanDefinition, Questionnaire, ResearchStudy, ResearchSubject, SearchParameter, SpecimenDefinition, StructureDefinition, StructureMap, SubscriptionTopic, TerminologyCapabilities, TestScript, ValueSet] +// PublicationStatus: The lifecycle status of an artifact.[ActivityDefinition, AdministrableProductDefinition, CanonicalResource, CapabilityStatement, CapabilityStatement2, ChargeItemDefinition, Citation, CodeSystem, CompartmentDefinition, ConceptMap, ConditionDefinition, EventDefinition, Evidence, EvidenceReport, EvidenceVariable, ExampleScenario, GraphDefinition, ImplementationGuide, Ingredient, InsurancePlan, Library, ManufacturedItemDefinition, Measure, MessageDefinition, NamingSystem, ObservationDefinition, OperationDefinition, PlanDefinition, Questionnaire, ResearchStudy, ResearchSubject, SearchParameter, SpecimenDefinition, StructureDefinition, StructureMap, SubscriptionTopic, TerminologyCapabilities, TestScript, ValueSet] // QuantityComparator: How the Quantity should be understood and represented.[Age, Count, Distance, Duration, Quantity] // RequestIntent: Codes indicating the degree of authority/intentionality associated with a request.[ActivityDefinition, CommunicationRequest, DeviceRequest, NutritionOrder, RequestGroup, ServiceRequest] -// RequestPriority: Identifies the level of importance to be assigned to actioning the request.[ActivityDefinition, Communication, CommunicationRequest, DeviceRequest, MedicationRequest, PlanDefinition, RequestGroup, ServiceRequest, SupplyRequest, Task] +// RequestPriority: Identifies the level of importance to be assigned to actioning the request.[ActivityDefinition, Communication, CommunicationRequest, DeviceRequest, MedicationRequest, PlanDefinition, RequestGroup, ServiceRequest, SupplyRequest, Task, Transport] // RequestStatus: Codes identifying the lifecycle stage of a request.[CarePlan, CommunicationRequest, DeviceRequest, NutritionOrder, RequestGroup, ServiceRequest] // ResourceTypeEnum: One of the resource types defined as part of this version of FHIR.[CapabilityStatement, CapabilityStatement2, CompartmentDefinition, ExampleScenario, GraphDefinition, ImplementationGuide, MessageDefinition, OperationDefinition, Questionnaire, SearchParameter] // RestfulCapabilityMode: The mode of a RESTful capability statement.[CapabilityStatement, CapabilityStatement2] // SearchParamType: Data types allowed to be used for search parameters.[CapabilityStatement, CapabilityStatement2, OperationDefinition, SearchParameter] // SubscriptionSearchModifier: FHIR search modifiers allowed for use in Subscriptions and SubscriptionTopics.[Subscription, SubscriptionTopic] -// SubscriptionState: State values for FHIR Subscriptions.[Subscription, SubscriptionStatus] +// SubscriptionStatusCodes: State values for FHIR Subscriptions.[Subscription, SubscriptionStatus] // Use: The purpose of the Claim: predetermination, preauthorization, claim.[Claim, ClaimResponse, ExplanationOfBenefit] @@ -1665,147 +1663,6 @@ public class Enumerations { } } - public enum ClinicalUseIssueType { - /** - * A reason for giving the medicaton. - */ - INDICATION, - /** - * A reason for not giving the medicaition. - */ - CONTRAINDICATION, - /** - * Interactions between the medication and other substances. - */ - INTERACTION, - /** - * Side effects or adverse effects associated with the medication. - */ - UNDESIRABLEEFFECT, - /** - * A general warning or issue that is not specifically one of the other types. - */ - WARNING, - /** - * added to help the parsers - */ - NULL; - public static ClinicalUseIssueType fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("indication".equals(codeString)) - return INDICATION; - if ("contraindication".equals(codeString)) - return CONTRAINDICATION; - if ("interaction".equals(codeString)) - return INTERACTION; - if ("undesirable-effect".equals(codeString)) - return UNDESIRABLEEFFECT; - if ("warning".equals(codeString)) - return WARNING; - throw new FHIRException("Unknown ClinicalUseIssueType code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case INDICATION: return "indication"; - case CONTRAINDICATION: return "contraindication"; - case INTERACTION: return "interaction"; - case UNDESIRABLEEFFECT: return "undesirable-effect"; - case WARNING: return "warning"; - case NULL: return null; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case INDICATION: return "http://hl7.org/fhir/clinical-use-issue-type"; - case CONTRAINDICATION: return "http://hl7.org/fhir/clinical-use-issue-type"; - case INTERACTION: return "http://hl7.org/fhir/clinical-use-issue-type"; - case UNDESIRABLEEFFECT: return "http://hl7.org/fhir/clinical-use-issue-type"; - case WARNING: return "http://hl7.org/fhir/clinical-use-issue-type"; - case NULL: return null; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case INDICATION: return "A reason for giving the medicaton."; - case CONTRAINDICATION: return "A reason for not giving the medicaition."; - case INTERACTION: return "Interactions between the medication and other substances."; - case UNDESIRABLEEFFECT: return "Side effects or adverse effects associated with the medication."; - case WARNING: return "A general warning or issue that is not specifically one of the other types."; - case NULL: return null; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case INDICATION: return "Indication"; - case CONTRAINDICATION: return "Contraindication"; - case INTERACTION: return "Interaction"; - case UNDESIRABLEEFFECT: return "Undesirable Effect"; - case WARNING: return "Warning"; - case NULL: return null; - default: return "?"; - } - } - } - - public static class ClinicalUseIssueTypeEnumFactory implements EnumFactory { - public ClinicalUseIssueType fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("indication".equals(codeString)) - return ClinicalUseIssueType.INDICATION; - if ("contraindication".equals(codeString)) - return ClinicalUseIssueType.CONTRAINDICATION; - if ("interaction".equals(codeString)) - return ClinicalUseIssueType.INTERACTION; - if ("undesirable-effect".equals(codeString)) - return ClinicalUseIssueType.UNDESIRABLEEFFECT; - if ("warning".equals(codeString)) - return ClinicalUseIssueType.WARNING; - throw new IllegalArgumentException("Unknown ClinicalUseIssueType code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("indication".equals(codeString)) - return new Enumeration(this, ClinicalUseIssueType.INDICATION); - if ("contraindication".equals(codeString)) - return new Enumeration(this, ClinicalUseIssueType.CONTRAINDICATION); - if ("interaction".equals(codeString)) - return new Enumeration(this, ClinicalUseIssueType.INTERACTION); - if ("undesirable-effect".equals(codeString)) - return new Enumeration(this, ClinicalUseIssueType.UNDESIRABLEEFFECT); - if ("warning".equals(codeString)) - return new Enumeration(this, ClinicalUseIssueType.WARNING); - throw new FHIRException("Unknown ClinicalUseIssueType code '"+codeString+"'"); - } - public String toCode(ClinicalUseIssueType code) { - if (code == ClinicalUseIssueType.INDICATION) - return "indication"; - if (code == ClinicalUseIssueType.CONTRAINDICATION) - return "contraindication"; - if (code == ClinicalUseIssueType.INTERACTION) - return "interaction"; - if (code == ClinicalUseIssueType.UNDESIRABLEEFFECT) - return "undesirable-effect"; - if (code == ClinicalUseIssueType.WARNING) - return "warning"; - return "?"; - } - public String toSystem(ClinicalUseIssueType code) { - return code.getSystem(); - } - } - public enum CompartmentType { /** * The compartment definition is for the patient compartment. @@ -2088,115 +1945,6 @@ public class Enumerations { } } - public enum ConceptMapGroupUnmappedMode { - /** - * Use the code as provided in the $translate request. - */ - PROVIDED, - /** - * Use the code explicitly provided in the group.unmapped. - */ - FIXED, - /** - * Use the map identified by the canonical URL in the url element. - */ - OTHERMAP, - /** - * added to help the parsers - */ - NULL; - public static ConceptMapGroupUnmappedMode fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("provided".equals(codeString)) - return PROVIDED; - if ("fixed".equals(codeString)) - return FIXED; - if ("other-map".equals(codeString)) - return OTHERMAP; - throw new FHIRException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case PROVIDED: return "provided"; - case FIXED: return "fixed"; - case OTHERMAP: return "other-map"; - case NULL: return null; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case PROVIDED: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; - case FIXED: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; - case OTHERMAP: return "http://hl7.org/fhir/conceptmap-unmapped-mode"; - case NULL: return null; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case PROVIDED: return "Use the code as provided in the $translate request."; - case FIXED: return "Use the code explicitly provided in the group.unmapped."; - case OTHERMAP: return "Use the map identified by the canonical URL in the url element."; - case NULL: return null; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case PROVIDED: return "Provided Code"; - case FIXED: return "Fixed Code"; - case OTHERMAP: return "Other Map"; - case NULL: return null; - default: return "?"; - } - } - } - - public static class ConceptMapGroupUnmappedModeEnumFactory implements EnumFactory { - public ConceptMapGroupUnmappedMode fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("provided".equals(codeString)) - return ConceptMapGroupUnmappedMode.PROVIDED; - if ("fixed".equals(codeString)) - return ConceptMapGroupUnmappedMode.FIXED; - if ("other-map".equals(codeString)) - return ConceptMapGroupUnmappedMode.OTHERMAP; - throw new IllegalArgumentException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("provided".equals(codeString)) - return new Enumeration(this, ConceptMapGroupUnmappedMode.PROVIDED); - if ("fixed".equals(codeString)) - return new Enumeration(this, ConceptMapGroupUnmappedMode.FIXED); - if ("other-map".equals(codeString)) - return new Enumeration(this, ConceptMapGroupUnmappedMode.OTHERMAP); - throw new FHIRException("Unknown ConceptMapGroupUnmappedMode code '"+codeString+"'"); - } - public String toCode(ConceptMapGroupUnmappedMode code) { - if (code == ConceptMapGroupUnmappedMode.PROVIDED) - return "provided"; - if (code == ConceptMapGroupUnmappedMode.FIXED) - return "fixed"; - if (code == ConceptMapGroupUnmappedMode.OTHERMAP) - return "other-map"; - return "?"; - } - public String toSystem(ConceptMapGroupUnmappedMode code) { - return code.getSystem(); - } - } - public enum ConceptMapRelationship { /** * The concepts are related to each other, but the exact relationship is not known. @@ -3077,7 +2825,7 @@ public class Enumerations { */ CODEABLECONCEPT, /** - * A reference to a resource (by instance), or instead, a reference to a cencept defined in a terminology or ontology (by class). + * A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class). */ CODEABLEREFERENCE, /** @@ -3132,6 +2880,10 @@ public class Enumerations { * A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used. */ EXPRESSION, + /** + * Specifies contact information for a specific purpose over a period of time, might be handled/monitored by a specific named person or organization. + */ + EXTENDEDCONTACTDETAIL, /** * Optional Extension Element - found in all resources. */ @@ -3180,10 +2932,6 @@ public class Enumerations { * The base type for all re-useable types defined that have a simple property. */ PRIMITIVETYPE, - /** - * The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available. - */ - PRODCHARACTERISTIC, /** * The shelf-life and storage information for a medicinal product item or container can be described using this class. */ @@ -3360,6 +3108,10 @@ public class Enumerations { * A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. */ APPOINTMENTRESPONSE, + /** + * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. + */ + ARTIFACTASSESSMENT, /** * A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis. */ @@ -3396,14 +3148,6 @@ public class Enumerations { * A compartment definition that defines how resources are accessed on a server. */ COMPARTMENTDEFINITION, - /** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ - CONCEPTMAP, - /** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ - CONCEPTMAP2, /** * Example of workflow instance. */ @@ -3428,10 +3172,6 @@ public class Enumerations { * This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context. */ ACTIVITYDEFINITION, - /** - * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. - */ - ARTIFACTASSESSMENT, /** * The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system. */ @@ -3440,6 +3180,10 @@ public class Enumerations { * The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources. */ CITATION, + /** + * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. + */ + CONCEPTMAP, /** * A definition of a condition and information relevant to managing it. */ @@ -3468,6 +3212,10 @@ public class Enumerations { * The Measure resource provides the definition of a quality measure. */ MEASURE, + /** + * 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. + */ + NAMINGSYSTEM, /** * This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications. */ @@ -3476,10 +3224,6 @@ public class Enumerations { * A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection. */ QUESTIONNAIRE, - /** - * 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. - */ - NAMINGSYSTEM, /** * A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). */ @@ -3496,6 +3240,10 @@ public class Enumerations { * A Map of relationships between 2 structures that can be used to transform data. */ STRUCTUREMAP, + /** + * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. + */ + SUBSCRIPTIONTOPIC, /** * A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation. */ @@ -3536,10 +3284,6 @@ public class Enumerations { * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. */ CLINICALUSEDEFINITION, - /** - * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. - */ - CLINICALUSEISSUE, /** * A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition. */ @@ -3621,7 +3365,7 @@ public class Enumerations { */ ENCOUNTER, /** - * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information. + * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information. */ ENDPOINT, /** @@ -3648,6 +3392,10 @@ public class Enumerations { * Prospective warnings of potential issues when providing care to the patient. */ FLAG, + /** + * This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself. + */ + FORMULARYITEM, /** * Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc. */ @@ -3741,13 +3489,13 @@ public class Enumerations { */ MEDICATIONREQUEST, /** - * A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. - + * A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. + The primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationusage is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. */ MEDICATIONUSAGE, /** - * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs). + * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.). */ MEDICINALPRODUCTDEFINITION, /** @@ -3755,11 +3503,11 @@ The primary difference between a medicationusage and a medicationadministration */ MESSAGEHEADER, /** - * Raw data describing a biological sequence. + * Representation of a molecular sequence. */ MOLECULARSEQUENCE, /** - * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. */ NUTRITIONINTAKE, /** @@ -3767,7 +3515,7 @@ The primary difference between a medicationusage and a medicationadministration */ NUTRITIONORDER, /** - * A food or fluid product that is consumed by patients. + * A food or supplement that is consumed by patients. */ NUTRITIONPRODUCT, /** @@ -3839,7 +3587,7 @@ The primary difference between a medicationusage and a medicationadministration */ REGULATEDAUTHORIZATION, /** - * 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 a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. */ RELATEDPERSON, /** @@ -3886,10 +3634,6 @@ The primary difference between a medicationusage and a medicationadministration * The SubscriptionStatus resource describes the state of a Subscription during notifications. */ SUBSCRIPTIONSTATUS, - /** - * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. - */ - SUBSCRIPTIONTOPIC, /** * A homogeneous material with a definite composition. */ @@ -3934,6 +3678,10 @@ The primary difference between a medicationusage and a medicationadministration * A summary of information based on the results of executing a TestScript. */ TESTREPORT, + /** + * Record of transport. + */ + TRANSPORT, /** * Describes validation requirements, source(s), status and dates for one or more elements. */ @@ -3943,7 +3691,7 @@ The primary difference between a medicationusage and a medicationadministration */ VISIONPRESCRIPTION, /** - * This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it. + * This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it. */ PARAMETERS, /** @@ -4005,6 +3753,8 @@ The primary difference between a medicationusage and a medicationadministration return ELEMENTDEFINITION; if ("Expression".equals(codeString)) return EXPRESSION; + if ("ExtendedContactDetail".equals(codeString)) + return EXTENDEDCONTACTDETAIL; if ("Extension".equals(codeString)) return EXTENSION; if ("HumanName".equals(codeString)) @@ -4029,8 +3779,6 @@ The primary difference between a medicationusage and a medicationadministration return POPULATION; if ("PrimitiveType".equals(codeString)) return PRIMITIVETYPE; - if ("ProdCharacteristic".equals(codeString)) - return PRODCHARACTERISTIC; if ("ProductShelfLife".equals(codeString)) return PRODUCTSHELFLIFE; if ("Quantity".equals(codeString)) @@ -4119,6 +3867,8 @@ The primary difference between a medicationusage and a medicationadministration return APPOINTMENT; if ("AppointmentResponse".equals(codeString)) return APPOINTMENTRESPONSE; + if ("ArtifactAssessment".equals(codeString)) + return ARTIFACTASSESSMENT; if ("AuditEvent".equals(codeString)) return AUDITEVENT; if ("Basic".equals(codeString)) @@ -4137,10 +3887,6 @@ The primary difference between a medicationusage and a medicationadministration return CODESYSTEM; if ("CompartmentDefinition".equals(codeString)) return COMPARTMENTDEFINITION; - if ("ConceptMap".equals(codeString)) - return CONCEPTMAP; - if ("ConceptMap2".equals(codeString)) - return CONCEPTMAP2; if ("ExampleScenario".equals(codeString)) return EXAMPLESCENARIO; if ("GraphDefinition".equals(codeString)) @@ -4153,12 +3899,12 @@ The primary difference between a medicationusage and a medicationadministration return METADATARESOURCE; if ("ActivityDefinition".equals(codeString)) return ACTIVITYDEFINITION; - if ("ArtifactAssessment".equals(codeString)) - return ARTIFACTASSESSMENT; if ("ChargeItemDefinition".equals(codeString)) return CHARGEITEMDEFINITION; if ("Citation".equals(codeString)) return CITATION; + if ("ConceptMap".equals(codeString)) + return CONCEPTMAP; if ("ConditionDefinition".equals(codeString)) return CONDITIONDEFINITION; if ("EventDefinition".equals(codeString)) @@ -4173,12 +3919,12 @@ The primary difference between a medicationusage and a medicationadministration return LIBRARY; if ("Measure".equals(codeString)) return MEASURE; + if ("NamingSystem".equals(codeString)) + return NAMINGSYSTEM; if ("PlanDefinition".equals(codeString)) return PLANDEFINITION; if ("Questionnaire".equals(codeString)) return QUESTIONNAIRE; - if ("NamingSystem".equals(codeString)) - return NAMINGSYSTEM; if ("OperationDefinition".equals(codeString)) return OPERATIONDEFINITION; if ("SearchParameter".equals(codeString)) @@ -4187,6 +3933,8 @@ The primary difference between a medicationusage and a medicationadministration return STRUCTUREDEFINITION; if ("StructureMap".equals(codeString)) return STRUCTUREMAP; + if ("SubscriptionTopic".equals(codeString)) + return SUBSCRIPTIONTOPIC; if ("TerminologyCapabilities".equals(codeString)) return TERMINOLOGYCAPABILITIES; if ("TestScript".equals(codeString)) @@ -4207,8 +3955,6 @@ The primary difference between a medicationusage and a medicationadministration return CLINICALIMPRESSION; if ("ClinicalUseDefinition".equals(codeString)) return CLINICALUSEDEFINITION; - if ("ClinicalUseIssue".equals(codeString)) - return CLINICALUSEISSUE; if ("Communication".equals(codeString)) return COMMUNICATION; if ("CommunicationRequest".equals(codeString)) @@ -4263,6 +4009,8 @@ The primary difference between a medicationusage and a medicationadministration return FAMILYMEMBERHISTORY; if ("Flag".equals(codeString)) return FLAG; + if ("FormularyItem".equals(codeString)) + return FORMULARYITEM; if ("Goal".equals(codeString)) return GOAL; if ("Group".equals(codeString)) @@ -4381,8 +4129,6 @@ The primary difference between a medicationusage and a medicationadministration return SUBSCRIPTION; if ("SubscriptionStatus".equals(codeString)) return SUBSCRIPTIONSTATUS; - if ("SubscriptionTopic".equals(codeString)) - return SUBSCRIPTIONTOPIC; if ("Substance".equals(codeString)) return SUBSTANCE; if ("SubstanceDefinition".equals(codeString)) @@ -4405,6 +4151,8 @@ The primary difference between a medicationusage and a medicationadministration return TASK; if ("TestReport".equals(codeString)) return TESTREPORT; + if ("Transport".equals(codeString)) + return TRANSPORT; if ("VerificationResult".equals(codeString)) return VERIFICATIONRESULT; if ("VisionPrescription".equals(codeString)) @@ -4441,6 +4189,7 @@ The primary difference between a medicationusage and a medicationadministration case ELEMENT: return "Element"; case ELEMENTDEFINITION: return "ElementDefinition"; case EXPRESSION: return "Expression"; + case EXTENDEDCONTACTDETAIL: return "ExtendedContactDetail"; case EXTENSION: return "Extension"; case HUMANNAME: return "HumanName"; case IDENTIFIER: return "Identifier"; @@ -4453,7 +4202,6 @@ The primary difference between a medicationusage and a medicationadministration case PERIOD: return "Period"; case POPULATION: return "Population"; case PRIMITIVETYPE: return "PrimitiveType"; - case PRODCHARACTERISTIC: return "ProdCharacteristic"; case PRODUCTSHELFLIFE: return "ProductShelfLife"; case QUANTITY: return "Quantity"; case RANGE: return "Range"; @@ -4498,6 +4246,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "AllergyIntolerance"; case APPOINTMENT: return "Appointment"; case APPOINTMENTRESPONSE: return "AppointmentResponse"; + case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case AUDITEVENT: return "AuditEvent"; case BASIC: return "Basic"; case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct"; @@ -4507,17 +4256,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "CapabilityStatement2"; case CODESYSTEM: return "CodeSystem"; case COMPARTMENTDEFINITION: return "CompartmentDefinition"; - case CONCEPTMAP: return "ConceptMap"; - case CONCEPTMAP2: return "ConceptMap2"; case EXAMPLESCENARIO: return "ExampleScenario"; case GRAPHDEFINITION: return "GraphDefinition"; case IMPLEMENTATIONGUIDE: return "ImplementationGuide"; case MESSAGEDEFINITION: return "MessageDefinition"; case METADATARESOURCE: return "MetadataResource"; case ACTIVITYDEFINITION: return "ActivityDefinition"; - case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case CHARGEITEMDEFINITION: return "ChargeItemDefinition"; case CITATION: return "Citation"; + case CONCEPTMAP: return "ConceptMap"; case CONDITIONDEFINITION: return "ConditionDefinition"; case EVENTDEFINITION: return "EventDefinition"; case EVIDENCE: return "Evidence"; @@ -4525,13 +4272,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "EvidenceVariable"; case LIBRARY: return "Library"; case MEASURE: return "Measure"; + case NAMINGSYSTEM: return "NamingSystem"; case PLANDEFINITION: return "PlanDefinition"; case QUESTIONNAIRE: return "Questionnaire"; - case NAMINGSYSTEM: return "NamingSystem"; case OPERATIONDEFINITION: return "OperationDefinition"; case SEARCHPARAMETER: return "SearchParameter"; case STRUCTUREDEFINITION: return "StructureDefinition"; case STRUCTUREMAP: return "StructureMap"; + case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities"; case TESTSCRIPT: return "TestScript"; case VALUESET: return "ValueSet"; @@ -4542,7 +4290,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "ClaimResponse"; case CLINICALIMPRESSION: return "ClinicalImpression"; case CLINICALUSEDEFINITION: return "ClinicalUseDefinition"; - case CLINICALUSEISSUE: return "ClinicalUseIssue"; case COMMUNICATION: return "Communication"; case COMMUNICATIONREQUEST: return "CommunicationRequest"; case COMPOSITION: return "Composition"; @@ -4570,6 +4317,7 @@ The primary difference between a medicationusage and a medicationadministration case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit"; case FAMILYMEMBERHISTORY: return "FamilyMemberHistory"; case FLAG: return "Flag"; + case FORMULARYITEM: return "FormularyItem"; case GOAL: return "Goal"; case GROUP: return "Group"; case GUIDANCERESPONSE: return "GuidanceResponse"; @@ -4629,7 +4377,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "SpecimenDefinition"; case SUBSCRIPTION: return "Subscription"; case SUBSCRIPTIONSTATUS: return "SubscriptionStatus"; - case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case SUBSTANCE: return "Substance"; case SUBSTANCEDEFINITION: return "SubstanceDefinition"; case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid"; @@ -4641,6 +4388,7 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case TESTREPORT: return "TestReport"; + case TRANSPORT: return "Transport"; case VERIFICATIONRESULT: return "VerificationResult"; case VISIONPRESCRIPTION: return "VisionPrescription"; case PARAMETERS: return "Parameters"; @@ -4674,6 +4422,7 @@ The primary difference between a medicationusage and a medicationadministration case ELEMENT: return "http://hl7.org/fhir/data-types"; case ELEMENTDEFINITION: return "http://hl7.org/fhir/data-types"; case EXPRESSION: return "http://hl7.org/fhir/data-types"; + case EXTENDEDCONTACTDETAIL: return "http://hl7.org/fhir/data-types"; case EXTENSION: return "http://hl7.org/fhir/data-types"; case HUMANNAME: return "http://hl7.org/fhir/data-types"; case IDENTIFIER: return "http://hl7.org/fhir/data-types"; @@ -4686,7 +4435,6 @@ The primary difference between a medicationusage and a medicationadministration case PERIOD: return "http://hl7.org/fhir/data-types"; case POPULATION: return "http://hl7.org/fhir/data-types"; case PRIMITIVETYPE: return "http://hl7.org/fhir/data-types"; - case PRODCHARACTERISTIC: return "http://hl7.org/fhir/data-types"; case PRODUCTSHELFLIFE: return "http://hl7.org/fhir/data-types"; case QUANTITY: return "http://hl7.org/fhir/data-types"; case RANGE: return "http://hl7.org/fhir/data-types"; @@ -4731,6 +4479,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "http://hl7.org/fhir/resource-types"; case APPOINTMENT: return "http://hl7.org/fhir/resource-types"; case APPOINTMENTRESPONSE: return "http://hl7.org/fhir/resource-types"; + case ARTIFACTASSESSMENT: return "http://hl7.org/fhir/resource-types"; case AUDITEVENT: return "http://hl7.org/fhir/resource-types"; case BASIC: return "http://hl7.org/fhir/resource-types"; case BIOLOGICALLYDERIVEDPRODUCT: return "http://hl7.org/fhir/resource-types"; @@ -4740,17 +4489,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "http://hl7.org/fhir/resource-types"; case CODESYSTEM: return "http://hl7.org/fhir/resource-types"; case COMPARTMENTDEFINITION: return "http://hl7.org/fhir/resource-types"; - case CONCEPTMAP: return "http://hl7.org/fhir/resource-types"; - case CONCEPTMAP2: return "http://hl7.org/fhir/resource-types"; case EXAMPLESCENARIO: return "http://hl7.org/fhir/resource-types"; case GRAPHDEFINITION: return "http://hl7.org/fhir/resource-types"; case IMPLEMENTATIONGUIDE: return "http://hl7.org/fhir/resource-types"; case MESSAGEDEFINITION: return "http://hl7.org/fhir/resource-types"; case METADATARESOURCE: return "http://hl7.org/fhir/resource-types"; case ACTIVITYDEFINITION: return "http://hl7.org/fhir/resource-types"; - case ARTIFACTASSESSMENT: return "http://hl7.org/fhir/resource-types"; case CHARGEITEMDEFINITION: return "http://hl7.org/fhir/resource-types"; case CITATION: return "http://hl7.org/fhir/resource-types"; + case CONCEPTMAP: return "http://hl7.org/fhir/resource-types"; case CONDITIONDEFINITION: return "http://hl7.org/fhir/resource-types"; case EVENTDEFINITION: return "http://hl7.org/fhir/resource-types"; case EVIDENCE: return "http://hl7.org/fhir/resource-types"; @@ -4758,13 +4505,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "http://hl7.org/fhir/resource-types"; case LIBRARY: return "http://hl7.org/fhir/resource-types"; case MEASURE: return "http://hl7.org/fhir/resource-types"; + case NAMINGSYSTEM: return "http://hl7.org/fhir/resource-types"; case PLANDEFINITION: return "http://hl7.org/fhir/resource-types"; case QUESTIONNAIRE: return "http://hl7.org/fhir/resource-types"; - case NAMINGSYSTEM: return "http://hl7.org/fhir/resource-types"; case OPERATIONDEFINITION: return "http://hl7.org/fhir/resource-types"; case SEARCHPARAMETER: return "http://hl7.org/fhir/resource-types"; case STRUCTUREDEFINITION: return "http://hl7.org/fhir/resource-types"; case STRUCTUREMAP: return "http://hl7.org/fhir/resource-types"; + case SUBSCRIPTIONTOPIC: return "http://hl7.org/fhir/resource-types"; case TERMINOLOGYCAPABILITIES: return "http://hl7.org/fhir/resource-types"; case TESTSCRIPT: return "http://hl7.org/fhir/resource-types"; case VALUESET: return "http://hl7.org/fhir/resource-types"; @@ -4775,7 +4523,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "http://hl7.org/fhir/resource-types"; case CLINICALIMPRESSION: return "http://hl7.org/fhir/resource-types"; case CLINICALUSEDEFINITION: return "http://hl7.org/fhir/resource-types"; - case CLINICALUSEISSUE: return "http://hl7.org/fhir/resource-types"; case COMMUNICATION: return "http://hl7.org/fhir/resource-types"; case COMMUNICATIONREQUEST: return "http://hl7.org/fhir/resource-types"; case COMPOSITION: return "http://hl7.org/fhir/resource-types"; @@ -4803,6 +4550,7 @@ The primary difference between a medicationusage and a medicationadministration case EXPLANATIONOFBENEFIT: return "http://hl7.org/fhir/resource-types"; case FAMILYMEMBERHISTORY: return "http://hl7.org/fhir/resource-types"; case FLAG: return "http://hl7.org/fhir/resource-types"; + case FORMULARYITEM: return "http://hl7.org/fhir/resource-types"; case GOAL: return "http://hl7.org/fhir/resource-types"; case GROUP: return "http://hl7.org/fhir/resource-types"; case GUIDANCERESPONSE: return "http://hl7.org/fhir/resource-types"; @@ -4862,7 +4610,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "http://hl7.org/fhir/resource-types"; case SUBSCRIPTION: return "http://hl7.org/fhir/resource-types"; case SUBSCRIPTIONSTATUS: return "http://hl7.org/fhir/resource-types"; - case SUBSCRIPTIONTOPIC: return "http://hl7.org/fhir/resource-types"; case SUBSTANCE: return "http://hl7.org/fhir/resource-types"; case SUBSTANCEDEFINITION: return "http://hl7.org/fhir/resource-types"; case SUBSTANCENUCLEICACID: return "http://hl7.org/fhir/resource-types"; @@ -4874,6 +4621,7 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "http://hl7.org/fhir/resource-types"; case TASK: return "http://hl7.org/fhir/resource-types"; case TESTREPORT: return "http://hl7.org/fhir/resource-types"; + case TRANSPORT: return "http://hl7.org/fhir/resource-types"; case VERIFICATIONRESULT: return "http://hl7.org/fhir/resource-types"; case VISIONPRESCRIPTION: return "http://hl7.org/fhir/resource-types"; case PARAMETERS: return "http://hl7.org/fhir/resource-types"; @@ -4893,7 +4641,7 @@ The primary difference between a medicationusage and a medicationadministration case BACKBONETYPE: return "Base definition for the few data types that are allowed to carry modifier extensions."; case BASE: return "Base definition for all types defined in FHIR type system."; case CODEABLECONCEPT: return "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."; - case CODEABLEREFERENCE: return "A reference to a resource (by instance), or instead, a reference to a cencept defined in a terminology or ontology (by class)."; + case CODEABLEREFERENCE: return "A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class)."; case CODING: return "A reference to a code defined by a terminology system."; case CONTACTDETAIL: return "Specifies contact information for a person or organization."; case CONTACTPOINT: return "Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."; @@ -4907,6 +4655,7 @@ The primary difference between a medicationusage and a medicationadministration case ELEMENT: return "Base definition for all elements in a resource."; case ELEMENTDEFINITION: return "Captures constraints on each element within the resource, profile, or extension."; case EXPRESSION: return "A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used."; + case EXTENDEDCONTACTDETAIL: return "Specifies contact information for a specific purpose over a period of time, might be handled/monitored by a specific named person or organization."; case EXTENSION: return "Optional Extension Element - found in all resources."; case HUMANNAME: return "A human's name with the ability to identify parts and usage."; case IDENTIFIER: return "An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers."; @@ -4919,7 +4668,6 @@ The primary difference between a medicationusage and a medicationadministration case PERIOD: return "A time period defined by a start and end date and optionally time."; case POPULATION: return "A populatioof people with some set of grouping criteria."; case PRIMITIVETYPE: return "The base type for all re-useable types defined that have a simple property."; - case PRODCHARACTERISTIC: return "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available."; case PRODUCTSHELFLIFE: return "The shelf-life and storage information for a medicinal product item or container can be described using this class."; case QUANTITY: return "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."; case RANGE: return "A set of ordered Quantities defined by a low and high limit."; @@ -4964,6 +4712,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance."; case APPOINTMENT: return "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)."; case APPOINTMENTRESPONSE: return "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection."; + case ARTIFACTASSESSMENT: return "This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."; case AUDITEVENT: return "A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis."; case BASIC: return "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."; case BIOLOGICALLYDERIVEDPRODUCT: return "A biological material originating from a biological entity intended to be transplanted or infused into another (possibly the same) biological entity."; @@ -4973,17 +4722,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation."; case CODESYSTEM: return "The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content."; case COMPARTMENTDEFINITION: return "A compartment definition that defines how resources are accessed on a server."; - case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; - case CONCEPTMAP2: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; case EXAMPLESCENARIO: return "Example of workflow instance."; case GRAPHDEFINITION: return "A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set."; case IMPLEMENTATIONGUIDE: return "A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. 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."; case MESSAGEDEFINITION: return "Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted."; case METADATARESOURCE: return "--- Abstract Type! ---Common Ancestor declaration for conformance and knowledge artifact resources."; case ACTIVITYDEFINITION: return "This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context."; - case ARTIFACTASSESSMENT: return "This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."; case CHARGEITEMDEFINITION: return "The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system."; case CITATION: return "The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources."; + case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; case CONDITIONDEFINITION: return "A definition of a condition and information relevant to managing it."; case EVENTDEFINITION: return "The EventDefinition resource provides a reusable description of when a particular event can occur."; case EVIDENCE: return "The Evidence Resource provides a machine-interpretable expression of an evidence concept including the evidence variables (e.g., population, exposures/interventions, comparators, outcomes, measured variables, confounding variables), the statistics, and the certainty of this evidence."; @@ -4991,13 +4738,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "The EvidenceVariable resource describes an element that knowledge (Evidence) is about."; case LIBRARY: return "The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."; case MEASURE: return "The Measure resource provides the definition of a quality measure."; + case NAMINGSYSTEM: return "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."; case PLANDEFINITION: return "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."; case QUESTIONNAIRE: return "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection."; - case NAMINGSYSTEM: return "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."; case OPERATIONDEFINITION: return "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)."; case SEARCHPARAMETER: return "A search parameter that defines a named search item that can be used to search/filter on a resource."; case STRUCTUREDEFINITION: return "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."; case STRUCTUREMAP: return "A Map of relationships between 2 structures that can be used to transform data."; + case SUBSCRIPTIONTOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic."; case TERMINOLOGYCAPABILITIES: return "A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation."; case TESTSCRIPT: return "A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification."; case VALUESET: return "A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [[[CodeSystem]]] definitions and their use in [coded elements](terminologies.html)."; @@ -5008,7 +4756,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "This resource provides the adjudication details from the processing of a Claim resource."; case CLINICALIMPRESSION: return "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."; case CLINICALUSEDEFINITION: return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure."; - case CLINICALUSEISSUE: return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure."; case COMMUNICATION: return "A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition."; case COMMUNICATIONREQUEST: return "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."; case COMPOSITION: return "A set of healthcare-related information that is assembled together into a single logical package 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 Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.)."; @@ -5029,13 +4776,14 @@ The primary difference between a medicationusage and a medicationadministration case DOCUMENTMANIFEST: return "A collection of documents compiled for a purpose together with metadata that applies to the collection."; case DOCUMENTREFERENCE: return "A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this \"document\" encompasses *any* serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference."; case ENCOUNTER: return "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."; - case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information."; + case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information."; case ENROLLMENTREQUEST: return "This resource provides the insurance enrollment details to the insurer regarding a specified coverage."; case ENROLLMENTRESPONSE: return "This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource."; case EPISODEOFCARE: return "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."; case EXPLANATIONOFBENEFIT: return "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."; case FAMILYMEMBERHISTORY: return "Significant health conditions for a person related to the patient relevant in the context of care for the patient."; case FLAG: return "Prospective warnings of potential issues when providing care to the patient."; + case FORMULARYITEM: return "This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself."; case GOAL: return "Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc."; case GROUP: return "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."; case GUIDANCERESPONSE: return "A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken."; @@ -5060,12 +4808,12 @@ The primary difference between a medicationusage and a medicationadministration case MEDICATIONKNOWLEDGE: return "Information about a medication that is used to support knowledge."; case MEDICATIONREQUEST: return "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns."; case MEDICATIONUSAGE: return "A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. \n\nThe primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationusage is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information."; - case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs)."; + case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.)."; case MESSAGEHEADER: return "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."; - case MOLECULARSEQUENCE: return "Raw data describing a biological sequence."; - case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake."; + case MOLECULARSEQUENCE: return "Representation of a molecular sequence."; + case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake."; case NUTRITIONORDER: return "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident."; - case NUTRITIONPRODUCT: return "A food or fluid product that is consumed by patients."; + case NUTRITIONPRODUCT: return "A food or supplement that is consumed by patients."; case OBSERVATION: return "Measurements and simple assertions made about a patient, device or other subject."; case OBSERVATIONDEFINITION: return "Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service."; case OPERATIONOUTCOME: return "A collection of error, warning, or information messages that result from a system action."; @@ -5083,7 +4831,7 @@ The primary difference between a medicationusage and a medicationadministration case PROVENANCE: return "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."; case QUESTIONNAIRERESPONSE: return "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 questionnaire being responded to."; case REGULATEDAUTHORIZATION: return "Regulatory approval, clearance or licencing related to a regulated product, treatment, facility or activity that is cited in a guidance, regulation, rule or legislative act. An example is Market Authorization relating to a Medicinal Product."; - case RELATEDPERSON: return "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."; + case RELATEDPERSON: return "Information about a person that is involved in a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process."; case REQUESTGROUP: return "A group of related requests that can be used to capture intended activities that have inter-dependencies such as \"give this medication after that one\"."; case RESEARCHSTUDY: return "A process where a researcher or organization plans and then executes a series of steps intended to increase the field of healthcare-related knowledge. This includes studies of safety, efficacy, comparative effectiveness and other information about medications, devices, therapies and other interventional and investigative techniques. A ResearchStudy involves the gathering of information about human or animal subjects."; case RESEARCHSUBJECT: return "A physical entity which is the primary unit of operational and/or administrative interest in a study."; @@ -5095,7 +4843,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "A kind of specimen with associated set of requirements."; case SUBSCRIPTION: return "The subscription resource describes a particular client's request to be notified about a SubscriptionTopic."; case SUBSCRIPTIONSTATUS: return "The SubscriptionStatus resource describes the state of a Subscription during notifications."; - case SUBSCRIPTIONTOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic."; case SUBSTANCE: return "A homogeneous material with a definite composition."; case SUBSTANCEDEFINITION: return "The detailed description of a substance, typically at a level beyond what is used for prescribing."; case SUBSTANCENUCLEICACID: return "Nucleic acids are defined by three distinct elements: the base, sugar and linkage. Individual substance/moiety IDs will be created for each of these elements. The nucleotide sequence will be always entered in the 5’-3’ direction."; @@ -5107,9 +4854,10 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "A record of a non-patient specific request for a medication, substance, device, certain types of biologically derived product, and nutrition product used in the healthcare setting."; case TASK: return "A task to be performed."; case TESTREPORT: return "A summary of information based on the results of executing a TestScript."; + case TRANSPORT: return "Record of transport."; case VERIFICATIONRESULT: return "Describes validation requirements, source(s), status and dates for one or more elements."; case VISIONPRESCRIPTION: return "An authorization for the provision of glasses and/or contact lenses to a patient."; - case PARAMETERS: return "This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it."; + case PARAMETERS: return "This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it."; case TYPE: return "A place holder that means any kind of data type"; case ANY: return "A place holder that means any kind of resource"; case NULL: return null; @@ -5140,6 +4888,7 @@ The primary difference between a medicationusage and a medicationadministration case ELEMENT: return "Element"; case ELEMENTDEFINITION: return "ElementDefinition"; case EXPRESSION: return "Expression"; + case EXTENDEDCONTACTDETAIL: return "ExtendedContactDetail"; case EXTENSION: return "Extension"; case HUMANNAME: return "HumanName"; case IDENTIFIER: return "Identifier"; @@ -5152,7 +4901,6 @@ The primary difference between a medicationusage and a medicationadministration case PERIOD: return "Period"; case POPULATION: return "Population"; case PRIMITIVETYPE: return "PrimitiveType"; - case PRODCHARACTERISTIC: return "ProdCharacteristic"; case PRODUCTSHELFLIFE: return "ProductShelfLife"; case QUANTITY: return "Quantity"; case RANGE: return "Range"; @@ -5197,6 +4945,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "AllergyIntolerance"; case APPOINTMENT: return "Appointment"; case APPOINTMENTRESPONSE: return "AppointmentResponse"; + case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case AUDITEVENT: return "AuditEvent"; case BASIC: return "Basic"; case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct"; @@ -5206,17 +4955,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "CapabilityStatement2"; case CODESYSTEM: return "CodeSystem"; case COMPARTMENTDEFINITION: return "CompartmentDefinition"; - case CONCEPTMAP: return "ConceptMap"; - case CONCEPTMAP2: return "ConceptMap2"; case EXAMPLESCENARIO: return "ExampleScenario"; case GRAPHDEFINITION: return "GraphDefinition"; case IMPLEMENTATIONGUIDE: return "ImplementationGuide"; case MESSAGEDEFINITION: return "MessageDefinition"; case METADATARESOURCE: return "MetadataResource"; case ACTIVITYDEFINITION: return "ActivityDefinition"; - case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case CHARGEITEMDEFINITION: return "ChargeItemDefinition"; case CITATION: return "Citation"; + case CONCEPTMAP: return "ConceptMap"; case CONDITIONDEFINITION: return "ConditionDefinition"; case EVENTDEFINITION: return "EventDefinition"; case EVIDENCE: return "Evidence"; @@ -5224,13 +4971,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "EvidenceVariable"; case LIBRARY: return "Library"; case MEASURE: return "Measure"; + case NAMINGSYSTEM: return "NamingSystem"; case PLANDEFINITION: return "PlanDefinition"; case QUESTIONNAIRE: return "Questionnaire"; - case NAMINGSYSTEM: return "NamingSystem"; case OPERATIONDEFINITION: return "OperationDefinition"; case SEARCHPARAMETER: return "SearchParameter"; case STRUCTUREDEFINITION: return "StructureDefinition"; case STRUCTUREMAP: return "StructureMap"; + case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities"; case TESTSCRIPT: return "TestScript"; case VALUESET: return "ValueSet"; @@ -5241,7 +4989,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "ClaimResponse"; case CLINICALIMPRESSION: return "ClinicalImpression"; case CLINICALUSEDEFINITION: return "ClinicalUseDefinition"; - case CLINICALUSEISSUE: return "ClinicalUseIssue"; case COMMUNICATION: return "Communication"; case COMMUNICATIONREQUEST: return "CommunicationRequest"; case COMPOSITION: return "Composition"; @@ -5269,6 +5016,7 @@ The primary difference between a medicationusage and a medicationadministration case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit"; case FAMILYMEMBERHISTORY: return "FamilyMemberHistory"; case FLAG: return "Flag"; + case FORMULARYITEM: return "FormularyItem"; case GOAL: return "Goal"; case GROUP: return "Group"; case GUIDANCERESPONSE: return "GuidanceResponse"; @@ -5328,7 +5076,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "SpecimenDefinition"; case SUBSCRIPTION: return "Subscription"; case SUBSCRIPTIONSTATUS: return "SubscriptionStatus"; - case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case SUBSTANCE: return "Substance"; case SUBSTANCEDEFINITION: return "SubstanceDefinition"; case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid"; @@ -5340,6 +5087,7 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case TESTREPORT: return "TestReport"; + case TRANSPORT: return "Transport"; case VERIFICATIONRESULT: return "VerificationResult"; case VISIONPRESCRIPTION: return "VisionPrescription"; case PARAMETERS: return "Parameters"; @@ -5400,6 +5148,8 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.ELEMENTDEFINITION; if ("Expression".equals(codeString)) return FHIRAllTypes.EXPRESSION; + if ("ExtendedContactDetail".equals(codeString)) + return FHIRAllTypes.EXTENDEDCONTACTDETAIL; if ("Extension".equals(codeString)) return FHIRAllTypes.EXTENSION; if ("HumanName".equals(codeString)) @@ -5424,8 +5174,6 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.POPULATION; if ("PrimitiveType".equals(codeString)) return FHIRAllTypes.PRIMITIVETYPE; - if ("ProdCharacteristic".equals(codeString)) - return FHIRAllTypes.PRODCHARACTERISTIC; if ("ProductShelfLife".equals(codeString)) return FHIRAllTypes.PRODUCTSHELFLIFE; if ("Quantity".equals(codeString)) @@ -5514,6 +5262,8 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.APPOINTMENT; if ("AppointmentResponse".equals(codeString)) return FHIRAllTypes.APPOINTMENTRESPONSE; + if ("ArtifactAssessment".equals(codeString)) + return FHIRAllTypes.ARTIFACTASSESSMENT; if ("AuditEvent".equals(codeString)) return FHIRAllTypes.AUDITEVENT; if ("Basic".equals(codeString)) @@ -5532,10 +5282,6 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.CODESYSTEM; if ("CompartmentDefinition".equals(codeString)) return FHIRAllTypes.COMPARTMENTDEFINITION; - if ("ConceptMap".equals(codeString)) - return FHIRAllTypes.CONCEPTMAP; - if ("ConceptMap2".equals(codeString)) - return FHIRAllTypes.CONCEPTMAP2; if ("ExampleScenario".equals(codeString)) return FHIRAllTypes.EXAMPLESCENARIO; if ("GraphDefinition".equals(codeString)) @@ -5548,12 +5294,12 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.METADATARESOURCE; if ("ActivityDefinition".equals(codeString)) return FHIRAllTypes.ACTIVITYDEFINITION; - if ("ArtifactAssessment".equals(codeString)) - return FHIRAllTypes.ARTIFACTASSESSMENT; if ("ChargeItemDefinition".equals(codeString)) return FHIRAllTypes.CHARGEITEMDEFINITION; if ("Citation".equals(codeString)) return FHIRAllTypes.CITATION; + if ("ConceptMap".equals(codeString)) + return FHIRAllTypes.CONCEPTMAP; if ("ConditionDefinition".equals(codeString)) return FHIRAllTypes.CONDITIONDEFINITION; if ("EventDefinition".equals(codeString)) @@ -5568,12 +5314,12 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.LIBRARY; if ("Measure".equals(codeString)) return FHIRAllTypes.MEASURE; + if ("NamingSystem".equals(codeString)) + return FHIRAllTypes.NAMINGSYSTEM; if ("PlanDefinition".equals(codeString)) return FHIRAllTypes.PLANDEFINITION; if ("Questionnaire".equals(codeString)) return FHIRAllTypes.QUESTIONNAIRE; - if ("NamingSystem".equals(codeString)) - return FHIRAllTypes.NAMINGSYSTEM; if ("OperationDefinition".equals(codeString)) return FHIRAllTypes.OPERATIONDEFINITION; if ("SearchParameter".equals(codeString)) @@ -5582,6 +5328,8 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.STRUCTUREDEFINITION; if ("StructureMap".equals(codeString)) return FHIRAllTypes.STRUCTUREMAP; + if ("SubscriptionTopic".equals(codeString)) + return FHIRAllTypes.SUBSCRIPTIONTOPIC; if ("TerminologyCapabilities".equals(codeString)) return FHIRAllTypes.TERMINOLOGYCAPABILITIES; if ("TestScript".equals(codeString)) @@ -5602,8 +5350,6 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.CLINICALIMPRESSION; if ("ClinicalUseDefinition".equals(codeString)) return FHIRAllTypes.CLINICALUSEDEFINITION; - if ("ClinicalUseIssue".equals(codeString)) - return FHIRAllTypes.CLINICALUSEISSUE; if ("Communication".equals(codeString)) return FHIRAllTypes.COMMUNICATION; if ("CommunicationRequest".equals(codeString)) @@ -5658,6 +5404,8 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.FAMILYMEMBERHISTORY; if ("Flag".equals(codeString)) return FHIRAllTypes.FLAG; + if ("FormularyItem".equals(codeString)) + return FHIRAllTypes.FORMULARYITEM; if ("Goal".equals(codeString)) return FHIRAllTypes.GOAL; if ("Group".equals(codeString)) @@ -5776,8 +5524,6 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.SUBSCRIPTION; if ("SubscriptionStatus".equals(codeString)) return FHIRAllTypes.SUBSCRIPTIONSTATUS; - if ("SubscriptionTopic".equals(codeString)) - return FHIRAllTypes.SUBSCRIPTIONTOPIC; if ("Substance".equals(codeString)) return FHIRAllTypes.SUBSTANCE; if ("SubstanceDefinition".equals(codeString)) @@ -5800,6 +5546,8 @@ The primary difference between a medicationusage and a medicationadministration return FHIRAllTypes.TASK; if ("TestReport".equals(codeString)) return FHIRAllTypes.TESTREPORT; + if ("Transport".equals(codeString)) + return FHIRAllTypes.TRANSPORT; if ("VerificationResult".equals(codeString)) return FHIRAllTypes.VERIFICATIONRESULT; if ("VisionPrescription".equals(codeString)) @@ -5864,6 +5612,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.ELEMENTDEFINITION); if ("Expression".equals(codeString)) return new Enumeration(this, FHIRAllTypes.EXPRESSION); + if ("ExtendedContactDetail".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.EXTENDEDCONTACTDETAIL); if ("Extension".equals(codeString)) return new Enumeration(this, FHIRAllTypes.EXTENSION); if ("HumanName".equals(codeString)) @@ -5888,8 +5638,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.POPULATION); if ("PrimitiveType".equals(codeString)) return new Enumeration(this, FHIRAllTypes.PRIMITIVETYPE); - if ("ProdCharacteristic".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.PRODCHARACTERISTIC); if ("ProductShelfLife".equals(codeString)) return new Enumeration(this, FHIRAllTypes.PRODUCTSHELFLIFE); if ("Quantity".equals(codeString)) @@ -5978,6 +5726,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.APPOINTMENT); if ("AppointmentResponse".equals(codeString)) return new Enumeration(this, FHIRAllTypes.APPOINTMENTRESPONSE); + if ("ArtifactAssessment".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.ARTIFACTASSESSMENT); if ("AuditEvent".equals(codeString)) return new Enumeration(this, FHIRAllTypes.AUDITEVENT); if ("Basic".equals(codeString)) @@ -5996,10 +5746,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.CODESYSTEM); if ("CompartmentDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.COMPARTMENTDEFINITION); - if ("ConceptMap".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.CONCEPTMAP); - if ("ConceptMap2".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.CONCEPTMAP2); if ("ExampleScenario".equals(codeString)) return new Enumeration(this, FHIRAllTypes.EXAMPLESCENARIO); if ("GraphDefinition".equals(codeString)) @@ -6012,12 +5758,12 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.METADATARESOURCE); if ("ActivityDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.ACTIVITYDEFINITION); - if ("ArtifactAssessment".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.ARTIFACTASSESSMENT); if ("ChargeItemDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.CHARGEITEMDEFINITION); if ("Citation".equals(codeString)) return new Enumeration(this, FHIRAllTypes.CITATION); + if ("ConceptMap".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.CONCEPTMAP); if ("ConditionDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.CONDITIONDEFINITION); if ("EventDefinition".equals(codeString)) @@ -6032,12 +5778,12 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.LIBRARY); if ("Measure".equals(codeString)) return new Enumeration(this, FHIRAllTypes.MEASURE); + if ("NamingSystem".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.NAMINGSYSTEM); if ("PlanDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.PLANDEFINITION); if ("Questionnaire".equals(codeString)) return new Enumeration(this, FHIRAllTypes.QUESTIONNAIRE); - if ("NamingSystem".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.NAMINGSYSTEM); if ("OperationDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.OPERATIONDEFINITION); if ("SearchParameter".equals(codeString)) @@ -6046,6 +5792,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.STRUCTUREDEFINITION); if ("StructureMap".equals(codeString)) return new Enumeration(this, FHIRAllTypes.STRUCTUREMAP); + if ("SubscriptionTopic".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.SUBSCRIPTIONTOPIC); if ("TerminologyCapabilities".equals(codeString)) return new Enumeration(this, FHIRAllTypes.TERMINOLOGYCAPABILITIES); if ("TestScript".equals(codeString)) @@ -6066,8 +5814,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.CLINICALIMPRESSION); if ("ClinicalUseDefinition".equals(codeString)) return new Enumeration(this, FHIRAllTypes.CLINICALUSEDEFINITION); - if ("ClinicalUseIssue".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.CLINICALUSEISSUE); if ("Communication".equals(codeString)) return new Enumeration(this, FHIRAllTypes.COMMUNICATION); if ("CommunicationRequest".equals(codeString)) @@ -6122,6 +5868,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.FAMILYMEMBERHISTORY); if ("Flag".equals(codeString)) return new Enumeration(this, FHIRAllTypes.FLAG); + if ("FormularyItem".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.FORMULARYITEM); if ("Goal".equals(codeString)) return new Enumeration(this, FHIRAllTypes.GOAL); if ("Group".equals(codeString)) @@ -6240,8 +5988,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.SUBSCRIPTION); if ("SubscriptionStatus".equals(codeString)) return new Enumeration(this, FHIRAllTypes.SUBSCRIPTIONSTATUS); - if ("SubscriptionTopic".equals(codeString)) - return new Enumeration(this, FHIRAllTypes.SUBSCRIPTIONTOPIC); if ("Substance".equals(codeString)) return new Enumeration(this, FHIRAllTypes.SUBSTANCE); if ("SubstanceDefinition".equals(codeString)) @@ -6264,6 +6010,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, FHIRAllTypes.TASK); if ("TestReport".equals(codeString)) return new Enumeration(this, FHIRAllTypes.TESTREPORT); + if ("Transport".equals(codeString)) + return new Enumeration(this, FHIRAllTypes.TRANSPORT); if ("VerificationResult".equals(codeString)) return new Enumeration(this, FHIRAllTypes.VERIFICATIONRESULT); if ("VisionPrescription".equals(codeString)) @@ -6321,6 +6069,8 @@ The primary difference between a medicationusage and a medicationadministration return "ElementDefinition"; if (code == FHIRAllTypes.EXPRESSION) return "Expression"; + if (code == FHIRAllTypes.EXTENDEDCONTACTDETAIL) + return "ExtendedContactDetail"; if (code == FHIRAllTypes.EXTENSION) return "Extension"; if (code == FHIRAllTypes.HUMANNAME) @@ -6345,8 +6095,6 @@ The primary difference between a medicationusage and a medicationadministration return "Population"; if (code == FHIRAllTypes.PRIMITIVETYPE) return "PrimitiveType"; - if (code == FHIRAllTypes.PRODCHARACTERISTIC) - return "ProdCharacteristic"; if (code == FHIRAllTypes.PRODUCTSHELFLIFE) return "ProductShelfLife"; if (code == FHIRAllTypes.QUANTITY) @@ -6435,6 +6183,8 @@ The primary difference between a medicationusage and a medicationadministration return "Appointment"; if (code == FHIRAllTypes.APPOINTMENTRESPONSE) return "AppointmentResponse"; + if (code == FHIRAllTypes.ARTIFACTASSESSMENT) + return "ArtifactAssessment"; if (code == FHIRAllTypes.AUDITEVENT) return "AuditEvent"; if (code == FHIRAllTypes.BASIC) @@ -6453,10 +6203,6 @@ The primary difference between a medicationusage and a medicationadministration return "CodeSystem"; if (code == FHIRAllTypes.COMPARTMENTDEFINITION) return "CompartmentDefinition"; - if (code == FHIRAllTypes.CONCEPTMAP) - return "ConceptMap"; - if (code == FHIRAllTypes.CONCEPTMAP2) - return "ConceptMap2"; if (code == FHIRAllTypes.EXAMPLESCENARIO) return "ExampleScenario"; if (code == FHIRAllTypes.GRAPHDEFINITION) @@ -6469,12 +6215,12 @@ The primary difference between a medicationusage and a medicationadministration return "MetadataResource"; if (code == FHIRAllTypes.ACTIVITYDEFINITION) return "ActivityDefinition"; - if (code == FHIRAllTypes.ARTIFACTASSESSMENT) - return "ArtifactAssessment"; if (code == FHIRAllTypes.CHARGEITEMDEFINITION) return "ChargeItemDefinition"; if (code == FHIRAllTypes.CITATION) return "Citation"; + if (code == FHIRAllTypes.CONCEPTMAP) + return "ConceptMap"; if (code == FHIRAllTypes.CONDITIONDEFINITION) return "ConditionDefinition"; if (code == FHIRAllTypes.EVENTDEFINITION) @@ -6489,12 +6235,12 @@ The primary difference between a medicationusage and a medicationadministration return "Library"; if (code == FHIRAllTypes.MEASURE) return "Measure"; + if (code == FHIRAllTypes.NAMINGSYSTEM) + return "NamingSystem"; if (code == FHIRAllTypes.PLANDEFINITION) return "PlanDefinition"; if (code == FHIRAllTypes.QUESTIONNAIRE) return "Questionnaire"; - if (code == FHIRAllTypes.NAMINGSYSTEM) - return "NamingSystem"; if (code == FHIRAllTypes.OPERATIONDEFINITION) return "OperationDefinition"; if (code == FHIRAllTypes.SEARCHPARAMETER) @@ -6503,6 +6249,8 @@ The primary difference between a medicationusage and a medicationadministration return "StructureDefinition"; if (code == FHIRAllTypes.STRUCTUREMAP) return "StructureMap"; + if (code == FHIRAllTypes.SUBSCRIPTIONTOPIC) + return "SubscriptionTopic"; if (code == FHIRAllTypes.TERMINOLOGYCAPABILITIES) return "TerminologyCapabilities"; if (code == FHIRAllTypes.TESTSCRIPT) @@ -6523,8 +6271,6 @@ The primary difference between a medicationusage and a medicationadministration return "ClinicalImpression"; if (code == FHIRAllTypes.CLINICALUSEDEFINITION) return "ClinicalUseDefinition"; - if (code == FHIRAllTypes.CLINICALUSEISSUE) - return "ClinicalUseIssue"; if (code == FHIRAllTypes.COMMUNICATION) return "Communication"; if (code == FHIRAllTypes.COMMUNICATIONREQUEST) @@ -6579,6 +6325,8 @@ The primary difference between a medicationusage and a medicationadministration return "FamilyMemberHistory"; if (code == FHIRAllTypes.FLAG) return "Flag"; + if (code == FHIRAllTypes.FORMULARYITEM) + return "FormularyItem"; if (code == FHIRAllTypes.GOAL) return "Goal"; if (code == FHIRAllTypes.GROUP) @@ -6697,8 +6445,6 @@ The primary difference between a medicationusage and a medicationadministration return "Subscription"; if (code == FHIRAllTypes.SUBSCRIPTIONSTATUS) return "SubscriptionStatus"; - if (code == FHIRAllTypes.SUBSCRIPTIONTOPIC) - return "SubscriptionTopic"; if (code == FHIRAllTypes.SUBSTANCE) return "Substance"; if (code == FHIRAllTypes.SUBSTANCEDEFINITION) @@ -6721,6 +6467,8 @@ The primary difference between a medicationusage and a medicationadministration return "Task"; if (code == FHIRAllTypes.TESTREPORT) return "TestReport"; + if (code == FHIRAllTypes.TRANSPORT) + return "Transport"; if (code == FHIRAllTypes.VERIFICATIONRESULT) return "VerificationResult"; if (code == FHIRAllTypes.VISIONPRESCRIPTION) @@ -6755,6 +6503,10 @@ The primary difference between a medicationusage and a medicationadministration * DSTU 1 Ballot version. */ _0_11, + /** + * DSTU 1 version. + */ + _0_0, /** * DSTU 1 Official version. */ @@ -6765,16 +6517,28 @@ The primary difference between a medicationusage and a medicationadministration _0_0_81, /** * DSTU 1 Official version Technical Errata #2. - */ + */ _0_0_82, + /** + * January 2015 Ballot. + */ + _0_4, /** * Draft For Comment (January 2015 Ballot). */ _0_4_0, + /** + * May 2015 Ballot. + */ + _0_5, /** * DSTU 2 Ballot version (May 2015 Ballot). */ _0_5_0, + /** + * DSTU 2 version. + */ + _1_0, /** * DSTU 2 QA Preview + CQIF Ballot (Sep 2015). */ @@ -6787,22 +6551,42 @@ The primary difference between a medicationusage and a medicationadministration * DSTU 2 (Official version) with 1 technical errata. */ _1_0_2, + /** + * GAO Ballot version. + */ + _1_1, /** * GAO Ballot + draft changes to main FHIR standard. */ _1_1_0, + /** + * Connectathon 12 (Montreal) version. + */ + _1_4, /** * CQF on FHIR Ballot + Connectathon 12 (Montreal). */ _1_4_0, + /** + * Connectathon 13 (Baltimore) version. + */ + _1_6, /** * FHIR STU3 Ballot + Connectathon 13 (Baltimore). */ _1_6_0, + /** + * Connectathon 14 (San Antonio) version. + */ + _1_8, /** * FHIR STU3 Candidate + Connectathon 14 (San Antonio). */ _1_8_0, + /** + * STU3 version. + */ + _3_0, /** * FHIR Release 3 (STU). */ @@ -6816,13 +6600,25 @@ The primary difference between a medicationusage and a medicationadministration */ _3_0_2, /** - * R4 Ballot #1. + * R4 Ballot #1 version. + */ + _3_3, + /** + * R4 Ballot #1 + Connectaton 18 (Cologne). */ _3_3_0, /** - * R4 Ballot #2. + * R4 Ballot #2 version. + */ + _3_5, + /** + * R4 Ballot #2 + Connectathon 19 (Baltimore). */ _3_5_0, + /** + * R4 version. + */ + _4_0, /** * FHIR Release 4 (Normative + STU). */ @@ -6832,45 +6628,77 @@ The primary difference between a medicationusage and a medicationadministration */ _4_0_1, /** - * Interim Version. + * R4B Ballot #1 version. + */ + _4_1, + /** + * R4B Ballot #1 + Connectathon 27 (Virtual). */ _4_1_0, /** - * R5 Preview #1. + * R5 Preview #1 version. + */ + _4_2, + /** + * R5 Preview #1 + Connectathon 23 (Sydney). */ _4_2_0, /** - * R4B Snapshot #1. + * R4B version. */ - _4_3_0SNAPSHOT1, + _4_3, /** - * R4B Rolling CI-Build. - */ - _4_3_0CIBUILD, - /** - * R4B Release + * FHIR Release 4B (Normative + STU). */ _4_3_0, /** - * R5 Preview #2. + * R5 Preview #2 version. + */ + _4_4, + /** + * R5 Preview #2 + Connectathon 24 (Virtual). */ _4_4_0, /** - * R5 Preview #3. + * R5 Preview #3 version. + */ + _4_5, + /** + * R5 Preview #3 + Connectathon 25 (Virtual). */ _4_5_0, /** - * R5 Draft Ballot. + * R5 Draft Ballot version. + */ + _4_6, + /** + * R5 Draft Ballot + Connectathon 27 (Virtual). */ _4_6_0, /** - * R5 Snapshot #1. + * R4B CIBuild */ - _5_0_0SNAPSHOT1, + _4_3_0CIBUILD, /** - * R5 Rolling CI-Build. + * R4B Snapshot1 + */ + _4_3_0SNAPSHOT1, + /** + * R5 + */ + _5_0, + /** + * R5 + */ + _5_0_0, + /** + * R5 CIBuild */ _5_0_0CIBUILD, + /** + * R5 Snapshot1 + */ + _5_0_0SNAPSHOT1, /** * added to help the parsers */ @@ -6878,73 +6706,113 @@ The primary difference between a medicationusage and a medicationadministration public static FHIRVersion fromCode(String codeString) throws FHIRException { if (codeString == null || "".equals(codeString)) return null; - if ("0.01".equals(codeString)) - return _0_01; - if ("0.05".equals(codeString)) - return _0_05; - if ("0.06".equals(codeString)) - return _0_06; - if ("0.11".equals(codeString)) - return _0_11; - if ("0.0.80".equals(codeString)) - return _0_0_80; - if ("0.0.81".equals(codeString)) - return _0_0_81; - if ("0.0.82".equals(codeString)) - return _0_0_82; - if ("0.4.0".equals(codeString)) - return _0_4_0; - if ("0.5.0".equals(codeString)) - return _0_5_0; - if ("1.0.0".equals(codeString)) - return _1_0_0; - if ("1.0.1".equals(codeString)) - return _1_0_1; - if ("1.0.2".equals(codeString)) - return _1_0_2; - if ("1.1.0".equals(codeString)) - return _1_1_0; - if ("1.4.0".equals(codeString)) - return _1_4_0; - if ("1.6.0".equals(codeString)) - return _1_6_0; - if ("1.8.0".equals(codeString)) - return _1_8_0; - if ("3.0.0".equals(codeString)) - return _3_0_0; - if ("3.0.1".equals(codeString)) - return _3_0_1; - if ("3.0.2".equals(codeString)) - return _3_0_2; - if ("3.3.0".equals(codeString)) - return _3_3_0; - if ("3.5.0".equals(codeString)) - return _3_5_0; - if ("4.0.0".equals(codeString)) - return _4_0_0; - if ("4.0.1".equals(codeString)) - return _4_0_1; - if ("4.1.0".equals(codeString)) - return _4_1_0; - if ("4.2.0".equals(codeString)) - return _4_2_0; - if ("4.3.0-snapshot1".equalsIgnoreCase(codeString)) - return _4_3_0SNAPSHOT1; - if ("4.3.0-cibuild".equalsIgnoreCase(codeString)) - return _4_3_0CIBUILD; - if ("4.3.0".equalsIgnoreCase(codeString)) - return _4_3_0; - if ("4.4.0".equals(codeString)) - return _4_4_0; - if ("4.5.0".equals(codeString)) - return _4_5_0; - if ("4.6.0".equals(codeString)) - return _4_6_0; - if ("5.0.0-snapshot1".equalsIgnoreCase(codeString)) - return _5_0_0SNAPSHOT1; - if ("5.0.0-cibuild".equalsIgnoreCase(codeString)) - return _5_0_0CIBUILD; - throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'"); + if ("0.01".equals(codeString)) + return _0_01; + if ("0.05".equals(codeString)) + return _0_05; + if ("0.06".equals(codeString)) + return _0_06; + if ("0.11".equals(codeString)) + return _0_11; + if ("0.0".equals(codeString)) + return _0_0; + if ("0.0.80".equals(codeString)) + return _0_0_80; + if ("0.0.81".equals(codeString)) + return _0_0_81; + if ("0.0.82".equals(codeString)) + return _0_0_82; + if ("0.4".equals(codeString)) + return _0_4; + if ("0.4.0".equals(codeString)) + return _0_4_0; + if ("0.5".equals(codeString)) + return _0_5; + if ("0.5.0".equals(codeString)) + return _0_5_0; + if ("1.0".equals(codeString)) + return _1_0; + if ("1.0.0".equals(codeString)) + return _1_0_0; + if ("1.0.1".equals(codeString)) + return _1_0_1; + if ("1.0.2".equals(codeString)) + return _1_0_2; + if ("1.1".equals(codeString)) + return _1_1; + if ("1.1.0".equals(codeString)) + return _1_1_0; + if ("1.4".equals(codeString)) + return _1_4; + if ("1.4.0".equals(codeString)) + return _1_4_0; + if ("1.6".equals(codeString)) + return _1_6; + if ("1.6.0".equals(codeString)) + return _1_6_0; + if ("1.8".equals(codeString)) + return _1_8; + if ("1.8.0".equals(codeString)) + return _1_8_0; + if ("3.0".equals(codeString)) + return _3_0; + if ("3.0.0".equals(codeString)) + return _3_0_0; + if ("3.0.1".equals(codeString)) + return _3_0_1; + if ("3.0.2".equals(codeString)) + return _3_0_2; + if ("3.3".equals(codeString)) + return _3_3; + if ("3.3.0".equals(codeString)) + return _3_3_0; + if ("3.5".equals(codeString)) + return _3_5; + if ("3.5.0".equals(codeString)) + return _3_5_0; + if ("4.0".equals(codeString)) + return _4_0; + if ("4.0.0".equals(codeString)) + return _4_0_0; + if ("4.0.1".equals(codeString)) + return _4_0_1; + if ("4.1".equals(codeString)) + return _4_1; + if ("4.1.0".equals(codeString)) + return _4_1_0; + if ("4.2".equals(codeString)) + return _4_2; + if ("4.2.0".equals(codeString)) + return _4_2_0; + if ("4.3".equals(codeString)) + return _4_3; + if ("4.3.0".equals(codeString)) + return _4_3_0; + if ("4.4".equals(codeString)) + return _4_4; + if ("4.4.0".equals(codeString)) + return _4_4_0; + if ("4.5".equals(codeString)) + return _4_5; + if ("4.5.0".equals(codeString)) + return _4_5_0; + if ("4.6".equals(codeString)) + return _4_6; + if ("4.6.0".equals(codeString)) + return _4_6_0; + if ("4.3.0-cibuild".equals(codeString)) + return _4_3_0CIBUILD; + if ("4.3.0-snapshot1".equals(codeString)) + return _4_3_0SNAPSHOT1; + if ("5.0".equals(codeString)) + return _5_0; + if ("5.0.0".equals(codeString)) + return _5_0_0; + if ("5.0.0-cibuild".equals(codeString)) + return _5_0_0CIBUILD; + if ("5.0.0-snapshot1".equals(codeString)) + return _5_0_0SNAPSHOT1; + throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'"); } public String toCode() { switch (this) { @@ -6952,35 +6820,55 @@ The primary difference between a medicationusage and a medicationadministration case _0_05: return "0.05"; case _0_06: return "0.06"; case _0_11: return "0.11"; + case _0_0: return "0.0"; case _0_0_80: return "0.0.80"; case _0_0_81: return "0.0.81"; case _0_0_82: return "0.0.82"; + case _0_4: return "0.4"; case _0_4_0: return "0.4.0"; + case _0_5: return "0.5"; case _0_5_0: return "0.5.0"; + case _1_0: return "1.0"; case _1_0_0: return "1.0.0"; case _1_0_1: return "1.0.1"; case _1_0_2: return "1.0.2"; + case _1_1: return "1.1"; case _1_1_0: return "1.1.0"; + case _1_4: return "1.4"; case _1_4_0: return "1.4.0"; + case _1_6: return "1.6"; case _1_6_0: return "1.6.0"; + case _1_8: return "1.8"; case _1_8_0: return "1.8.0"; + case _3_0: return "3.0"; case _3_0_0: return "3.0.0"; case _3_0_1: return "3.0.1"; case _3_0_2: return "3.0.2"; + case _3_3: return "3.3"; case _3_3_0: return "3.3.0"; + case _3_5: return "3.5"; case _3_5_0: return "3.5.0"; + case _4_0: return "4.0"; case _4_0_0: return "4.0.0"; case _4_0_1: return "4.0.1"; + case _4_1: return "4.1"; case _4_1_0: return "4.1.0"; + case _4_2: return "4.2"; case _4_2_0: return "4.2.0"; - case _4_3_0SNAPSHOT1: return "4.3.0-snapshot1"; - case _4_3_0CIBUILD: return "4.3.0-cibuild"; + case _4_3: return "4.3"; case _4_3_0: return "4.3.0"; + case _4_4: return "4.4"; case _4_4_0: return "4.4.0"; + case _4_5: return "4.5"; case _4_5_0: return "4.5.0"; + case _4_6: return "4.6"; case _4_6_0: return "4.6.0"; - case _5_0_0SNAPSHOT1: return "5.0.0-snapshot1"; + case _4_3_0CIBUILD: return "4.3.0-cibuild"; + case _4_3_0SNAPSHOT1: return "4.3.0-snapshot1"; + case _5_0: return "5.0"; + case _5_0_0: return "5.0.0"; case _5_0_0CIBUILD: return "5.0.0-cibuild"; + case _5_0_0SNAPSHOT1: return "5.0.0-snapshot1"; case NULL: return null; default: return "?"; } @@ -6991,35 +6879,55 @@ The primary difference between a medicationusage and a medicationadministration case _0_05: return "http://hl7.org/fhir/FHIR-version"; case _0_06: return "http://hl7.org/fhir/FHIR-version"; case _0_11: return "http://hl7.org/fhir/FHIR-version"; + case _0_0: return "http://hl7.org/fhir/FHIR-version"; case _0_0_80: return "http://hl7.org/fhir/FHIR-version"; case _0_0_81: return "http://hl7.org/fhir/FHIR-version"; case _0_0_82: return "http://hl7.org/fhir/FHIR-version"; + case _0_4: return "http://hl7.org/fhir/FHIR-version"; case _0_4_0: return "http://hl7.org/fhir/FHIR-version"; + case _0_5: return "http://hl7.org/fhir/FHIR-version"; case _0_5_0: return "http://hl7.org/fhir/FHIR-version"; + case _1_0: return "http://hl7.org/fhir/FHIR-version"; case _1_0_0: return "http://hl7.org/fhir/FHIR-version"; case _1_0_1: return "http://hl7.org/fhir/FHIR-version"; case _1_0_2: return "http://hl7.org/fhir/FHIR-version"; + case _1_1: return "http://hl7.org/fhir/FHIR-version"; case _1_1_0: return "http://hl7.org/fhir/FHIR-version"; + case _1_4: return "http://hl7.org/fhir/FHIR-version"; case _1_4_0: return "http://hl7.org/fhir/FHIR-version"; + case _1_6: return "http://hl7.org/fhir/FHIR-version"; case _1_6_0: return "http://hl7.org/fhir/FHIR-version"; + case _1_8: return "http://hl7.org/fhir/FHIR-version"; case _1_8_0: return "http://hl7.org/fhir/FHIR-version"; + case _3_0: return "http://hl7.org/fhir/FHIR-version"; case _3_0_0: return "http://hl7.org/fhir/FHIR-version"; case _3_0_1: return "http://hl7.org/fhir/FHIR-version"; case _3_0_2: return "http://hl7.org/fhir/FHIR-version"; + case _3_3: return "http://hl7.org/fhir/FHIR-version"; case _3_3_0: return "http://hl7.org/fhir/FHIR-version"; + case _3_5: return "http://hl7.org/fhir/FHIR-version"; case _3_5_0: return "http://hl7.org/fhir/FHIR-version"; + case _4_0: return "http://hl7.org/fhir/FHIR-version"; case _4_0_0: return "http://hl7.org/fhir/FHIR-version"; case _4_0_1: return "http://hl7.org/fhir/FHIR-version"; + case _4_1: return "http://hl7.org/fhir/FHIR-version"; case _4_1_0: return "http://hl7.org/fhir/FHIR-version"; + case _4_2: return "http://hl7.org/fhir/FHIR-version"; case _4_2_0: return "http://hl7.org/fhir/FHIR-version"; - case _4_3_0SNAPSHOT1: return "http://hl7.org/fhir/FHIR-version"; - case _4_3_0CIBUILD: return "http://hl7.org/fhir/FHIR-version"; + case _4_3: return "http://hl7.org/fhir/FHIR-version"; case _4_3_0: return "http://hl7.org/fhir/FHIR-version"; + case _4_4: return "http://hl7.org/fhir/FHIR-version"; case _4_4_0: return "http://hl7.org/fhir/FHIR-version"; + case _4_5: return "http://hl7.org/fhir/FHIR-version"; case _4_5_0: return "http://hl7.org/fhir/FHIR-version"; + case _4_6: return "http://hl7.org/fhir/FHIR-version"; case _4_6_0: return "http://hl7.org/fhir/FHIR-version"; - case _5_0_0SNAPSHOT1: return "http://hl7.org/fhir/FHIR-version"; + case _4_3_0CIBUILD: return "http://hl7.org/fhir/FHIR-version"; + case _4_3_0SNAPSHOT1: return "http://hl7.org/fhir/FHIR-version"; + case _5_0: return "http://hl7.org/fhir/FHIR-version"; + case _5_0_0: return "http://hl7.org/fhir/FHIR-version"; case _5_0_0CIBUILD: return "http://hl7.org/fhir/FHIR-version"; + case _5_0_0SNAPSHOT1: return "http://hl7.org/fhir/FHIR-version"; case NULL: return null; default: return "?"; } @@ -7030,35 +6938,55 @@ The primary difference between a medicationusage and a medicationadministration case _0_05: return "1st Draft for Comment (Sept 2012 Ballot)."; case _0_06: return "2nd Draft for Comment (January 2013 Ballot)."; case _0_11: return "DSTU 1 Ballot version."; + case _0_0: return "DSTU 1 version."; case _0_0_80: return "DSTU 1 Official version."; case _0_0_81: return "DSTU 1 Official version Technical Errata #1."; case _0_0_82: return "DSTU 1 Official version Technical Errata #2."; + case _0_4: return "January 2015 Ballot."; case _0_4_0: return "Draft For Comment (January 2015 Ballot)."; + case _0_5: return "May 2015 Ballot."; case _0_5_0: return "DSTU 2 Ballot version (May 2015 Ballot)."; + case _1_0: return "DSTU 2 version."; case _1_0_0: return "DSTU 2 QA Preview + CQIF Ballot (Sep 2015)."; case _1_0_1: return "DSTU 2 (Official version)."; case _1_0_2: return "DSTU 2 (Official version) with 1 technical errata."; + case _1_1: return "GAO Ballot version."; case _1_1_0: return "GAO Ballot + draft changes to main FHIR standard."; + case _1_4: return "Connectathon 12 (Montreal) version."; case _1_4_0: return "CQF on FHIR Ballot + Connectathon 12 (Montreal)."; + case _1_6: return "Connectathon 13 (Baltimore) version."; case _1_6_0: return "FHIR STU3 Ballot + Connectathon 13 (Baltimore)."; + case _1_8: return "Connectathon 14 (San Antonio) version."; case _1_8_0: return "FHIR STU3 Candidate + Connectathon 14 (San Antonio)."; + case _3_0: return "STU3 version."; case _3_0_0: return "FHIR Release 3 (STU)."; case _3_0_1: return "FHIR Release 3 (STU) with 1 technical errata."; case _3_0_2: return "FHIR Release 3 (STU) with 2 technical errata."; - case _3_3_0: return "R4 Ballot #1."; - case _3_5_0: return "R4 Ballot #2."; + case _3_3: return "R4 Ballot #1 version."; + case _3_3_0: return "R4 Ballot #1 + Connectaton 18 (Cologne)."; + case _3_5: return "R4 Ballot #2 version."; + case _3_5_0: return "R4 Ballot #2 + Connectathon 19 (Baltimore)."; + case _4_0: return "R4 version."; case _4_0_0: return "FHIR Release 4 (Normative + STU)."; case _4_0_1: return "FHIR Release 4 (Normative + STU) with 1 technical errata."; - case _4_1_0: return "Interim Version."; - case _4_2_0: return "R5 Preview #1."; - case _4_3_0SNAPSHOT1: return "R4B Snapshot #1."; - case _4_3_0CIBUILD: return "R4B Rolling CI-Build."; - case _4_3_0: return "FHIR Release 4B"; - case _4_4_0: return "R5 Preview #2."; - case _4_5_0: return "R5 Preview #3."; - case _4_6_0: return "R5 Draft Ballot."; - case _5_0_0SNAPSHOT1: return "R5 Snapshot #1."; - case _5_0_0CIBUILD: return "R5 Rolling CI-Build."; + case _4_1: return "R4B Ballot #1 version."; + case _4_1_0: return "R4B Ballot #1 + Connectathon 27 (Virtual)."; + case _4_2: return "R5 Preview #1 version."; + case _4_2_0: return "R5 Preview #1 + Connectathon 23 (Sydney)."; + case _4_3: return "R4B version."; + case _4_3_0: return "FHIR Release 4B (Normative + STU)."; + case _4_4: return "R5 Preview #2 version."; + case _4_4_0: return "R5 Preview #2 + Connectathon 24 (Virtual)."; + case _4_5: return "R5 Preview #3 version."; + case _4_5_0: return "R5 Preview #3 + Connectathon 25 (Virtual)."; + case _4_6: return "R5 Draft Ballot version."; + case _4_6_0: return "R5 Draft Ballot + Connectathon 27 (Virtual)."; + case _4_3_0CIBUILD: return "R4B CIBuild"; + case _4_3_0SNAPSHOT1: return "R4B Snapshot1"; + case _5_0: return "R5"; + case _5_0_0: return "R5"; + case _5_0_0CIBUILD: return "R5 CIBuild"; + case _5_0_0SNAPSHOT1: return "R5 Snapshot1"; case NULL: return null; default: return "?"; } @@ -7069,35 +6997,55 @@ The primary difference between a medicationusage and a medicationadministration case _0_05: return "0.05"; case _0_06: return "0.06"; case _0_11: return "0.11"; + case _0_0: return "0.0"; case _0_0_80: return "0.0.80"; case _0_0_81: return "0.0.81"; case _0_0_82: return "0.0.82"; + case _0_4: return "0.4"; case _0_4_0: return "0.4.0"; + case _0_5: return "0.5"; case _0_5_0: return "0.5.0"; + case _1_0: return "1.0"; case _1_0_0: return "1.0.0"; case _1_0_1: return "1.0.1"; case _1_0_2: return "1.0.2"; + case _1_1: return "1.1"; case _1_1_0: return "1.1.0"; + case _1_4: return "1.4"; case _1_4_0: return "1.4.0"; + case _1_6: return "1.6"; case _1_6_0: return "1.6.0"; + case _1_8: return "1.8"; case _1_8_0: return "1.8.0"; + case _3_0: return "3.0"; case _3_0_0: return "3.0.0"; case _3_0_1: return "3.0.1"; case _3_0_2: return "3.0.2"; + case _3_3: return "3.3"; case _3_3_0: return "3.3.0"; + case _3_5: return "3.5"; case _3_5_0: return "3.5.0"; + case _4_0: return "4.0"; case _4_0_0: return "4.0.0"; case _4_0_1: return "4.0.1"; + case _4_1: return "4.1"; case _4_1_0: return "4.1.0"; + case _4_2: return "4.2"; case _4_2_0: return "4.2.0"; - case _4_3_0SNAPSHOT1: return "4.3.0-snapshot1"; - case _4_3_0CIBUILD: return "4.3.0-cibuild"; + case _4_3: return "4.3"; case _4_3_0: return "4.3.0"; + case _4_4: return "4.4"; case _4_4_0: return "4.4.0"; + case _4_5: return "4.5"; case _4_5_0: return "4.5.0"; + case _4_6: return "4.6"; case _4_6_0: return "4.6.0"; - case _5_0_0SNAPSHOT1: return "5.0.0-snapshot1"; + case _4_3_0CIBUILD: return "4.3.0-cibuild"; + case _4_3_0SNAPSHOT1: return "4.3.0-snapshot1"; + case _5_0: return "5.0"; + case _5_0_0: return "5.0.0"; case _5_0_0CIBUILD: return "5.0.0-cibuild"; + case _5_0_0SNAPSHOT1: return "5.0.0-snapshot1"; case NULL: return null; default: return "?"; } @@ -7114,51 +7062,51 @@ public String toCode(int len) { public static boolean isValidCode(String codeString) { if (codeString == null || "".equals(codeString)) return false; - if ("0.01".equals(codeString)) - return true; - if ("0.05".equals(codeString)) - return true; - if ("0.06".equals(codeString)) - return true; - if ("0.11".equals(codeString)) - return true; - if ("0.0.80".equals(codeString)) - return true; - if ("0.0.81".equals(codeString)) - return true; - if ("0.0.82".equals(codeString)) - return true; - if ("0.4.0".equals(codeString)) - return true; - if ("0.5.0".equals(codeString)) - return true; - if ("1.0.0".equals(codeString)) - return true; - if ("1.0.1".equals(codeString)) - return true; - if ("1.0.2".equals(codeString)) - return true; - if ("1.1.0".equals(codeString)) - return true; - if ("1.4.0".equals(codeString)) - return true; - if ("1.6.0".equals(codeString)) - return true; - if ("1.8.0".equals(codeString)) - return true; - if ("3.0.0".equals(codeString)) - return true; - if ("3.0.1".equals(codeString)) - return true; - if ("3.3.0".equals(codeString)) - return true; - if ("3.5.0".equals(codeString)) - return true; - if ("4.0.0".equals(codeString)) - return true; - if ("4.2.0".equals(codeString)) - return true; - return false; + if ("0.01".equals(codeString)) + return true; + if ("0.05".equals(codeString)) + return true; + if ("0.06".equals(codeString)) + return true; + if ("0.11".equals(codeString)) + return true; + if ("0.0.80".equals(codeString)) + return true; + if ("0.0.81".equals(codeString)) + return true; + if ("0.0.82".equals(codeString)) + return true; + if ("0.4.0".equals(codeString)) + return true; + if ("0.5.0".equals(codeString)) + return true; + if ("1.0.0".equals(codeString)) + return true; + if ("1.0.1".equals(codeString)) + return true; + if ("1.0.2".equals(codeString)) + return true; + if ("1.1.0".equals(codeString)) + return true; + if ("1.4.0".equals(codeString)) + return true; + if ("1.6.0".equals(codeString)) + return true; + if ("1.8.0".equals(codeString)) + return true; + if ("3.0.0".equals(codeString)) + return true; + if ("3.0.1".equals(codeString)) + return true; + if ("3.3.0".equals(codeString)) + return true; + if ("3.5.0".equals(codeString)) + return true; + if ("4.0.0".equals(codeString)) + return true; + if ("4.2.0".equals(codeString)) + return true; + return false; } @Override @@ -7168,7 +7116,7 @@ public String toCode(int len) { public boolean isR4B() { - return toCode().startsWith("4.1") || toCode().startsWith("4.3"); + return toCode().startsWith("4.1"); } // end addition @@ -7179,73 +7127,113 @@ public String toCode(int len) { if (codeString == null || "".equals(codeString)) if (codeString == null || "".equals(codeString)) return null; - if ("0.01".equals(codeString)) - return FHIRVersion._0_01; - if ("0.05".equals(codeString)) - return FHIRVersion._0_05; - if ("0.06".equals(codeString)) - return FHIRVersion._0_06; - if ("0.11".equals(codeString)) - return FHIRVersion._0_11; - if ("0.0.80".equals(codeString)) - return FHIRVersion._0_0_80; - if ("0.0.81".equals(codeString)) - return FHIRVersion._0_0_81; - if ("0.0.82".equals(codeString)) - return FHIRVersion._0_0_82; - if ("0.4.0".equals(codeString)) - return FHIRVersion._0_4_0; - if ("0.5.0".equals(codeString)) - return FHIRVersion._0_5_0; - if ("1.0.0".equals(codeString)) - return FHIRVersion._1_0_0; - if ("1.0.1".equals(codeString)) - return FHIRVersion._1_0_1; - if ("1.0.2".equals(codeString)) - return FHIRVersion._1_0_2; - if ("1.1.0".equals(codeString)) - return FHIRVersion._1_1_0; - if ("1.4.0".equals(codeString)) - return FHIRVersion._1_4_0; - if ("1.6.0".equals(codeString)) - return FHIRVersion._1_6_0; - if ("1.8.0".equals(codeString)) - return FHIRVersion._1_8_0; - if ("3.0.0".equals(codeString)) - return FHIRVersion._3_0_0; - if ("3.0.1".equals(codeString)) - return FHIRVersion._3_0_1; - if ("3.0.2".equals(codeString)) - return FHIRVersion._3_0_2; - if ("3.3.0".equals(codeString)) - return FHIRVersion._3_3_0; - if ("3.5.0".equals(codeString)) - return FHIRVersion._3_5_0; - if ("4.0.0".equals(codeString)) - return FHIRVersion._4_0_0; - if ("4.0.1".equals(codeString)) - return FHIRVersion._4_0_1; - if ("4.1.0".equals(codeString)) - return FHIRVersion._4_1_0; - if ("4.2.0".equals(codeString)) - return FHIRVersion._4_2_0; - if ("4.3.0-snapshot1".equalsIgnoreCase(codeString)) - return FHIRVersion._4_3_0SNAPSHOT1; - if ("4.3.0-cibuild".equalsIgnoreCase(codeString)) - return FHIRVersion._4_3_0CIBUILD; - if ("4.3.0".equalsIgnoreCase(codeString)) - return FHIRVersion._4_3_0; - if ("4.4.0".equals(codeString)) - return FHIRVersion._4_4_0; - if ("4.5.0".equals(codeString)) - return FHIRVersion._4_5_0; - if ("4.6.0".equals(codeString)) - return FHIRVersion._4_6_0; - if ("5.0.0-snapshot1".equalsIgnoreCase(codeString)) - return FHIRVersion._5_0_0SNAPSHOT1; - if ("5.0.0-cibuild".equalsIgnoreCase(codeString)) - return FHIRVersion._5_0_0CIBUILD; - throw new IllegalArgumentException("Unknown FHIRVersion code '"+codeString+"'"); + if ("0.01".equals(codeString)) + return FHIRVersion._0_01; + if ("0.05".equals(codeString)) + return FHIRVersion._0_05; + if ("0.06".equals(codeString)) + return FHIRVersion._0_06; + if ("0.11".equals(codeString)) + return FHIRVersion._0_11; + if ("0.0".equals(codeString)) + return FHIRVersion._0_0; + if ("0.0.80".equals(codeString)) + return FHIRVersion._0_0_80; + if ("0.0.81".equals(codeString)) + return FHIRVersion._0_0_81; + if ("0.0.82".equals(codeString)) + return FHIRVersion._0_0_82; + if ("0.4".equals(codeString)) + return FHIRVersion._0_4; + if ("0.4.0".equals(codeString)) + return FHIRVersion._0_4_0; + if ("0.5".equals(codeString)) + return FHIRVersion._0_5; + if ("0.5.0".equals(codeString)) + return FHIRVersion._0_5_0; + if ("1.0".equals(codeString)) + return FHIRVersion._1_0; + if ("1.0.0".equals(codeString)) + return FHIRVersion._1_0_0; + if ("1.0.1".equals(codeString)) + return FHIRVersion._1_0_1; + if ("1.0.2".equals(codeString)) + return FHIRVersion._1_0_2; + if ("1.1".equals(codeString)) + return FHIRVersion._1_1; + if ("1.1.0".equals(codeString)) + return FHIRVersion._1_1_0; + if ("1.4".equals(codeString)) + return FHIRVersion._1_4; + if ("1.4.0".equals(codeString)) + return FHIRVersion._1_4_0; + if ("1.6".equals(codeString)) + return FHIRVersion._1_6; + if ("1.6.0".equals(codeString)) + return FHIRVersion._1_6_0; + if ("1.8".equals(codeString)) + return FHIRVersion._1_8; + if ("1.8.0".equals(codeString)) + return FHIRVersion._1_8_0; + if ("3.0".equals(codeString)) + return FHIRVersion._3_0; + if ("3.0.0".equals(codeString)) + return FHIRVersion._3_0_0; + if ("3.0.1".equals(codeString)) + return FHIRVersion._3_0_1; + if ("3.0.2".equals(codeString)) + return FHIRVersion._3_0_2; + if ("3.3".equals(codeString)) + return FHIRVersion._3_3; + if ("3.3.0".equals(codeString)) + return FHIRVersion._3_3_0; + if ("3.5".equals(codeString)) + return FHIRVersion._3_5; + if ("3.5.0".equals(codeString)) + return FHIRVersion._3_5_0; + if ("4.0".equals(codeString)) + return FHIRVersion._4_0; + if ("4.0.0".equals(codeString)) + return FHIRVersion._4_0_0; + if ("4.0.1".equals(codeString)) + return FHIRVersion._4_0_1; + if ("4.1".equals(codeString)) + return FHIRVersion._4_1; + if ("4.1.0".equals(codeString)) + return FHIRVersion._4_1_0; + if ("4.2".equals(codeString)) + return FHIRVersion._4_2; + if ("4.2.0".equals(codeString)) + return FHIRVersion._4_2_0; + if ("4.3".equals(codeString)) + return FHIRVersion._4_3; + if ("4.3.0".equals(codeString)) + return FHIRVersion._4_3_0; + if ("4.4".equals(codeString)) + return FHIRVersion._4_4; + if ("4.4.0".equals(codeString)) + return FHIRVersion._4_4_0; + if ("4.5".equals(codeString)) + return FHIRVersion._4_5; + if ("4.5.0".equals(codeString)) + return FHIRVersion._4_5_0; + if ("4.6".equals(codeString)) + return FHIRVersion._4_6; + if ("4.6.0".equals(codeString)) + return FHIRVersion._4_6_0; + if ("4.3.0-cibuild".equals(codeString)) + return FHIRVersion._4_3_0CIBUILD; + if ("4.3.0-snapshot1".equals(codeString)) + return FHIRVersion._4_3_0SNAPSHOT1; + if ("5.0".equals(codeString)) + return FHIRVersion._5_0; + if ("5.0.0".equals(codeString)) + return FHIRVersion._5_0_0; + if ("5.0.0-cibuild".equals(codeString)) + return FHIRVersion._5_0_0CIBUILD; + if ("5.0.0-snapshot1".equals(codeString)) + return FHIRVersion._5_0_0SNAPSHOT1; + throw new IllegalArgumentException("Unknown FHIRVersion code '"+codeString+"'"); } public Enumeration fromType(Base code) throws FHIRException { if (code == null) @@ -7255,73 +7243,113 @@ public String toCode(int len) { String codeString = ((PrimitiveType) code).asStringValue(); if (codeString == null || "".equals(codeString)) return null; - if ("0.01".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_01); - if ("0.05".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_05); - if ("0.06".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_06); - if ("0.11".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_11); - if ("0.0.80".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_0_80); - if ("0.0.81".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_0_81); - if ("0.0.82".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_0_82); - if ("0.4.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_4_0); - if ("0.5.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._0_5_0); - if ("1.0.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_0_0); - if ("1.0.1".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_0_1); - if ("1.0.2".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_0_2); - if ("1.1.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_1_0); - if ("1.4.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_4_0); - if ("1.6.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_6_0); - if ("1.8.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._1_8_0); - if ("3.0.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._3_0_0); - if ("3.0.1".equals(codeString)) - return new Enumeration(this, FHIRVersion._3_0_1); - if ("3.0.2".equals(codeString)) - return new Enumeration(this, FHIRVersion._3_0_2); - if ("3.3.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._3_3_0); - if ("3.5.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._3_5_0); - if ("4.0.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_0_0); - if ("4.0.1".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_0_1); - if ("4.1.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_1_0); - if ("4.2.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_2_0); - if ("4.3.0-snapshot1".equalsIgnoreCase(codeString)) - return new Enumeration(this, FHIRVersion._4_3_0SNAPSHOT1); - if ("4.3.0-cibuild".equalsIgnoreCase(codeString)) - return new Enumeration(this, FHIRVersion._4_3_0CIBUILD); - if ("4.3.0".equalsIgnoreCase(codeString)) - return new Enumeration(this, FHIRVersion._4_3_0); - if ("4.4.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_4_0); - if ("4.5.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_5_0); - if ("4.6.0".equals(codeString)) - return new Enumeration(this, FHIRVersion._4_6_0); - if ("5.0.0-snapshot1".equalsIgnoreCase(codeString)) - return new Enumeration(this, FHIRVersion._5_0_0SNAPSHOT1); - if ("5.0.0-cibuild".equalsIgnoreCase(codeString)) - return new Enumeration(this, FHIRVersion._5_0_0CIBUILD); - throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'"); + if ("0.01".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_01); + if ("0.05".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_05); + if ("0.06".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_06); + if ("0.11".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_11); + if ("0.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_0); + if ("0.0.80".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_0_80); + if ("0.0.81".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_0_81); + if ("0.0.82".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_0_82); + if ("0.4".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_4); + if ("0.4.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_4_0); + if ("0.5".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_5); + if ("0.5.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._0_5_0); + if ("1.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_0); + if ("1.0.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_0_0); + if ("1.0.1".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_0_1); + if ("1.0.2".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_0_2); + if ("1.1".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_1); + if ("1.1.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_1_0); + if ("1.4".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_4); + if ("1.4.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_4_0); + if ("1.6".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_6); + if ("1.6.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_6_0); + if ("1.8".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_8); + if ("1.8.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._1_8_0); + if ("3.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_0); + if ("3.0.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_0_0); + if ("3.0.1".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_0_1); + if ("3.0.2".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_0_2); + if ("3.3".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_3); + if ("3.3.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_3_0); + if ("3.5".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_5); + if ("3.5.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._3_5_0); + if ("4.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_0); + if ("4.0.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_0_0); + if ("4.0.1".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_0_1); + if ("4.1".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_1); + if ("4.1.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_1_0); + if ("4.2".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_2); + if ("4.2.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_2_0); + if ("4.3".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_3); + if ("4.3.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_3_0); + if ("4.4".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_4); + if ("4.4.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_4_0); + if ("4.5".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_5); + if ("4.5.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_5_0); + if ("4.6".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_6); + if ("4.6.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_6_0); + if ("4.3.0-cibuild".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_3_0CIBUILD); + if ("4.3.0-snapshot1".equals(codeString)) + return new Enumeration(this, FHIRVersion._4_3_0SNAPSHOT1); + if ("5.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._5_0); + if ("5.0.0".equals(codeString)) + return new Enumeration(this, FHIRVersion._5_0_0); + if ("5.0.0-cibuild".equals(codeString)) + return new Enumeration(this, FHIRVersion._5_0_0CIBUILD); + if ("5.0.0-snapshot1".equals(codeString)) + return new Enumeration(this, FHIRVersion._5_0_0SNAPSHOT1); + throw new FHIRException("Unknown FHIRVersion code '"+codeString+"'"); } public String toCode(FHIRVersion code) { if (code == FHIRVersion._0_01) @@ -7332,64 +7360,104 @@ public String toCode(int len) { return "0.06"; if (code == FHIRVersion._0_11) return "0.11"; + if (code == FHIRVersion._0_0) + return "0.0"; if (code == FHIRVersion._0_0_80) return "0.0.80"; if (code == FHIRVersion._0_0_81) return "0.0.81"; if (code == FHIRVersion._0_0_82) return "0.0.82"; + if (code == FHIRVersion._0_4) + return "0.4"; if (code == FHIRVersion._0_4_0) return "0.4.0"; + if (code == FHIRVersion._0_5) + return "0.5"; if (code == FHIRVersion._0_5_0) return "0.5.0"; + if (code == FHIRVersion._1_0) + return "1.0"; if (code == FHIRVersion._1_0_0) return "1.0.0"; if (code == FHIRVersion._1_0_1) return "1.0.1"; if (code == FHIRVersion._1_0_2) return "1.0.2"; + if (code == FHIRVersion._1_1) + return "1.1"; if (code == FHIRVersion._1_1_0) return "1.1.0"; + if (code == FHIRVersion._1_4) + return "1.4"; if (code == FHIRVersion._1_4_0) return "1.4.0"; + if (code == FHIRVersion._1_6) + return "1.6"; if (code == FHIRVersion._1_6_0) return "1.6.0"; + if (code == FHIRVersion._1_8) + return "1.8"; if (code == FHIRVersion._1_8_0) return "1.8.0"; + if (code == FHIRVersion._3_0) + return "3.0"; if (code == FHIRVersion._3_0_0) return "3.0.0"; if (code == FHIRVersion._3_0_1) return "3.0.1"; if (code == FHIRVersion._3_0_2) return "3.0.2"; + if (code == FHIRVersion._3_3) + return "3.3"; if (code == FHIRVersion._3_3_0) return "3.3.0"; + if (code == FHIRVersion._3_5) + return "3.5"; if (code == FHIRVersion._3_5_0) return "3.5.0"; + if (code == FHIRVersion._4_0) + return "4.0"; if (code == FHIRVersion._4_0_0) return "4.0.0"; if (code == FHIRVersion._4_0_1) return "4.0.1"; + if (code == FHIRVersion._4_1) + return "4.1"; if (code == FHIRVersion._4_1_0) return "4.1.0"; + if (code == FHIRVersion._4_2) + return "4.2"; if (code == FHIRVersion._4_2_0) return "4.2.0"; - if (code == FHIRVersion._4_3_0SNAPSHOT1) - return "4.3.0-snapshot1"; - if (code == FHIRVersion._4_3_0CIBUILD) - return "4.3.0-cibuild"; + if (code == FHIRVersion._4_3) + return "4.3"; if (code == FHIRVersion._4_3_0) return "4.3.0"; + if (code == FHIRVersion._4_4) + return "4.4"; if (code == FHIRVersion._4_4_0) return "4.4.0"; + if (code == FHIRVersion._4_5) + return "4.5"; if (code == FHIRVersion._4_5_0) return "4.5.0"; + if (code == FHIRVersion._4_6) + return "4.6"; if (code == FHIRVersion._4_6_0) return "4.6.0"; - if (code == FHIRVersion._5_0_0SNAPSHOT1) - return "5.0.0-snapshot1"; + if (code == FHIRVersion._4_3_0CIBUILD) + return "4.3.0-cibuild"; + if (code == FHIRVersion._4_3_0SNAPSHOT1) + return "4.3.0-snapshot1"; + if (code == FHIRVersion._5_0) + return "5.0"; + if (code == FHIRVersion._5_0_0) + return "5.0.0"; if (code == FHIRVersion._5_0_0CIBUILD) return "5.0.0-cibuild"; + if (code == FHIRVersion._5_0_0SNAPSHOT1) + return "5.0.0-snapshot1"; return "?"; } public String toSystem(FHIRVersion code) { @@ -9505,6 +9573,10 @@ public String toCode(int len) { * A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. */ APPOINTMENTRESPONSE, + /** + * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. + */ + ARTIFACTASSESSMENT, /** * A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis. */ @@ -9541,14 +9613,6 @@ public String toCode(int len) { * A compartment definition that defines how resources are accessed on a server. */ COMPARTMENTDEFINITION, - /** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ - CONCEPTMAP, - /** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ - CONCEPTMAP2, /** * Example of workflow instance. */ @@ -9573,10 +9637,6 @@ public String toCode(int len) { * This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context. */ ACTIVITYDEFINITION, - /** - * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. - */ - ARTIFACTASSESSMENT, /** * The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system. */ @@ -9585,6 +9645,10 @@ public String toCode(int len) { * The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources. */ CITATION, + /** + * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. + */ + CONCEPTMAP, /** * A definition of a condition and information relevant to managing it. */ @@ -9613,6 +9677,10 @@ public String toCode(int len) { * The Measure resource provides the definition of a quality measure. */ MEASURE, + /** + * 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. + */ + NAMINGSYSTEM, /** * This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications. */ @@ -9621,10 +9689,6 @@ public String toCode(int len) { * A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection. */ QUESTIONNAIRE, - /** - * 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. - */ - NAMINGSYSTEM, /** * A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). */ @@ -9641,6 +9705,10 @@ public String toCode(int len) { * A Map of relationships between 2 structures that can be used to transform data. */ STRUCTUREMAP, + /** + * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. + */ + SUBSCRIPTIONTOPIC, /** * A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation. */ @@ -9681,10 +9749,6 @@ public String toCode(int len) { * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. */ CLINICALUSEDEFINITION, - /** - * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. - */ - CLINICALUSEISSUE, /** * A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition. */ @@ -9766,7 +9830,7 @@ public String toCode(int len) { */ ENCOUNTER, /** - * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information. + * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information. */ ENDPOINT, /** @@ -9793,6 +9857,10 @@ public String toCode(int len) { * Prospective warnings of potential issues when providing care to the patient. */ FLAG, + /** + * This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself. + */ + FORMULARYITEM, /** * Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc. */ @@ -9886,13 +9954,13 @@ public String toCode(int len) { */ MEDICATIONREQUEST, /** - * A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. - + * A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. + The primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationusage is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. */ MEDICATIONUSAGE, /** - * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs). + * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.). */ MEDICINALPRODUCTDEFINITION, /** @@ -9900,11 +9968,11 @@ The primary difference between a medicationusage and a medicationadministration */ MESSAGEHEADER, /** - * Raw data describing a biological sequence. + * Representation of a molecular sequence. */ MOLECULARSEQUENCE, /** - * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. */ NUTRITIONINTAKE, /** @@ -9912,7 +9980,7 @@ The primary difference between a medicationusage and a medicationadministration */ NUTRITIONORDER, /** - * A food or fluid product that is consumed by patients. + * A food or supplement that is consumed by patients. */ NUTRITIONPRODUCT, /** @@ -9984,7 +10052,7 @@ The primary difference between a medicationusage and a medicationadministration */ REGULATEDAUTHORIZATION, /** - * 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 a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. */ RELATEDPERSON, /** @@ -10031,10 +10099,6 @@ The primary difference between a medicationusage and a medicationadministration * The SubscriptionStatus resource describes the state of a Subscription during notifications. */ SUBSCRIPTIONSTATUS, - /** - * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. - */ - SUBSCRIPTIONTOPIC, /** * A homogeneous material with a definite composition. */ @@ -10079,6 +10143,10 @@ The primary difference between a medicationusage and a medicationadministration * A summary of information based on the results of executing a TestScript. */ TESTREPORT, + /** + * Record of transport. + */ + TRANSPORT, /** * Describes validation requirements, source(s), status and dates for one or more elements. */ @@ -10088,7 +10156,7 @@ The primary difference between a medicationusage and a medicationadministration */ VISIONPRESCRIPTION, /** - * This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it. + * This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it. */ PARAMETERS, /** @@ -10118,6 +10186,8 @@ The primary difference between a medicationusage and a medicationadministration return APPOINTMENT; if ("AppointmentResponse".equals(codeString)) return APPOINTMENTRESPONSE; + if ("ArtifactAssessment".equals(codeString)) + return ARTIFACTASSESSMENT; if ("AuditEvent".equals(codeString)) return AUDITEVENT; if ("Basic".equals(codeString)) @@ -10136,10 +10206,6 @@ The primary difference between a medicationusage and a medicationadministration return CODESYSTEM; if ("CompartmentDefinition".equals(codeString)) return COMPARTMENTDEFINITION; - if ("ConceptMap".equals(codeString)) - return CONCEPTMAP; - if ("ConceptMap2".equals(codeString)) - return CONCEPTMAP2; if ("ExampleScenario".equals(codeString)) return EXAMPLESCENARIO; if ("GraphDefinition".equals(codeString)) @@ -10152,12 +10218,12 @@ The primary difference between a medicationusage and a medicationadministration return METADATARESOURCE; if ("ActivityDefinition".equals(codeString)) return ACTIVITYDEFINITION; - if ("ArtifactAssessment".equals(codeString)) - return ARTIFACTASSESSMENT; if ("ChargeItemDefinition".equals(codeString)) return CHARGEITEMDEFINITION; if ("Citation".equals(codeString)) return CITATION; + if ("ConceptMap".equals(codeString)) + return CONCEPTMAP; if ("ConditionDefinition".equals(codeString)) return CONDITIONDEFINITION; if ("EventDefinition".equals(codeString)) @@ -10172,12 +10238,12 @@ The primary difference between a medicationusage and a medicationadministration return LIBRARY; if ("Measure".equals(codeString)) return MEASURE; + if ("NamingSystem".equals(codeString)) + return NAMINGSYSTEM; if ("PlanDefinition".equals(codeString)) return PLANDEFINITION; if ("Questionnaire".equals(codeString)) return QUESTIONNAIRE; - if ("NamingSystem".equals(codeString)) - return NAMINGSYSTEM; if ("OperationDefinition".equals(codeString)) return OPERATIONDEFINITION; if ("SearchParameter".equals(codeString)) @@ -10186,6 +10252,8 @@ The primary difference between a medicationusage and a medicationadministration return STRUCTUREDEFINITION; if ("StructureMap".equals(codeString)) return STRUCTUREMAP; + if ("SubscriptionTopic".equals(codeString)) + return SUBSCRIPTIONTOPIC; if ("TerminologyCapabilities".equals(codeString)) return TERMINOLOGYCAPABILITIES; if ("TestScript".equals(codeString)) @@ -10206,8 +10274,6 @@ The primary difference between a medicationusage and a medicationadministration return CLINICALIMPRESSION; if ("ClinicalUseDefinition".equals(codeString)) return CLINICALUSEDEFINITION; - if ("ClinicalUseIssue".equals(codeString)) - return CLINICALUSEISSUE; if ("Communication".equals(codeString)) return COMMUNICATION; if ("CommunicationRequest".equals(codeString)) @@ -10262,6 +10328,8 @@ The primary difference between a medicationusage and a medicationadministration return FAMILYMEMBERHISTORY; if ("Flag".equals(codeString)) return FLAG; + if ("FormularyItem".equals(codeString)) + return FORMULARYITEM; if ("Goal".equals(codeString)) return GOAL; if ("Group".equals(codeString)) @@ -10380,8 +10448,6 @@ The primary difference between a medicationusage and a medicationadministration return SUBSCRIPTION; if ("SubscriptionStatus".equals(codeString)) return SUBSCRIPTIONSTATUS; - if ("SubscriptionTopic".equals(codeString)) - return SUBSCRIPTIONTOPIC; if ("Substance".equals(codeString)) return SUBSTANCE; if ("SubstanceDefinition".equals(codeString)) @@ -10404,6 +10470,8 @@ The primary difference between a medicationusage and a medicationadministration return TASK; if ("TestReport".equals(codeString)) return TESTREPORT; + if ("Transport".equals(codeString)) + return TRANSPORT; if ("VerificationResult".equals(codeString)) return VERIFICATIONRESULT; if ("VisionPrescription".equals(codeString)) @@ -10424,6 +10492,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "AllergyIntolerance"; case APPOINTMENT: return "Appointment"; case APPOINTMENTRESPONSE: return "AppointmentResponse"; + case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case AUDITEVENT: return "AuditEvent"; case BASIC: return "Basic"; case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct"; @@ -10433,17 +10502,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "CapabilityStatement2"; case CODESYSTEM: return "CodeSystem"; case COMPARTMENTDEFINITION: return "CompartmentDefinition"; - case CONCEPTMAP: return "ConceptMap"; - case CONCEPTMAP2: return "ConceptMap2"; case EXAMPLESCENARIO: return "ExampleScenario"; case GRAPHDEFINITION: return "GraphDefinition"; case IMPLEMENTATIONGUIDE: return "ImplementationGuide"; case MESSAGEDEFINITION: return "MessageDefinition"; case METADATARESOURCE: return "MetadataResource"; case ACTIVITYDEFINITION: return "ActivityDefinition"; - case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case CHARGEITEMDEFINITION: return "ChargeItemDefinition"; case CITATION: return "Citation"; + case CONCEPTMAP: return "ConceptMap"; case CONDITIONDEFINITION: return "ConditionDefinition"; case EVENTDEFINITION: return "EventDefinition"; case EVIDENCE: return "Evidence"; @@ -10451,13 +10518,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "EvidenceVariable"; case LIBRARY: return "Library"; case MEASURE: return "Measure"; + case NAMINGSYSTEM: return "NamingSystem"; case PLANDEFINITION: return "PlanDefinition"; case QUESTIONNAIRE: return "Questionnaire"; - case NAMINGSYSTEM: return "NamingSystem"; case OPERATIONDEFINITION: return "OperationDefinition"; case SEARCHPARAMETER: return "SearchParameter"; case STRUCTUREDEFINITION: return "StructureDefinition"; case STRUCTUREMAP: return "StructureMap"; + case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities"; case TESTSCRIPT: return "TestScript"; case VALUESET: return "ValueSet"; @@ -10468,7 +10536,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "ClaimResponse"; case CLINICALIMPRESSION: return "ClinicalImpression"; case CLINICALUSEDEFINITION: return "ClinicalUseDefinition"; - case CLINICALUSEISSUE: return "ClinicalUseIssue"; case COMMUNICATION: return "Communication"; case COMMUNICATIONREQUEST: return "CommunicationRequest"; case COMPOSITION: return "Composition"; @@ -10496,6 +10563,7 @@ The primary difference between a medicationusage and a medicationadministration case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit"; case FAMILYMEMBERHISTORY: return "FamilyMemberHistory"; case FLAG: return "Flag"; + case FORMULARYITEM: return "FormularyItem"; case GOAL: return "Goal"; case GROUP: return "Group"; case GUIDANCERESPONSE: return "GuidanceResponse"; @@ -10555,7 +10623,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "SpecimenDefinition"; case SUBSCRIPTION: return "Subscription"; case SUBSCRIPTIONSTATUS: return "SubscriptionStatus"; - case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case SUBSTANCE: return "Substance"; case SUBSTANCEDEFINITION: return "SubstanceDefinition"; case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid"; @@ -10567,6 +10634,7 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case TESTREPORT: return "TestReport"; + case TRANSPORT: return "Transport"; case VERIFICATIONRESULT: return "VerificationResult"; case VISIONPRESCRIPTION: return "VisionPrescription"; case PARAMETERS: return "Parameters"; @@ -10586,6 +10654,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "http://hl7.org/fhir/resource-types"; case APPOINTMENT: return "http://hl7.org/fhir/resource-types"; case APPOINTMENTRESPONSE: return "http://hl7.org/fhir/resource-types"; + case ARTIFACTASSESSMENT: return "http://hl7.org/fhir/resource-types"; case AUDITEVENT: return "http://hl7.org/fhir/resource-types"; case BASIC: return "http://hl7.org/fhir/resource-types"; case BIOLOGICALLYDERIVEDPRODUCT: return "http://hl7.org/fhir/resource-types"; @@ -10595,17 +10664,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "http://hl7.org/fhir/resource-types"; case CODESYSTEM: return "http://hl7.org/fhir/resource-types"; case COMPARTMENTDEFINITION: return "http://hl7.org/fhir/resource-types"; - case CONCEPTMAP: return "http://hl7.org/fhir/resource-types"; - case CONCEPTMAP2: return "http://hl7.org/fhir/resource-types"; case EXAMPLESCENARIO: return "http://hl7.org/fhir/resource-types"; case GRAPHDEFINITION: return "http://hl7.org/fhir/resource-types"; case IMPLEMENTATIONGUIDE: return "http://hl7.org/fhir/resource-types"; case MESSAGEDEFINITION: return "http://hl7.org/fhir/resource-types"; case METADATARESOURCE: return "http://hl7.org/fhir/resource-types"; case ACTIVITYDEFINITION: return "http://hl7.org/fhir/resource-types"; - case ARTIFACTASSESSMENT: return "http://hl7.org/fhir/resource-types"; case CHARGEITEMDEFINITION: return "http://hl7.org/fhir/resource-types"; case CITATION: return "http://hl7.org/fhir/resource-types"; + case CONCEPTMAP: return "http://hl7.org/fhir/resource-types"; case CONDITIONDEFINITION: return "http://hl7.org/fhir/resource-types"; case EVENTDEFINITION: return "http://hl7.org/fhir/resource-types"; case EVIDENCE: return "http://hl7.org/fhir/resource-types"; @@ -10613,13 +10680,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "http://hl7.org/fhir/resource-types"; case LIBRARY: return "http://hl7.org/fhir/resource-types"; case MEASURE: return "http://hl7.org/fhir/resource-types"; + case NAMINGSYSTEM: return "http://hl7.org/fhir/resource-types"; case PLANDEFINITION: return "http://hl7.org/fhir/resource-types"; case QUESTIONNAIRE: return "http://hl7.org/fhir/resource-types"; - case NAMINGSYSTEM: return "http://hl7.org/fhir/resource-types"; case OPERATIONDEFINITION: return "http://hl7.org/fhir/resource-types"; case SEARCHPARAMETER: return "http://hl7.org/fhir/resource-types"; case STRUCTUREDEFINITION: return "http://hl7.org/fhir/resource-types"; case STRUCTUREMAP: return "http://hl7.org/fhir/resource-types"; + case SUBSCRIPTIONTOPIC: return "http://hl7.org/fhir/resource-types"; case TERMINOLOGYCAPABILITIES: return "http://hl7.org/fhir/resource-types"; case TESTSCRIPT: return "http://hl7.org/fhir/resource-types"; case VALUESET: return "http://hl7.org/fhir/resource-types"; @@ -10630,7 +10698,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "http://hl7.org/fhir/resource-types"; case CLINICALIMPRESSION: return "http://hl7.org/fhir/resource-types"; case CLINICALUSEDEFINITION: return "http://hl7.org/fhir/resource-types"; - case CLINICALUSEISSUE: return "http://hl7.org/fhir/resource-types"; case COMMUNICATION: return "http://hl7.org/fhir/resource-types"; case COMMUNICATIONREQUEST: return "http://hl7.org/fhir/resource-types"; case COMPOSITION: return "http://hl7.org/fhir/resource-types"; @@ -10658,6 +10725,7 @@ The primary difference between a medicationusage and a medicationadministration case EXPLANATIONOFBENEFIT: return "http://hl7.org/fhir/resource-types"; case FAMILYMEMBERHISTORY: return "http://hl7.org/fhir/resource-types"; case FLAG: return "http://hl7.org/fhir/resource-types"; + case FORMULARYITEM: return "http://hl7.org/fhir/resource-types"; case GOAL: return "http://hl7.org/fhir/resource-types"; case GROUP: return "http://hl7.org/fhir/resource-types"; case GUIDANCERESPONSE: return "http://hl7.org/fhir/resource-types"; @@ -10717,7 +10785,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "http://hl7.org/fhir/resource-types"; case SUBSCRIPTION: return "http://hl7.org/fhir/resource-types"; case SUBSCRIPTIONSTATUS: return "http://hl7.org/fhir/resource-types"; - case SUBSCRIPTIONTOPIC: return "http://hl7.org/fhir/resource-types"; case SUBSTANCE: return "http://hl7.org/fhir/resource-types"; case SUBSTANCEDEFINITION: return "http://hl7.org/fhir/resource-types"; case SUBSTANCENUCLEICACID: return "http://hl7.org/fhir/resource-types"; @@ -10729,6 +10796,7 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "http://hl7.org/fhir/resource-types"; case TASK: return "http://hl7.org/fhir/resource-types"; case TESTREPORT: return "http://hl7.org/fhir/resource-types"; + case TRANSPORT: return "http://hl7.org/fhir/resource-types"; case VERIFICATIONRESULT: return "http://hl7.org/fhir/resource-types"; case VISIONPRESCRIPTION: return "http://hl7.org/fhir/resource-types"; case PARAMETERS: return "http://hl7.org/fhir/resource-types"; @@ -10748,6 +10816,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance."; case APPOINTMENT: return "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)."; case APPOINTMENTRESPONSE: return "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection."; + case ARTIFACTASSESSMENT: return "This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."; case AUDITEVENT: return "A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis."; case BASIC: return "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."; case BIOLOGICALLYDERIVEDPRODUCT: return "A biological material originating from a biological entity intended to be transplanted or infused into another (possibly the same) biological entity."; @@ -10757,17 +10826,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation."; case CODESYSTEM: return "The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content."; case COMPARTMENTDEFINITION: return "A compartment definition that defines how resources are accessed on a server."; - case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; - case CONCEPTMAP2: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; case EXAMPLESCENARIO: return "Example of workflow instance."; case GRAPHDEFINITION: return "A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set."; case IMPLEMENTATIONGUIDE: return "A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. 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."; case MESSAGEDEFINITION: return "Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted."; case METADATARESOURCE: return "--- Abstract Type! ---Common Ancestor declaration for conformance and knowledge artifact resources."; case ACTIVITYDEFINITION: return "This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context."; - case ARTIFACTASSESSMENT: return "This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."; case CHARGEITEMDEFINITION: return "The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system."; case CITATION: return "The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources."; + case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; case CONDITIONDEFINITION: return "A definition of a condition and information relevant to managing it."; case EVENTDEFINITION: return "The EventDefinition resource provides a reusable description of when a particular event can occur."; case EVIDENCE: return "The Evidence Resource provides a machine-interpretable expression of an evidence concept including the evidence variables (e.g., population, exposures/interventions, comparators, outcomes, measured variables, confounding variables), the statistics, and the certainty of this evidence."; @@ -10775,13 +10842,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "The EvidenceVariable resource describes an element that knowledge (Evidence) is about."; case LIBRARY: return "The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."; case MEASURE: return "The Measure resource provides the definition of a quality measure."; + case NAMINGSYSTEM: return "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."; case PLANDEFINITION: return "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."; case QUESTIONNAIRE: return "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection."; - case NAMINGSYSTEM: return "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."; case OPERATIONDEFINITION: return "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)."; case SEARCHPARAMETER: return "A search parameter that defines a named search item that can be used to search/filter on a resource."; case STRUCTUREDEFINITION: return "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."; case STRUCTUREMAP: return "A Map of relationships between 2 structures that can be used to transform data."; + case SUBSCRIPTIONTOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic."; case TERMINOLOGYCAPABILITIES: return "A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation."; case TESTSCRIPT: return "A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification."; case VALUESET: return "A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [[[CodeSystem]]] definitions and their use in [coded elements](terminologies.html)."; @@ -10792,7 +10860,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "This resource provides the adjudication details from the processing of a Claim resource."; case CLINICALIMPRESSION: return "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."; case CLINICALUSEDEFINITION: return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure."; - case CLINICALUSEISSUE: return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure."; case COMMUNICATION: return "A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition."; case COMMUNICATIONREQUEST: return "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."; case COMPOSITION: return "A set of healthcare-related information that is assembled together into a single logical package 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 Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.)."; @@ -10813,13 +10880,14 @@ The primary difference between a medicationusage and a medicationadministration case DOCUMENTMANIFEST: return "A collection of documents compiled for a purpose together with metadata that applies to the collection."; case DOCUMENTREFERENCE: return "A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this \"document\" encompasses *any* serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference."; case ENCOUNTER: return "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."; - case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information."; + case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information."; case ENROLLMENTREQUEST: return "This resource provides the insurance enrollment details to the insurer regarding a specified coverage."; case ENROLLMENTRESPONSE: return "This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource."; case EPISODEOFCARE: return "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."; case EXPLANATIONOFBENEFIT: return "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."; case FAMILYMEMBERHISTORY: return "Significant health conditions for a person related to the patient relevant in the context of care for the patient."; case FLAG: return "Prospective warnings of potential issues when providing care to the patient."; + case FORMULARYITEM: return "This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself."; case GOAL: return "Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc."; case GROUP: return "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."; case GUIDANCERESPONSE: return "A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken."; @@ -10844,12 +10912,12 @@ The primary difference between a medicationusage and a medicationadministration case MEDICATIONKNOWLEDGE: return "Information about a medication that is used to support knowledge."; case MEDICATIONREQUEST: return "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns."; case MEDICATIONUSAGE: return "A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. \n\nThe primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationusage is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information."; - case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs)."; + case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.)."; case MESSAGEHEADER: return "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."; - case MOLECULARSEQUENCE: return "Raw data describing a biological sequence."; - case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake."; + case MOLECULARSEQUENCE: return "Representation of a molecular sequence."; + case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake."; case NUTRITIONORDER: return "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident."; - case NUTRITIONPRODUCT: return "A food or fluid product that is consumed by patients."; + case NUTRITIONPRODUCT: return "A food or supplement that is consumed by patients."; case OBSERVATION: return "Measurements and simple assertions made about a patient, device or other subject."; case OBSERVATIONDEFINITION: return "Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service."; case OPERATIONOUTCOME: return "A collection of error, warning, or information messages that result from a system action."; @@ -10867,7 +10935,7 @@ The primary difference between a medicationusage and a medicationadministration case PROVENANCE: return "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."; case QUESTIONNAIRERESPONSE: return "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 questionnaire being responded to."; case REGULATEDAUTHORIZATION: return "Regulatory approval, clearance or licencing related to a regulated product, treatment, facility or activity that is cited in a guidance, regulation, rule or legislative act. An example is Market Authorization relating to a Medicinal Product."; - case RELATEDPERSON: return "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."; + case RELATEDPERSON: return "Information about a person that is involved in a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process."; case REQUESTGROUP: return "A group of related requests that can be used to capture intended activities that have inter-dependencies such as \"give this medication after that one\"."; case RESEARCHSTUDY: return "A process where a researcher or organization plans and then executes a series of steps intended to increase the field of healthcare-related knowledge. This includes studies of safety, efficacy, comparative effectiveness and other information about medications, devices, therapies and other interventional and investigative techniques. A ResearchStudy involves the gathering of information about human or animal subjects."; case RESEARCHSUBJECT: return "A physical entity which is the primary unit of operational and/or administrative interest in a study."; @@ -10879,7 +10947,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "A kind of specimen with associated set of requirements."; case SUBSCRIPTION: return "The subscription resource describes a particular client's request to be notified about a SubscriptionTopic."; case SUBSCRIPTIONSTATUS: return "The SubscriptionStatus resource describes the state of a Subscription during notifications."; - case SUBSCRIPTIONTOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic."; case SUBSTANCE: return "A homogeneous material with a definite composition."; case SUBSTANCEDEFINITION: return "The detailed description of a substance, typically at a level beyond what is used for prescribing."; case SUBSTANCENUCLEICACID: return "Nucleic acids are defined by three distinct elements: the base, sugar and linkage. Individual substance/moiety IDs will be created for each of these elements. The nucleotide sequence will be always entered in the 5’-3’ direction."; @@ -10891,9 +10958,10 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "A record of a non-patient specific request for a medication, substance, device, certain types of biologically derived product, and nutrition product used in the healthcare setting."; case TASK: return "A task to be performed."; case TESTREPORT: return "A summary of information based on the results of executing a TestScript."; + case TRANSPORT: return "Record of transport."; case VERIFICATIONRESULT: return "Describes validation requirements, source(s), status and dates for one or more elements."; case VISIONPRESCRIPTION: return "An authorization for the provision of glasses and/or contact lenses to a patient."; - case PARAMETERS: return "This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it."; + case PARAMETERS: return "This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it."; case NULL: return null; default: return "?"; } @@ -10910,6 +10978,7 @@ The primary difference between a medicationusage and a medicationadministration case ALLERGYINTOLERANCE: return "AllergyIntolerance"; case APPOINTMENT: return "Appointment"; case APPOINTMENTRESPONSE: return "AppointmentResponse"; + case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case AUDITEVENT: return "AuditEvent"; case BASIC: return "Basic"; case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct"; @@ -10919,17 +10988,15 @@ The primary difference between a medicationusage and a medicationadministration case CAPABILITYSTATEMENT2: return "CapabilityStatement2"; case CODESYSTEM: return "CodeSystem"; case COMPARTMENTDEFINITION: return "CompartmentDefinition"; - case CONCEPTMAP: return "ConceptMap"; - case CONCEPTMAP2: return "ConceptMap2"; case EXAMPLESCENARIO: return "ExampleScenario"; case GRAPHDEFINITION: return "GraphDefinition"; case IMPLEMENTATIONGUIDE: return "ImplementationGuide"; case MESSAGEDEFINITION: return "MessageDefinition"; case METADATARESOURCE: return "MetadataResource"; case ACTIVITYDEFINITION: return "ActivityDefinition"; - case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case CHARGEITEMDEFINITION: return "ChargeItemDefinition"; case CITATION: return "Citation"; + case CONCEPTMAP: return "ConceptMap"; case CONDITIONDEFINITION: return "ConditionDefinition"; case EVENTDEFINITION: return "EventDefinition"; case EVIDENCE: return "Evidence"; @@ -10937,13 +11004,14 @@ The primary difference between a medicationusage and a medicationadministration case EVIDENCEVARIABLE: return "EvidenceVariable"; case LIBRARY: return "Library"; case MEASURE: return "Measure"; + case NAMINGSYSTEM: return "NamingSystem"; case PLANDEFINITION: return "PlanDefinition"; case QUESTIONNAIRE: return "Questionnaire"; - case NAMINGSYSTEM: return "NamingSystem"; case OPERATIONDEFINITION: return "OperationDefinition"; case SEARCHPARAMETER: return "SearchParameter"; case STRUCTUREDEFINITION: return "StructureDefinition"; case STRUCTUREMAP: return "StructureMap"; + case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities"; case TESTSCRIPT: return "TestScript"; case VALUESET: return "ValueSet"; @@ -10954,7 +11022,6 @@ The primary difference between a medicationusage and a medicationadministration case CLAIMRESPONSE: return "ClaimResponse"; case CLINICALIMPRESSION: return "ClinicalImpression"; case CLINICALUSEDEFINITION: return "ClinicalUseDefinition"; - case CLINICALUSEISSUE: return "ClinicalUseIssue"; case COMMUNICATION: return "Communication"; case COMMUNICATIONREQUEST: return "CommunicationRequest"; case COMPOSITION: return "Composition"; @@ -10982,6 +11049,7 @@ The primary difference between a medicationusage and a medicationadministration case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit"; case FAMILYMEMBERHISTORY: return "FamilyMemberHistory"; case FLAG: return "Flag"; + case FORMULARYITEM: return "FormularyItem"; case GOAL: return "Goal"; case GROUP: return "Group"; case GUIDANCERESPONSE: return "GuidanceResponse"; @@ -11041,7 +11109,6 @@ The primary difference between a medicationusage and a medicationadministration case SPECIMENDEFINITION: return "SpecimenDefinition"; case SUBSCRIPTION: return "Subscription"; case SUBSCRIPTIONSTATUS: return "SubscriptionStatus"; - case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case SUBSTANCE: return "Substance"; case SUBSTANCEDEFINITION: return "SubstanceDefinition"; case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid"; @@ -11053,6 +11120,7 @@ The primary difference between a medicationusage and a medicationadministration case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case TESTREPORT: return "TestReport"; + case TRANSPORT: return "Transport"; case VERIFICATIONRESULT: return "VerificationResult"; case VISIONPRESCRIPTION: return "VisionPrescription"; case PARAMETERS: return "Parameters"; @@ -11087,6 +11155,8 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.APPOINTMENT; if ("AppointmentResponse".equals(codeString)) return ResourceTypeEnum.APPOINTMENTRESPONSE; + if ("ArtifactAssessment".equals(codeString)) + return ResourceTypeEnum.ARTIFACTASSESSMENT; if ("AuditEvent".equals(codeString)) return ResourceTypeEnum.AUDITEVENT; if ("Basic".equals(codeString)) @@ -11105,10 +11175,6 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.CODESYSTEM; if ("CompartmentDefinition".equals(codeString)) return ResourceTypeEnum.COMPARTMENTDEFINITION; - if ("ConceptMap".equals(codeString)) - return ResourceTypeEnum.CONCEPTMAP; - if ("ConceptMap2".equals(codeString)) - return ResourceTypeEnum.CONCEPTMAP2; if ("ExampleScenario".equals(codeString)) return ResourceTypeEnum.EXAMPLESCENARIO; if ("GraphDefinition".equals(codeString)) @@ -11121,12 +11187,12 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.METADATARESOURCE; if ("ActivityDefinition".equals(codeString)) return ResourceTypeEnum.ACTIVITYDEFINITION; - if ("ArtifactAssessment".equals(codeString)) - return ResourceTypeEnum.ARTIFACTASSESSMENT; if ("ChargeItemDefinition".equals(codeString)) return ResourceTypeEnum.CHARGEITEMDEFINITION; if ("Citation".equals(codeString)) return ResourceTypeEnum.CITATION; + if ("ConceptMap".equals(codeString)) + return ResourceTypeEnum.CONCEPTMAP; if ("ConditionDefinition".equals(codeString)) return ResourceTypeEnum.CONDITIONDEFINITION; if ("EventDefinition".equals(codeString)) @@ -11141,12 +11207,12 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.LIBRARY; if ("Measure".equals(codeString)) return ResourceTypeEnum.MEASURE; + if ("NamingSystem".equals(codeString)) + return ResourceTypeEnum.NAMINGSYSTEM; if ("PlanDefinition".equals(codeString)) return ResourceTypeEnum.PLANDEFINITION; if ("Questionnaire".equals(codeString)) return ResourceTypeEnum.QUESTIONNAIRE; - if ("NamingSystem".equals(codeString)) - return ResourceTypeEnum.NAMINGSYSTEM; if ("OperationDefinition".equals(codeString)) return ResourceTypeEnum.OPERATIONDEFINITION; if ("SearchParameter".equals(codeString)) @@ -11155,6 +11221,8 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.STRUCTUREDEFINITION; if ("StructureMap".equals(codeString)) return ResourceTypeEnum.STRUCTUREMAP; + if ("SubscriptionTopic".equals(codeString)) + return ResourceTypeEnum.SUBSCRIPTIONTOPIC; if ("TerminologyCapabilities".equals(codeString)) return ResourceTypeEnum.TERMINOLOGYCAPABILITIES; if ("TestScript".equals(codeString)) @@ -11175,8 +11243,6 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.CLINICALIMPRESSION; if ("ClinicalUseDefinition".equals(codeString)) return ResourceTypeEnum.CLINICALUSEDEFINITION; - if ("ClinicalUseIssue".equals(codeString)) - return ResourceTypeEnum.CLINICALUSEISSUE; if ("Communication".equals(codeString)) return ResourceTypeEnum.COMMUNICATION; if ("CommunicationRequest".equals(codeString)) @@ -11231,6 +11297,8 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.FAMILYMEMBERHISTORY; if ("Flag".equals(codeString)) return ResourceTypeEnum.FLAG; + if ("FormularyItem".equals(codeString)) + return ResourceTypeEnum.FORMULARYITEM; if ("Goal".equals(codeString)) return ResourceTypeEnum.GOAL; if ("Group".equals(codeString)) @@ -11349,8 +11417,6 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.SUBSCRIPTION; if ("SubscriptionStatus".equals(codeString)) return ResourceTypeEnum.SUBSCRIPTIONSTATUS; - if ("SubscriptionTopic".equals(codeString)) - return ResourceTypeEnum.SUBSCRIPTIONTOPIC; if ("Substance".equals(codeString)) return ResourceTypeEnum.SUBSTANCE; if ("SubstanceDefinition".equals(codeString)) @@ -11373,6 +11439,8 @@ The primary difference between a medicationusage and a medicationadministration return ResourceTypeEnum.TASK; if ("TestReport".equals(codeString)) return ResourceTypeEnum.TESTREPORT; + if ("Transport".equals(codeString)) + return ResourceTypeEnum.TRANSPORT; if ("VerificationResult".equals(codeString)) return ResourceTypeEnum.VERIFICATIONRESULT; if ("VisionPrescription".equals(codeString)) @@ -11409,6 +11477,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.APPOINTMENT); if ("AppointmentResponse".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.APPOINTMENTRESPONSE); + if ("ArtifactAssessment".equals(codeString)) + return new Enumeration(this, ResourceTypeEnum.ARTIFACTASSESSMENT); if ("AuditEvent".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.AUDITEVENT); if ("Basic".equals(codeString)) @@ -11427,10 +11497,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.CODESYSTEM); if ("CompartmentDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.COMPARTMENTDEFINITION); - if ("ConceptMap".equals(codeString)) - return new Enumeration(this, ResourceTypeEnum.CONCEPTMAP); - if ("ConceptMap2".equals(codeString)) - return new Enumeration(this, ResourceTypeEnum.CONCEPTMAP2); if ("ExampleScenario".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.EXAMPLESCENARIO); if ("GraphDefinition".equals(codeString)) @@ -11443,12 +11509,12 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.METADATARESOURCE); if ("ActivityDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.ACTIVITYDEFINITION); - if ("ArtifactAssessment".equals(codeString)) - return new Enumeration(this, ResourceTypeEnum.ARTIFACTASSESSMENT); if ("ChargeItemDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.CHARGEITEMDEFINITION); if ("Citation".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.CITATION); + if ("ConceptMap".equals(codeString)) + return new Enumeration(this, ResourceTypeEnum.CONCEPTMAP); if ("ConditionDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.CONDITIONDEFINITION); if ("EventDefinition".equals(codeString)) @@ -11463,12 +11529,12 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.LIBRARY); if ("Measure".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.MEASURE); + if ("NamingSystem".equals(codeString)) + return new Enumeration(this, ResourceTypeEnum.NAMINGSYSTEM); if ("PlanDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.PLANDEFINITION); if ("Questionnaire".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.QUESTIONNAIRE); - if ("NamingSystem".equals(codeString)) - return new Enumeration(this, ResourceTypeEnum.NAMINGSYSTEM); if ("OperationDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.OPERATIONDEFINITION); if ("SearchParameter".equals(codeString)) @@ -11477,6 +11543,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.STRUCTUREDEFINITION); if ("StructureMap".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.STRUCTUREMAP); + if ("SubscriptionTopic".equals(codeString)) + return new Enumeration(this, ResourceTypeEnum.SUBSCRIPTIONTOPIC); if ("TerminologyCapabilities".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.TERMINOLOGYCAPABILITIES); if ("TestScript".equals(codeString)) @@ -11497,8 +11565,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.CLINICALIMPRESSION); if ("ClinicalUseDefinition".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.CLINICALUSEDEFINITION); - if ("ClinicalUseIssue".equals(codeString)) - return new Enumeration(this, ResourceTypeEnum.CLINICALUSEISSUE); if ("Communication".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.COMMUNICATION); if ("CommunicationRequest".equals(codeString)) @@ -11553,6 +11619,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.FAMILYMEMBERHISTORY); if ("Flag".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.FLAG); + if ("FormularyItem".equals(codeString)) + return new Enumeration(this, ResourceTypeEnum.FORMULARYITEM); if ("Goal".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.GOAL); if ("Group".equals(codeString)) @@ -11671,8 +11739,6 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.SUBSCRIPTION); if ("SubscriptionStatus".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.SUBSCRIPTIONSTATUS); - if ("SubscriptionTopic".equals(codeString)) - return new Enumeration(this, ResourceTypeEnum.SUBSCRIPTIONTOPIC); if ("Substance".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.SUBSTANCE); if ("SubstanceDefinition".equals(codeString)) @@ -11695,6 +11761,8 @@ The primary difference between a medicationusage and a medicationadministration return new Enumeration(this, ResourceTypeEnum.TASK); if ("TestReport".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.TESTREPORT); + if ("Transport".equals(codeString)) + return new Enumeration(this, ResourceTypeEnum.TRANSPORT); if ("VerificationResult".equals(codeString)) return new Enumeration(this, ResourceTypeEnum.VERIFICATIONRESULT); if ("VisionPrescription".equals(codeString)) @@ -11724,6 +11792,8 @@ The primary difference between a medicationusage and a medicationadministration return "Appointment"; if (code == ResourceTypeEnum.APPOINTMENTRESPONSE) return "AppointmentResponse"; + if (code == ResourceTypeEnum.ARTIFACTASSESSMENT) + return "ArtifactAssessment"; if (code == ResourceTypeEnum.AUDITEVENT) return "AuditEvent"; if (code == ResourceTypeEnum.BASIC) @@ -11742,10 +11812,6 @@ The primary difference between a medicationusage and a medicationadministration return "CodeSystem"; if (code == ResourceTypeEnum.COMPARTMENTDEFINITION) return "CompartmentDefinition"; - if (code == ResourceTypeEnum.CONCEPTMAP) - return "ConceptMap"; - if (code == ResourceTypeEnum.CONCEPTMAP2) - return "ConceptMap2"; if (code == ResourceTypeEnum.EXAMPLESCENARIO) return "ExampleScenario"; if (code == ResourceTypeEnum.GRAPHDEFINITION) @@ -11758,12 +11824,12 @@ The primary difference between a medicationusage and a medicationadministration return "MetadataResource"; if (code == ResourceTypeEnum.ACTIVITYDEFINITION) return "ActivityDefinition"; - if (code == ResourceTypeEnum.ARTIFACTASSESSMENT) - return "ArtifactAssessment"; if (code == ResourceTypeEnum.CHARGEITEMDEFINITION) return "ChargeItemDefinition"; if (code == ResourceTypeEnum.CITATION) return "Citation"; + if (code == ResourceTypeEnum.CONCEPTMAP) + return "ConceptMap"; if (code == ResourceTypeEnum.CONDITIONDEFINITION) return "ConditionDefinition"; if (code == ResourceTypeEnum.EVENTDEFINITION) @@ -11778,12 +11844,12 @@ The primary difference between a medicationusage and a medicationadministration return "Library"; if (code == ResourceTypeEnum.MEASURE) return "Measure"; + if (code == ResourceTypeEnum.NAMINGSYSTEM) + return "NamingSystem"; if (code == ResourceTypeEnum.PLANDEFINITION) return "PlanDefinition"; if (code == ResourceTypeEnum.QUESTIONNAIRE) return "Questionnaire"; - if (code == ResourceTypeEnum.NAMINGSYSTEM) - return "NamingSystem"; if (code == ResourceTypeEnum.OPERATIONDEFINITION) return "OperationDefinition"; if (code == ResourceTypeEnum.SEARCHPARAMETER) @@ -11792,6 +11858,8 @@ The primary difference between a medicationusage and a medicationadministration return "StructureDefinition"; if (code == ResourceTypeEnum.STRUCTUREMAP) return "StructureMap"; + if (code == ResourceTypeEnum.SUBSCRIPTIONTOPIC) + return "SubscriptionTopic"; if (code == ResourceTypeEnum.TERMINOLOGYCAPABILITIES) return "TerminologyCapabilities"; if (code == ResourceTypeEnum.TESTSCRIPT) @@ -11812,8 +11880,6 @@ The primary difference between a medicationusage and a medicationadministration return "ClinicalImpression"; if (code == ResourceTypeEnum.CLINICALUSEDEFINITION) return "ClinicalUseDefinition"; - if (code == ResourceTypeEnum.CLINICALUSEISSUE) - return "ClinicalUseIssue"; if (code == ResourceTypeEnum.COMMUNICATION) return "Communication"; if (code == ResourceTypeEnum.COMMUNICATIONREQUEST) @@ -11868,6 +11934,8 @@ The primary difference between a medicationusage and a medicationadministration return "FamilyMemberHistory"; if (code == ResourceTypeEnum.FLAG) return "Flag"; + if (code == ResourceTypeEnum.FORMULARYITEM) + return "FormularyItem"; if (code == ResourceTypeEnum.GOAL) return "Goal"; if (code == ResourceTypeEnum.GROUP) @@ -11986,8 +12054,6 @@ The primary difference between a medicationusage and a medicationadministration return "Subscription"; if (code == ResourceTypeEnum.SUBSCRIPTIONSTATUS) return "SubscriptionStatus"; - if (code == ResourceTypeEnum.SUBSCRIPTIONTOPIC) - return "SubscriptionTopic"; if (code == ResourceTypeEnum.SUBSTANCE) return "Substance"; if (code == ResourceTypeEnum.SUBSTANCEDEFINITION) @@ -12010,6 +12076,8 @@ The primary difference between a medicationusage and a medicationadministration return "Task"; if (code == ResourceTypeEnum.TESTREPORT) return "TestReport"; + if (code == ResourceTypeEnum.TRANSPORT) + return "Transport"; if (code == ResourceTypeEnum.VERIFICATIONRESULT) return "VerificationResult"; if (code == ResourceTypeEnum.VISIONPRESCRIPTION) @@ -12622,7 +12690,7 @@ The primary difference between a medicationusage and a medicationadministration } } - public enum SubscriptionState { + public enum SubscriptionStatusCodes { /** * The client has requested the subscription, and the server has not yet set it up. */ @@ -12647,7 +12715,7 @@ The primary difference between a medicationusage and a medicationadministration * added to help the parsers */ NULL; - public static SubscriptionState fromCode(String codeString) throws FHIRException { + public static SubscriptionStatusCodes fromCode(String codeString) throws FHIRException { if (codeString == null || "".equals(codeString)) return null; if ("requested".equals(codeString)) @@ -12660,7 +12728,7 @@ The primary difference between a medicationusage and a medicationadministration return OFF; if ("entered-in-error".equals(codeString)) return ENTEREDINERROR; - throw new FHIRException("Unknown SubscriptionState code '"+codeString+"'"); + throw new FHIRException("Unknown SubscriptionStatusCodes code '"+codeString+"'"); } public String toCode() { switch (this) { @@ -12675,11 +12743,11 @@ The primary difference between a medicationusage and a medicationadministration } public String getSystem() { switch (this) { - case REQUESTED: return "http://terminology.hl7.org/CodeSystem/subscription-state"; - case ACTIVE: return "http://terminology.hl7.org/CodeSystem/subscription-state"; - case ERROR: return "http://terminology.hl7.org/CodeSystem/subscription-state"; - case OFF: return "http://terminology.hl7.org/CodeSystem/subscription-state"; - case ENTEREDINERROR: return "http://terminology.hl7.org/CodeSystem/subscription-state"; + case REQUESTED: return "http://terminology.hl7.org/CodeSystem/subscription-status"; + case ACTIVE: return "http://terminology.hl7.org/CodeSystem/subscription-status"; + case ERROR: return "http://terminology.hl7.org/CodeSystem/subscription-status"; + case OFF: return "http://terminology.hl7.org/CodeSystem/subscription-status"; + case ENTEREDINERROR: return "http://terminology.hl7.org/CodeSystem/subscription-status"; case NULL: return null; default: return "?"; } @@ -12708,57 +12776,57 @@ The primary difference between a medicationusage and a medicationadministration } } - public static class SubscriptionStateEnumFactory implements EnumFactory { - public SubscriptionState fromCode(String codeString) throws IllegalArgumentException { + public static class SubscriptionStatusCodesEnumFactory implements EnumFactory { + public SubscriptionStatusCodes fromCode(String codeString) throws IllegalArgumentException { if (codeString == null || "".equals(codeString)) if (codeString == null || "".equals(codeString)) return null; if ("requested".equals(codeString)) - return SubscriptionState.REQUESTED; + return SubscriptionStatusCodes.REQUESTED; if ("active".equals(codeString)) - return SubscriptionState.ACTIVE; + return SubscriptionStatusCodes.ACTIVE; if ("error".equals(codeString)) - return SubscriptionState.ERROR; + return SubscriptionStatusCodes.ERROR; if ("off".equals(codeString)) - return SubscriptionState.OFF; + return SubscriptionStatusCodes.OFF; if ("entered-in-error".equals(codeString)) - return SubscriptionState.ENTEREDINERROR; - throw new IllegalArgumentException("Unknown SubscriptionState code '"+codeString+"'"); + return SubscriptionStatusCodes.ENTEREDINERROR; + throw new IllegalArgumentException("Unknown SubscriptionStatusCodes code '"+codeString+"'"); } - public Enumeration fromType(Base code) throws FHIRException { + public Enumeration fromType(Base code) throws FHIRException { if (code == null) return null; if (code.isEmpty()) - return new Enumeration(this); + return new Enumeration(this); String codeString = ((PrimitiveType) code).asStringValue(); if (codeString == null || "".equals(codeString)) return null; if ("requested".equals(codeString)) - return new Enumeration(this, SubscriptionState.REQUESTED); + return new Enumeration(this, SubscriptionStatusCodes.REQUESTED); if ("active".equals(codeString)) - return new Enumeration(this, SubscriptionState.ACTIVE); + return new Enumeration(this, SubscriptionStatusCodes.ACTIVE); if ("error".equals(codeString)) - return new Enumeration(this, SubscriptionState.ERROR); + return new Enumeration(this, SubscriptionStatusCodes.ERROR); if ("off".equals(codeString)) - return new Enumeration(this, SubscriptionState.OFF); + return new Enumeration(this, SubscriptionStatusCodes.OFF); if ("entered-in-error".equals(codeString)) - return new Enumeration(this, SubscriptionState.ENTEREDINERROR); - throw new FHIRException("Unknown SubscriptionState code '"+codeString+"'"); + return new Enumeration(this, SubscriptionStatusCodes.ENTEREDINERROR); + throw new FHIRException("Unknown SubscriptionStatusCodes code '"+codeString+"'"); } - public String toCode(SubscriptionState code) { - if (code == SubscriptionState.REQUESTED) + public String toCode(SubscriptionStatusCodes code) { + if (code == SubscriptionStatusCodes.REQUESTED) return "requested"; - if (code == SubscriptionState.ACTIVE) + if (code == SubscriptionStatusCodes.ACTIVE) return "active"; - if (code == SubscriptionState.ERROR) + if (code == SubscriptionStatusCodes.ERROR) return "error"; - if (code == SubscriptionState.OFF) + if (code == SubscriptionStatusCodes.OFF) return "off"; - if (code == SubscriptionState.ENTEREDINERROR) + if (code == SubscriptionStatusCodes.ENTEREDINERROR) return "entered-in-error"; return "?"; } - public String toSystem(SubscriptionState code) { + public String toSystem(SubscriptionStatusCodes code) { return code.getSystem(); } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EpisodeOfCare.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EpisodeOfCare.java index f09b7750a..f01de8748 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EpisodeOfCare.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EpisodeOfCare.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -117,6 +117,7 @@ public class EpisodeOfCare extends DomainResource { case FINISHED: return "finished"; case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -129,6 +130,7 @@ public class EpisodeOfCare extends DomainResource { case FINISHED: return "http://hl7.org/fhir/episode-of-care-status"; case CANCELLED: return "http://hl7.org/fhir/episode-of-care-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/episode-of-care-status"; + case NULL: return null; default: return "?"; } } @@ -141,6 +143,7 @@ public class EpisodeOfCare extends DomainResource { case FINISHED: return "This episode of care is finished and the organization is not expecting to be providing further care to the patient. Can also be known as \"closed\", \"completed\" or other similar terms."; case CANCELLED: return "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."; case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; + case NULL: return null; default: return "?"; } } @@ -153,6 +156,7 @@ public class EpisodeOfCare extends DomainResource { case FINISHED: return "Finished"; case CANCELLED: return "Cancelled"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -1664,402 +1668,6 @@ public class EpisodeOfCare extends DomainResource { return ResourceType.EpisodeOfCare; } - /** - * Search parameter: care-manager - *

- * Description: Care manager/care coordinator for the patient
- * Type: reference
- * Path: EpisodeOfCare.careManager.where(resolve() is Practitioner)
- *

- */ - @SearchParamDefinition(name="care-manager", path="EpisodeOfCare.careManager.where(resolve() is Practitioner)", description="Care manager/care coordinator for the patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_CARE_MANAGER = "care-manager"; - /** - * Fluent Client search parameter constant for care-manager - *

- * Description: Care manager/care coordinator for the patient
- * Type: reference
- * Path: EpisodeOfCare.careManager.where(resolve() is Practitioner)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CARE_MANAGER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CARE_MANAGER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EpisodeOfCare:care-manager". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CARE_MANAGER = new ca.uhn.fhir.model.api.Include("EpisodeOfCare:care-manager").toLocked(); - - /** - * Search parameter: condition - *

- * Description: Conditions/problems/diagnoses this episode of care is for
- * Type: reference
- * Path: EpisodeOfCare.diagnosis.condition
- *

- */ - @SearchParamDefinition(name="condition", path="EpisodeOfCare.diagnosis.condition", description="Conditions/problems/diagnoses this episode of care is for", type="reference", target={Condition.class } ) - public static final String SP_CONDITION = "condition"; - /** - * Fluent Client search parameter constant for condition - *

- * Description: Conditions/problems/diagnoses this episode of care is for
- * Type: reference
- * Path: EpisodeOfCare.diagnosis.condition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONDITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EpisodeOfCare:condition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONDITION = new ca.uhn.fhir.model.api.Include("EpisodeOfCare:condition").toLocked(); - - /** - * Search parameter: incoming-referral - *

- * Description: Incoming Referral Request
- * Type: reference
- * Path: EpisodeOfCare.referralRequest
- *

- */ - @SearchParamDefinition(name="incoming-referral", path="EpisodeOfCare.referralRequest", description="Incoming Referral Request", type="reference", target={ServiceRequest.class } ) - public static final String SP_INCOMING_REFERRAL = "incoming-referral"; - /** - * Fluent Client search parameter constant for incoming-referral - *

- * Description: Incoming Referral Request
- * Type: reference
- * Path: EpisodeOfCare.referralRequest
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INCOMING_REFERRAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INCOMING_REFERRAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EpisodeOfCare:incoming-referral". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INCOMING_REFERRAL = new ca.uhn.fhir.model.api.Include("EpisodeOfCare:incoming-referral").toLocked(); - - /** - * Search parameter: organization - *

- * Description: The organization that has assumed the specific responsibilities of this EpisodeOfCare
- * Type: reference
- * Path: EpisodeOfCare.managingOrganization
- *

- */ - @SearchParamDefinition(name="organization", path="EpisodeOfCare.managingOrganization", description="The organization that has assumed the specific responsibilities of this EpisodeOfCare", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The organization that has assumed the specific responsibilities of this EpisodeOfCare
- * Type: reference
- * Path: EpisodeOfCare.managingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EpisodeOfCare:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("EpisodeOfCare:organization").toLocked(); - - /** - * Search parameter: status - *

- * Description: The current status of the Episode of Care as provided (does not check the status history collection)
- * Type: token
- * Path: EpisodeOfCare.status
- *

- */ - @SearchParamDefinition(name="status", path="EpisodeOfCare.status", description="The current status of the Episode of Care as provided (does not check the status history collection)", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the Episode of Care as provided (does not check the status history collection)
- * Type: token
- * Path: EpisodeOfCare.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EpisodeOfCare:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("EpisodeOfCare:patient").toLocked(); - - /** - * Search parameter: type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - @SearchParamDefinition(name="type", path="AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html): Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html): Kind of document set\r\n* [DocumentReference](documentreference.html): Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html): Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management\r\n", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): allergy | intolerance - Underlying mechanism (if known) -* [Composition](composition.html): Kind of composition (LOINC if possible) -* [DocumentManifest](documentmanifest.html): Kind of document set -* [DocumentReference](documentreference.html): Kind of document (LOINC if possible) -* [Encounter](encounter.html): Specific type of encounter -* [EpisodeOfCare](episodeofcare.html): Type/class - e.g. specialist referral, disease management -
- * Type: token
- * Path: AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EventDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EventDefinition.java index f6b0e4d9a..149ade1e9 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EventDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EventDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -2228,476 +2228,6 @@ public class EventDefinition extends MetadataResource { return ResourceType.EventDefinition; } - /** - * Search parameter: composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='composed-of').resource
- *

- */ - @SearchParamDefinition(name="composed-of", path="EventDefinition.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_COMPOSED_OF = "composed-of"; - /** - * Fluent Client search parameter constant for composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='composed-of').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EventDefinition:composed-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("EventDefinition:composed-of").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the event definition
- * Type: quantity
- * Path: (EventDefinition.useContext.value as Quantity) | (EventDefinition.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(EventDefinition.useContext.value as Quantity) | (EventDefinition.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the event definition", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the event definition
- * Type: quantity
- * Path: (EventDefinition.useContext.value as Quantity) | (EventDefinition.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the event definition
- * Type: composite
- * Path: EventDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="EventDefinition.useContext", description="A use context type and quantity- or range-based value assigned to the event definition", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the event definition
- * Type: composite
- * Path: EventDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the event definition
- * Type: composite
- * Path: EventDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="EventDefinition.useContext", description="A use context type and value assigned to the event definition", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the event definition
- * Type: composite
- * Path: EventDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the event definition
- * Type: token
- * Path: EventDefinition.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="EventDefinition.useContext.code", description="A type of use context assigned to the event definition", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the event definition
- * Type: token
- * Path: EventDefinition.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the event definition
- * Type: token
- * Path: (EventDefinition.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(EventDefinition.useContext.value as CodeableConcept)", description="A use context assigned to the event definition", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the event definition
- * Type: token
- * Path: (EventDefinition.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The event definition publication date
- * Type: date
- * Path: EventDefinition.date
- *

- */ - @SearchParamDefinition(name="date", path="EventDefinition.date", description="The event definition publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The event definition publication date
- * Type: date
- * Path: EventDefinition.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='depends-on').resource
- *

- */ - @SearchParamDefinition(name="depends-on", path="EventDefinition.relatedArtifact.where(type='depends-on').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='depends-on').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EventDefinition:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("EventDefinition:depends-on").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='derived-from').resource
- *

- */ - @SearchParamDefinition(name="derived-from", path="EventDefinition.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='derived-from').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EventDefinition:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("EventDefinition:derived-from").toLocked(); - - /** - * Search parameter: description - *

- * Description: The description of the event definition
- * Type: string
- * Path: EventDefinition.description
- *

- */ - @SearchParamDefinition(name="description", path="EventDefinition.description", description="The description of the event definition", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the event definition
- * Type: string
- * Path: EventDefinition.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the event definition is intended to be in use
- * Type: date
- * Path: EventDefinition.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="EventDefinition.effectivePeriod", description="The time during which the event definition is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the event definition is intended to be in use
- * Type: date
- * Path: EventDefinition.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the event definition
- * Type: token
- * Path: EventDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="EventDefinition.identifier", description="External identifier for the event definition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the event definition
- * Type: token
- * Path: EventDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the event definition
- * Type: token
- * Path: EventDefinition.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="EventDefinition.jurisdiction", description="Intended jurisdiction for the event definition", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the event definition
- * Type: token
- * Path: EventDefinition.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the event definition
- * Type: string
- * Path: EventDefinition.name
- *

- */ - @SearchParamDefinition(name="name", path="EventDefinition.name", description="Computationally friendly name of the event definition", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the event definition
- * Type: string
- * Path: EventDefinition.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='predecessor').resource
- *

- */ - @SearchParamDefinition(name="predecessor", path="EventDefinition.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PREDECESSOR = "predecessor"; - /** - * Fluent Client search parameter constant for predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='predecessor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EventDefinition:predecessor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("EventDefinition:predecessor").toLocked(); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the event definition
- * Type: string
- * Path: EventDefinition.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="EventDefinition.publisher", description="Name of the publisher of the event definition", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the event definition
- * Type: string
- * Path: EventDefinition.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the event definition
- * Type: token
- * Path: EventDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="EventDefinition.status", description="The current status of the event definition", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the event definition
- * Type: token
- * Path: EventDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='successor').resource
- *

- */ - @SearchParamDefinition(name="successor", path="EventDefinition.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUCCESSOR = "successor"; - /** - * Fluent Client search parameter constant for successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EventDefinition.relatedArtifact.where(type='successor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EventDefinition:successor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("EventDefinition:successor").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the event definition
- * Type: string
- * Path: EventDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="EventDefinition.title", description="The human-friendly name of the event definition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the event definition
- * Type: string
- * Path: EventDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: EventDefinition.topic
- *

- */ - @SearchParamDefinition(name="topic", path="EventDefinition.topic", description="Topics associated with the module", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: EventDefinition.topic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the event definition
- * Type: uri
- * Path: EventDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="EventDefinition.url", description="The uri that identifies the event definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the event definition
- * Type: uri
- * Path: EventDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the event definition
- * Type: token
- * Path: EventDefinition.version
- *

- */ - @SearchParamDefinition(name="version", path="EventDefinition.version", description="The business version of the event definition", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the event definition
- * Type: token
- * Path: EventDefinition.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Evidence.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Evidence.java index 200ee15d0..88d241150 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Evidence.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Evidence.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -3634,137 +3634,151 @@ public class Evidence extends MetadataResource { @Description(shortDefinition="Business version of this summary", formalDefinition="The identifier that is used to identify this version of the summary when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the summary author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." ) protected StringType version; + /** + * A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Name for this summary (machine friendly)", formalDefinition="A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) + protected StringType name; + /** * A short, descriptive, user-friendly title for the summary. */ - @Child(name = "title", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Child(name = "title", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Name for this summary (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the summary." ) protected StringType title; /** * Citation Resource or display of suggested citation for this evidence. */ - @Child(name = "citeAs", type = {Citation.class, MarkdownType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "citeAs", type = {Citation.class, MarkdownType.class}, order=5, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Citation for this evidence", formalDefinition="Citation Resource or display of suggested citation for this evidence." ) protected DataType citeAs; /** * The status of this summary. Enables tracking the life-cycle of the content. */ - @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true) + @Child(name = "status", type = {CodeType.class}, order=6, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this summary. Enables tracking the life-cycle of the content." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected Enumeration status; + /** + * A Boolean value to indicate that this resource is 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=7, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) + protected BooleanType experimental; + /** * The date (and optionally time) when the summary was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the summary changes. */ - @Child(name = "date", type = {DateTimeType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "date", type = {DateTimeType.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the summary was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the summary changes." ) protected DateTimeType date; /** * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence instances. */ - @Child(name = "useContext", type = {UsageContext.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "useContext", type = {UsageContext.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence instances." ) protected List useContext; /** * The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. */ - @Child(name = "approvalDate", type = {DateType.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "approvalDate", type = {DateType.class}, order=10, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="When the summary was approved by publisher", formalDefinition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ) protected DateType approvalDate; /** * The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. */ - @Child(name = "lastReviewDate", type = {DateType.class}, order=9, min=0, max=1, modifier=false, summary=false) + @Child(name = "lastReviewDate", type = {DateType.class}, order=11, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="When the summary was last reviewed", formalDefinition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ) protected DateType lastReviewDate; /** * The name of the organization or individual that published the evidence. */ - @Child(name = "publisher", type = {StringType.class}, order=10, min=0, max=1, modifier=false, summary=true) + @Child(name = "publisher", type = {StringType.class}, order=12, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the evidence." ) protected StringType publisher; /** * Contact details to assist a user in finding and communicating with the publisher. */ - @Child(name = "contact", type = {ContactDetail.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "contact", type = {ContactDetail.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) protected List contact; /** * An individiual, organization, or device primarily involved in the creation and maintenance of the content. */ - @Child(name = "author", type = {ContactDetail.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "author", type = {ContactDetail.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Who authored the content", formalDefinition="An individiual, organization, or device primarily involved in the creation and maintenance of the content." ) protected List author; /** * An individiual, organization, or device primarily responsible for internal coherence of the content. */ - @Child(name = "editor", type = {ContactDetail.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "editor", type = {ContactDetail.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who edited the content", formalDefinition="An individiual, organization, or device primarily responsible for internal coherence of the content." ) protected List editor; /** * An individiual, organization, or device primarily responsible for review of some aspect of the content. */ - @Child(name = "reviewer", type = {ContactDetail.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reviewer", type = {ContactDetail.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who reviewed the content", formalDefinition="An individiual, organization, or device primarily responsible for review of some aspect of the content." ) protected List reviewer; /** * An individiual, organization, or device responsible for officially endorsing the content for use in some setting. */ - @Child(name = "endorser", type = {ContactDetail.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "endorser", type = {ContactDetail.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Who endorsed the content", formalDefinition="An individiual, organization, or device responsible for officially endorsing the content for use in some setting." ) protected List endorser; /** * Link or citation to artifact associated with the summary. */ - @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Link or citation to artifact associated with the summary", formalDefinition="Link or citation to artifact associated with the summary." ) protected List relatedArtifact; /** * A free text natural language description of the evidence from a consumer's perspective. */ - @Child(name = "description", type = {MarkdownType.class}, order=17, min=0, max=1, modifier=false, summary=false) + @Child(name = "description", type = {MarkdownType.class}, order=19, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Description of the particular summary", formalDefinition="A free text natural language description of the evidence from a consumer's perspective." ) protected MarkdownType description; /** * Declarative description of the Evidence. */ - @Child(name = "assertion", type = {MarkdownType.class}, order=18, min=0, max=1, modifier=false, summary=false) + @Child(name = "assertion", type = {MarkdownType.class}, order=20, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Declarative description of the Evidence", formalDefinition="Declarative description of the Evidence." ) protected MarkdownType assertion; /** * Footnotes and/or explanatory notes. */ - @Child(name = "note", type = {Annotation.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Footnotes and/or explanatory notes", formalDefinition="Footnotes and/or explanatory notes." ) protected List note; /** * Evidence variable such as population, exposure, or outcome. */ - @Child(name = "variableDefinition", type = {}, order=20, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "variableDefinition", type = {}, order=22, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Evidence variable such as population, exposure, or outcome", formalDefinition="Evidence variable such as population, exposure, or outcome." ) protected List variableDefinition; /** * The method to combine studies. */ - @Child(name = "synthesisType", type = {CodeableConcept.class}, order=21, min=0, max=1, modifier=false, summary=false) + @Child(name = "synthesisType", type = {CodeableConcept.class}, order=23, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The method to combine studies", formalDefinition="The method to combine studies." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/synthesis-type") protected CodeableConcept synthesisType; @@ -3772,7 +3786,7 @@ public class Evidence extends MetadataResource { /** * The type of study that produced this evidence. */ - @Child(name = "studyType", type = {CodeableConcept.class}, order=22, min=0, max=1, modifier=false, summary=false) + @Child(name = "studyType", type = {CodeableConcept.class}, order=24, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The type of study that produced this evidence", formalDefinition="The type of study that produced this evidence." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/study-type") protected CodeableConcept studyType; @@ -3780,18 +3794,18 @@ public class Evidence extends MetadataResource { /** * Values and parameters for a single statistic. */ - @Child(name = "statistic", type = {}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "statistic", type = {}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Values and parameters for a single statistic", formalDefinition="Values and parameters for a single statistic." ) protected List statistic; /** * Assessment of certainty, confidence in the estimates, or quality of the evidence. */ - @Child(name = "certainty", type = {}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "certainty", type = {}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Certainty or quality of the evidence", formalDefinition="Assessment of certainty, confidence in the estimates, or quality of the evidence." ) protected List certainty; - private static final long serialVersionUID = -468979974L; + private static final long serialVersionUID = 1922265062L; /** * Constructor @@ -3960,6 +3974,55 @@ public class Evidence extends MetadataResource { return this; } + /** + * @return {@link #name} (A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation.). 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 Evidence.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 natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public Evidence setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + public Evidence 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 #title} (A short, descriptive, user-friendly title for the summary.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value */ @@ -4105,6 +4168,51 @@ public class Evidence extends MetadataResource { return this; } + /** + * @return {@link #experimental} (A Boolean value to indicate that this resource is 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 Evidence.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} (A Boolean value to indicate that this resource is 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 Evidence setExperimentalElement(BooleanType value) { + this.experimental = value; + return this; + } + + /** + * @return A Boolean value to indicate that this resource is 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 A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. + */ + public Evidence setExperimental(boolean value) { + if (this.experimental == null) + this.experimental = new BooleanType(); + this.experimental.setValue(value); + return this; + } + /** * @return {@link #date} (The date (and optionally time) when the summary was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the summary changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value */ @@ -5030,78 +5138,6 @@ public class Evidence extends MetadataResource { return getCertainty().get(0); } - /** - * not supported on this implementation - */ - @Override - public int getNameMax() { - return 0; - } - /** - * @return {@link #name} (A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public StringType getNameElement() { - throw new Error("The resource type \"Evidence\" does not implement the property \"name\""); - } - - public boolean hasNameElement() { - return false; - } - public boolean hasName() { - return false; - } - - /** - * @param value {@link #name} (A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public Evidence setNameElement(StringType value) { - throw new Error("The resource type \"Evidence\" does not implement the property \"name\""); - } - public String getName() { - throw new Error("The resource type \"Evidence\" does not implement the property \"name\""); - } - /** - * @param value A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation. - */ - public Evidence setName(String value) { - throw new Error("The resource type \"Evidence\" does not implement the property \"name\""); - } - /** - * not supported on this implementation - */ - @Override - public int getExperimentalMax() { - return 0; - } - /** - * @return {@link #experimental} (A Boolean value to indicate that this evidence is 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() { - throw new Error("The resource type \"Evidence\" does not implement the property \"experimental\""); - } - - public boolean hasExperimentalElement() { - return false; - } - public boolean hasExperimental() { - return false; - } - - /** - * @param value {@link #experimental} (A Boolean value to indicate that this evidence is 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 Evidence setExperimentalElement(BooleanType value) { - throw new Error("The resource type \"Evidence\" does not implement the property \"experimental\""); - } - public boolean getExperimental() { - throw new Error("The resource type \"Evidence\" does not implement the property \"experimental\""); - } - /** - * @param value A Boolean value to indicate that this evidence is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. - */ - public Evidence setExperimental(boolean value) { - throw new Error("The resource type \"Evidence\" does not implement the property \"experimental\""); - } /** * not supported on this implementation */ @@ -5240,7 +5276,7 @@ public class Evidence extends MetadataResource { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the evidence. Topics provide a high-level categorization of the evidence that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -5272,9 +5308,11 @@ public class Evidence extends MetadataResource { children.add(new Property("url", "uri", "An absolute URI that is used to identify this evidence when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this summary is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the summary is stored on different servers.", 0, 1, url)); children.add(new Property("identifier", "Identifier", "A formal identifier that is used to identify this summary when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("version", "string", "The identifier that is used to identify this version of the summary when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the summary author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version)); + children.add(new Property("name", "string", "A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the summary.", 0, 1, title)); children.add(new Property("citeAs[x]", "Reference(Citation)|markdown", "Citation Resource or display of suggested citation for this evidence.", 0, 1, citeAs)); children.add(new Property("status", "code", "The status of this summary. Enables tracking the life-cycle of the content.", 0, 1, status)); + children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); children.add(new Property("date", "dateTime", "The date (and optionally time) when the summary was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the summary changes.", 0, 1, date)); children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); children.add(new Property("approvalDate", "date", "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", 0, 1, approvalDate)); @@ -5302,12 +5340,14 @@ public class Evidence extends MetadataResource { case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this evidence when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this summary is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the summary is stored on different servers.", 0, 1, url); case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A formal identifier that is used to identify this summary when it is represented in other formats, or referenced in a specification, model, design or an instance.", 0, java.lang.Integer.MAX_VALUE, identifier); case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the summary when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the summary author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version); + case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the evidence. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the summary.", 0, 1, title); case -1706539017: /*citeAs[x]*/ return new Property("citeAs[x]", "Reference(Citation)|markdown", "Citation Resource or display of suggested citation for this evidence.", 0, 1, citeAs); case -1360156695: /*citeAs*/ return new Property("citeAs[x]", "Reference(Citation)|markdown", "Citation Resource or display of suggested citation for this evidence.", 0, 1, citeAs); case 1269009762: /*citeAsReference*/ return new Property("citeAs[x]", "Reference(Citation)", "Citation Resource or display of suggested citation for this evidence.", 0, 1, citeAs); case 456265720: /*citeAsMarkdown*/ return new Property("citeAs[x]", "markdown", "Citation Resource or display of suggested citation for this evidence.", 0, 1, citeAs); case -892481550: /*status*/ return new Property("status", "code", "The status of this summary. Enables tracking the life-cycle of the content.", 0, 1, status); + case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the summary was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the summary changes.", 0, 1, date); case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence instances.", 0, java.lang.Integer.MAX_VALUE, useContext); case 223539345: /*approvalDate*/ return new Property("approvalDate", "date", "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", 0, 1, approvalDate); @@ -5338,9 +5378,11 @@ public class Evidence extends MetadataResource { case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType + case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType case -1360156695: /*citeAs*/ return this.citeAs == null ? new Base[0] : new Base[] {this.citeAs}; // DataType case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext case 223539345: /*approvalDate*/ return this.approvalDate == null ? new Base[0] : new Base[] {this.approvalDate}; // DateType @@ -5377,6 +5419,9 @@ public class Evidence extends MetadataResource { case 351608024: // version this.version = TypeConvertor.castToString(value); // StringType return value; + case 3373707: // name + this.name = TypeConvertor.castToString(value); // StringType + return value; case 110371416: // title this.title = TypeConvertor.castToString(value); // StringType return value; @@ -5387,6 +5432,9 @@ public class Evidence extends MetadataResource { value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration return value; + case -404562712: // experimental + this.experimental = TypeConvertor.castToBoolean(value); // BooleanType + return value; case 3076014: // date this.date = TypeConvertor.castToDateTime(value); // DateTimeType return value; @@ -5457,6 +5505,8 @@ public class Evidence extends MetadataResource { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); } else if (name.equals("version")) { this.version = TypeConvertor.castToString(value); // StringType + } else if (name.equals("name")) { + this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("title")) { this.title = TypeConvertor.castToString(value); // StringType } else if (name.equals("citeAs[x]")) { @@ -5464,6 +5514,8 @@ public class Evidence extends MetadataResource { } else if (name.equals("status")) { value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration + } else if (name.equals("experimental")) { + this.experimental = TypeConvertor.castToBoolean(value); // BooleanType } else if (name.equals("date")) { this.date = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("useContext")) { @@ -5513,10 +5565,12 @@ public class Evidence extends MetadataResource { case 116079: return getUrlElement(); case -1618432855: return addIdentifier(); case 351608024: return getVersionElement(); + case 3373707: return getNameElement(); case 110371416: return getTitleElement(); case -1706539017: return getCiteAs(); case -1360156695: return getCiteAs(); case -892481550: return getStatusElement(); + case -404562712: return getExperimentalElement(); case 3076014: return getDateElement(); case -669707736: return addUseContext(); case 223539345: return getApprovalDateElement(); @@ -5547,9 +5601,11 @@ public class Evidence extends MetadataResource { case 116079: /*url*/ return new String[] {"uri"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case 351608024: /*version*/ return new String[] {"string"}; + case 3373707: /*name*/ return new String[] {"string"}; case 110371416: /*title*/ return new String[] {"string"}; case -1360156695: /*citeAs*/ return new String[] {"Reference", "markdown"}; case -892481550: /*status*/ return new String[] {"code"}; + case -404562712: /*experimental*/ return new String[] {"boolean"}; case 3076014: /*date*/ return new String[] {"dateTime"}; case -669707736: /*useContext*/ return new String[] {"UsageContext"}; case 223539345: /*approvalDate*/ return new String[] {"date"}; @@ -5585,6 +5641,9 @@ public class Evidence extends MetadataResource { else if (name.equals("version")) { throw new FHIRException("Cannot call addChild on a primitive type Evidence.version"); } + else if (name.equals("name")) { + throw new FHIRException("Cannot call addChild on a primitive type Evidence.name"); + } else if (name.equals("title")) { throw new FHIRException("Cannot call addChild on a primitive type Evidence.title"); } @@ -5599,6 +5658,9 @@ public class Evidence extends MetadataResource { else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type Evidence.status"); } + else if (name.equals("experimental")) { + throw new FHIRException("Cannot call addChild on a primitive type Evidence.experimental"); + } else if (name.equals("date")) { throw new FHIRException("Cannot call addChild on a primitive type Evidence.date"); } @@ -5682,9 +5744,11 @@ public class Evidence extends MetadataResource { dst.identifier.add(i.copy()); }; dst.version = version == null ? null : version.copy(); + dst.name = name == null ? null : name.copy(); dst.title = title == null ? null : title.copy(); dst.citeAs = citeAs == null ? null : citeAs.copy(); dst.status = status == null ? null : status.copy(); + dst.experimental = experimental == null ? null : experimental.copy(); dst.date = date == null ? null : date.copy(); if (useContext != null) { dst.useContext = new ArrayList(); @@ -5762,8 +5826,9 @@ public class Evidence extends MetadataResource { return false; Evidence o = (Evidence) other_; return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) - && compareDeep(title, o.title, true) && compareDeep(citeAs, o.citeAs, true) && compareDeep(status, o.status, true) - && compareDeep(date, o.date, true) && compareDeep(useContext, o.useContext, true) && compareDeep(approvalDate, o.approvalDate, true) + && compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(citeAs, o.citeAs, true) + && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) + && compareDeep(useContext, o.useContext, true) && compareDeep(approvalDate, o.approvalDate, true) && compareDeep(lastReviewDate, o.lastReviewDate, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) && compareDeep(author, o.author, true) && compareDeep(editor, o.editor, true) && compareDeep(reviewer, o.reviewer, true) && compareDeep(endorser, o.endorser, true) && compareDeep(relatedArtifact, o.relatedArtifact, true) @@ -5780,17 +5845,19 @@ public class Evidence extends MetadataResource { if (!(other_ instanceof Evidence)) return false; Evidence o = (Evidence) other_; - return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(title, o.title, true) - && compareValues(status, o.status, true) && compareValues(date, o.date, true) && compareValues(approvalDate, o.approvalDate, true) - && compareValues(lastReviewDate, o.lastReviewDate, true) && compareValues(publisher, o.publisher, true) - && compareValues(description, o.description, true) && compareValues(assertion, o.assertion, true); + return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) + && compareValues(title, o.title, true) && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) + && compareValues(date, o.date, true) && compareValues(approvalDate, o.approvalDate, true) && compareValues(lastReviewDate, o.lastReviewDate, true) + && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) && compareValues(assertion, o.assertion, true) + ; } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version - , title, citeAs, status, date, useContext, approvalDate, lastReviewDate, publisher - , contact, author, editor, reviewer, endorser, relatedArtifact, description, assertion - , note, variableDefinition, synthesisType, studyType, statistic, certainty); + , name, title, citeAs, status, experimental, date, useContext, approvalDate + , lastReviewDate, publisher, contact, author, editor, reviewer, endorser, relatedArtifact + , description, assertion, note, variableDefinition, synthesisType, studyType, statistic + , certainty); } @Override @@ -5798,266 +5865,6 @@ public class Evidence extends MetadataResource { return ResourceType.Evidence; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the evidence
- * Type: quantity
- * Path: (Evidence.useContext.value as Quantity) | (Evidence.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(Evidence.useContext.value as Quantity) | (Evidence.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the evidence", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the evidence
- * Type: quantity
- * Path: (Evidence.useContext.value as Quantity) | (Evidence.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the evidence
- * Type: composite
- * Path: Evidence.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="Evidence.useContext", description="A use context type and quantity- or range-based value assigned to the evidence", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the evidence
- * Type: composite
- * Path: Evidence.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the evidence
- * Type: composite
- * Path: Evidence.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="Evidence.useContext", description="A use context type and value assigned to the evidence", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the evidence
- * Type: composite
- * Path: Evidence.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the evidence
- * Type: token
- * Path: Evidence.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="Evidence.useContext.code", description="A type of use context assigned to the evidence", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the evidence
- * Type: token
- * Path: Evidence.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the evidence
- * Type: token
- * Path: (Evidence.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(Evidence.useContext.value as CodeableConcept)", description="A use context assigned to the evidence", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the evidence
- * Type: token
- * Path: (Evidence.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The evidence publication date
- * Type: date
- * Path: Evidence.date
- *

- */ - @SearchParamDefinition(name="date", path="Evidence.date", description="The evidence publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The evidence publication date
- * Type: date
- * Path: Evidence.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: The description of the evidence
- * Type: string
- * Path: Evidence.description
- *

- */ - @SearchParamDefinition(name="description", path="Evidence.description", description="The description of the evidence", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the evidence
- * Type: string
- * Path: Evidence.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the evidence
- * Type: token
- * Path: Evidence.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Evidence.identifier", description="External identifier for the evidence", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the evidence
- * Type: token
- * Path: Evidence.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the evidence
- * Type: string
- * Path: Evidence.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="Evidence.publisher", description="Name of the publisher of the evidence", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the evidence
- * Type: string
- * Path: Evidence.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the evidence
- * Type: token
- * Path: Evidence.status
- *

- */ - @SearchParamDefinition(name="status", path="Evidence.status", description="The current status of the evidence", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the evidence
- * Type: token
- * Path: Evidence.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the evidence
- * Type: string
- * Path: Evidence.title
- *

- */ - @SearchParamDefinition(name="title", path="Evidence.title", description="The human-friendly name of the evidence", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the evidence
- * Type: string
- * Path: Evidence.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the evidence
- * Type: uri
- * Path: Evidence.url
- *

- */ - @SearchParamDefinition(name="url", path="Evidence.url", description="The uri that identifies the evidence", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the evidence
- * Type: uri
- * Path: Evidence.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the evidence
- * Type: token
- * Path: Evidence.version
- *

- */ - @SearchParamDefinition(name="version", path="Evidence.version", description="The business version of the evidence", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the evidence
- * Type: token
- * Path: Evidence.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceReport.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceReport.java index 0c00acf44..6b42c1a0e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceReport.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceReport.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -124,6 +124,7 @@ public class EvidenceReport extends MetadataResource { case AMENDEDWITH: return "amendedWith"; case APPENDEDWITH: return "appendedWith"; case TRANSFORMEDWITH: return "transformedWith"; + case NULL: return null; default: return "?"; } } @@ -137,6 +138,7 @@ public class EvidenceReport extends MetadataResource { case AMENDEDWITH: return "http://hl7.org/fhir/report-relation-type"; case APPENDEDWITH: return "http://hl7.org/fhir/report-relation-type"; case TRANSFORMEDWITH: return "http://hl7.org/fhir/report-relation-type"; + case NULL: return null; default: return "?"; } } @@ -150,6 +152,7 @@ public class EvidenceReport extends MetadataResource { case AMENDEDWITH: return "This document was."; case APPENDEDWITH: return "This document was."; case TRANSFORMEDWITH: return "This document was."; + case NULL: return null; default: return "?"; } } @@ -163,6 +166,7 @@ public class EvidenceReport extends MetadataResource { case AMENDEDWITH: return "Amended With"; case APPENDEDWITH: return "Appended With"; case TRANSFORMEDWITH: return "Transformed With"; + case NULL: return null; default: return "?"; } } @@ -3834,7 +3838,7 @@ public class EvidenceReport extends MetadataResource { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the evidence report. Topics provide a high-level categorization of the evidence report that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -4289,186 +4293,6 @@ public class EvidenceReport extends MetadataResource { return ResourceType.EvidenceReport; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the evidence report
- * Type: quantity
- * Path: (EvidenceReport.useContext.value as Quantity) | (EvidenceReport.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(EvidenceReport.useContext.value as Quantity) | (EvidenceReport.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the evidence report", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the evidence report
- * Type: quantity
- * Path: (EvidenceReport.useContext.value as Quantity) | (EvidenceReport.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the evidence report
- * Type: composite
- * Path: EvidenceReport.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="EvidenceReport.useContext", description="A use context type and quantity- or range-based value assigned to the evidence report", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the evidence report
- * Type: composite
- * Path: EvidenceReport.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the evidence report
- * Type: composite
- * Path: EvidenceReport.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="EvidenceReport.useContext", description="A use context type and value assigned to the evidence report", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the evidence report
- * Type: composite
- * Path: EvidenceReport.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the evidence report
- * Type: token
- * Path: EvidenceReport.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="EvidenceReport.useContext.code", description="A type of use context assigned to the evidence report", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the evidence report
- * Type: token
- * Path: EvidenceReport.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the evidence report
- * Type: token
- * Path: (EvidenceReport.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(EvidenceReport.useContext.value as CodeableConcept)", description="A use context assigned to the evidence report", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the evidence report
- * Type: token
- * Path: (EvidenceReport.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the evidence report
- * Type: token
- * Path: EvidenceReport.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="EvidenceReport.identifier", description="External identifier for the evidence report", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the evidence report
- * Type: token
- * Path: EvidenceReport.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the evidence report
- * Type: string
- * Path: EvidenceReport.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="EvidenceReport.publisher", description="Name of the publisher of the evidence report", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the evidence report
- * Type: string
- * Path: EvidenceReport.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the evidence report
- * Type: token
- * Path: EvidenceReport.status
- *

- */ - @SearchParamDefinition(name="status", path="EvidenceReport.status", description="The current status of the evidence report", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the evidence report
- * Type: token
- * Path: EvidenceReport.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the evidence report
- * Type: uri
- * Path: EvidenceReport.url
- *

- */ - @SearchParamDefinition(name="url", path="EvidenceReport.url", description="The uri that identifies the evidence report", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the evidence report
- * Type: uri
- * Path: EvidenceReport.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceVariable.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceVariable.java index 7f4db6418..e9bf0441b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceVariable.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/EvidenceVariable.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -71,9 +71,17 @@ public class EvidenceVariable extends MetadataResource { */ ATMOST, /** - * Combine characteristics statistically. + * Combine characteristics statistically. Use method to specify the statistical method. + */ + STATISTICAL, + /** + * Combine characteristics by addition of benefits and subtraction of harms. */ NETEFFECT, + /** + * Combine characteristics as a collection used as the dataset. + */ + DATASET, /** * added to help the parsers with the generic types */ @@ -89,8 +97,12 @@ public class EvidenceVariable extends MetadataResource { return ATLEAST; if ("at-most".equals(codeString)) return ATMOST; + if ("statistical".equals(codeString)) + return STATISTICAL; if ("net-effect".equals(codeString)) return NETEFFECT; + if ("dataset".equals(codeString)) + return DATASET; if (Configuration.isAcceptInvalidEnums()) return null; else @@ -102,7 +114,10 @@ public class EvidenceVariable extends MetadataResource { case ANYOF: return "any-of"; case ATLEAST: return "at-least"; case ATMOST: return "at-most"; + case STATISTICAL: return "statistical"; case NETEFFECT: return "net-effect"; + case DATASET: return "dataset"; + case NULL: return null; default: return "?"; } } @@ -112,7 +127,10 @@ public class EvidenceVariable extends MetadataResource { case ANYOF: return "http://hl7.org/fhir/characteristic-combination"; case ATLEAST: return "http://hl7.org/fhir/characteristic-combination"; case ATMOST: return "http://hl7.org/fhir/characteristic-combination"; + case STATISTICAL: return "http://hl7.org/fhir/characteristic-combination"; case NETEFFECT: return "http://hl7.org/fhir/characteristic-combination"; + case DATASET: return "http://hl7.org/fhir/characteristic-combination"; + case NULL: return null; default: return "?"; } } @@ -122,7 +140,10 @@ public class EvidenceVariable extends MetadataResource { case ANYOF: return "Combine characteristics with OR."; case ATLEAST: return "Meet at least the threshold number of characteristics for definition."; case ATMOST: return "Meet at most the threshold number of characteristics for definition."; - case NETEFFECT: return " Combine characteristics statistically."; + case STATISTICAL: return "Combine characteristics statistically. Use method to specify the statistical method."; + case NETEFFECT: return "Combine characteristics by addition of benefits and subtraction of harms."; + case DATASET: return "Combine characteristics as a collection used as the dataset."; + case NULL: return null; default: return "?"; } } @@ -132,7 +153,10 @@ public class EvidenceVariable extends MetadataResource { case ANYOF: return "Any of"; case ATLEAST: return "At least"; case ATMOST: return "At most"; + case STATISTICAL: return "Statistical"; case NETEFFECT: return "Net effect"; + case DATASET: return "Dataset"; + case NULL: return null; default: return "?"; } } @@ -151,8 +175,12 @@ public class EvidenceVariable extends MetadataResource { return CharacteristicCombination.ATLEAST; if ("at-most".equals(codeString)) return CharacteristicCombination.ATMOST; + if ("statistical".equals(codeString)) + return CharacteristicCombination.STATISTICAL; if ("net-effect".equals(codeString)) return CharacteristicCombination.NETEFFECT; + if ("dataset".equals(codeString)) + return CharacteristicCombination.DATASET; throw new IllegalArgumentException("Unknown CharacteristicCombination code '"+codeString+"'"); } public Enumeration fromType(Base code) throws FHIRException { @@ -171,8 +199,12 @@ public class EvidenceVariable extends MetadataResource { return new Enumeration(this, CharacteristicCombination.ATLEAST); if ("at-most".equals(codeString)) return new Enumeration(this, CharacteristicCombination.ATMOST); + if ("statistical".equals(codeString)) + return new Enumeration(this, CharacteristicCombination.STATISTICAL); if ("net-effect".equals(codeString)) return new Enumeration(this, CharacteristicCombination.NETEFFECT); + if ("dataset".equals(codeString)) + return new Enumeration(this, CharacteristicCombination.DATASET); throw new FHIRException("Unknown CharacteristicCombination code '"+codeString+"'"); } public String toCode(CharacteristicCombination code) { @@ -184,8 +216,12 @@ public class EvidenceVariable extends MetadataResource { return "at-least"; if (code == CharacteristicCombination.ATMOST) return "at-most"; + if (code == CharacteristicCombination.STATISTICAL) + return "statistical"; if (code == CharacteristicCombination.NETEFFECT) return "net-effect"; + if (code == CharacteristicCombination.DATASET) + return "dataset"; return "?"; } public String toSystem(CharacteristicCombination code) { @@ -250,6 +286,7 @@ public class EvidenceVariable extends MetadataResource { case MEANOFMEDIAN: return "mean-of-median"; case MEDIANOFMEAN: return "median-of-mean"; case MEDIANOFMEDIAN: return "median-of-median"; + case NULL: return null; default: return "?"; } } @@ -261,6 +298,7 @@ public class EvidenceVariable extends MetadataResource { case MEANOFMEDIAN: return "http://hl7.org/fhir/group-measure"; case MEDIANOFMEAN: return "http://hl7.org/fhir/group-measure"; case MEDIANOFMEDIAN: return "http://hl7.org/fhir/group-measure"; + case NULL: return null; default: return "?"; } } @@ -272,6 +310,7 @@ public class EvidenceVariable extends MetadataResource { case MEANOFMEDIAN: return "Aggregated using Mean of study median values."; case MEDIANOFMEAN: return "Aggregated using Median of study mean values."; case MEDIANOFMEDIAN: return "Aggregated using Median of study median values."; + case NULL: return null; default: return "?"; } } @@ -283,6 +322,7 @@ public class EvidenceVariable extends MetadataResource { case MEANOFMEDIAN: return "Mean of Study Medins"; case MEDIANOFMEAN: return "Median of Study Means"; case MEDIANOFMEDIAN: return "Median of Study Medians"; + case NULL: return null; default: return "?"; } } @@ -349,320 +389,116 @@ public class EvidenceVariable extends MetadataResource { } } - @Block() - public static class EvidenceVariableCharacteristicCombinationComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Used to specify if two or more characteristics are combined with OR or AND. - */ - @Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="all-of | any-of | at-least | at-most | net-effect", formalDefinition="Used to specify if two or more characteristics are combined with OR or AND." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/characteristic-combination") - protected Enumeration code; - - /** - * Provides the value of "n" when "at-least" or "at-most" codes are used. - */ - @Child(name = "threshold", type = {PositiveIntType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used", formalDefinition="Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used." ) - protected PositiveIntType threshold; - - private static final long serialVersionUID = 1699440811L; - - /** - * Constructor - */ - public EvidenceVariableCharacteristicCombinationComponent() { - super(); - } - - /** - * Constructor - */ - public EvidenceVariableCharacteristicCombinationComponent(CharacteristicCombination code) { - super(); - this.setCode(code); - } - - /** - * @return {@link #code} (Used to specify if two or more characteristics are combined with OR or AND.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value - */ - public Enumeration getCodeElement() { - if (this.code == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariableCharacteristicCombinationComponent.code"); - else if (Configuration.doAutoCreate()) - this.code = new Enumeration(new CharacteristicCombinationEnumFactory()); // 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} (Used to specify if two or more characteristics are combined with OR or AND.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value - */ - public EvidenceVariableCharacteristicCombinationComponent setCodeElement(Enumeration value) { - this.code = value; - return this; - } - - /** - * @return Used to specify if two or more characteristics are combined with OR or AND. - */ - public CharacteristicCombination getCode() { - return this.code == null ? null : this.code.getValue(); - } - - /** - * @param value Used to specify if two or more characteristics are combined with OR or AND. - */ - public EvidenceVariableCharacteristicCombinationComponent setCode(CharacteristicCombination value) { - if (this.code == null) - this.code = new Enumeration(new CharacteristicCombinationEnumFactory()); - this.code.setValue(value); - return this; - } - - /** - * @return {@link #threshold} (Provides the value of "n" when "at-least" or "at-most" codes are used.). This is the underlying object with id, value and extensions. The accessor "getThreshold" gives direct access to the value - */ - public PositiveIntType getThresholdElement() { - if (this.threshold == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariableCharacteristicCombinationComponent.threshold"); - else if (Configuration.doAutoCreate()) - this.threshold = new PositiveIntType(); // bb - return this.threshold; - } - - public boolean hasThresholdElement() { - return this.threshold != null && !this.threshold.isEmpty(); - } - - public boolean hasThreshold() { - return this.threshold != null && !this.threshold.isEmpty(); - } - - /** - * @param value {@link #threshold} (Provides the value of "n" when "at-least" or "at-most" codes are used.). This is the underlying object with id, value and extensions. The accessor "getThreshold" gives direct access to the value - */ - public EvidenceVariableCharacteristicCombinationComponent setThresholdElement(PositiveIntType value) { - this.threshold = value; - return this; - } - - /** - * @return Provides the value of "n" when "at-least" or "at-most" codes are used. - */ - public int getThreshold() { - return this.threshold == null || this.threshold.isEmpty() ? 0 : this.threshold.getValue(); - } - - /** - * @param value Provides the value of "n" when "at-least" or "at-most" codes are used. - */ - public EvidenceVariableCharacteristicCombinationComponent setThreshold(int value) { - if (this.threshold == null) - this.threshold = new PositiveIntType(); - this.threshold.setValue(value); - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("code", "code", "Used to specify if two or more characteristics are combined with OR or AND.", 0, 1, code)); - children.add(new Property("threshold", "positiveInt", "Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used.", 0, 1, threshold)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3059181: /*code*/ return new Property("code", "code", "Used to specify if two or more characteristics are combined with OR or AND.", 0, 1, code); - case -1545477013: /*threshold*/ return new Property("threshold", "positiveInt", "Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used.", 0, 1, threshold); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // Enumeration - case -1545477013: /*threshold*/ return this.threshold == null ? new Base[0] : new Base[] {this.threshold}; // PositiveIntType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3059181: // code - value = new CharacteristicCombinationEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.code = (Enumeration) value; // Enumeration - return value; - case -1545477013: // threshold - this.threshold = TypeConvertor.castToPositiveInt(value); // PositiveIntType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("code")) { - value = new CharacteristicCombinationEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.code = (Enumeration) value; // Enumeration - } else if (name.equals("threshold")) { - this.threshold = TypeConvertor.castToPositiveInt(value); // PositiveIntType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: return getCodeElement(); - case -1545477013: return getThresholdElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3059181: /*code*/ return new String[] {"code"}; - case -1545477013: /*threshold*/ return new String[] {"positiveInt"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("code")) { - throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristicCombination.code"); - } - else if (name.equals("threshold")) { - throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristicCombination.threshold"); - } - else - return super.addChild(name); - } - - public EvidenceVariableCharacteristicCombinationComponent copy() { - EvidenceVariableCharacteristicCombinationComponent dst = new EvidenceVariableCharacteristicCombinationComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(EvidenceVariableCharacteristicCombinationComponent dst) { - super.copyValues(dst); - dst.code = code == null ? null : code.copy(); - dst.threshold = threshold == null ? null : threshold.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof EvidenceVariableCharacteristicCombinationComponent)) - return false; - EvidenceVariableCharacteristicCombinationComponent o = (EvidenceVariableCharacteristicCombinationComponent) other_; - return compareDeep(code, o.code, true) && compareDeep(threshold, o.threshold, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof EvidenceVariableCharacteristicCombinationComponent)) - return false; - EvidenceVariableCharacteristicCombinationComponent o = (EvidenceVariableCharacteristicCombinationComponent) other_; - return compareValues(code, o.code, true) && compareValues(threshold, o.threshold, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, threshold); - } - - public String fhirType() { - return "EvidenceVariable.characteristicCombination"; - - } - - } - @Block() public static class EvidenceVariableCharacteristicComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Label used for when a characteristic refers to another characteristic. + */ + @Child(name = "linkId", type = {IdType.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Label for internal linking", formalDefinition="Label used for when a characteristic refers to another characteristic." ) + protected IdType linkId; + /** * A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user. */ - @Child(name = "description", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Child(name = "description", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Natural language description of the characteristic", formalDefinition="A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user." ) protected StringType description; /** - * Used to expressing the type of characteristic. + * A human-readable string to clarify or explain concepts about the characteristic. */ - @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Expresses the type of characteristic", formalDefinition="Used to expressing the type of characteristic." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/usage-context-type") - protected CodeableConcept type; - - /** - * Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year). - */ - @Child(name = "definition", type = {Group.class, EvidenceVariable.class, CanonicalType.class, CodeableConcept.class, Expression.class}, order=3, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="What code or expression defines members?", formalDefinition="Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year)." ) - protected DataType definition; - - /** - * Method used for describing characteristic. - */ - @Child(name = "method", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Method used for describing characteristic", formalDefinition="Method used for describing characteristic." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/characteristic-method") - protected CodeableConcept method; - - /** - * Device used for determining characteristic. - */ - @Child(name = "device", type = {Device.class, DeviceMetric.class}, order=5, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Device used for determining characteristic", formalDefinition="Device used for determining characteristic." ) - protected Reference device; + @Child(name = "note", type = {Annotation.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Used for footnotes or explanatory notes", formalDefinition="A human-readable string to clarify or explain concepts about the characteristic." ) + protected List note; /** * When true, members with this characteristic are excluded from the element. */ - @Child(name = "exclude", type = {BooleanType.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Child(name = "exclude", type = {BooleanType.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Whether the characteristic includes or excludes members", formalDefinition="When true, members with this characteristic are excluded from the element." ) protected BooleanType exclude; + /** + * Defines the characteristic using a Reference. + */ + @Child(name = "definitionReference", type = {EvidenceVariable.class, Group.class, Evidence.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic (without using type and value) by a Reference", formalDefinition="Defines the characteristic using a Reference." ) + protected Reference definitionReference; + + /** + * Defines the characteristic using Canonical. + */ + @Child(name = "definitionCanonical", type = {CanonicalType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic (without using type and value) by a Canonical", formalDefinition="Defines the characteristic using Canonical." ) + protected CanonicalType definitionCanonical; + + /** + * Defines the characteristic using CodeableConcept. + */ + @Child(name = "definitionCodeableConcept", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic (without using type and value) by a CodeableConcept", formalDefinition="Defines the characteristic using CodeableConcept." ) + protected CodeableConcept definitionCodeableConcept; + + /** + * Defines the characteristic using Expression. + */ + @Child(name = "definitionExpression", type = {Expression.class}, order=8, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic (without using type and value) by a Expression", formalDefinition="Defines the characteristic using Expression." ) + protected Expression definitionExpression; + + /** + * Defines the characteristic using id. + */ + @Child(name = "definitionId", type = {IdType.class}, order=9, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic (without using type and value) by a id", formalDefinition="Defines the characteristic using id." ) + protected IdType definitionId; + + /** + * Defines the characteristic using both a type[x] and value[x] elements. + */ + @Child(name = "definitionByTypeAndValue", type = {}, order=10, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic using type and value", formalDefinition="Defines the characteristic using both a type[x] and value[x] elements." ) + protected EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent definitionByTypeAndValue; + + /** + * Defines the characteristic as a combination of two or more characteristics. + */ + @Child(name = "definitionByCombination", type = {}, order=11, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Used to specify how two or more characteristics are combined", formalDefinition="Defines the characteristic as a combination of two or more characteristics." ) + protected EvidenceVariableCharacteristicDefinitionByCombinationComponent definitionByCombination; + + /** + * Method used for describing characteristic. + */ + @Child(name = "method", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Method used for describing characteristic", formalDefinition="Method used for describing characteristic." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/characteristic-method") + protected List method; + + /** + * Device used for determining characteristic. + */ + @Child(name = "device", type = {Device.class, DeviceMetric.class}, order=13, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Device used for determining characteristic", formalDefinition="Device used for determining characteristic." ) + protected Reference device; + /** * Observation time from study specified event. */ - @Child(name = "timeFromEvent", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "timeFromEvent", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Observation time from study specified event", formalDefinition="Observation time from study specified event." ) protected List timeFromEvent; /** * Value or set of values that define the grouping. */ - @Child(name = "groupMeasure", type = {CodeType.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "groupMeasure", type = {CodeType.class}, order=15, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median", formalDefinition="Value or set of values that define the grouping." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/group-measure") protected Enumeration groupMeasure; - private static final long serialVersionUID = 1870376402L; + private static final long serialVersionUID = 2100589620L; /** * Constructor @@ -671,13 +507,54 @@ public class EvidenceVariable extends MetadataResource { super(); } - /** - * Constructor - */ - public EvidenceVariableCharacteristicComponent(DataType definition) { - super(); - this.setDefinition(definition); - } + /** + * @return {@link #linkId} (Label used for when a characteristic refers to another characteristic.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the value + */ + public IdType getLinkIdElement() { + if (this.linkId == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.linkId"); + else if (Configuration.doAutoCreate()) + this.linkId = new IdType(); // bb + return this.linkId; + } + + public boolean hasLinkIdElement() { + return this.linkId != null && !this.linkId.isEmpty(); + } + + public boolean hasLinkId() { + return this.linkId != null && !this.linkId.isEmpty(); + } + + /** + * @param value {@link #linkId} (Label used for when a characteristic refers to another characteristic.). This is the underlying object with id, value and extensions. The accessor "getLinkId" gives direct access to the value + */ + public EvidenceVariableCharacteristicComponent setLinkIdElement(IdType value) { + this.linkId = value; + return this; + } + + /** + * @return Label used for when a characteristic refers to another characteristic. + */ + public String getLinkId() { + return this.linkId == null ? null : this.linkId.getValue(); + } + + /** + * @param value Label used for when a characteristic refers to another characteristic. + */ + public EvidenceVariableCharacteristicComponent setLinkId(String value) { + if (Utilities.noString(value)) + this.linkId = null; + else { + if (this.linkId == null) + this.linkId = new IdType(); + this.linkId.setValue(value); + } + return this; + } /** * @return {@link #description} (A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value @@ -729,156 +606,56 @@ public class EvidenceVariable extends MetadataResource { } /** - * @return {@link #type} (Used to expressing the type of characteristic.) + * @return {@link #note} (A human-readable string to clarify or explain concepts about the characteristic.) */ - public CodeableConcept getType() { - if (this.type == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.type"); - else if (Configuration.doAutoCreate()) - this.type = new CodeableConcept(); // cc - return this.type; - } - - public boolean hasType() { - return this.type != null && !this.type.isEmpty(); + public List getNote() { + if (this.note == null) + this.note = new ArrayList(); + return this.note; } /** - * @param value {@link #type} (Used to expressing the type of characteristic.) + * @return Returns a reference to this for easy method chaining */ - public EvidenceVariableCharacteristicComponent setType(CodeableConcept value) { - this.type = value; + public EvidenceVariableCharacteristicComponent setNote(List theNote) { + this.note = theNote; + return this; + } + + public boolean hasNote() { + if (this.note == null) + return false; + for (Annotation item : this.note) + if (!item.isEmpty()) + return true; + return false; + } + + public Annotation addNote() { //3 + Annotation t = new Annotation(); + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return t; + } + + public EvidenceVariableCharacteristicComponent 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 #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) + * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} */ - public DataType getDefinition() { - return this.definition; - } - - /** - * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) - */ - public Reference getDefinitionReference() throws FHIRException { - if (this.definition == null) - this.definition = new Reference(); - if (!(this.definition instanceof Reference)) - throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.definition.getClass().getName()+" was encountered"); - return (Reference) this.definition; - } - - public boolean hasDefinitionReference() { - return this != null && this.definition instanceof Reference; - } - - /** - * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) - */ - public CanonicalType getDefinitionCanonicalType() throws FHIRException { - if (this.definition == null) - this.definition = new CanonicalType(); - if (!(this.definition instanceof CanonicalType)) - throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.definition.getClass().getName()+" was encountered"); - return (CanonicalType) this.definition; - } - - public boolean hasDefinitionCanonicalType() { - return this != null && this.definition instanceof CanonicalType; - } - - /** - * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) - */ - public CodeableConcept getDefinitionCodeableConcept() throws FHIRException { - if (this.definition == null) - this.definition = new CodeableConcept(); - if (!(this.definition instanceof CodeableConcept)) - throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.definition.getClass().getName()+" was encountered"); - return (CodeableConcept) this.definition; - } - - public boolean hasDefinitionCodeableConcept() { - return this != null && this.definition instanceof CodeableConcept; - } - - /** - * @return {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) - */ - public Expression getDefinitionExpression() throws FHIRException { - if (this.definition == null) - this.definition = new Expression(); - if (!(this.definition instanceof Expression)) - throw new FHIRException("Type mismatch: the type Expression was expected, but "+this.definition.getClass().getName()+" was encountered"); - return (Expression) this.definition; - } - - public boolean hasDefinitionExpression() { - return this != null && this.definition instanceof Expression; - } - - public boolean hasDefinition() { - return this.definition != null && !this.definition.isEmpty(); - } - - /** - * @param value {@link #definition} (Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).) - */ - public EvidenceVariableCharacteristicComponent setDefinition(DataType value) { - if (value != null && !(value instanceof Reference || value instanceof CanonicalType || value instanceof CodeableConcept || value instanceof Expression)) - throw new Error("Not the right type for EvidenceVariable.characteristic.definition[x]: "+value.fhirType()); - this.definition = value; - return this; - } - - /** - * @return {@link #method} (Method used for describing characteristic.) - */ - public CodeableConcept getMethod() { - if (this.method == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.method"); - else if (Configuration.doAutoCreate()) - this.method = new CodeableConcept(); // cc - return this.method; - } - - public boolean hasMethod() { - return this.method != null && !this.method.isEmpty(); - } - - /** - * @param value {@link #method} (Method used for describing characteristic.) - */ - public EvidenceVariableCharacteristicComponent setMethod(CodeableConcept value) { - this.method = value; - return this; - } - - /** - * @return {@link #device} (Device used for determining characteristic.) - */ - public Reference getDevice() { - if (this.device == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.device"); - else if (Configuration.doAutoCreate()) - this.device = new Reference(); // cc - return this.device; - } - - public boolean hasDevice() { - return this.device != null && !this.device.isEmpty(); - } - - /** - * @param value {@link #device} (Device used for determining characteristic.) - */ - public EvidenceVariableCharacteristicComponent setDevice(Reference value) { - this.device = value; - return this; + public Annotation getNoteFirstRep() { + if (getNote().isEmpty()) { + addNote(); + } + return getNote().get(0); } /** @@ -926,6 +703,301 @@ public class EvidenceVariable extends MetadataResource { return this; } + /** + * @return {@link #definitionReference} (Defines the characteristic using a Reference.) + */ + public Reference getDefinitionReference() { + if (this.definitionReference == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionReference"); + else if (Configuration.doAutoCreate()) + this.definitionReference = new Reference(); // cc + return this.definitionReference; + } + + public boolean hasDefinitionReference() { + return this.definitionReference != null && !this.definitionReference.isEmpty(); + } + + /** + * @param value {@link #definitionReference} (Defines the characteristic using a Reference.) + */ + public EvidenceVariableCharacteristicComponent setDefinitionReference(Reference value) { + this.definitionReference = value; + return this; + } + + /** + * @return {@link #definitionCanonical} (Defines the characteristic using Canonical.). This is the underlying object with id, value and extensions. The accessor "getDefinitionCanonical" gives direct access to the value + */ + public CanonicalType getDefinitionCanonicalElement() { + if (this.definitionCanonical == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionCanonical"); + else if (Configuration.doAutoCreate()) + this.definitionCanonical = new CanonicalType(); // bb + return this.definitionCanonical; + } + + public boolean hasDefinitionCanonicalElement() { + return this.definitionCanonical != null && !this.definitionCanonical.isEmpty(); + } + + public boolean hasDefinitionCanonical() { + return this.definitionCanonical != null && !this.definitionCanonical.isEmpty(); + } + + /** + * @param value {@link #definitionCanonical} (Defines the characteristic using Canonical.). This is the underlying object with id, value and extensions. The accessor "getDefinitionCanonical" gives direct access to the value + */ + public EvidenceVariableCharacteristicComponent setDefinitionCanonicalElement(CanonicalType value) { + this.definitionCanonical = value; + return this; + } + + /** + * @return Defines the characteristic using Canonical. + */ + public String getDefinitionCanonical() { + return this.definitionCanonical == null ? null : this.definitionCanonical.getValue(); + } + + /** + * @param value Defines the characteristic using Canonical. + */ + public EvidenceVariableCharacteristicComponent setDefinitionCanonical(String value) { + if (Utilities.noString(value)) + this.definitionCanonical = null; + else { + if (this.definitionCanonical == null) + this.definitionCanonical = new CanonicalType(); + this.definitionCanonical.setValue(value); + } + return this; + } + + /** + * @return {@link #definitionCodeableConcept} (Defines the characteristic using CodeableConcept.) + */ + public CodeableConcept getDefinitionCodeableConcept() { + if (this.definitionCodeableConcept == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionCodeableConcept"); + else if (Configuration.doAutoCreate()) + this.definitionCodeableConcept = new CodeableConcept(); // cc + return this.definitionCodeableConcept; + } + + public boolean hasDefinitionCodeableConcept() { + return this.definitionCodeableConcept != null && !this.definitionCodeableConcept.isEmpty(); + } + + /** + * @param value {@link #definitionCodeableConcept} (Defines the characteristic using CodeableConcept.) + */ + public EvidenceVariableCharacteristicComponent setDefinitionCodeableConcept(CodeableConcept value) { + this.definitionCodeableConcept = value; + return this; + } + + /** + * @return {@link #definitionExpression} (Defines the characteristic using Expression.) + */ + public Expression getDefinitionExpression() { + if (this.definitionExpression == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionExpression"); + else if (Configuration.doAutoCreate()) + this.definitionExpression = new Expression(); // cc + return this.definitionExpression; + } + + public boolean hasDefinitionExpression() { + return this.definitionExpression != null && !this.definitionExpression.isEmpty(); + } + + /** + * @param value {@link #definitionExpression} (Defines the characteristic using Expression.) + */ + public EvidenceVariableCharacteristicComponent setDefinitionExpression(Expression value) { + this.definitionExpression = value; + return this; + } + + /** + * @return {@link #definitionId} (Defines the characteristic using id.). This is the underlying object with id, value and extensions. The accessor "getDefinitionId" gives direct access to the value + */ + public IdType getDefinitionIdElement() { + if (this.definitionId == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionId"); + else if (Configuration.doAutoCreate()) + this.definitionId = new IdType(); // bb + return this.definitionId; + } + + public boolean hasDefinitionIdElement() { + return this.definitionId != null && !this.definitionId.isEmpty(); + } + + public boolean hasDefinitionId() { + return this.definitionId != null && !this.definitionId.isEmpty(); + } + + /** + * @param value {@link #definitionId} (Defines the characteristic using id.). This is the underlying object with id, value and extensions. The accessor "getDefinitionId" gives direct access to the value + */ + public EvidenceVariableCharacteristicComponent setDefinitionIdElement(IdType value) { + this.definitionId = value; + return this; + } + + /** + * @return Defines the characteristic using id. + */ + public String getDefinitionId() { + return this.definitionId == null ? null : this.definitionId.getValue(); + } + + /** + * @param value Defines the characteristic using id. + */ + public EvidenceVariableCharacteristicComponent setDefinitionId(String value) { + if (Utilities.noString(value)) + this.definitionId = null; + else { + if (this.definitionId == null) + this.definitionId = new IdType(); + this.definitionId.setValue(value); + } + return this; + } + + /** + * @return {@link #definitionByTypeAndValue} (Defines the characteristic using both a type[x] and value[x] elements.) + */ + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent getDefinitionByTypeAndValue() { + if (this.definitionByTypeAndValue == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionByTypeAndValue"); + else if (Configuration.doAutoCreate()) + this.definitionByTypeAndValue = new EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(); // cc + return this.definitionByTypeAndValue; + } + + public boolean hasDefinitionByTypeAndValue() { + return this.definitionByTypeAndValue != null && !this.definitionByTypeAndValue.isEmpty(); + } + + /** + * @param value {@link #definitionByTypeAndValue} (Defines the characteristic using both a type[x] and value[x] elements.) + */ + public EvidenceVariableCharacteristicComponent setDefinitionByTypeAndValue(EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent value) { + this.definitionByTypeAndValue = value; + return this; + } + + /** + * @return {@link #definitionByCombination} (Defines the characteristic as a combination of two or more characteristics.) + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent getDefinitionByCombination() { + if (this.definitionByCombination == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.definitionByCombination"); + else if (Configuration.doAutoCreate()) + this.definitionByCombination = new EvidenceVariableCharacteristicDefinitionByCombinationComponent(); // cc + return this.definitionByCombination; + } + + public boolean hasDefinitionByCombination() { + return this.definitionByCombination != null && !this.definitionByCombination.isEmpty(); + } + + /** + * @param value {@link #definitionByCombination} (Defines the characteristic as a combination of two or more characteristics.) + */ + public EvidenceVariableCharacteristicComponent setDefinitionByCombination(EvidenceVariableCharacteristicDefinitionByCombinationComponent value) { + this.definitionByCombination = value; + return this; + } + + /** + * @return {@link #method} (Method used for describing characteristic.) + */ + public List getMethod() { + if (this.method == null) + this.method = new ArrayList(); + return this.method; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public EvidenceVariableCharacteristicComponent setMethod(List theMethod) { + this.method = theMethod; + return this; + } + + public boolean hasMethod() { + if (this.method == null) + return false; + for (CodeableConcept item : this.method) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addMethod() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.method == null) + this.method = new ArrayList(); + this.method.add(t); + return t; + } + + public EvidenceVariableCharacteristicComponent addMethod(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.method == null) + this.method = new ArrayList(); + this.method.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #method}, creating it if it does not already exist {3} + */ + public CodeableConcept getMethodFirstRep() { + if (getMethod().isEmpty()) { + addMethod(); + } + return getMethod().get(0); + } + + /** + * @return {@link #device} (Device used for determining characteristic.) + */ + public Reference getDevice() { + if (this.device == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicComponent.device"); + else if (Configuration.doAutoCreate()) + this.device = new Reference(); // cc + return this.device; + } + + public boolean hasDevice() { + return this.device != null && !this.device.isEmpty(); + } + + /** + * @param value {@link #device} (Device used for determining characteristic.) + */ + public EvidenceVariableCharacteristicComponent setDevice(Reference value) { + this.device = value; + return this; + } + /** * @return {@link #timeFromEvent} (Observation time from study specified event.) */ @@ -1030,12 +1102,19 @@ public class EvidenceVariable extends MetadataResource { protected void listChildren(List children) { super.listChildren(children); + children.add(new Property("linkId", "id", "Label used for when a characteristic refers to another characteristic.", 0, 1, linkId)); children.add(new Property("description", "string", "A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.", 0, 1, description)); - children.add(new Property("type", "CodeableConcept", "Used to expressing the type of characteristic.", 0, 1, type)); - children.add(new Property("definition[x]", "Reference(Group|EvidenceVariable)|canonical(Any)|CodeableConcept|Expression", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition)); - children.add(new Property("method", "CodeableConcept", "Method used for describing characteristic.", 0, 1, method)); - children.add(new Property("device", "Reference(Device|DeviceMetric)", "Device used for determining characteristic.", 0, 1, device)); + children.add(new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the characteristic.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("exclude", "boolean", "When true, members with this characteristic are excluded from the element.", 0, 1, exclude)); + children.add(new Property("definitionReference", "Reference(EvidenceVariable|Group|Evidence)", "Defines the characteristic using a Reference.", 0, 1, definitionReference)); + children.add(new Property("definitionCanonical", "canonical(EvidenceVariable|Group|Evidence)", "Defines the characteristic using Canonical.", 0, 1, definitionCanonical)); + children.add(new Property("definitionCodeableConcept", "CodeableConcept", "Defines the characteristic using CodeableConcept.", 0, 1, definitionCodeableConcept)); + children.add(new Property("definitionExpression", "Expression", "Defines the characteristic using Expression.", 0, 1, definitionExpression)); + children.add(new Property("definitionId", "id", "Defines the characteristic using id.", 0, 1, definitionId)); + children.add(new Property("definitionByTypeAndValue", "", "Defines the characteristic using both a type[x] and value[x] elements.", 0, 1, definitionByTypeAndValue)); + children.add(new Property("definitionByCombination", "", "Defines the characteristic as a combination of two or more characteristics.", 0, 1, definitionByCombination)); + children.add(new Property("method", "CodeableConcept", "Method used for describing characteristic.", 0, java.lang.Integer.MAX_VALUE, method)); + children.add(new Property("device", "Reference(Device|DeviceMetric)", "Device used for determining characteristic.", 0, 1, device)); children.add(new Property("timeFromEvent", "", "Observation time from study specified event.", 0, java.lang.Integer.MAX_VALUE, timeFromEvent)); children.add(new Property("groupMeasure", "code", "Value or set of values that define the grouping.", 0, 1, groupMeasure)); } @@ -1043,17 +1122,19 @@ public class EvidenceVariable extends MetadataResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { + case -1102667083: /*linkId*/ return new Property("linkId", "id", "Label used for when a characteristic refers to another characteristic.", 0, 1, linkId); case -1724546052: /*description*/ return new Property("description", "string", "A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.", 0, 1, description); - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Used to expressing the type of characteristic.", 0, 1, type); - case -1139422643: /*definition[x]*/ return new Property("definition[x]", "Reference(Group|EvidenceVariable)|canonical(Any)|CodeableConcept|Expression", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); - case -1014418093: /*definition*/ return new Property("definition[x]", "Reference(Group|EvidenceVariable)|canonical(Any)|CodeableConcept|Expression", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); - case -820021448: /*definitionReference*/ return new Property("definition[x]", "Reference(Group|EvidenceVariable)", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); - case 933485793: /*definitionCanonical*/ return new Property("definition[x]", "canonical(Any)", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); - case -1446002226: /*definitionCodeableConcept*/ return new Property("definition[x]", "CodeableConcept", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); - case 1463703627: /*definitionExpression*/ return new Property("definition[x]", "Expression", "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", 0, 1, definition); - case -1077554975: /*method*/ return new Property("method", "CodeableConcept", "Method used for describing characteristic.", 0, 1, method); - case -1335157162: /*device*/ return new Property("device", "Reference(Device|DeviceMetric)", "Device used for determining characteristic.", 0, 1, device); + case 3387378: /*note*/ return new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the characteristic.", 0, java.lang.Integer.MAX_VALUE, note); case -1321148966: /*exclude*/ return new Property("exclude", "boolean", "When true, members with this characteristic are excluded from the element.", 0, 1, exclude); + case -820021448: /*definitionReference*/ return new Property("definitionReference", "Reference(EvidenceVariable|Group|Evidence)", "Defines the characteristic using a Reference.", 0, 1, definitionReference); + case 933485793: /*definitionCanonical*/ return new Property("definitionCanonical", "canonical(EvidenceVariable|Group|Evidence)", "Defines the characteristic using Canonical.", 0, 1, definitionCanonical); + case -1446002226: /*definitionCodeableConcept*/ return new Property("definitionCodeableConcept", "CodeableConcept", "Defines the characteristic using CodeableConcept.", 0, 1, definitionCodeableConcept); + case 1463703627: /*definitionExpression*/ return new Property("definitionExpression", "Expression", "Defines the characteristic using Expression.", 0, 1, definitionExpression); + case 101791182: /*definitionId*/ return new Property("definitionId", "id", "Defines the characteristic using id.", 0, 1, definitionId); + case -164357794: /*definitionByTypeAndValue*/ return new Property("definitionByTypeAndValue", "", "Defines the characteristic using both a type[x] and value[x] elements.", 0, 1, definitionByTypeAndValue); + case -2043280539: /*definitionByCombination*/ return new Property("definitionByCombination", "", "Defines the characteristic as a combination of two or more characteristics.", 0, 1, definitionByCombination); + case -1077554975: /*method*/ return new Property("method", "CodeableConcept", "Method used for describing characteristic.", 0, java.lang.Integer.MAX_VALUE, method); + case -1335157162: /*device*/ return new Property("device", "Reference(Device|DeviceMetric)", "Device used for determining characteristic.", 0, 1, device); case 2087274691: /*timeFromEvent*/ return new Property("timeFromEvent", "", "Observation time from study specified event.", 0, java.lang.Integer.MAX_VALUE, timeFromEvent); case 588892639: /*groupMeasure*/ return new Property("groupMeasure", "code", "Value or set of values that define the grouping.", 0, 1, groupMeasure); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1064,12 +1145,19 @@ public class EvidenceVariable extends MetadataResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { + case -1102667083: /*linkId*/ return this.linkId == null ? new Base[0] : new Base[] {this.linkId}; // IdType case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept - case -1014418093: /*definition*/ return this.definition == null ? new Base[0] : new Base[] {this.definition}; // DataType - case -1077554975: /*method*/ return this.method == null ? new Base[0] : new Base[] {this.method}; // CodeableConcept - case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference + case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case -1321148966: /*exclude*/ return this.exclude == null ? new Base[0] : new Base[] {this.exclude}; // BooleanType + case -820021448: /*definitionReference*/ return this.definitionReference == null ? new Base[0] : new Base[] {this.definitionReference}; // Reference + case 933485793: /*definitionCanonical*/ return this.definitionCanonical == null ? new Base[0] : new Base[] {this.definitionCanonical}; // CanonicalType + case -1446002226: /*definitionCodeableConcept*/ return this.definitionCodeableConcept == null ? new Base[0] : new Base[] {this.definitionCodeableConcept}; // CodeableConcept + case 1463703627: /*definitionExpression*/ return this.definitionExpression == null ? new Base[0] : new Base[] {this.definitionExpression}; // Expression + case 101791182: /*definitionId*/ return this.definitionId == null ? new Base[0] : new Base[] {this.definitionId}; // IdType + case -164357794: /*definitionByTypeAndValue*/ return this.definitionByTypeAndValue == null ? new Base[0] : new Base[] {this.definitionByTypeAndValue}; // EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent + case -2043280539: /*definitionByCombination*/ return this.definitionByCombination == null ? new Base[0] : new Base[] {this.definitionByCombination}; // EvidenceVariableCharacteristicDefinitionByCombinationComponent + case -1077554975: /*method*/ return this.method == null ? new Base[0] : this.method.toArray(new Base[this.method.size()]); // CodeableConcept + case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference case 2087274691: /*timeFromEvent*/ return this.timeFromEvent == null ? new Base[0] : this.timeFromEvent.toArray(new Base[this.timeFromEvent.size()]); // EvidenceVariableCharacteristicTimeFromEventComponent case 588892639: /*groupMeasure*/ return this.groupMeasure == null ? new Base[0] : new Base[] {this.groupMeasure}; // Enumeration default: return super.getProperty(hash, name, checkValid); @@ -1080,24 +1168,45 @@ public class EvidenceVariable extends MetadataResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { + case -1102667083: // linkId + this.linkId = TypeConvertor.castToId(value); // IdType + return value; case -1724546052: // description this.description = TypeConvertor.castToString(value); // StringType return value; - case 3575610: // type - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1014418093: // definition - this.definition = TypeConvertor.castToType(value); // DataType - return value; - case -1077554975: // method - this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1335157162: // device - this.device = TypeConvertor.castToReference(value); // Reference + case 3387378: // note + this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation return value; case -1321148966: // exclude this.exclude = TypeConvertor.castToBoolean(value); // BooleanType return value; + case -820021448: // definitionReference + this.definitionReference = TypeConvertor.castToReference(value); // Reference + return value; + case 933485793: // definitionCanonical + this.definitionCanonical = TypeConvertor.castToCanonical(value); // CanonicalType + return value; + case -1446002226: // definitionCodeableConcept + this.definitionCodeableConcept = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 1463703627: // definitionExpression + this.definitionExpression = TypeConvertor.castToExpression(value); // Expression + return value; + case 101791182: // definitionId + this.definitionId = TypeConvertor.castToId(value); // IdType + return value; + case -164357794: // definitionByTypeAndValue + this.definitionByTypeAndValue = (EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent) value; // EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent + return value; + case -2043280539: // definitionByCombination + this.definitionByCombination = (EvidenceVariableCharacteristicDefinitionByCombinationComponent) value; // EvidenceVariableCharacteristicDefinitionByCombinationComponent + return value; + case -1077554975: // method + this.getMethod().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; + case -1335157162: // device + this.device = TypeConvertor.castToReference(value); // Reference + return value; case 2087274691: // timeFromEvent this.getTimeFromEvent().add((EvidenceVariableCharacteristicTimeFromEventComponent) value); // EvidenceVariableCharacteristicTimeFromEventComponent return value; @@ -1112,18 +1221,32 @@ public class EvidenceVariable extends MetadataResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("description")) { + if (name.equals("linkId")) { + this.linkId = TypeConvertor.castToId(value); // IdType + } else if (name.equals("description")) { this.description = TypeConvertor.castToString(value); // StringType - } else if (name.equals("type")) { - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("definition[x]")) { - this.definition = TypeConvertor.castToType(value); // DataType - } else if (name.equals("method")) { - this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("device")) { - this.device = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("note")) { + this.getNote().add(TypeConvertor.castToAnnotation(value)); } else if (name.equals("exclude")) { this.exclude = TypeConvertor.castToBoolean(value); // BooleanType + } else if (name.equals("definitionReference")) { + this.definitionReference = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("definitionCanonical")) { + this.definitionCanonical = TypeConvertor.castToCanonical(value); // CanonicalType + } else if (name.equals("definitionCodeableConcept")) { + this.definitionCodeableConcept = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("definitionExpression")) { + this.definitionExpression = TypeConvertor.castToExpression(value); // Expression + } else if (name.equals("definitionId")) { + this.definitionId = TypeConvertor.castToId(value); // IdType + } else if (name.equals("definitionByTypeAndValue")) { + this.definitionByTypeAndValue = (EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent) value; // EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent + } else if (name.equals("definitionByCombination")) { + this.definitionByCombination = (EvidenceVariableCharacteristicDefinitionByCombinationComponent) value; // EvidenceVariableCharacteristicDefinitionByCombinationComponent + } else if (name.equals("method")) { + this.getMethod().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("device")) { + this.device = TypeConvertor.castToReference(value); // Reference } else if (name.equals("timeFromEvent")) { this.getTimeFromEvent().add((EvidenceVariableCharacteristicTimeFromEventComponent) value); } else if (name.equals("groupMeasure")) { @@ -1137,13 +1260,19 @@ public class EvidenceVariable extends MetadataResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { + case -1102667083: return getLinkIdElement(); case -1724546052: return getDescriptionElement(); - case 3575610: return getType(); - case -1139422643: return getDefinition(); - case -1014418093: return getDefinition(); - case -1077554975: return getMethod(); - case -1335157162: return getDevice(); + case 3387378: return addNote(); case -1321148966: return getExcludeElement(); + case -820021448: return getDefinitionReference(); + case 933485793: return getDefinitionCanonicalElement(); + case -1446002226: return getDefinitionCodeableConcept(); + case 1463703627: return getDefinitionExpression(); + case 101791182: return getDefinitionIdElement(); + case -164357794: return getDefinitionByTypeAndValue(); + case -2043280539: return getDefinitionByCombination(); + case -1077554975: return addMethod(); + case -1335157162: return getDevice(); case 2087274691: return addTimeFromEvent(); case 588892639: return getGroupMeasureElement(); default: return super.makeProperty(hash, name); @@ -1154,12 +1283,19 @@ public class EvidenceVariable extends MetadataResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { + case -1102667083: /*linkId*/ return new String[] {"id"}; case -1724546052: /*description*/ return new String[] {"string"}; - case 3575610: /*type*/ return new String[] {"CodeableConcept"}; - case -1014418093: /*definition*/ return new String[] {"Reference", "canonical", "CodeableConcept", "Expression"}; + case 3387378: /*note*/ return new String[] {"Annotation"}; + case -1321148966: /*exclude*/ return new String[] {"boolean"}; + case -820021448: /*definitionReference*/ return new String[] {"Reference"}; + case 933485793: /*definitionCanonical*/ return new String[] {"canonical"}; + case -1446002226: /*definitionCodeableConcept*/ return new String[] {"CodeableConcept"}; + case 1463703627: /*definitionExpression*/ return new String[] {"Expression"}; + case 101791182: /*definitionId*/ return new String[] {"id"}; + case -164357794: /*definitionByTypeAndValue*/ return new String[] {}; + case -2043280539: /*definitionByCombination*/ return new String[] {}; case -1077554975: /*method*/ return new String[] {"CodeableConcept"}; case -1335157162: /*device*/ return new String[] {"Reference"}; - case -1321148966: /*exclude*/ return new String[] {"boolean"}; case 2087274691: /*timeFromEvent*/ return new String[] {}; case 588892639: /*groupMeasure*/ return new String[] {"code"}; default: return super.getTypesForProperty(hash, name); @@ -1169,40 +1305,51 @@ public class EvidenceVariable extends MetadataResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("description")) { + if (name.equals("linkId")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.linkId"); + } + else if (name.equals("description")) { throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.description"); } - else if (name.equals("type")) { - this.type = new CodeableConcept(); - return this.type; + else if (name.equals("note")) { + return addNote(); + } + else if (name.equals("exclude")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.exclude"); } else if (name.equals("definitionReference")) { - this.definition = new Reference(); - return this.definition; + this.definitionReference = new Reference(); + return this.definitionReference; } else if (name.equals("definitionCanonical")) { - this.definition = new CanonicalType(); - return this.definition; + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.definitionCanonical"); } else if (name.equals("definitionCodeableConcept")) { - this.definition = new CodeableConcept(); - return this.definition; + this.definitionCodeableConcept = new CodeableConcept(); + return this.definitionCodeableConcept; } else if (name.equals("definitionExpression")) { - this.definition = new Expression(); - return this.definition; + this.definitionExpression = new Expression(); + return this.definitionExpression; + } + else if (name.equals("definitionId")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.definitionId"); + } + else if (name.equals("definitionByTypeAndValue")) { + this.definitionByTypeAndValue = new EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(); + return this.definitionByTypeAndValue; + } + else if (name.equals("definitionByCombination")) { + this.definitionByCombination = new EvidenceVariableCharacteristicDefinitionByCombinationComponent(); + return this.definitionByCombination; } else if (name.equals("method")) { - this.method = new CodeableConcept(); - return this.method; + return addMethod(); } else if (name.equals("device")) { this.device = new Reference(); return this.device; } - else if (name.equals("exclude")) { - throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.exclude"); - } else if (name.equals("timeFromEvent")) { return addTimeFromEvent(); } @@ -1221,12 +1368,27 @@ public class EvidenceVariable extends MetadataResource { public void copyValues(EvidenceVariableCharacteristicComponent dst) { super.copyValues(dst); + dst.linkId = linkId == null ? null : linkId.copy(); dst.description = description == null ? null : description.copy(); - dst.type = type == null ? null : type.copy(); - dst.definition = definition == null ? null : definition.copy(); - dst.method = method == null ? null : method.copy(); - dst.device = device == null ? null : device.copy(); + if (note != null) { + dst.note = new ArrayList(); + for (Annotation i : note) + dst.note.add(i.copy()); + }; dst.exclude = exclude == null ? null : exclude.copy(); + dst.definitionReference = definitionReference == null ? null : definitionReference.copy(); + dst.definitionCanonical = definitionCanonical == null ? null : definitionCanonical.copy(); + dst.definitionCodeableConcept = definitionCodeableConcept == null ? null : definitionCodeableConcept.copy(); + dst.definitionExpression = definitionExpression == null ? null : definitionExpression.copy(); + dst.definitionId = definitionId == null ? null : definitionId.copy(); + dst.definitionByTypeAndValue = definitionByTypeAndValue == null ? null : definitionByTypeAndValue.copy(); + dst.definitionByCombination = definitionByCombination == null ? null : definitionByCombination.copy(); + if (method != null) { + dst.method = new ArrayList(); + for (CodeableConcept i : method) + dst.method.add(i.copy()); + }; + dst.device = device == null ? null : device.copy(); if (timeFromEvent != null) { dst.timeFromEvent = new ArrayList(); for (EvidenceVariableCharacteristicTimeFromEventComponent i : timeFromEvent) @@ -1242,10 +1404,13 @@ public class EvidenceVariable extends MetadataResource { if (!(other_ instanceof EvidenceVariableCharacteristicComponent)) return false; EvidenceVariableCharacteristicComponent o = (EvidenceVariableCharacteristicComponent) other_; - return compareDeep(description, o.description, true) && compareDeep(type, o.type, true) && compareDeep(definition, o.definition, true) - && compareDeep(method, o.method, true) && compareDeep(device, o.device, true) && compareDeep(exclude, o.exclude, true) - && compareDeep(timeFromEvent, o.timeFromEvent, true) && compareDeep(groupMeasure, o.groupMeasure, true) - ; + return compareDeep(linkId, o.linkId, true) && compareDeep(description, o.description, true) && compareDeep(note, o.note, true) + && compareDeep(exclude, o.exclude, true) && compareDeep(definitionReference, o.definitionReference, true) + && compareDeep(definitionCanonical, o.definitionCanonical, true) && compareDeep(definitionCodeableConcept, o.definitionCodeableConcept, true) + && compareDeep(definitionExpression, o.definitionExpression, true) && compareDeep(definitionId, o.definitionId, true) + && compareDeep(definitionByTypeAndValue, o.definitionByTypeAndValue, true) && compareDeep(definitionByCombination, o.definitionByCombination, true) + && compareDeep(method, o.method, true) && compareDeep(device, o.device, true) && compareDeep(timeFromEvent, o.timeFromEvent, true) + && compareDeep(groupMeasure, o.groupMeasure, true); } @Override @@ -1255,13 +1420,16 @@ public class EvidenceVariable extends MetadataResource { if (!(other_ instanceof EvidenceVariableCharacteristicComponent)) return false; EvidenceVariableCharacteristicComponent o = (EvidenceVariableCharacteristicComponent) other_; - return compareValues(description, o.description, true) && compareValues(exclude, o.exclude, true) && compareValues(groupMeasure, o.groupMeasure, true) - ; + return compareValues(linkId, o.linkId, true) && compareValues(description, o.description, true) && compareValues(exclude, o.exclude, true) + && compareValues(definitionCanonical, o.definitionCanonical, true) && compareValues(definitionId, o.definitionId, true) + && compareValues(groupMeasure, o.groupMeasure, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(description, type, definition - , method, device, exclude, timeFromEvent, groupMeasure); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(linkId, description, note + , exclude, definitionReference, definitionCanonical, definitionCodeableConcept, definitionExpression + , definitionId, definitionByTypeAndValue, definitionByCombination, method, device + , timeFromEvent, groupMeasure); } public String fhirType() { @@ -1269,6 +1437,768 @@ public class EvidenceVariable extends MetadataResource { } + } + + @Block() + public static class EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Used to express the type of characteristic. + */ + @Child(name = "type", type = {CodeableConcept.class, EvidenceVariable.class, IdType.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Expresses the type of characteristic", formalDefinition="Used to express the type of characteristic." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/usage-context-type") + protected DataType type; + + /** + * Defines the characteristic when paired with characteristic.type[x]. + */ + @Child(name = "value", type = {CodeableConcept.class, BooleanType.class, Quantity.class, Range.class, Reference.class, IdType.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Defines the characteristic when coupled with characteristic.type[x]", formalDefinition="Defines the characteristic when paired with characteristic.type[x]." ) + protected DataType value; + + /** + * Defines the reference point for comparison when valueQuantity is not compared to zero. + */ + @Child(name = "offset", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Reference point for valueQuantity", formalDefinition="Defines the reference point for comparison when valueQuantity is not compared to zero." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/characteristic-offset") + protected CodeableConcept offset; + + private static final long serialVersionUID = 920507767L; + + /** + * Constructor + */ + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent() { + super(); + } + + /** + * Constructor + */ + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(DataType type, DataType value) { + super(); + this.setType(type); + this.setValue(value); + } + + /** + * @return {@link #type} (Used to express the type of characteristic.) + */ + public DataType getType() { + return this.type; + } + + /** + * @return {@link #type} (Used to express the type of characteristic.) + */ + public CodeableConcept getTypeCodeableConcept() throws FHIRException { + if (this.type == null) + this.type = new CodeableConcept(); + if (!(this.type instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.type.getClass().getName()+" was encountered"); + return (CodeableConcept) this.type; + } + + public boolean hasTypeCodeableConcept() { + return this != null && this.type instanceof CodeableConcept; + } + + /** + * @return {@link #type} (Used to express the type of characteristic.) + */ + public Reference getTypeReference() throws FHIRException { + if (this.type == null) + this.type = new Reference(); + if (!(this.type instanceof Reference)) + throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.type.getClass().getName()+" was encountered"); + return (Reference) this.type; + } + + public boolean hasTypeReference() { + return this != null && this.type instanceof Reference; + } + + /** + * @return {@link #type} (Used to express the type of characteristic.) + */ + public IdType getTypeIdType() throws FHIRException { + if (this.type == null) + this.type = new IdType(); + if (!(this.type instanceof IdType)) + throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.type.getClass().getName()+" was encountered"); + return (IdType) this.type; + } + + public boolean hasTypeIdType() { + return this != null && this.type instanceof IdType; + } + + public boolean hasType() { + return this.type != null && !this.type.isEmpty(); + } + + /** + * @param value {@link #type} (Used to express the type of characteristic.) + */ + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent setType(DataType value) { + if (value != null && !(value instanceof CodeableConcept || value instanceof Reference || value instanceof IdType)) + throw new Error("Not the right type for EvidenceVariable.characteristic.definitionByTypeAndValue.type[x]: "+value.fhirType()); + this.type = value; + return this; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public DataType getValue() { + return this.value; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public CodeableConcept getValueCodeableConcept() throws FHIRException { + if (this.value == null) + this.value = new CodeableConcept(); + if (!(this.value instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeableConcept) this.value; + } + + public boolean hasValueCodeableConcept() { + return this != null && this.value instanceof CodeableConcept; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public BooleanType getValueBooleanType() throws FHIRException { + if (this.value == null) + this.value = new BooleanType(); + if (!(this.value instanceof BooleanType)) + throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (BooleanType) this.value; + } + + public boolean hasValueBooleanType() { + return this != null && this.value instanceof BooleanType; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public Quantity getValueQuantity() throws FHIRException { + if (this.value == null) + this.value = new Quantity(); + if (!(this.value instanceof Quantity)) + throw new FHIRException("Type mismatch: the type Quantity was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Quantity) this.value; + } + + public boolean hasValueQuantity() { + return this != null && this.value instanceof Quantity; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public Range getValueRange() throws FHIRException { + if (this.value == null) + this.value = new Range(); + if (!(this.value instanceof Range)) + throw new FHIRException("Type mismatch: the type Range was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Range) this.value; + } + + public boolean hasValueRange() { + return this != null && this.value instanceof Range; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public Reference getValueReference() throws FHIRException { + if (this.value == null) + this.value = new Reference(); + if (!(this.value instanceof Reference)) + throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Reference) this.value; + } + + public boolean hasValueReference() { + return this != null && this.value instanceof Reference; + } + + /** + * @return {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public IdType getValueIdType() throws FHIRException { + if (this.value == null) + this.value = new IdType(); + if (!(this.value instanceof IdType)) + throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IdType) this.value; + } + + public boolean hasValueIdType() { + return this != null && this.value instanceof IdType; + } + + public boolean hasValue() { + return this.value != null && !this.value.isEmpty(); + } + + /** + * @param value {@link #value} (Defines the characteristic when paired with characteristic.type[x].) + */ + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent setValue(DataType value) { + if (value != null && !(value instanceof CodeableConcept || value instanceof BooleanType || value instanceof Quantity || value instanceof Range || value instanceof Reference || value instanceof IdType)) + throw new Error("Not the right type for EvidenceVariable.characteristic.definitionByTypeAndValue.value[x]: "+value.fhirType()); + this.value = value; + return this; + } + + /** + * @return {@link #offset} (Defines the reference point for comparison when valueQuantity is not compared to zero.) + */ + public CodeableConcept getOffset() { + if (this.offset == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent.offset"); + else if (Configuration.doAutoCreate()) + this.offset = new CodeableConcept(); // cc + return this.offset; + } + + public boolean hasOffset() { + return this.offset != null && !this.offset.isEmpty(); + } + + /** + * @param value {@link #offset} (Defines the reference point for comparison when valueQuantity is not compared to zero.) + */ + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent setOffset(CodeableConcept value) { + this.offset = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("type[x]", "CodeableConcept|Reference(EvidenceVariable)|id", "Used to express the type of characteristic.", 0, 1, type)); + children.add(new Property("value[x]", "CodeableConcept|boolean|Quantity|Range|Reference|id", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value)); + children.add(new Property("offset", "CodeableConcept", "Defines the reference point for comparison when valueQuantity is not compared to zero.", 0, 1, offset)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -853093626: /*type[x]*/ return new Property("type[x]", "CodeableConcept|Reference(EvidenceVariable)|id", "Used to express the type of characteristic.", 0, 1, type); + case 3575610: /*type*/ return new Property("type[x]", "CodeableConcept|Reference(EvidenceVariable)|id", "Used to express the type of characteristic.", 0, 1, type); + case 507804935: /*typeCodeableConcept*/ return new Property("type[x]", "CodeableConcept", "Used to express the type of characteristic.", 0, 1, type); + case 2074825009: /*typeReference*/ return new Property("type[x]", "Reference(EvidenceVariable)", "Used to express the type of characteristic.", 0, 1, type); + case -858803723: /*typeId*/ return new Property("type[x]", "id", "Used to express the type of characteristic.", 0, 1, type); + case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|boolean|Quantity|Range|Reference|id", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|boolean|Quantity|Range|Reference|id", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case 2030761548: /*valueRange*/ return new Property("value[x]", "Range", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case 1755241690: /*valueReference*/ return new Property("value[x]", "Reference", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case 231604844: /*valueId*/ return new Property("value[x]", "id", "Defines the characteristic when paired with characteristic.type[x].", 0, 1, value); + case -1019779949: /*offset*/ return new Property("offset", "CodeableConcept", "Defines the reference point for comparison when valueQuantity is not compared to zero.", 0, 1, offset); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // DataType + case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType + case -1019779949: /*offset*/ return this.offset == null ? new Base[0] : new Base[] {this.offset}; // CodeableConcept + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3575610: // type + this.type = TypeConvertor.castToType(value); // DataType + return value; + case 111972721: // value + this.value = TypeConvertor.castToType(value); // DataType + return value; + case -1019779949: // offset + this.offset = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("type[x]")) { + this.type = TypeConvertor.castToType(value); // DataType + } else if (name.equals("value[x]")) { + this.value = TypeConvertor.castToType(value); // DataType + } else if (name.equals("offset")) { + this.offset = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -853093626: return getType(); + case 3575610: return getType(); + case -1410166417: return getValue(); + case 111972721: return getValue(); + case -1019779949: return getOffset(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return new String[] {"CodeableConcept", "Reference", "id"}; + case 111972721: /*value*/ return new String[] {"CodeableConcept", "boolean", "Quantity", "Range", "Reference", "id"}; + case -1019779949: /*offset*/ return new String[] {"CodeableConcept"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("typeCodeableConcept")) { + this.type = new CodeableConcept(); + return this.type; + } + else if (name.equals("typeReference")) { + this.type = new Reference(); + return this.type; + } + else if (name.equals("typeId")) { + this.type = new IdType(); + return this.type; + } + else if (name.equals("valueCodeableConcept")) { + this.value = new CodeableConcept(); + return this.value; + } + else if (name.equals("valueBoolean")) { + this.value = new BooleanType(); + return this.value; + } + else if (name.equals("valueQuantity")) { + this.value = new Quantity(); + return this.value; + } + else if (name.equals("valueRange")) { + this.value = new Range(); + return this.value; + } + else if (name.equals("valueReference")) { + this.value = new Reference(); + return this.value; + } + else if (name.equals("valueId")) { + this.value = new IdType(); + return this.value; + } + else if (name.equals("offset")) { + this.offset = new CodeableConcept(); + return this.offset; + } + else + return super.addChild(name); + } + + public EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent copy() { + EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent dst = new EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent dst) { + super.copyValues(dst); + dst.type = type == null ? null : type.copy(); + dst.value = value == null ? null : value.copy(); + dst.offset = offset == null ? null : offset.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent)) + return false; + EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent o = (EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent) other_; + return compareDeep(type, o.type, true) && compareDeep(value, o.value, true) && compareDeep(offset, o.offset, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent)) + return false; + EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent o = (EvidenceVariableCharacteristicDefinitionByTypeAndValueComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, value, offset); + } + + public String fhirType() { + return "EvidenceVariable.characteristic.definitionByTypeAndValue"; + + } + + } + + @Block() + public static class EvidenceVariableCharacteristicDefinitionByCombinationComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Used to specify if two or more characteristics are combined with OR or AND. + */ + @Child(name = "code", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="all-of | any-of | at-least | at-most | statistical | net-effect | dataset", formalDefinition="Used to specify if two or more characteristics are combined with OR or AND." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/characteristic-combination") + protected Enumeration code; + + /** + * Provides the value of "n" when "at-least" or "at-most" codes are used. + */ + @Child(name = "threshold", type = {PositiveIntType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used", formalDefinition="Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used." ) + protected PositiveIntType threshold; + + /** + * A defining factor of the characteristic. + */ + @Child(name = "characteristic", type = {EvidenceVariableCharacteristicComponent.class}, order=3, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="A defining factor of the characteristic", formalDefinition="A defining factor of the characteristic." ) + protected List characteristic; + + private static final long serialVersionUID = -2053118515L; + + /** + * Constructor + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent() { + super(); + } + + /** + * Constructor + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent(CharacteristicCombination code, EvidenceVariableCharacteristicComponent characteristic) { + super(); + this.setCode(code); + this.addCharacteristic(characteristic); + } + + /** + * @return {@link #code} (Used to specify if two or more characteristics are combined with OR or AND.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value + */ + public Enumeration getCodeElement() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicDefinitionByCombinationComponent.code"); + else if (Configuration.doAutoCreate()) + this.code = new Enumeration(new CharacteristicCombinationEnumFactory()); // 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} (Used to specify if two or more characteristics are combined with OR or AND.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent setCodeElement(Enumeration value) { + this.code = value; + return this; + } + + /** + * @return Used to specify if two or more characteristics are combined with OR or AND. + */ + public CharacteristicCombination getCode() { + return this.code == null ? null : this.code.getValue(); + } + + /** + * @param value Used to specify if two or more characteristics are combined with OR or AND. + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent setCode(CharacteristicCombination value) { + if (this.code == null) + this.code = new Enumeration(new CharacteristicCombinationEnumFactory()); + this.code.setValue(value); + return this; + } + + /** + * @return {@link #threshold} (Provides the value of "n" when "at-least" or "at-most" codes are used.). This is the underlying object with id, value and extensions. The accessor "getThreshold" gives direct access to the value + */ + public PositiveIntType getThresholdElement() { + if (this.threshold == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariableCharacteristicDefinitionByCombinationComponent.threshold"); + else if (Configuration.doAutoCreate()) + this.threshold = new PositiveIntType(); // bb + return this.threshold; + } + + public boolean hasThresholdElement() { + return this.threshold != null && !this.threshold.isEmpty(); + } + + public boolean hasThreshold() { + return this.threshold != null && !this.threshold.isEmpty(); + } + + /** + * @param value {@link #threshold} (Provides the value of "n" when "at-least" or "at-most" codes are used.). This is the underlying object with id, value and extensions. The accessor "getThreshold" gives direct access to the value + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent setThresholdElement(PositiveIntType value) { + this.threshold = value; + return this; + } + + /** + * @return Provides the value of "n" when "at-least" or "at-most" codes are used. + */ + public int getThreshold() { + return this.threshold == null || this.threshold.isEmpty() ? 0 : this.threshold.getValue(); + } + + /** + * @param value Provides the value of "n" when "at-least" or "at-most" codes are used. + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent setThreshold(int value) { + if (this.threshold == null) + this.threshold = new PositiveIntType(); + this.threshold.setValue(value); + return this; + } + + /** + * @return {@link #characteristic} (A defining factor of the characteristic.) + */ + public List getCharacteristic() { + if (this.characteristic == null) + this.characteristic = new ArrayList(); + return this.characteristic; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public EvidenceVariableCharacteristicDefinitionByCombinationComponent setCharacteristic(List theCharacteristic) { + this.characteristic = theCharacteristic; + return this; + } + + public boolean hasCharacteristic() { + if (this.characteristic == null) + return false; + for (EvidenceVariableCharacteristicComponent item : this.characteristic) + if (!item.isEmpty()) + return true; + return false; + } + + public EvidenceVariableCharacteristicComponent addCharacteristic() { //3 + EvidenceVariableCharacteristicComponent t = new EvidenceVariableCharacteristicComponent(); + if (this.characteristic == null) + this.characteristic = new ArrayList(); + this.characteristic.add(t); + return t; + } + + public EvidenceVariableCharacteristicDefinitionByCombinationComponent addCharacteristic(EvidenceVariableCharacteristicComponent t) { //3 + if (t == null) + return this; + if (this.characteristic == null) + this.characteristic = new ArrayList(); + this.characteristic.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #characteristic}, creating it if it does not already exist {3} + */ + public EvidenceVariableCharacteristicComponent getCharacteristicFirstRep() { + if (getCharacteristic().isEmpty()) { + addCharacteristic(); + } + return getCharacteristic().get(0); + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("code", "code", "Used to specify if two or more characteristics are combined with OR or AND.", 0, 1, code)); + children.add(new Property("threshold", "positiveInt", "Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used.", 0, 1, threshold)); + children.add(new Property("characteristic", "@EvidenceVariable.characteristic", "A defining factor of the characteristic.", 0, java.lang.Integer.MAX_VALUE, characteristic)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3059181: /*code*/ return new Property("code", "code", "Used to specify if two or more characteristics are combined with OR or AND.", 0, 1, code); + case -1545477013: /*threshold*/ return new Property("threshold", "positiveInt", "Provides the value of \"n\" when \"at-least\" or \"at-most\" codes are used.", 0, 1, threshold); + case 366313883: /*characteristic*/ return new Property("characteristic", "@EvidenceVariable.characteristic", "A defining factor of the characteristic.", 0, java.lang.Integer.MAX_VALUE, characteristic); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // Enumeration + case -1545477013: /*threshold*/ return this.threshold == null ? new Base[0] : new Base[] {this.threshold}; // PositiveIntType + case 366313883: /*characteristic*/ return this.characteristic == null ? new Base[0] : this.characteristic.toArray(new Base[this.characteristic.size()]); // EvidenceVariableCharacteristicComponent + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3059181: // code + value = new CharacteristicCombinationEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.code = (Enumeration) value; // Enumeration + return value; + case -1545477013: // threshold + this.threshold = TypeConvertor.castToPositiveInt(value); // PositiveIntType + return value; + case 366313883: // characteristic + this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value); // EvidenceVariableCharacteristicComponent + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("code")) { + value = new CharacteristicCombinationEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.code = (Enumeration) value; // Enumeration + } else if (name.equals("threshold")) { + this.threshold = TypeConvertor.castToPositiveInt(value); // PositiveIntType + } else if (name.equals("characteristic")) { + this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value); + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3059181: return getCodeElement(); + case -1545477013: return getThresholdElement(); + case 366313883: return addCharacteristic(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3059181: /*code*/ return new String[] {"code"}; + case -1545477013: /*threshold*/ return new String[] {"positiveInt"}; + case 366313883: /*characteristic*/ return new String[] {"@EvidenceVariable.characteristic"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("code")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.definitionByCombination.code"); + } + else if (name.equals("threshold")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.definitionByCombination.threshold"); + } + else if (name.equals("characteristic")) { + return addCharacteristic(); + } + else + return super.addChild(name); + } + + public EvidenceVariableCharacteristicDefinitionByCombinationComponent copy() { + EvidenceVariableCharacteristicDefinitionByCombinationComponent dst = new EvidenceVariableCharacteristicDefinitionByCombinationComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(EvidenceVariableCharacteristicDefinitionByCombinationComponent dst) { + super.copyValues(dst); + dst.code = code == null ? null : code.copy(); + dst.threshold = threshold == null ? null : threshold.copy(); + if (characteristic != null) { + dst.characteristic = new ArrayList(); + for (EvidenceVariableCharacteristicComponent i : characteristic) + dst.characteristic.add(i.copy()); + }; + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof EvidenceVariableCharacteristicDefinitionByCombinationComponent)) + return false; + EvidenceVariableCharacteristicDefinitionByCombinationComponent o = (EvidenceVariableCharacteristicDefinitionByCombinationComponent) other_; + return compareDeep(code, o.code, true) && compareDeep(threshold, o.threshold, true) && compareDeep(characteristic, o.characteristic, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof EvidenceVariableCharacteristicDefinitionByCombinationComponent)) + return false; + EvidenceVariableCharacteristicDefinitionByCombinationComponent o = (EvidenceVariableCharacteristicDefinitionByCombinationComponent) other_; + return compareValues(code, o.code, true) && compareValues(threshold, o.threshold, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, threshold, characteristic + ); + } + + public String fhirType() { + return "EvidenceVariable.characteristic.definitionByCombination"; + + } + } @Block() @@ -1280,36 +2210,36 @@ public class EvidenceVariable extends MetadataResource { @Description(shortDefinition="Human readable description", formalDefinition="Human readable description." ) protected StringType description; + /** + * A human-readable string to clarify or explain concepts about the timeFromEvent. + */ + @Child(name = "note", type = {Annotation.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Used for footnotes or explanatory notes", formalDefinition="A human-readable string to clarify or explain concepts about the timeFromEvent." ) + protected List note; + /** * The event used as a base point (reference point) in time. */ - @Child(name = "event", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "event", type = {CodeableConcept.class, Reference.class, DateTimeType.class, IdType.class}, order=3, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The event used as a base point (reference point) in time", formalDefinition="The event used as a base point (reference point) in time." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/evidence-variable-event") - protected CodeableConcept event; + protected DataType event; /** * Used to express the observation at a defined amount of time after the study start. */ - @Child(name = "quantity", type = {Quantity.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "quantity", type = {Quantity.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Used to express the observation at a defined amount of time after the study start", formalDefinition="Used to express the observation at a defined amount of time after the study start." ) protected Quantity quantity; /** * Used to express the observation within a period after the study start. */ - @Child(name = "range", type = {Range.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "range", type = {Range.class}, order=5, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Used to express the observation within a period after the study start", formalDefinition="Used to express the observation within a period after the study start." ) protected Range range; - /** - * A human-readable string to clarify or explain concepts about the resource. - */ - @Child(name = "note", type = {Annotation.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Used for footnotes or explanatory notes", formalDefinition="A human-readable string to clarify or explain concepts about the resource." ) - protected List note; - - private static final long serialVersionUID = 1217037073L; + private static final long serialVersionUID = 858422874L; /** * Constructor @@ -1367,18 +2297,126 @@ public class EvidenceVariable extends MetadataResource { return this; } + /** + * @return {@link #note} (A human-readable string to clarify or explain concepts about the timeFromEvent.) + */ + public List getNote() { + if (this.note == null) + this.note = new ArrayList(); + return this.note; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public EvidenceVariableCharacteristicTimeFromEventComponent setNote(List theNote) { + this.note = theNote; + return this; + } + + public boolean hasNote() { + if (this.note == null) + return false; + for (Annotation item : this.note) + if (!item.isEmpty()) + return true; + return false; + } + + public Annotation addNote() { //3 + Annotation t = new Annotation(); + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return t; + } + + public EvidenceVariableCharacteristicTimeFromEventComponent addNote(Annotation t) { //3 + if (t == null) + return this; + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} + */ + public Annotation getNoteFirstRep() { + if (getNote().isEmpty()) { + addNote(); + } + return getNote().get(0); + } + /** * @return {@link #event} (The event used as a base point (reference point) in time.) */ - public CodeableConcept getEvent() { - if (this.event == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariableCharacteristicTimeFromEventComponent.event"); - else if (Configuration.doAutoCreate()) - this.event = new CodeableConcept(); // cc + public DataType getEvent() { return this.event; } + /** + * @return {@link #event} (The event used as a base point (reference point) in time.) + */ + public CodeableConcept getEventCodeableConcept() throws FHIRException { + if (this.event == null) + this.event = new CodeableConcept(); + if (!(this.event instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.event.getClass().getName()+" was encountered"); + return (CodeableConcept) this.event; + } + + public boolean hasEventCodeableConcept() { + return this != null && this.event instanceof CodeableConcept; + } + + /** + * @return {@link #event} (The event used as a base point (reference point) in time.) + */ + public Reference getEventReference() throws FHIRException { + if (this.event == null) + this.event = new Reference(); + if (!(this.event instanceof Reference)) + throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.event.getClass().getName()+" was encountered"); + return (Reference) this.event; + } + + public boolean hasEventReference() { + return this != null && this.event instanceof Reference; + } + + /** + * @return {@link #event} (The event used as a base point (reference point) in time.) + */ + public DateTimeType getEventDateTimeType() throws FHIRException { + if (this.event == null) + this.event = new DateTimeType(); + if (!(this.event instanceof DateTimeType)) + throw new FHIRException("Type mismatch: the type DateTimeType was expected, but "+this.event.getClass().getName()+" was encountered"); + return (DateTimeType) this.event; + } + + public boolean hasEventDateTimeType() { + return this != null && this.event instanceof DateTimeType; + } + + /** + * @return {@link #event} (The event used as a base point (reference point) in time.) + */ + public IdType getEventIdType() throws FHIRException { + if (this.event == null) + this.event = new IdType(); + if (!(this.event instanceof IdType)) + throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.event.getClass().getName()+" was encountered"); + return (IdType) this.event; + } + + public boolean hasEventIdType() { + return this != null && this.event instanceof IdType; + } + public boolean hasEvent() { return this.event != null && !this.event.isEmpty(); } @@ -1386,7 +2424,9 @@ public class EvidenceVariable extends MetadataResource { /** * @param value {@link #event} (The event used as a base point (reference point) in time.) */ - public EvidenceVariableCharacteristicTimeFromEventComponent setEvent(CodeableConcept value) { + public EvidenceVariableCharacteristicTimeFromEventComponent setEvent(DataType value) { + if (value != null && !(value instanceof CodeableConcept || value instanceof Reference || value instanceof DateTimeType || value instanceof IdType)) + throw new Error("Not the right type for EvidenceVariable.characteristic.timeFromEvent.event[x]: "+value.fhirType()); this.event = value; return this; } @@ -1439,76 +2479,28 @@ public class EvidenceVariable extends MetadataResource { return this; } - /** - * @return {@link #note} (A human-readable string to clarify or explain concepts about the resource.) - */ - public List getNote() { - if (this.note == null) - this.note = new ArrayList(); - return this.note; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public EvidenceVariableCharacteristicTimeFromEventComponent setNote(List theNote) { - this.note = theNote; - return this; - } - - public boolean hasNote() { - if (this.note == null) - return false; - for (Annotation item : this.note) - if (!item.isEmpty()) - return true; - return false; - } - - public Annotation addNote() { //3 - Annotation t = new Annotation(); - if (this.note == null) - this.note = new ArrayList(); - this.note.add(t); - return t; - } - - public EvidenceVariableCharacteristicTimeFromEventComponent addNote(Annotation t) { //3 - if (t == null) - return this; - if (this.note == null) - this.note = new ArrayList(); - this.note.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} - */ - public Annotation getNoteFirstRep() { - if (getNote().isEmpty()) { - addNote(); - } - return getNote().get(0); - } - protected void listChildren(List children) { super.listChildren(children); children.add(new Property("description", "string", "Human readable description.", 0, 1, description)); - children.add(new Property("event", "CodeableConcept", "The event used as a base point (reference point) in time.", 0, 1, event)); + children.add(new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the timeFromEvent.", 0, java.lang.Integer.MAX_VALUE, note)); + children.add(new Property("event[x]", "CodeableConcept|Reference|dateTime|id", "The event used as a base point (reference point) in time.", 0, 1, event)); children.add(new Property("quantity", "Quantity", "Used to express the observation at a defined amount of time after the study start.", 0, 1, quantity)); children.add(new Property("range", "Range", "Used to express the observation within a period after the study start.", 0, 1, range)); - children.add(new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the resource.", 0, java.lang.Integer.MAX_VALUE, note)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1724546052: /*description*/ return new Property("description", "string", "Human readable description.", 0, 1, description); - case 96891546: /*event*/ return new Property("event", "CodeableConcept", "The event used as a base point (reference point) in time.", 0, 1, event); + case 3387378: /*note*/ return new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the timeFromEvent.", 0, java.lang.Integer.MAX_VALUE, note); + case 278115238: /*event[x]*/ return new Property("event[x]", "CodeableConcept|Reference|dateTime|id", "The event used as a base point (reference point) in time.", 0, 1, event); + case 96891546: /*event*/ return new Property("event[x]", "CodeableConcept|Reference|dateTime|id", "The event used as a base point (reference point) in time.", 0, 1, event); + case 1464167847: /*eventCodeableConcept*/ return new Property("event[x]", "CodeableConcept", "The event used as a base point (reference point) in time.", 0, 1, event); + case 30751185: /*eventReference*/ return new Property("event[x]", "Reference", "The event used as a base point (reference point) in time.", 0, 1, event); + case -116077483: /*eventDateTime*/ return new Property("event[x]", "dateTime", "The event used as a base point (reference point) in time.", 0, 1, event); + case -1376502443: /*eventId*/ return new Property("event[x]", "id", "The event used as a base point (reference point) in time.", 0, 1, event); case -1285004149: /*quantity*/ return new Property("quantity", "Quantity", "Used to express the observation at a defined amount of time after the study start.", 0, 1, quantity); case 108280125: /*range*/ return new Property("range", "Range", "Used to express the observation within a period after the study start.", 0, 1, range); - case 3387378: /*note*/ return new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the resource.", 0, java.lang.Integer.MAX_VALUE, note); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1518,10 +2510,10 @@ public class EvidenceVariable extends MetadataResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType - case 96891546: /*event*/ return this.event == null ? new Base[0] : new Base[] {this.event}; // CodeableConcept + case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation + case 96891546: /*event*/ return this.event == null ? new Base[0] : new Base[] {this.event}; // DataType case -1285004149: /*quantity*/ return this.quantity == null ? new Base[0] : new Base[] {this.quantity}; // Quantity case 108280125: /*range*/ return this.range == null ? new Base[0] : new Base[] {this.range}; // Range - case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation default: return super.getProperty(hash, name, checkValid); } @@ -1533,8 +2525,11 @@ public class EvidenceVariable extends MetadataResource { case -1724546052: // description this.description = TypeConvertor.castToString(value); // StringType return value; + case 3387378: // note + this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation + return value; case 96891546: // event - this.event = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + this.event = TypeConvertor.castToType(value); // DataType return value; case -1285004149: // quantity this.quantity = TypeConvertor.castToQuantity(value); // Quantity @@ -1542,9 +2537,6 @@ public class EvidenceVariable extends MetadataResource { case 108280125: // range this.range = TypeConvertor.castToRange(value); // Range return value; - case 3387378: // note - this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation - return value; default: return super.setProperty(hash, name, value); } @@ -1554,14 +2546,14 @@ public class EvidenceVariable extends MetadataResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("description")) { this.description = TypeConvertor.castToString(value); // StringType - } else if (name.equals("event")) { - this.event = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("note")) { + this.getNote().add(TypeConvertor.castToAnnotation(value)); + } else if (name.equals("event[x]")) { + this.event = TypeConvertor.castToType(value); // DataType } else if (name.equals("quantity")) { this.quantity = TypeConvertor.castToQuantity(value); // Quantity } else if (name.equals("range")) { this.range = TypeConvertor.castToRange(value); // Range - } else if (name.equals("note")) { - this.getNote().add(TypeConvertor.castToAnnotation(value)); } else return super.setProperty(name, value); return value; @@ -1571,10 +2563,11 @@ public class EvidenceVariable extends MetadataResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1724546052: return getDescriptionElement(); + case 3387378: return addNote(); + case 278115238: return getEvent(); case 96891546: return getEvent(); case -1285004149: return getQuantity(); case 108280125: return getRange(); - case 3387378: return addNote(); default: return super.makeProperty(hash, name); } @@ -1584,10 +2577,10 @@ public class EvidenceVariable extends MetadataResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -1724546052: /*description*/ return new String[] {"string"}; - case 96891546: /*event*/ return new String[] {"CodeableConcept"}; + case 3387378: /*note*/ return new String[] {"Annotation"}; + case 96891546: /*event*/ return new String[] {"CodeableConcept", "Reference", "dateTime", "id"}; case -1285004149: /*quantity*/ return new String[] {"Quantity"}; case 108280125: /*range*/ return new String[] {"Range"}; - case 3387378: /*note*/ return new String[] {"Annotation"}; default: return super.getTypesForProperty(hash, name); } @@ -1598,10 +2591,25 @@ public class EvidenceVariable extends MetadataResource { if (name.equals("description")) { throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.characteristic.timeFromEvent.description"); } - else if (name.equals("event")) { + else if (name.equals("note")) { + return addNote(); + } + else if (name.equals("eventCodeableConcept")) { this.event = new CodeableConcept(); return this.event; } + else if (name.equals("eventReference")) { + this.event = new Reference(); + return this.event; + } + else if (name.equals("eventDateTime")) { + this.event = new DateTimeType(); + return this.event; + } + else if (name.equals("eventId")) { + this.event = new IdType(); + return this.event; + } else if (name.equals("quantity")) { this.quantity = new Quantity(); return this.quantity; @@ -1610,9 +2618,6 @@ public class EvidenceVariable extends MetadataResource { this.range = new Range(); return this.range; } - else if (name.equals("note")) { - return addNote(); - } else return super.addChild(name); } @@ -1626,14 +2631,14 @@ public class EvidenceVariable extends MetadataResource { public void copyValues(EvidenceVariableCharacteristicTimeFromEventComponent dst) { super.copyValues(dst); dst.description = description == null ? null : description.copy(); - dst.event = event == null ? null : event.copy(); - dst.quantity = quantity == null ? null : quantity.copy(); - dst.range = range == null ? null : range.copy(); if (note != null) { dst.note = new ArrayList(); for (Annotation i : note) dst.note.add(i.copy()); }; + dst.event = event == null ? null : event.copy(); + dst.quantity = quantity == null ? null : quantity.copy(); + dst.range = range == null ? null : range.copy(); } @Override @@ -1643,8 +2648,8 @@ public class EvidenceVariable extends MetadataResource { if (!(other_ instanceof EvidenceVariableCharacteristicTimeFromEventComponent)) return false; EvidenceVariableCharacteristicTimeFromEventComponent o = (EvidenceVariableCharacteristicTimeFromEventComponent) other_; - return compareDeep(description, o.description, true) && compareDeep(event, o.event, true) && compareDeep(quantity, o.quantity, true) - && compareDeep(range, o.range, true) && compareDeep(note, o.note, true); + return compareDeep(description, o.description, true) && compareDeep(note, o.note, true) && compareDeep(event, o.event, true) + && compareDeep(quantity, o.quantity, true) && compareDeep(range, o.range, true); } @Override @@ -1658,8 +2663,8 @@ public class EvidenceVariable extends MetadataResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(description, event, quantity - , range, note); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(description, note, event + , quantity, range); } public String fhirType() { @@ -2006,120 +3011,148 @@ public class EvidenceVariable extends MetadataResource { @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected Enumeration status; + /** + * A Boolean value to indicate that this resource is 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=8, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) + protected BooleanType experimental; + /** * The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes. */ - @Child(name = "date", type = {DateTimeType.class}, order=8, min=0, max=1, modifier=false, summary=true) + @Child(name = "date", type = {DateTimeType.class}, order=9, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes." ) protected DateTimeType date; - /** - * A free text natural language description of the evidence variable from a consumer's perspective. - */ - @Child(name = "description", type = {MarkdownType.class}, order=9, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Natural language description of the evidence variable", formalDefinition="A free text natural language description of the evidence variable from a consumer's perspective." ) - protected MarkdownType description; - - /** - * A human-readable string to clarify or explain concepts about the resource. - */ - @Child(name = "note", type = {Annotation.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Used for footnotes or explanatory notes", formalDefinition="A human-readable string to clarify or explain concepts about the resource." ) - protected List note; - - /** - * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances. - */ - @Child(name = "useContext", type = {UsageContext.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances." ) - protected List useContext; - /** * The name of the organization or individual that published the evidence variable. */ - @Child(name = "publisher", type = {StringType.class}, order=12, min=0, max=1, modifier=false, summary=true) + @Child(name = "publisher", type = {StringType.class}, order=10, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the evidence variable." ) protected StringType publisher; /** * Contact details to assist a user in finding and communicating with the publisher. */ - @Child(name = "contact", type = {ContactDetail.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "contact", type = {ContactDetail.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) protected List contact; + /** + * A free text natural language description of the evidence variable from a consumer's perspective. + */ + @Child(name = "description", type = {MarkdownType.class}, order=12, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Natural language description of the evidence variable", formalDefinition="A free text natural language description of the evidence variable from a consumer's perspective." ) + protected MarkdownType description; + + /** + * A human-readable string to clarify or explain concepts about the resource. + */ + @Child(name = "note", type = {Annotation.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Used for footnotes or explanatory notes", formalDefinition="A human-readable string to clarify or explain concepts about the resource." ) + protected List note; + + /** + * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances. + */ + @Child(name = "useContext", type = {UsageContext.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances." ) + protected List useContext; + + /** + * A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource. + */ + @Child(name = "copyright", type = {MarkdownType.class}, order=15, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Use and/or publishing restrictions", formalDefinition="A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource." ) + protected MarkdownType copyright; + + /** + * The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. + */ + @Child(name = "approvalDate", type = {DateType.class}, order=16, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="When the resource was approved by publisher", formalDefinition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ) + protected DateType approvalDate; + + /** + * The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. + */ + @Child(name = "lastReviewDate", type = {DateType.class}, order=17, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="When the resource was last reviewed", formalDefinition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ) + protected DateType lastReviewDate; + + /** + * The period during which the resource content was or is planned to be in active use. + */ + @Child(name = "effectivePeriod", type = {Period.class}, order=18, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="When the resource is expected to be used", formalDefinition="The period during which the resource content was or is planned to be in active use." ) + protected Period effectivePeriod; + /** * An individiual or organization primarily involved in the creation and maintenance of the content. */ - @Child(name = "author", type = {ContactDetail.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "author", type = {ContactDetail.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who authored the content", formalDefinition="An individiual or organization primarily involved in the creation and maintenance of the content." ) protected List author; /** * An individual or organization primarily responsible for internal coherence of the content. */ - @Child(name = "editor", type = {ContactDetail.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "editor", type = {ContactDetail.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who edited the content", formalDefinition="An individual or organization primarily responsible for internal coherence of the content." ) protected List editor; /** * An individual or organization primarily responsible for review of some aspect of the content. */ - @Child(name = "reviewer", type = {ContactDetail.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reviewer", type = {ContactDetail.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who reviewed the content", formalDefinition="An individual or organization primarily responsible for review of some aspect of the content." ) protected List reviewer; /** * An individual or organization responsible for officially endorsing the content for use in some setting. */ - @Child(name = "endorser", type = {ContactDetail.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "endorser", type = {ContactDetail.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who endorsed the content", formalDefinition="An individual or organization responsible for officially endorsing the content for use in some setting." ) protected List endorser; /** * Related artifacts such as additional documentation, justification, or bibliographic references. */ - @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "relatedArtifact", type = {RelatedArtifact.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Additional documentation, citations, etc.", formalDefinition="Related artifacts such as additional documentation, justification, or bibliographic references." ) protected List relatedArtifact; /** * True if the actual variable measured, false if a conceptual representation of the intended variable. */ - @Child(name = "actual", type = {BooleanType.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Child(name = "actual", type = {BooleanType.class}, order=24, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Actual or conceptual", formalDefinition="True if the actual variable measured, false if a conceptual representation of the intended variable." ) protected BooleanType actual; /** - * Used to specify how two or more characteristics are combined. + * A defining factor of the EvidenceVariable. Multiple characteristics are applied with "and" semantics. */ - @Child(name = "characteristicCombination", type = {}, order=20, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Used to specify how two or more characteristics are combined", formalDefinition="Used to specify how two or more characteristics are combined." ) - protected EvidenceVariableCharacteristicCombinationComponent characteristicCombination; - - /** - * A characteristic that defines the members of the evidence element. Multiple characteristics are applied with "and" semantics. - */ - @Child(name = "characteristic", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="What defines the members of the evidence element", formalDefinition="A characteristic that defines the members of the evidence element. Multiple characteristics are applied with \"and\" semantics." ) + @Child(name = "characteristic", type = {}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="A defining factor of the EvidenceVariable", formalDefinition="A defining factor of the EvidenceVariable. Multiple characteristics are applied with \"and\" semantics." ) protected List characteristic; /** - * continuous | dichotomous | ordinal | polychotomous. + * The method of handling in statistical analysis. */ - @Child(name = "handling", type = {CodeType.class}, order=22, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="continuous | dichotomous | ordinal | polychotomous", formalDefinition="continuous | dichotomous | ordinal | polychotomous." ) + @Child(name = "handling", type = {CodeType.class}, order=26, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="continuous | dichotomous | ordinal | polychotomous", formalDefinition="The method of handling in statistical analysis." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/variable-handling") protected Enumeration handling; /** * A grouping for ordinal or polychotomous variables. */ - @Child(name = "category", type = {}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "category", type = {}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="A grouping for ordinal or polychotomous variables", formalDefinition="A grouping for ordinal or polychotomous variables." ) protected List category; - private static final long serialVersionUID = -208109028L; + private static final long serialVersionUID = -532650354L; /** * Constructor @@ -2528,6 +3561,51 @@ public class EvidenceVariable extends MetadataResource { return this; } + /** + * @return {@link #experimental} (A Boolean value to indicate that this resource is 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 EvidenceVariable.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} (A Boolean value to indicate that this resource is 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 EvidenceVariable setExperimentalElement(BooleanType value) { + this.experimental = value; + return this; + } + + /** + * @return A Boolean value to indicate that this resource is 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 A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. + */ + public EvidenceVariable setExperimental(boolean value) { + if (this.experimental == null) + this.experimental = new BooleanType(); + this.experimental.setValue(value); + return this; + } + /** * @return {@link #date} (The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value */ @@ -2577,6 +3655,108 @@ public class EvidenceVariable extends MetadataResource { return this; } + /** + * @return {@link #publisher} (The name of the organization or individual that published the evidence variable.). 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 EvidenceVariable.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 organization or individual that published the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value + */ + public EvidenceVariable setPublisherElement(StringType value) { + this.publisher = value; + return this; + } + + /** + * @return The name of the organization or individual that published the evidence variable. + */ + public String getPublisher() { + return this.publisher == null ? null : this.publisher.getValue(); + } + + /** + * @param value The name of the organization or individual that published the evidence variable. + */ + public EvidenceVariable 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} (Contact details 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; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public EvidenceVariable setContact(List theContact) { + this.contact = theContact; + return this; + } + + public boolean hasContact() { + if (this.contact == null) + return false; + for (ContactDetail item : this.contact) + if (!item.isEmpty()) + return true; + return false; + } + + public ContactDetail addContact() { //3 + ContactDetail t = new ContactDetail(); + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return t; + } + + public EvidenceVariable addContact(ContactDetail t) { //3 + if (t == null) + return this; + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} + */ + public ContactDetail getContactFirstRep() { + if (getContact().isEmpty()) { + addContact(); + } + return getContact().get(0); + } + /** * @return {@link #description} (A free text natural language description of the evidence variable from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value */ @@ -2733,105 +3913,174 @@ public class EvidenceVariable extends MetadataResource { } /** - * @return {@link #publisher} (The name of the organization or individual that published the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value + * @return {@link #copyright} (A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value */ - public StringType getPublisherElement() { - if (this.publisher == null) + public MarkdownType getCopyrightElement() { + if (this.copyright == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariable.publisher"); + throw new Error("Attempt to auto-create EvidenceVariable.copyright"); else if (Configuration.doAutoCreate()) - this.publisher = new StringType(); // bb - return this.publisher; + this.copyright = new MarkdownType(); // bb + return this.copyright; } - public boolean hasPublisherElement() { - return this.publisher != null && !this.publisher.isEmpty(); + public boolean hasCopyrightElement() { + return this.copyright != null && !this.copyright.isEmpty(); } - public boolean hasPublisher() { - return this.publisher != null && !this.publisher.isEmpty(); + public boolean hasCopyright() { + return this.copyright != null && !this.copyright.isEmpty(); } /** - * @param value {@link #publisher} (The name of the organization or individual that published the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value + * @param value {@link #copyright} (A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value */ - public EvidenceVariable setPublisherElement(StringType value) { - this.publisher = value; + public EvidenceVariable setCopyrightElement(MarkdownType value) { + this.copyright = value; return this; } /** - * @return The name of the organization or individual that published the evidence variable. + * @return A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource. */ - public String getPublisher() { - return this.publisher == null ? null : this.publisher.getValue(); + public String getCopyright() { + return this.copyright == null ? null : this.copyright.getValue(); } /** - * @param value The name of the organization or individual that published the evidence variable. + * @param value A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource. */ - public EvidenceVariable setPublisher(String value) { - if (Utilities.noString(value)) - this.publisher = null; + public EvidenceVariable setCopyright(String value) { + if (value == null) + this.copyright = null; else { - if (this.publisher == null) - this.publisher = new StringType(); - this.publisher.setValue(value); + if (this.copyright == null) + this.copyright = new MarkdownType(); + this.copyright.setValue(value); } return this; } /** - * @return {@link #contact} (Contact details to assist a user in finding and communicating with the publisher.) + * @return {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value */ - public List getContact() { - if (this.contact == null) - this.contact = new ArrayList(); - return this.contact; + public DateType getApprovalDateElement() { + if (this.approvalDate == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariable.approvalDate"); + else if (Configuration.doAutoCreate()) + this.approvalDate = new DateType(); // bb + return this.approvalDate; + } + + public boolean hasApprovalDateElement() { + return this.approvalDate != null && !this.approvalDate.isEmpty(); + } + + public boolean hasApprovalDate() { + return this.approvalDate != null && !this.approvalDate.isEmpty(); } /** - * @return Returns a reference to this for easy method chaining + * @param value {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value */ - public EvidenceVariable setContact(List theContact) { - this.contact = theContact; - return this; - } - - public boolean hasContact() { - if (this.contact == null) - return false; - for (ContactDetail item : this.contact) - if (!item.isEmpty()) - return true; - return false; - } - - public ContactDetail addContact() { //3 - ContactDetail t = new ContactDetail(); - if (this.contact == null) - this.contact = new ArrayList(); - this.contact.add(t); - return t; - } - - public EvidenceVariable addContact(ContactDetail t) { //3 - if (t == null) - return this; - if (this.contact == null) - this.contact = new ArrayList(); - this.contact.add(t); + public EvidenceVariable setApprovalDateElement(DateType value) { + this.approvalDate = value; return this; } /** - * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} + * @return The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. */ - public ContactDetail getContactFirstRep() { - if (getContact().isEmpty()) { - addContact(); + public Date getApprovalDate() { + return this.approvalDate == null ? null : this.approvalDate.getValue(); + } + + /** + * @param value The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. + */ + public EvidenceVariable setApprovalDate(Date value) { + if (value == null) + this.approvalDate = null; + else { + if (this.approvalDate == null) + this.approvalDate = new DateType(); + this.approvalDate.setValue(value); } - return getContact().get(0); + return this; + } + + /** + * @return {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value + */ + public DateType getLastReviewDateElement() { + if (this.lastReviewDate == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariable.lastReviewDate"); + else if (Configuration.doAutoCreate()) + this.lastReviewDate = new DateType(); // bb + return this.lastReviewDate; + } + + public boolean hasLastReviewDateElement() { + return this.lastReviewDate != null && !this.lastReviewDate.isEmpty(); + } + + public boolean hasLastReviewDate() { + return this.lastReviewDate != null && !this.lastReviewDate.isEmpty(); + } + + /** + * @param value {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value + */ + public EvidenceVariable setLastReviewDateElement(DateType value) { + this.lastReviewDate = value; + return this; + } + + /** + * @return The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. + */ + public Date getLastReviewDate() { + return this.lastReviewDate == null ? null : this.lastReviewDate.getValue(); + } + + /** + * @param value The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. + */ + public EvidenceVariable setLastReviewDate(Date value) { + if (value == null) + this.lastReviewDate = null; + else { + if (this.lastReviewDate == null) + this.lastReviewDate = new DateType(); + this.lastReviewDate.setValue(value); + } + return this; + } + + /** + * @return {@link #effectivePeriod} (The period during which the resource content was or is planned to be in active use.) + */ + public Period getEffectivePeriod() { + if (this.effectivePeriod == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create EvidenceVariable.effectivePeriod"); + else if (Configuration.doAutoCreate()) + this.effectivePeriod = new Period(); // cc + return this.effectivePeriod; + } + + public boolean hasEffectivePeriod() { + return this.effectivePeriod != null && !this.effectivePeriod.isEmpty(); + } + + /** + * @param value {@link #effectivePeriod} (The period during which the resource content was or is planned to be in active use.) + */ + public EvidenceVariable setEffectivePeriod(Period value) { + this.effectivePeriod = value; + return this; } /** @@ -3145,31 +4394,7 @@ public class EvidenceVariable extends MetadataResource { } /** - * @return {@link #characteristicCombination} (Used to specify how two or more characteristics are combined.) - */ - public EvidenceVariableCharacteristicCombinationComponent getCharacteristicCombination() { - if (this.characteristicCombination == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create EvidenceVariable.characteristicCombination"); - else if (Configuration.doAutoCreate()) - this.characteristicCombination = new EvidenceVariableCharacteristicCombinationComponent(); // cc - return this.characteristicCombination; - } - - public boolean hasCharacteristicCombination() { - return this.characteristicCombination != null && !this.characteristicCombination.isEmpty(); - } - - /** - * @param value {@link #characteristicCombination} (Used to specify how two or more characteristics are combined.) - */ - public EvidenceVariable setCharacteristicCombination(EvidenceVariableCharacteristicCombinationComponent value) { - this.characteristicCombination = value; - return this; - } - - /** - * @return {@link #characteristic} (A characteristic that defines the members of the evidence element. Multiple characteristics are applied with "and" semantics.) + * @return {@link #characteristic} (A defining factor of the EvidenceVariable. Multiple characteristics are applied with "and" semantics.) */ public List getCharacteristic() { if (this.characteristic == null) @@ -3222,7 +4447,7 @@ public class EvidenceVariable extends MetadataResource { } /** - * @return {@link #handling} (continuous | dichotomous | ordinal | polychotomous.). This is the underlying object with id, value and extensions. The accessor "getHandling" gives direct access to the value + * @return {@link #handling} (The method of handling in statistical analysis.). This is the underlying object with id, value and extensions. The accessor "getHandling" gives direct access to the value */ public Enumeration getHandlingElement() { if (this.handling == null) @@ -3242,7 +4467,7 @@ public class EvidenceVariable extends MetadataResource { } /** - * @param value {@link #handling} (continuous | dichotomous | ordinal | polychotomous.). This is the underlying object with id, value and extensions. The accessor "getHandling" gives direct access to the value + * @param value {@link #handling} (The method of handling in statistical analysis.). This is the underlying object with id, value and extensions. The accessor "getHandling" gives direct access to the value */ public EvidenceVariable setHandlingElement(Enumeration value) { this.handling = value; @@ -3250,14 +4475,14 @@ public class EvidenceVariable extends MetadataResource { } /** - * @return continuous | dichotomous | ordinal | polychotomous. + * @return The method of handling in statistical analysis. */ public EvidenceVariableHandling getHandling() { return this.handling == null ? null : this.handling.getValue(); } /** - * @param value continuous | dichotomous | ordinal | polychotomous. + * @param value The method of handling in statistical analysis. */ public EvidenceVariable setHandling(EvidenceVariableHandling value) { if (value == null) @@ -3323,42 +4548,6 @@ public class EvidenceVariable extends MetadataResource { return getCategory().get(0); } - /** - * not supported on this implementation - */ - @Override - public int getExperimentalMax() { - return 0; - } - /** - * @return {@link #experimental} (A Boolean value to indicate that this evidence variable is 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() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); - } - - public boolean hasExperimentalElement() { - return false; - } - public boolean hasExperimental() { - return false; - } - - /** - * @param value {@link #experimental} (A Boolean value to indicate that this evidence variable is 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 EvidenceVariable setExperimentalElement(BooleanType value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); - } - public boolean getExperimental() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); - } - /** - * @param value A Boolean value to indicate that this evidence variable is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage. - */ - public EvidenceVariable setExperimental(boolean value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"experimental\""); - } /** * not supported on this implementation */ @@ -3430,137 +4619,6 @@ public class EvidenceVariable extends MetadataResource { public EvidenceVariable setPurpose(String value) { throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"purpose\""); } - /** - * not supported on this implementation - */ - @Override - public int getCopyrightMax() { - return 0; - } - /** - * @return {@link #copyright} (A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value - */ - public MarkdownType getCopyrightElement() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"copyright\""); - } - - public boolean hasCopyrightElement() { - return false; - } - public boolean hasCopyright() { - return false; - } - - /** - * @param value {@link #copyright} (A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value - */ - public EvidenceVariable setCopyrightElement(MarkdownType value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"copyright\""); - } - public String getCopyright() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"copyright\""); - } - /** - * @param value A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable. - */ - public EvidenceVariable setCopyright(String value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"copyright\""); - } - /** - * not supported on this implementation - */ - @Override - public int getApprovalDateMax() { - return 0; - } - /** - * @return {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value - */ - public DateType getApprovalDateElement() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"approvalDate\""); - } - - public boolean hasApprovalDateElement() { - return false; - } - public boolean hasApprovalDate() { - return false; - } - - /** - * @param value {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value - */ - public EvidenceVariable setApprovalDateElement(DateType value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"approvalDate\""); - } - public Date getApprovalDate() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"approvalDate\""); - } - /** - * @param value The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. - */ - public EvidenceVariable setApprovalDate(Date value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"approvalDate\""); - } - /** - * not supported on this implementation - */ - @Override - public int getLastReviewDateMax() { - return 0; - } - /** - * @return {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value - */ - public DateType getLastReviewDateElement() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"lastReviewDate\""); - } - - public boolean hasLastReviewDateElement() { - return false; - } - public boolean hasLastReviewDate() { - return false; - } - - /** - * @param value {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value - */ - public EvidenceVariable setLastReviewDateElement(DateType value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"lastReviewDate\""); - } - public Date getLastReviewDate() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"lastReviewDate\""); - } - /** - * @param value The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. - */ - public EvidenceVariable setLastReviewDate(Date value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"lastReviewDate\""); - } - /** - * not supported on this implementation - */ - @Override - public int getEffectivePeriodMax() { - return 0; - } - /** - * @return {@link #effectivePeriod} (The period during which the evidence variable content was or is planned to be in active use.) - */ - public Period getEffectivePeriod() { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"effectivePeriod\""); - } - public boolean hasEffectivePeriod() { - return false; - } - /** - * @param value {@link #effectivePeriod} (The period during which the evidence variable content was or is planned to be in active use.) - */ - public EvidenceVariable setEffectivePeriod(Period value) { - throw new Error("The resource type \"EvidenceVariable\" does not implement the property \"effectivePeriod\""); - } - /** * not supported on this implementation */ @@ -3569,7 +4627,7 @@ public class EvidenceVariable extends MetadataResource { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the evidence variable. Topics provide a high-level categorization of the evidence variable that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -3606,21 +4664,25 @@ public class EvidenceVariable extends MetadataResource { children.add(new Property("shortTitle", "string", "The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary.", 0, 1, shortTitle)); children.add(new Property("subtitle", "string", "An explanatory or alternate title for the EvidenceVariable giving additional information about its content.", 0, 1, subtitle)); children.add(new Property("status", "code", "The status of this evidence variable. Enables tracking the life-cycle of the content.", 0, 1, status)); + children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); children.add(new Property("date", "dateTime", "The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.", 0, 1, date)); + children.add(new Property("publisher", "string", "The name of the organization or individual that published the evidence variable.", 0, 1, publisher)); + children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("description", "markdown", "A free text natural language description of the evidence variable from a consumer's perspective.", 0, 1, description)); children.add(new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the resource.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances.", 0, java.lang.Integer.MAX_VALUE, useContext)); - children.add(new Property("publisher", "string", "The name of the organization or individual that published the evidence variable.", 0, 1, publisher)); - children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); + children.add(new Property("copyright", "markdown", "A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource.", 0, 1, copyright)); + children.add(new Property("approvalDate", "date", "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", 0, 1, approvalDate)); + children.add(new Property("lastReviewDate", "date", "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", 0, 1, lastReviewDate)); + children.add(new Property("effectivePeriod", "Period", "The period during which the resource content was or is planned to be in active use.", 0, 1, effectivePeriod)); children.add(new Property("author", "ContactDetail", "An individiual or organization primarily involved in the creation and maintenance of the content.", 0, java.lang.Integer.MAX_VALUE, author)); children.add(new Property("editor", "ContactDetail", "An individual or organization primarily responsible for internal coherence of the content.", 0, java.lang.Integer.MAX_VALUE, editor)); children.add(new Property("reviewer", "ContactDetail", "An individual or organization primarily responsible for review of some aspect of the content.", 0, java.lang.Integer.MAX_VALUE, reviewer)); children.add(new Property("endorser", "ContactDetail", "An individual or organization responsible for officially endorsing the content for use in some setting.", 0, java.lang.Integer.MAX_VALUE, endorser)); children.add(new Property("relatedArtifact", "RelatedArtifact", "Related artifacts such as additional documentation, justification, or bibliographic references.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact)); children.add(new Property("actual", "boolean", "True if the actual variable measured, false if a conceptual representation of the intended variable.", 0, 1, actual)); - children.add(new Property("characteristicCombination", "", "Used to specify how two or more characteristics are combined.", 0, 1, characteristicCombination)); - children.add(new Property("characteristic", "", "A characteristic that defines the members of the evidence element. Multiple characteristics are applied with \"and\" semantics.", 0, java.lang.Integer.MAX_VALUE, characteristic)); - children.add(new Property("handling", "code", "continuous | dichotomous | ordinal | polychotomous.", 0, 1, handling)); + children.add(new Property("characteristic", "", "A defining factor of the EvidenceVariable. Multiple characteristics are applied with \"and\" semantics.", 0, java.lang.Integer.MAX_VALUE, characteristic)); + children.add(new Property("handling", "code", "The method of handling in statistical analysis.", 0, 1, handling)); children.add(new Property("category", "", "A grouping for ordinal or polychotomous variables.", 0, java.lang.Integer.MAX_VALUE, category)); } @@ -3635,21 +4697,25 @@ public class EvidenceVariable extends MetadataResource { case 1555503932: /*shortTitle*/ return new Property("shortTitle", "string", "The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary.", 0, 1, shortTitle); case -2060497896: /*subtitle*/ return new Property("subtitle", "string", "An explanatory or alternate title for the EvidenceVariable giving additional information about its content.", 0, 1, subtitle); case -892481550: /*status*/ return new Property("status", "code", "The status of this evidence variable. Enables tracking the life-cycle of the content.", 0, 1, status); + case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this resource is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes.", 0, 1, date); + case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the evidence variable.", 0, 1, publisher); + case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the evidence variable from a consumer's perspective.", 0, 1, description); case 3387378: /*note*/ return new Property("note", "Annotation", "A human-readable string to clarify or explain concepts about the resource.", 0, java.lang.Integer.MAX_VALUE, note); case -669707736: /*useContext*/ return new Property("useContext", "UsageContext", "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances.", 0, java.lang.Integer.MAX_VALUE, useContext); - case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the evidence variable.", 0, 1, publisher); - case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); + case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "A copyright statement relating to the resource and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the resource.", 0, 1, copyright); + case 223539345: /*approvalDate*/ return new Property("approvalDate", "date", "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.", 0, 1, approvalDate); + case -1687512484: /*lastReviewDate*/ return new Property("lastReviewDate", "date", "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.", 0, 1, lastReviewDate); + case -403934648: /*effectivePeriod*/ return new Property("effectivePeriod", "Period", "The period during which the resource content was or is planned to be in active use.", 0, 1, effectivePeriod); case -1406328437: /*author*/ return new Property("author", "ContactDetail", "An individiual or organization primarily involved in the creation and maintenance of the content.", 0, java.lang.Integer.MAX_VALUE, author); case -1307827859: /*editor*/ return new Property("editor", "ContactDetail", "An individual or organization primarily responsible for internal coherence of the content.", 0, java.lang.Integer.MAX_VALUE, editor); case -261190139: /*reviewer*/ return new Property("reviewer", "ContactDetail", "An individual or organization primarily responsible for review of some aspect of the content.", 0, java.lang.Integer.MAX_VALUE, reviewer); case 1740277666: /*endorser*/ return new Property("endorser", "ContactDetail", "An individual or organization responsible for officially endorsing the content for use in some setting.", 0, java.lang.Integer.MAX_VALUE, endorser); case 666807069: /*relatedArtifact*/ return new Property("relatedArtifact", "RelatedArtifact", "Related artifacts such as additional documentation, justification, or bibliographic references.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact); case -1422939762: /*actual*/ return new Property("actual", "boolean", "True if the actual variable measured, false if a conceptual representation of the intended variable.", 0, 1, actual); - case -861347276: /*characteristicCombination*/ return new Property("characteristicCombination", "", "Used to specify how two or more characteristics are combined.", 0, 1, characteristicCombination); - case 366313883: /*characteristic*/ return new Property("characteristic", "", "A characteristic that defines the members of the evidence element. Multiple characteristics are applied with \"and\" semantics.", 0, java.lang.Integer.MAX_VALUE, characteristic); - case 2072805: /*handling*/ return new Property("handling", "code", "continuous | dichotomous | ordinal | polychotomous.", 0, 1, handling); + case 366313883: /*characteristic*/ return new Property("characteristic", "", "A defining factor of the EvidenceVariable. Multiple characteristics are applied with \"and\" semantics.", 0, java.lang.Integer.MAX_VALUE, characteristic); + case 2072805: /*handling*/ return new Property("handling", "code", "The method of handling in statistical analysis.", 0, 1, handling); case 50511102: /*category*/ return new Property("category", "", "A grouping for ordinal or polychotomous variables.", 0, java.lang.Integer.MAX_VALUE, category); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3667,19 +4733,23 @@ public class EvidenceVariable extends MetadataResource { case 1555503932: /*shortTitle*/ return this.shortTitle == null ? new Base[0] : new Base[] {this.shortTitle}; // StringType case -2060497896: /*subtitle*/ return this.subtitle == null ? new Base[0] : new Base[] {this.subtitle}; // StringType case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType + case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType + case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case -669707736: /*useContext*/ return this.useContext == null ? new Base[0] : this.useContext.toArray(new Base[this.useContext.size()]); // UsageContext - case 1447404028: /*publisher*/ return this.publisher == null ? new Base[0] : new Base[] {this.publisher}; // StringType - case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactDetail + case 1522889671: /*copyright*/ return this.copyright == null ? new Base[0] : new Base[] {this.copyright}; // MarkdownType + case 223539345: /*approvalDate*/ return this.approvalDate == null ? new Base[0] : new Base[] {this.approvalDate}; // DateType + case -1687512484: /*lastReviewDate*/ return this.lastReviewDate == null ? new Base[0] : new Base[] {this.lastReviewDate}; // DateType + case -403934648: /*effectivePeriod*/ return this.effectivePeriod == null ? new Base[0] : new Base[] {this.effectivePeriod}; // Period case -1406328437: /*author*/ return this.author == null ? new Base[0] : this.author.toArray(new Base[this.author.size()]); // ContactDetail case -1307827859: /*editor*/ return this.editor == null ? new Base[0] : this.editor.toArray(new Base[this.editor.size()]); // ContactDetail case -261190139: /*reviewer*/ return this.reviewer == null ? new Base[0] : this.reviewer.toArray(new Base[this.reviewer.size()]); // ContactDetail case 1740277666: /*endorser*/ return this.endorser == null ? new Base[0] : this.endorser.toArray(new Base[this.endorser.size()]); // ContactDetail case 666807069: /*relatedArtifact*/ return this.relatedArtifact == null ? new Base[0] : this.relatedArtifact.toArray(new Base[this.relatedArtifact.size()]); // RelatedArtifact case -1422939762: /*actual*/ return this.actual == null ? new Base[0] : new Base[] {this.actual}; // BooleanType - case -861347276: /*characteristicCombination*/ return this.characteristicCombination == null ? new Base[0] : new Base[] {this.characteristicCombination}; // EvidenceVariableCharacteristicCombinationComponent case 366313883: /*characteristic*/ return this.characteristic == null ? new Base[0] : this.characteristic.toArray(new Base[this.characteristic.size()]); // EvidenceVariableCharacteristicComponent case 2072805: /*handling*/ return this.handling == null ? new Base[0] : new Base[] {this.handling}; // Enumeration case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // EvidenceVariableCategoryComponent @@ -3716,9 +4786,18 @@ public class EvidenceVariable extends MetadataResource { value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration return value; + case -404562712: // experimental + this.experimental = TypeConvertor.castToBoolean(value); // BooleanType + return value; case 3076014: // date this.date = TypeConvertor.castToDateTime(value); // DateTimeType return value; + case 1447404028: // publisher + this.publisher = TypeConvertor.castToString(value); // StringType + return value; + case 951526432: // contact + this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail + return value; case -1724546052: // description this.description = TypeConvertor.castToMarkdown(value); // MarkdownType return value; @@ -3728,11 +4807,17 @@ public class EvidenceVariable extends MetadataResource { case -669707736: // useContext this.getUseContext().add(TypeConvertor.castToUsageContext(value)); // UsageContext return value; - case 1447404028: // publisher - this.publisher = TypeConvertor.castToString(value); // StringType + case 1522889671: // copyright + this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType return value; - case 951526432: // contact - this.getContact().add(TypeConvertor.castToContactDetail(value)); // ContactDetail + case 223539345: // approvalDate + this.approvalDate = TypeConvertor.castToDate(value); // DateType + return value; + case -1687512484: // lastReviewDate + this.lastReviewDate = TypeConvertor.castToDate(value); // DateType + return value; + case -403934648: // effectivePeriod + this.effectivePeriod = TypeConvertor.castToPeriod(value); // Period return value; case -1406328437: // author this.getAuthor().add(TypeConvertor.castToContactDetail(value)); // ContactDetail @@ -3752,9 +4837,6 @@ public class EvidenceVariable extends MetadataResource { case -1422939762: // actual this.actual = TypeConvertor.castToBoolean(value); // BooleanType return value; - case -861347276: // characteristicCombination - this.characteristicCombination = (EvidenceVariableCharacteristicCombinationComponent) value; // EvidenceVariableCharacteristicCombinationComponent - return value; case 366313883: // characteristic this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value); // EvidenceVariableCharacteristicComponent return value; @@ -3789,18 +4871,28 @@ public class EvidenceVariable extends MetadataResource { } else if (name.equals("status")) { value = new PublicationStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration + } else if (name.equals("experimental")) { + this.experimental = TypeConvertor.castToBoolean(value); // BooleanType } else if (name.equals("date")) { this.date = TypeConvertor.castToDateTime(value); // DateTimeType + } else if (name.equals("publisher")) { + this.publisher = TypeConvertor.castToString(value); // StringType + } else if (name.equals("contact")) { + this.getContact().add(TypeConvertor.castToContactDetail(value)); } else if (name.equals("description")) { this.description = TypeConvertor.castToMarkdown(value); // MarkdownType } else if (name.equals("note")) { this.getNote().add(TypeConvertor.castToAnnotation(value)); } else if (name.equals("useContext")) { this.getUseContext().add(TypeConvertor.castToUsageContext(value)); - } else if (name.equals("publisher")) { - this.publisher = TypeConvertor.castToString(value); // StringType - } else if (name.equals("contact")) { - this.getContact().add(TypeConvertor.castToContactDetail(value)); + } else if (name.equals("copyright")) { + this.copyright = TypeConvertor.castToMarkdown(value); // MarkdownType + } else if (name.equals("approvalDate")) { + this.approvalDate = TypeConvertor.castToDate(value); // DateType + } else if (name.equals("lastReviewDate")) { + this.lastReviewDate = TypeConvertor.castToDate(value); // DateType + } else if (name.equals("effectivePeriod")) { + this.effectivePeriod = TypeConvertor.castToPeriod(value); // Period } else if (name.equals("author")) { this.getAuthor().add(TypeConvertor.castToContactDetail(value)); } else if (name.equals("editor")) { @@ -3813,8 +4905,6 @@ public class EvidenceVariable extends MetadataResource { this.getRelatedArtifact().add(TypeConvertor.castToRelatedArtifact(value)); } else if (name.equals("actual")) { this.actual = TypeConvertor.castToBoolean(value); // BooleanType - } else if (name.equals("characteristicCombination")) { - this.characteristicCombination = (EvidenceVariableCharacteristicCombinationComponent) value; // EvidenceVariableCharacteristicCombinationComponent } else if (name.equals("characteristic")) { this.getCharacteristic().add((EvidenceVariableCharacteristicComponent) value); } else if (name.equals("handling")) { @@ -3838,19 +4928,23 @@ public class EvidenceVariable extends MetadataResource { case 1555503932: return getShortTitleElement(); case -2060497896: return getSubtitleElement(); case -892481550: return getStatusElement(); + case -404562712: return getExperimentalElement(); case 3076014: return getDateElement(); + case 1447404028: return getPublisherElement(); + case 951526432: return addContact(); case -1724546052: return getDescriptionElement(); case 3387378: return addNote(); case -669707736: return addUseContext(); - case 1447404028: return getPublisherElement(); - case 951526432: return addContact(); + case 1522889671: return getCopyrightElement(); + case 223539345: return getApprovalDateElement(); + case -1687512484: return getLastReviewDateElement(); + case -403934648: return getEffectivePeriod(); case -1406328437: return addAuthor(); case -1307827859: return addEditor(); case -261190139: return addReviewer(); case 1740277666: return addEndorser(); case 666807069: return addRelatedArtifact(); case -1422939762: return getActualElement(); - case -861347276: return getCharacteristicCombination(); case 366313883: return addCharacteristic(); case 2072805: return getHandlingElement(); case 50511102: return addCategory(); @@ -3870,19 +4964,23 @@ public class EvidenceVariable extends MetadataResource { case 1555503932: /*shortTitle*/ return new String[] {"string"}; case -2060497896: /*subtitle*/ return new String[] {"string"}; case -892481550: /*status*/ return new String[] {"code"}; + case -404562712: /*experimental*/ return new String[] {"boolean"}; case 3076014: /*date*/ return new String[] {"dateTime"}; + case 1447404028: /*publisher*/ return new String[] {"string"}; + case 951526432: /*contact*/ return new String[] {"ContactDetail"}; case -1724546052: /*description*/ return new String[] {"markdown"}; case 3387378: /*note*/ return new String[] {"Annotation"}; case -669707736: /*useContext*/ return new String[] {"UsageContext"}; - case 1447404028: /*publisher*/ return new String[] {"string"}; - case 951526432: /*contact*/ return new String[] {"ContactDetail"}; + case 1522889671: /*copyright*/ return new String[] {"markdown"}; + case 223539345: /*approvalDate*/ return new String[] {"date"}; + case -1687512484: /*lastReviewDate*/ return new String[] {"date"}; + case -403934648: /*effectivePeriod*/ return new String[] {"Period"}; case -1406328437: /*author*/ return new String[] {"ContactDetail"}; case -1307827859: /*editor*/ return new String[] {"ContactDetail"}; case -261190139: /*reviewer*/ return new String[] {"ContactDetail"}; case 1740277666: /*endorser*/ return new String[] {"ContactDetail"}; case 666807069: /*relatedArtifact*/ return new String[] {"RelatedArtifact"}; case -1422939762: /*actual*/ return new String[] {"boolean"}; - case -861347276: /*characteristicCombination*/ return new String[] {}; case 366313883: /*characteristic*/ return new String[] {}; case 2072805: /*handling*/ return new String[] {"code"}; case 50511102: /*category*/ return new String[] {}; @@ -3917,9 +5015,18 @@ public class EvidenceVariable extends MetadataResource { else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.status"); } + else if (name.equals("experimental")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.experimental"); + } else if (name.equals("date")) { throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.date"); } + else if (name.equals("publisher")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.publisher"); + } + else if (name.equals("contact")) { + return addContact(); + } else if (name.equals("description")) { throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.description"); } @@ -3929,11 +5036,18 @@ public class EvidenceVariable extends MetadataResource { else if (name.equals("useContext")) { return addUseContext(); } - else if (name.equals("publisher")) { - throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.publisher"); + else if (name.equals("copyright")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.copyright"); } - else if (name.equals("contact")) { - return addContact(); + else if (name.equals("approvalDate")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.approvalDate"); + } + else if (name.equals("lastReviewDate")) { + throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.lastReviewDate"); + } + else if (name.equals("effectivePeriod")) { + this.effectivePeriod = new Period(); + return this.effectivePeriod; } else if (name.equals("author")) { return addAuthor(); @@ -3953,10 +5067,6 @@ public class EvidenceVariable extends MetadataResource { else if (name.equals("actual")) { throw new FHIRException("Cannot call addChild on a primitive type EvidenceVariable.actual"); } - else if (name.equals("characteristicCombination")) { - this.characteristicCombination = new EvidenceVariableCharacteristicCombinationComponent(); - return this.characteristicCombination; - } else if (name.equals("characteristic")) { return addCharacteristic(); } @@ -3995,7 +5105,14 @@ public class EvidenceVariable extends MetadataResource { dst.shortTitle = shortTitle == null ? null : shortTitle.copy(); dst.subtitle = subtitle == null ? null : subtitle.copy(); dst.status = status == null ? null : status.copy(); + dst.experimental = experimental == null ? null : experimental.copy(); dst.date = date == null ? null : date.copy(); + dst.publisher = publisher == null ? null : publisher.copy(); + if (contact != null) { + dst.contact = new ArrayList(); + for (ContactDetail i : contact) + dst.contact.add(i.copy()); + }; dst.description = description == null ? null : description.copy(); if (note != null) { dst.note = new ArrayList(); @@ -4007,12 +5124,10 @@ public class EvidenceVariable extends MetadataResource { for (UsageContext i : useContext) dst.useContext.add(i.copy()); }; - dst.publisher = publisher == null ? null : publisher.copy(); - if (contact != null) { - dst.contact = new ArrayList(); - for (ContactDetail i : contact) - dst.contact.add(i.copy()); - }; + dst.copyright = copyright == null ? null : copyright.copy(); + dst.approvalDate = approvalDate == null ? null : approvalDate.copy(); + dst.lastReviewDate = lastReviewDate == null ? null : lastReviewDate.copy(); + dst.effectivePeriod = effectivePeriod == null ? null : effectivePeriod.copy(); if (author != null) { dst.author = new ArrayList(); for (ContactDetail i : author) @@ -4039,7 +5154,6 @@ public class EvidenceVariable extends MetadataResource { dst.relatedArtifact.add(i.copy()); }; dst.actual = actual == null ? null : actual.copy(); - dst.characteristicCombination = characteristicCombination == null ? null : characteristicCombination.copy(); if (characteristic != null) { dst.characteristic = new ArrayList(); for (EvidenceVariableCharacteristicComponent i : characteristic) @@ -4066,13 +5180,15 @@ public class EvidenceVariable extends MetadataResource { EvidenceVariable o = (EvidenceVariable) other_; return compareDeep(url, o.url, true) && compareDeep(identifier, o.identifier, true) && compareDeep(version, o.version, true) && compareDeep(name, o.name, true) && compareDeep(title, o.title, true) && compareDeep(shortTitle, o.shortTitle, true) - && compareDeep(subtitle, o.subtitle, true) && compareDeep(status, o.status, true) && compareDeep(date, o.date, true) + && compareDeep(subtitle, o.subtitle, true) && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) + && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) && compareDeep(note, o.note, true) && compareDeep(useContext, o.useContext, true) - && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) && compareDeep(author, o.author, true) - && compareDeep(editor, o.editor, true) && compareDeep(reviewer, o.reviewer, true) && compareDeep(endorser, o.endorser, true) - && compareDeep(relatedArtifact, o.relatedArtifact, true) && compareDeep(actual, o.actual, true) - && compareDeep(characteristicCombination, o.characteristicCombination, true) && compareDeep(characteristic, o.characteristic, true) - && compareDeep(handling, o.handling, true) && compareDeep(category, o.category, true); + && compareDeep(copyright, o.copyright, true) && compareDeep(approvalDate, o.approvalDate, true) + && compareDeep(lastReviewDate, o.lastReviewDate, true) && compareDeep(effectivePeriod, o.effectivePeriod, true) + && compareDeep(author, o.author, true) && compareDeep(editor, o.editor, true) && compareDeep(reviewer, o.reviewer, true) + && compareDeep(endorser, o.endorser, true) && compareDeep(relatedArtifact, o.relatedArtifact, true) + && compareDeep(actual, o.actual, true) && compareDeep(characteristic, o.characteristic, true) && compareDeep(handling, o.handling, true) + && compareDeep(category, o.category, true); } @Override @@ -4084,16 +5200,18 @@ public class EvidenceVariable extends MetadataResource { EvidenceVariable o = (EvidenceVariable) other_; return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) && compareValues(title, o.title, true) && compareValues(shortTitle, o.shortTitle, true) && compareValues(subtitle, o.subtitle, true) - && compareValues(status, o.status, true) && compareValues(date, o.date, true) && compareValues(description, o.description, true) - && compareValues(publisher, o.publisher, true) && compareValues(actual, o.actual, true) && compareValues(handling, o.handling, true) - ; + && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) && compareValues(date, o.date, true) + && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) && compareValues(copyright, o.copyright, true) + && compareValues(approvalDate, o.approvalDate, true) && compareValues(lastReviewDate, o.lastReviewDate, true) + && compareValues(actual, o.actual, true) && compareValues(handling, o.handling, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, identifier, version - , name, title, shortTitle, subtitle, status, date, description, note, useContext - , publisher, contact, author, editor, reviewer, endorser, relatedArtifact, actual - , characteristicCombination, characteristic, handling, category); + , name, title, shortTitle, subtitle, status, experimental, date, publisher, contact + , description, note, useContext, copyright, approvalDate, lastReviewDate, effectivePeriod + , author, editor, reviewer, endorser, relatedArtifact, actual, characteristic + , handling, category); } @Override @@ -4101,436 +5219,6 @@ public class EvidenceVariable extends MetadataResource { return ResourceType.EvidenceVariable; } - /** - * Search parameter: composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='composed-of').resource
- *

- */ - @SearchParamDefinition(name="composed-of", path="EvidenceVariable.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_COMPOSED_OF = "composed-of"; - /** - * Fluent Client search parameter constant for composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='composed-of').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EvidenceVariable:composed-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("EvidenceVariable:composed-of").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the evidence variable
- * Type: quantity
- * Path: (EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the evidence variable", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the evidence variable
- * Type: quantity
- * Path: (EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the evidence variable
- * Type: composite
- * Path: EvidenceVariable.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="EvidenceVariable.useContext", description="A use context type and quantity- or range-based value assigned to the evidence variable", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the evidence variable
- * Type: composite
- * Path: EvidenceVariable.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the evidence variable
- * Type: composite
- * Path: EvidenceVariable.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="EvidenceVariable.useContext", description="A use context type and value assigned to the evidence variable", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the evidence variable
- * Type: composite
- * Path: EvidenceVariable.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the evidence variable
- * Type: token
- * Path: EvidenceVariable.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="EvidenceVariable.useContext.code", description="A type of use context assigned to the evidence variable", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the evidence variable
- * Type: token
- * Path: EvidenceVariable.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the evidence variable
- * Type: token
- * Path: (EvidenceVariable.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(EvidenceVariable.useContext.value as CodeableConcept)", description="A use context assigned to the evidence variable", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the evidence variable
- * Type: token
- * Path: (EvidenceVariable.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The evidence variable publication date
- * Type: date
- * Path: EvidenceVariable.date
- *

- */ - @SearchParamDefinition(name="date", path="EvidenceVariable.date", description="The evidence variable publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The evidence variable publication date
- * Type: date
- * Path: EvidenceVariable.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='depends-on').resource
- *

- */ - @SearchParamDefinition(name="depends-on", path="EvidenceVariable.relatedArtifact.where(type='depends-on').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='depends-on').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EvidenceVariable:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("EvidenceVariable:depends-on").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='derived-from').resource
- *

- */ - @SearchParamDefinition(name="derived-from", path="EvidenceVariable.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='derived-from').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EvidenceVariable:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("EvidenceVariable:derived-from").toLocked(); - - /** - * Search parameter: description - *

- * Description: The description of the evidence variable
- * Type: string
- * Path: EvidenceVariable.description
- *

- */ - @SearchParamDefinition(name="description", path="EvidenceVariable.description", description="The description of the evidence variable", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the evidence variable
- * Type: string
- * Path: EvidenceVariable.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the evidence variable
- * Type: token
- * Path: EvidenceVariable.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="EvidenceVariable.identifier", description="External identifier for the evidence variable", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the evidence variable
- * Type: token
- * Path: EvidenceVariable.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the evidence variable
- * Type: string
- * Path: EvidenceVariable.name
- *

- */ - @SearchParamDefinition(name="name", path="EvidenceVariable.name", description="Computationally friendly name of the evidence variable", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the evidence variable
- * Type: string
- * Path: EvidenceVariable.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='predecessor').resource
- *

- */ - @SearchParamDefinition(name="predecessor", path="EvidenceVariable.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PREDECESSOR = "predecessor"; - /** - * Fluent Client search parameter constant for predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='predecessor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EvidenceVariable:predecessor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("EvidenceVariable:predecessor").toLocked(); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the evidence variable
- * Type: string
- * Path: EvidenceVariable.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="EvidenceVariable.publisher", description="Name of the publisher of the evidence variable", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the evidence variable
- * Type: string
- * Path: EvidenceVariable.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the evidence variable
- * Type: token
- * Path: EvidenceVariable.status
- *

- */ - @SearchParamDefinition(name="status", path="EvidenceVariable.status", description="The current status of the evidence variable", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the evidence variable
- * Type: token
- * Path: EvidenceVariable.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='successor').resource
- *

- */ - @SearchParamDefinition(name="successor", path="EvidenceVariable.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUCCESSOR = "successor"; - /** - * Fluent Client search parameter constant for successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: EvidenceVariable.relatedArtifact.where(type='successor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "EvidenceVariable:successor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("EvidenceVariable:successor").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the evidence variable
- * Type: string
- * Path: EvidenceVariable.title
- *

- */ - @SearchParamDefinition(name="title", path="EvidenceVariable.title", description="The human-friendly name of the evidence variable", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the evidence variable
- * Type: string
- * Path: EvidenceVariable.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: topic - *

- * Description: Topics associated with the EvidenceVariable
- * Type: token
- * Path: null
- *

- */ - @SearchParamDefinition(name="topic", path="", description="Topics associated with the EvidenceVariable", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Topics associated with the EvidenceVariable
- * Type: token
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the evidence variable
- * Type: uri
- * Path: EvidenceVariable.url
- *

- */ - @SearchParamDefinition(name="url", path="EvidenceVariable.url", description="The uri that identifies the evidence variable", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the evidence variable
- * Type: uri
- * Path: EvidenceVariable.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the evidence variable
- * Type: token
- * Path: EvidenceVariable.version
- *

- */ - @SearchParamDefinition(name="version", path="EvidenceVariable.version", description="The business version of the evidence variable", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the evidence variable
- * Type: token
- * Path: EvidenceVariable.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExampleScenario.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExampleScenario.java index 0d0137450..11066b366 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExampleScenario.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExampleScenario.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class ExampleScenario extends CanonicalResource { switch (this) { case PERSON: return "person"; case ENTITY: return "entity"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class ExampleScenario extends CanonicalResource { switch (this) { case PERSON: return "http://hl7.org/fhir/examplescenario-actor-type"; case ENTITY: return "http://hl7.org/fhir/examplescenario-actor-type"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class ExampleScenario extends CanonicalResource { switch (this) { case PERSON: return "A person."; case ENTITY: return "A system."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class ExampleScenario extends CanonicalResource { switch (this) { case PERSON: return "Person"; case ENTITY: return "System"; + case NULL: return null; default: return "?"; } } @@ -553,10 +557,10 @@ public class ExampleScenario extends CanonicalResource { /** * The type of the resource. */ - @Child(name = "resourceType", type = {CodeType.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Child(name = "type", type = {CodeType.class}, order=2, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="The type of the resource", formalDefinition="The type of the resource." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types") - protected CodeType resourceType; + protected CodeType type; /** * A short name for the resource instance. @@ -586,7 +590,7 @@ public class ExampleScenario extends CanonicalResource { @Description(shortDefinition="Resources contained in the instance", formalDefinition="Resources contained in the instance (e.g. the observations contained in a bundle)." ) protected List containedInstance; - private static final long serialVersionUID = -1928273130L; + private static final long serialVersionUID = 869705192L; /** * Constructor @@ -598,10 +602,10 @@ public class ExampleScenario extends CanonicalResource { /** * Constructor */ - public ExampleScenarioInstanceComponent(String resourceId, String resourceType) { + public ExampleScenarioInstanceComponent(String resourceId, String type) { super(); this.setResourceId(resourceId); - this.setResourceType(resourceType); + this.setType(type); } /** @@ -650,47 +654,47 @@ public class ExampleScenario extends CanonicalResource { } /** - * @return {@link #resourceType} (The type of the resource.). This is the underlying object with id, value and extensions. The accessor "getResourceType" gives direct access to the value + * @return {@link #type} (The type of the resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ - public CodeType getResourceTypeElement() { - if (this.resourceType == null) + public CodeType getTypeElement() { + if (this.type == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ExampleScenarioInstanceComponent.resourceType"); + throw new Error("Attempt to auto-create ExampleScenarioInstanceComponent.type"); else if (Configuration.doAutoCreate()) - this.resourceType = new CodeType(); // bb - return this.resourceType; + this.type = new CodeType(); // bb + return this.type; } - public boolean hasResourceTypeElement() { - return this.resourceType != null && !this.resourceType.isEmpty(); + public boolean hasTypeElement() { + return this.type != null && !this.type.isEmpty(); } - public boolean hasResourceType() { - return this.resourceType != null && !this.resourceType.isEmpty(); + public boolean hasType() { + return this.type != null && !this.type.isEmpty(); } /** - * @param value {@link #resourceType} (The type of the resource.). This is the underlying object with id, value and extensions. The accessor "getResourceType" gives direct access to the value + * @param value {@link #type} (The type of the resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value */ - public ExampleScenarioInstanceComponent setResourceTypeElement(CodeType value) { - this.resourceType = value; + public ExampleScenarioInstanceComponent setTypeElement(CodeType value) { + this.type = value; return this; } /** * @return The type of the resource. */ - public String getResourceType() { - return this.resourceType == null ? null : this.resourceType.getValue(); + public String getType() { + return this.type == null ? null : this.type.getValue(); } /** * @param value The type of the resource. */ - public ExampleScenarioInstanceComponent setResourceType(String value) { - if (this.resourceType == null) - this.resourceType = new CodeType(); - this.resourceType.setValue(value); + public ExampleScenarioInstanceComponent setType(String value) { + if (this.type == null) + this.type = new CodeType(); + this.type.setValue(value); return this; } @@ -901,7 +905,7 @@ public class ExampleScenario extends CanonicalResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("resourceId", "string", "The id of the resource for referencing.", 0, 1, resourceId)); - children.add(new Property("resourceType", "code", "The type of the resource.", 0, 1, resourceType)); + children.add(new Property("type", "code", "The type of the resource.", 0, 1, type)); children.add(new Property("name", "string", "A short name for the resource instance.", 0, 1, name)); children.add(new Property("description", "markdown", "Human-friendly description of the resource instance.", 0, 1, description)); children.add(new Property("version", "", "A specific version of the resource.", 0, java.lang.Integer.MAX_VALUE, version)); @@ -912,7 +916,7 @@ public class ExampleScenario extends CanonicalResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1345650231: /*resourceId*/ return new Property("resourceId", "string", "The id of the resource for referencing.", 0, 1, resourceId); - case -384364440: /*resourceType*/ return new Property("resourceType", "code", "The type of the resource.", 0, 1, resourceType); + case 3575610: /*type*/ return new Property("type", "code", "The type of the resource.", 0, 1, type); case 3373707: /*name*/ return new Property("name", "string", "A short name for the resource instance.", 0, 1, name); case -1724546052: /*description*/ return new Property("description", "markdown", "Human-friendly description of the resource instance.", 0, 1, description); case 351608024: /*version*/ return new Property("version", "", "A specific version of the resource.", 0, java.lang.Integer.MAX_VALUE, version); @@ -926,7 +930,7 @@ public class ExampleScenario extends CanonicalResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -1345650231: /*resourceId*/ return this.resourceId == null ? new Base[0] : new Base[] {this.resourceId}; // StringType - case -384364440: /*resourceType*/ return this.resourceType == null ? new Base[0] : new Base[] {this.resourceType}; // CodeType + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeType case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType case 351608024: /*version*/ return this.version == null ? new Base[0] : this.version.toArray(new Base[this.version.size()]); // ExampleScenarioInstanceVersionComponent @@ -942,8 +946,8 @@ public class ExampleScenario extends CanonicalResource { case -1345650231: // resourceId this.resourceId = TypeConvertor.castToString(value); // StringType return value; - case -384364440: // resourceType - this.resourceType = TypeConvertor.castToCode(value); // CodeType + case 3575610: // type + this.type = TypeConvertor.castToCode(value); // CodeType return value; case 3373707: // name this.name = TypeConvertor.castToString(value); // StringType @@ -966,8 +970,8 @@ public class ExampleScenario extends CanonicalResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("resourceId")) { this.resourceId = TypeConvertor.castToString(value); // StringType - } else if (name.equals("resourceType")) { - this.resourceType = TypeConvertor.castToCode(value); // CodeType + } else if (name.equals("type")) { + this.type = TypeConvertor.castToCode(value); // CodeType } else if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("description")) { @@ -985,7 +989,7 @@ public class ExampleScenario extends CanonicalResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1345650231: return getResourceIdElement(); - case -384364440: return getResourceTypeElement(); + case 3575610: return getTypeElement(); case 3373707: return getNameElement(); case -1724546052: return getDescriptionElement(); case 351608024: return addVersion(); @@ -999,7 +1003,7 @@ public class ExampleScenario extends CanonicalResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -1345650231: /*resourceId*/ return new String[] {"string"}; - case -384364440: /*resourceType*/ return new String[] {"code"}; + case 3575610: /*type*/ return new String[] {"code"}; case 3373707: /*name*/ return new String[] {"string"}; case -1724546052: /*description*/ return new String[] {"markdown"}; case 351608024: /*version*/ return new String[] {}; @@ -1014,8 +1018,8 @@ public class ExampleScenario extends CanonicalResource { if (name.equals("resourceId")) { throw new FHIRException("Cannot call addChild on a primitive type ExampleScenario.instance.resourceId"); } - else if (name.equals("resourceType")) { - throw new FHIRException("Cannot call addChild on a primitive type ExampleScenario.instance.resourceType"); + else if (name.equals("type")) { + throw new FHIRException("Cannot call addChild on a primitive type ExampleScenario.instance.type"); } else if (name.equals("name")) { throw new FHIRException("Cannot call addChild on a primitive type ExampleScenario.instance.name"); @@ -1042,7 +1046,7 @@ public class ExampleScenario extends CanonicalResource { public void copyValues(ExampleScenarioInstanceComponent dst) { super.copyValues(dst); dst.resourceId = resourceId == null ? null : resourceId.copy(); - dst.resourceType = resourceType == null ? null : resourceType.copy(); + dst.type = type == null ? null : type.copy(); dst.name = name == null ? null : name.copy(); dst.description = description == null ? null : description.copy(); if (version != null) { @@ -1064,9 +1068,9 @@ public class ExampleScenario extends CanonicalResource { if (!(other_ instanceof ExampleScenarioInstanceComponent)) return false; ExampleScenarioInstanceComponent o = (ExampleScenarioInstanceComponent) other_; - return compareDeep(resourceId, o.resourceId, true) && compareDeep(resourceType, o.resourceType, true) - && compareDeep(name, o.name, true) && compareDeep(description, o.description, true) && compareDeep(version, o.version, true) - && compareDeep(containedInstance, o.containedInstance, true); + return compareDeep(resourceId, o.resourceId, true) && compareDeep(type, o.type, true) && compareDeep(name, o.name, true) + && compareDeep(description, o.description, true) && compareDeep(version, o.version, true) && compareDeep(containedInstance, o.containedInstance, true) + ; } @Override @@ -1076,13 +1080,13 @@ public class ExampleScenario extends CanonicalResource { if (!(other_ instanceof ExampleScenarioInstanceComponent)) return false; ExampleScenarioInstanceComponent o = (ExampleScenarioInstanceComponent) other_; - return compareValues(resourceId, o.resourceId, true) && compareValues(resourceType, o.resourceType, true) - && compareValues(name, o.name, true) && compareValues(description, o.description, true); + return compareValues(resourceId, o.resourceId, true) && compareValues(type, o.type, true) && compareValues(name, o.name, true) + && compareValues(description, o.description, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(resourceId, resourceType, name - , description, version, containedInstance); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(resourceId, type, name, description + , version, containedInstance); } public String fhirType() { @@ -5012,266 +5016,6 @@ public class ExampleScenario extends CanonicalResource { return ResourceType.ExampleScenario; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the example scenario
- * Type: quantity
- * Path: (ExampleScenario.useContext.value as Quantity) | (ExampleScenario.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(ExampleScenario.useContext.value as Quantity) | (ExampleScenario.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the example scenario", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the example scenario
- * Type: quantity
- * Path: (ExampleScenario.useContext.value as Quantity) | (ExampleScenario.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the example scenario
- * Type: composite
- * Path: ExampleScenario.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="ExampleScenario.useContext", description="A use context type and quantity- or range-based value assigned to the example scenario", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the example scenario
- * Type: composite
- * Path: ExampleScenario.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the example scenario
- * Type: composite
- * Path: ExampleScenario.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="ExampleScenario.useContext", description="A use context type and value assigned to the example scenario", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the example scenario
- * Type: composite
- * Path: ExampleScenario.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the example scenario
- * Type: token
- * Path: ExampleScenario.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="ExampleScenario.useContext.code", description="A type of use context assigned to the example scenario", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the example scenario
- * Type: token
- * Path: ExampleScenario.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the example scenario
- * Type: token
- * Path: (ExampleScenario.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(ExampleScenario.useContext.value as CodeableConcept)", description="A use context assigned to the example scenario", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the example scenario
- * Type: token
- * Path: (ExampleScenario.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The example scenario publication date
- * Type: date
- * Path: ExampleScenario.date
- *

- */ - @SearchParamDefinition(name="date", path="ExampleScenario.date", description="The example scenario publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The example scenario publication date
- * Type: date
- * Path: ExampleScenario.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the example scenario
- * Type: token
- * Path: ExampleScenario.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ExampleScenario.identifier", description="External identifier for the example scenario", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the example scenario
- * Type: token
- * Path: ExampleScenario.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the example scenario
- * Type: token
- * Path: ExampleScenario.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="ExampleScenario.jurisdiction", description="Intended jurisdiction for the example scenario", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the example scenario
- * Type: token
- * Path: ExampleScenario.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the example scenario
- * Type: string
- * Path: ExampleScenario.name
- *

- */ - @SearchParamDefinition(name="name", path="ExampleScenario.name", description="Computationally friendly name of the example scenario", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the example scenario
- * Type: string
- * Path: ExampleScenario.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the example scenario
- * Type: string
- * Path: ExampleScenario.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="ExampleScenario.publisher", description="Name of the publisher of the example scenario", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the example scenario
- * Type: string
- * Path: ExampleScenario.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the example scenario
- * Type: token
- * Path: ExampleScenario.status
- *

- */ - @SearchParamDefinition(name="status", path="ExampleScenario.status", description="The current status of the example scenario", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the example scenario
- * Type: token
- * Path: ExampleScenario.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the example scenario
- * Type: uri
- * Path: ExampleScenario.url
- *

- */ - @SearchParamDefinition(name="url", path="ExampleScenario.url", description="The uri that identifies the example scenario", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the example scenario
- * Type: uri
- * Path: ExampleScenario.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the example scenario
- * Type: token
- * Path: ExampleScenario.version
- *

- */ - @SearchParamDefinition(name="version", path="ExampleScenario.version", description="The business version of the example scenario", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the example scenario
- * Type: token
- * Path: ExampleScenario.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExplanationOfBenefit.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExplanationOfBenefit.java index 8a3e236cd..aaa485e8c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExplanationOfBenefit.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExplanationOfBenefit.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -97,6 +97,7 @@ public class ExplanationOfBenefit extends DomainResource { case CANCELLED: return "cancelled"; case DRAFT: return "draft"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -106,6 +107,7 @@ public class ExplanationOfBenefit extends DomainResource { case CANCELLED: return "http://hl7.org/fhir/explanationofbenefit-status"; case DRAFT: return "http://hl7.org/fhir/explanationofbenefit-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/explanationofbenefit-status"; + case NULL: return null; default: return "?"; } } @@ -115,6 +117,7 @@ public class ExplanationOfBenefit extends DomainResource { case CANCELLED: return "The resource instance is withdrawn, rescinded or reversed."; case DRAFT: return "A new resource instance the contents of which is not complete."; case ENTEREDINERROR: return "The resource instance was entered in error."; + case NULL: return null; default: return "?"; } } @@ -124,6 +127,7 @@ public class ExplanationOfBenefit extends DomainResource { case CANCELLED: return "Cancelled"; case DRAFT: return "Draft"; case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; default: return "?"; } } @@ -12072,7 +12076,7 @@ public class ExplanationOfBenefit extends DomainResource { */ @Child(name = "priority", type = {CodeableConcept.class}, order=11, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Desired processing urgency", formalDefinition="The provider-required urgency of processing the request. Typical values include: stat, routine deferred." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/CodeSystem/processpriority") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/process-priority") protected CodeableConcept priority; /** @@ -14745,424 +14749,6 @@ public class ExplanationOfBenefit extends DomainResource { return ResourceType.ExplanationOfBenefit; } - /** - * Search parameter: care-team - *

- * Description: Member of the CareTeam
- * Type: reference
- * Path: ExplanationOfBenefit.careTeam.provider
- *

- */ - @SearchParamDefinition(name="care-team", path="ExplanationOfBenefit.careTeam.provider", description="Member of the CareTeam", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_CARE_TEAM = "care-team"; - /** - * Fluent Client search parameter constant for care-team - *

- * Description: Member of the CareTeam
- * Type: reference
- * Path: ExplanationOfBenefit.careTeam.provider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CARE_TEAM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CARE_TEAM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:care-team". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CARE_TEAM = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:care-team").toLocked(); - - /** - * Search parameter: claim - *

- * Description: The reference to the claim
- * Type: reference
- * Path: ExplanationOfBenefit.claim
- *

- */ - @SearchParamDefinition(name="claim", path="ExplanationOfBenefit.claim", description="The reference to the claim", type="reference", target={Claim.class } ) - public static final String SP_CLAIM = "claim"; - /** - * Fluent Client search parameter constant for claim - *

- * Description: The reference to the claim
- * Type: reference
- * Path: ExplanationOfBenefit.claim
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CLAIM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CLAIM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:claim". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CLAIM = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:claim").toLocked(); - - /** - * Search parameter: coverage - *

- * Description: The plan under which the claim was adjudicated
- * Type: reference
- * Path: ExplanationOfBenefit.insurance.coverage
- *

- */ - @SearchParamDefinition(name="coverage", path="ExplanationOfBenefit.insurance.coverage", description="The plan under which the claim was adjudicated", type="reference", target={Coverage.class } ) - public static final String SP_COVERAGE = "coverage"; - /** - * Fluent Client search parameter constant for coverage - *

- * Description: The plan under which the claim was adjudicated
- * Type: reference
- * Path: ExplanationOfBenefit.insurance.coverage
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COVERAGE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COVERAGE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:coverage". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COVERAGE = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:coverage").toLocked(); - - /** - * Search parameter: created - *

- * Description: The creation date for the EOB
- * Type: date
- * Path: ExplanationOfBenefit.created
- *

- */ - @SearchParamDefinition(name="created", path="ExplanationOfBenefit.created", description="The creation date for the EOB", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: The creation date for the EOB
- * Type: date
- * Path: ExplanationOfBenefit.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: detail-udi - *

- * Description: UDI associated with a line item detail product or service
- * Type: reference
- * Path: ExplanationOfBenefit.item.detail.udi
- *

- */ - @SearchParamDefinition(name="detail-udi", path="ExplanationOfBenefit.item.detail.udi", description="UDI associated with a line item detail product or service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_DETAIL_UDI = "detail-udi"; - /** - * Fluent Client search parameter constant for detail-udi - *

- * Description: UDI associated with a line item detail product or service
- * Type: reference
- * Path: ExplanationOfBenefit.item.detail.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DETAIL_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DETAIL_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:detail-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DETAIL_UDI = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:detail-udi").toLocked(); - - /** - * Search parameter: disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: ExplanationOfBenefit.disposition
- *

- */ - @SearchParamDefinition(name="disposition", path="ExplanationOfBenefit.disposition", description="The contents of the disposition message", type="string" ) - public static final String SP_DISPOSITION = "disposition"; - /** - * Fluent Client search parameter constant for disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: ExplanationOfBenefit.disposition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DISPOSITION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DISPOSITION); - - /** - * Search parameter: encounter - *

- * Description: Encounters associated with a billed line item
- * Type: reference
- * Path: ExplanationOfBenefit.item.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="ExplanationOfBenefit.item.encounter", description="Encounters associated with a billed line item", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Encounters associated with a billed line item
- * Type: reference
- * Path: ExplanationOfBenefit.item.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:encounter").toLocked(); - - /** - * Search parameter: enterer - *

- * Description: The party responsible for the entry of the Claim
- * Type: reference
- * Path: ExplanationOfBenefit.enterer
- *

- */ - @SearchParamDefinition(name="enterer", path="ExplanationOfBenefit.enterer", description="The party responsible for the entry of the Claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_ENTERER = "enterer"; - /** - * Fluent Client search parameter constant for enterer - *

- * Description: The party responsible for the entry of the Claim
- * Type: reference
- * Path: ExplanationOfBenefit.enterer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTERER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTERER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:enterer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTERER = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:enterer").toLocked(); - - /** - * Search parameter: facility - *

- * Description: Facility responsible for the goods and services
- * Type: reference
- * Path: ExplanationOfBenefit.facility
- *

- */ - @SearchParamDefinition(name="facility", path="ExplanationOfBenefit.facility", description="Facility responsible for the goods and services", type="reference", target={Location.class } ) - public static final String SP_FACILITY = "facility"; - /** - * Fluent Client search parameter constant for facility - *

- * Description: Facility responsible for the goods and services
- * Type: reference
- * Path: ExplanationOfBenefit.facility
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FACILITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FACILITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:facility". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FACILITY = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:facility").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: The business identifier of the Explanation of Benefit
- * Type: token
- * Path: ExplanationOfBenefit.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ExplanationOfBenefit.identifier", description="The business identifier of the Explanation of Benefit", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier of the Explanation of Benefit
- * Type: token
- * Path: ExplanationOfBenefit.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: item-udi - *

- * Description: UDI associated with a line item product or service
- * Type: reference
- * Path: ExplanationOfBenefit.item.udi
- *

- */ - @SearchParamDefinition(name="item-udi", path="ExplanationOfBenefit.item.udi", description="UDI associated with a line item product or service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_ITEM_UDI = "item-udi"; - /** - * Fluent Client search parameter constant for item-udi - *

- * Description: UDI associated with a line item product or service
- * Type: reference
- * Path: ExplanationOfBenefit.item.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:item-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM_UDI = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:item-udi").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The reference to the patient
- * Type: reference
- * Path: ExplanationOfBenefit.patient
- *

- */ - @SearchParamDefinition(name="patient", path="ExplanationOfBenefit.patient", description="The reference to the patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The reference to the patient
- * Type: reference
- * Path: ExplanationOfBenefit.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:patient").toLocked(); - - /** - * Search parameter: payee - *

- * Description: The party receiving any payment for the Claim
- * Type: reference
- * Path: ExplanationOfBenefit.payee.party
- *

- */ - @SearchParamDefinition(name="payee", path="ExplanationOfBenefit.payee.party", description="The party receiving any payment for the Claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PAYEE = "payee"; - /** - * Fluent Client search parameter constant for payee - *

- * Description: The party receiving any payment for the Claim
- * Type: reference
- * Path: ExplanationOfBenefit.payee.party
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PAYEE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PAYEE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:payee". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PAYEE = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:payee").toLocked(); - - /** - * Search parameter: procedure-udi - *

- * Description: UDI associated with a procedure
- * Type: reference
- * Path: ExplanationOfBenefit.procedure.udi
- *

- */ - @SearchParamDefinition(name="procedure-udi", path="ExplanationOfBenefit.procedure.udi", description="UDI associated with a procedure", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_PROCEDURE_UDI = "procedure-udi"; - /** - * Fluent Client search parameter constant for procedure-udi - *

- * Description: UDI associated with a procedure
- * Type: reference
- * Path: ExplanationOfBenefit.procedure.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROCEDURE_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROCEDURE_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:procedure-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROCEDURE_UDI = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:procedure-udi").toLocked(); - - /** - * Search parameter: provider - *

- * Description: The reference to the provider
- * Type: reference
- * Path: ExplanationOfBenefit.provider
- *

- */ - @SearchParamDefinition(name="provider", path="ExplanationOfBenefit.provider", description="The reference to the provider", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PROVIDER = "provider"; - /** - * Fluent Client search parameter constant for provider - *

- * Description: The reference to the provider
- * Type: reference
- * Path: ExplanationOfBenefit.provider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROVIDER = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:provider").toLocked(); - - /** - * Search parameter: status - *

- * Description: Status of the instance
- * Type: token
- * Path: ExplanationOfBenefit.status
- *

- */ - @SearchParamDefinition(name="status", path="ExplanationOfBenefit.status", description="Status of the instance", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Status of the instance
- * Type: token
- * Path: ExplanationOfBenefit.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subdetail-udi - *

- * Description: UDI associated with a line item detail subdetail product or service
- * Type: reference
- * Path: ExplanationOfBenefit.item.detail.subDetail.udi
- *

- */ - @SearchParamDefinition(name="subdetail-udi", path="ExplanationOfBenefit.item.detail.subDetail.udi", description="UDI associated with a line item detail subdetail product or service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_SUBDETAIL_UDI = "subdetail-udi"; - /** - * Fluent Client search parameter constant for subdetail-udi - *

- * Description: UDI associated with a line item detail subdetail product or service
- * Type: reference
- * Path: ExplanationOfBenefit.item.detail.subDetail.udi
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBDETAIL_UDI = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBDETAIL_UDI); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ExplanationOfBenefit:subdetail-udi". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBDETAIL_UDI = new ca.uhn.fhir.model.api.Include("ExplanationOfBenefit:subdetail-udi").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Expression.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Expression.java index 23bfadba1..a89c6c34b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Expression.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Expression.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExtendedContactDetail.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExtendedContactDetail.java new file mode 100644 index 000000000..d3b661daa --- /dev/null +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ExtendedContactDetail.java @@ -0,0 +1,475 @@ +package org.hl7.fhir.r5.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 Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import org.hl7.fhir.r5.model.Enumerations.*; +import org.hl7.fhir.instance.model.api.IBaseDatatypeElement; +import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.instance.model.api.ICompositeType; +import ca.uhn.fhir.model.api.annotation.Child; +import ca.uhn.fhir.model.api.annotation.ChildOrder; +import ca.uhn.fhir.model.api.annotation.DatatypeDef; +import ca.uhn.fhir.model.api.annotation.Description; +import ca.uhn.fhir.model.api.annotation.Block; + +/** + * Base StructureDefinition for ExtendedContactDetail Type: Specifies contact information for a specific purpose over a period of time, might be handled/monitored by a specific named person or organization. + */ +@DatatypeDef(name="ExtendedContactDetail") +public class ExtendedContactDetail extends DataType implements ICompositeType { + + /** + * The purpose/type of contact. + */ + @Child(name = "purpose", type = {CodeableConcept.class}, order=0, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="The type of contact", formalDefinition="The purpose/type of contact." ) + protected CodeableConcept purpose; + + /** + * The name of an individual to contact, some types of contact detail are usually blank. + */ + @Child(name = "name", type = {HumanName.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Name of an individual to contact", formalDefinition="The name of an individual to contact, some types of contact detail are usually blank." ) + protected HumanName name; + + /** + * The contact details application for the purpose defined. + */ + @Child(name = "telecom", type = {ContactPoint.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Contact details (e.g.phone/fax/url)", formalDefinition="The contact details application for the purpose defined." ) + protected List telecom; + + /** + * Address for the contact. + */ + @Child(name = "address", type = {Address.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Address for the contact", formalDefinition="Address for the contact." ) + protected Address address; + + /** + * This contact detail is handled/monitored by a specific organization. + */ + @Child(name = "organization", type = {Organization.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Organization", formalDefinition="This contact detail is handled/monitored by a specific organization." ) + protected Reference organization; + + /** + * Period that this contact was valid for usage. + */ + @Child(name = "period", type = {Period.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Period that this contact was valid for usage", formalDefinition="Period that this contact was valid for usage." ) + protected Period period; + + private static final long serialVersionUID = -763470577L; + + /** + * Constructor + */ + public ExtendedContactDetail() { + super(); + } + + /** + * @return {@link #purpose} (The purpose/type of contact.) + */ + public CodeableConcept getPurpose() { + if (this.purpose == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ExtendedContactDetail.purpose"); + else if (Configuration.doAutoCreate()) + this.purpose = new CodeableConcept(); // cc + return this.purpose; + } + + public boolean hasPurpose() { + return this.purpose != null && !this.purpose.isEmpty(); + } + + /** + * @param value {@link #purpose} (The purpose/type of contact.) + */ + public ExtendedContactDetail setPurpose(CodeableConcept value) { + this.purpose = value; + return this; + } + + /** + * @return {@link #name} (The name of an individual to contact, some types of contact detail are usually blank.) + */ + public HumanName getName() { + if (this.name == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ExtendedContactDetail.name"); + else if (Configuration.doAutoCreate()) + this.name = new HumanName(); // cc + return this.name; + } + + public boolean hasName() { + return this.name != null && !this.name.isEmpty(); + } + + /** + * @param value {@link #name} (The name of an individual to contact, some types of contact detail are usually blank.) + */ + public ExtendedContactDetail setName(HumanName value) { + this.name = value; + return this; + } + + /** + * @return {@link #telecom} (The contact details application for the purpose defined.) + */ + public List getTelecom() { + if (this.telecom == null) + this.telecom = new ArrayList(); + return this.telecom; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public ExtendedContactDetail setTelecom(List theTelecom) { + this.telecom = theTelecom; + return this; + } + + public boolean hasTelecom() { + if (this.telecom == null) + return false; + for (ContactPoint item : this.telecom) + if (!item.isEmpty()) + return true; + return false; + } + + public ContactPoint addTelecom() { //3 + ContactPoint t = new ContactPoint(); + if (this.telecom == null) + this.telecom = new ArrayList(); + this.telecom.add(t); + return t; + } + + public ExtendedContactDetail addTelecom(ContactPoint t) { //3 + if (t == null) + return this; + if (this.telecom == null) + this.telecom = new ArrayList(); + this.telecom.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #telecom}, creating it if it does not already exist {3} + */ + public ContactPoint getTelecomFirstRep() { + if (getTelecom().isEmpty()) { + addTelecom(); + } + return getTelecom().get(0); + } + + /** + * @return {@link #address} (Address for the contact.) + */ + public Address getAddress() { + if (this.address == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ExtendedContactDetail.address"); + else if (Configuration.doAutoCreate()) + this.address = new Address(); // cc + return this.address; + } + + public boolean hasAddress() { + return this.address != null && !this.address.isEmpty(); + } + + /** + * @param value {@link #address} (Address for the contact.) + */ + public ExtendedContactDetail setAddress(Address value) { + this.address = value; + return this; + } + + /** + * @return {@link #organization} (This contact detail is handled/monitored by a specific organization.) + */ + public Reference getOrganization() { + if (this.organization == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ExtendedContactDetail.organization"); + else if (Configuration.doAutoCreate()) + this.organization = new Reference(); // cc + return this.organization; + } + + public boolean hasOrganization() { + return this.organization != null && !this.organization.isEmpty(); + } + + /** + * @param value {@link #organization} (This contact detail is handled/monitored by a specific organization.) + */ + public ExtendedContactDetail setOrganization(Reference value) { + this.organization = value; + return this; + } + + /** + * @return {@link #period} (Period that this contact was valid for usage.) + */ + public Period getPeriod() { + if (this.period == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ExtendedContactDetail.period"); + else if (Configuration.doAutoCreate()) + this.period = new Period(); // cc + return this.period; + } + + public boolean hasPeriod() { + return this.period != null && !this.period.isEmpty(); + } + + /** + * @param value {@link #period} (Period that this contact was valid for usage.) + */ + public ExtendedContactDetail setPeriod(Period value) { + this.period = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("purpose", "CodeableConcept", "The purpose/type of contact.", 0, 1, purpose)); + children.add(new Property("name", "HumanName", "The name of an individual to contact, some types of contact detail are usually blank.", 0, 1, name)); + children.add(new Property("telecom", "ContactPoint", "The contact details application for the purpose defined.", 0, java.lang.Integer.MAX_VALUE, telecom)); + children.add(new Property("address", "Address", "Address for the contact.", 0, 1, address)); + children.add(new Property("organization", "Reference(Organization)", "This contact detail is handled/monitored by a specific organization.", 0, 1, organization)); + children.add(new Property("period", "Period", "Period that this contact was valid for usage.", 0, 1, period)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -220463842: /*purpose*/ return new Property("purpose", "CodeableConcept", "The purpose/type of contact.", 0, 1, purpose); + case 3373707: /*name*/ return new Property("name", "HumanName", "The name of an individual to contact, some types of contact detail are usually blank.", 0, 1, name); + case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "The contact details application for the purpose defined.", 0, java.lang.Integer.MAX_VALUE, telecom); + case -1147692044: /*address*/ return new Property("address", "Address", "Address for the contact.", 0, 1, address); + case 1178922291: /*organization*/ return new Property("organization", "Reference(Organization)", "This contact detail is handled/monitored by a specific organization.", 0, 1, organization); + case -991726143: /*period*/ return new Property("period", "Period", "Period that this contact was valid for usage.", 0, 1, period); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // CodeableConcept + case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // HumanName + case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint + case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // Address + case 1178922291: /*organization*/ return this.organization == null ? new Base[0] : new Base[] {this.organization}; // Reference + case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case -220463842: // purpose + this.purpose = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 3373707: // name + this.name = TypeConvertor.castToHumanName(value); // HumanName + return value; + case -1429363305: // telecom + this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint + return value; + case -1147692044: // address + this.address = TypeConvertor.castToAddress(value); // Address + return value; + case 1178922291: // organization + this.organization = TypeConvertor.castToReference(value); // Reference + return value; + case -991726143: // period + this.period = TypeConvertor.castToPeriod(value); // Period + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("purpose")) { + this.purpose = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("name")) { + this.name = TypeConvertor.castToHumanName(value); // HumanName + } else if (name.equals("telecom")) { + this.getTelecom().add(TypeConvertor.castToContactPoint(value)); + } else if (name.equals("address")) { + this.address = TypeConvertor.castToAddress(value); // Address + } else if (name.equals("organization")) { + this.organization = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("period")) { + this.period = TypeConvertor.castToPeriod(value); // Period + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -220463842: return getPurpose(); + case 3373707: return getName(); + case -1429363305: return addTelecom(); + case -1147692044: return getAddress(); + case 1178922291: return getOrganization(); + case -991726143: return getPeriod(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -220463842: /*purpose*/ return new String[] {"CodeableConcept"}; + case 3373707: /*name*/ return new String[] {"HumanName"}; + case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; + case -1147692044: /*address*/ return new String[] {"Address"}; + case 1178922291: /*organization*/ return new String[] {"Reference"}; + case -991726143: /*period*/ return new String[] {"Period"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("purpose")) { + this.purpose = new CodeableConcept(); + return this.purpose; + } + else if (name.equals("name")) { + this.name = new HumanName(); + return this.name; + } + else if (name.equals("telecom")) { + return addTelecom(); + } + else if (name.equals("address")) { + this.address = new Address(); + return this.address; + } + else if (name.equals("organization")) { + this.organization = new Reference(); + return this.organization; + } + else if (name.equals("period")) { + this.period = new Period(); + return this.period; + } + else + return super.addChild(name); + } + + public String fhirType() { + return "ExtendedContactDetail"; + + } + + public ExtendedContactDetail copy() { + ExtendedContactDetail dst = new ExtendedContactDetail(); + copyValues(dst); + return dst; + } + + public void copyValues(ExtendedContactDetail dst) { + super.copyValues(dst); + dst.purpose = purpose == null ? null : purpose.copy(); + dst.name = name == null ? null : name.copy(); + if (telecom != null) { + dst.telecom = new ArrayList(); + for (ContactPoint i : telecom) + dst.telecom.add(i.copy()); + }; + dst.address = address == null ? null : address.copy(); + dst.organization = organization == null ? null : organization.copy(); + dst.period = period == null ? null : period.copy(); + } + + protected ExtendedContactDetail typedCopy() { + return copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof ExtendedContactDetail)) + return false; + ExtendedContactDetail o = (ExtendedContactDetail) other_; + return compareDeep(purpose, o.purpose, true) && compareDeep(name, o.name, true) && compareDeep(telecom, o.telecom, true) + && compareDeep(address, o.address, true) && compareDeep(organization, o.organization, true) && compareDeep(period, o.period, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof ExtendedContactDetail)) + return false; + ExtendedContactDetail o = (ExtendedContactDetail) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(purpose, name, telecom, address + , organization, period); + } + + +} + diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Extension.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Extension.java index 990336d69..331c423b8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Extension.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Extension.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FamilyMemberHistory.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FamilyMemberHistory.java index 8414895a1..834f3f80b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FamilyMemberHistory.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FamilyMemberHistory.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class FamilyMemberHistory extends DomainResource { case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; case HEALTHUNKNOWN: return "health-unknown"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class FamilyMemberHistory extends DomainResource { case COMPLETED: return "http://hl7.org/fhir/history-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/history-status"; case HEALTHUNKNOWN: return "http://hl7.org/fhir/history-status"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class FamilyMemberHistory extends DomainResource { case COMPLETED: return "All available related health information is captured as of the date (and possibly time) when the family member history was taken."; case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; case HEALTHUNKNOWN: return "Health information for this family member is unavailable/unknown."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class FamilyMemberHistory extends DomainResource { case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered in Error"; case HEALTHUNKNOWN: return "Health Unknown"; + case NULL: return null; default: return "?"; } } @@ -2657,400 +2661,6 @@ public class FamilyMemberHistory extends DomainResource { return ResourceType.FamilyMemberHistory; } - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: FamilyMemberHistory.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="FamilyMemberHistory.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, Measure.class, OperationDefinition.class, PlanDefinition.class, Questionnaire.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: FamilyMemberHistory.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "FamilyMemberHistory:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("FamilyMemberHistory:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: FamilyMemberHistory.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="FamilyMemberHistory.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: FamilyMemberHistory.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: relationship - *

- * Description: A search by a relationship type
- * Type: token
- * Path: FamilyMemberHistory.relationship
- *

- */ - @SearchParamDefinition(name="relationship", path="FamilyMemberHistory.relationship", description="A search by a relationship type", type="token" ) - public static final String SP_RELATIONSHIP = "relationship"; - /** - * Fluent Client search parameter constant for relationship - *

- * Description: A search by a relationship type
- * Type: token
- * Path: FamilyMemberHistory.relationship
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATIONSHIP = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RELATIONSHIP); - - /** - * Search parameter: sex - *

- * Description: A search by a sex code of a family member
- * Type: token
- * Path: FamilyMemberHistory.sex
- *

- */ - @SearchParamDefinition(name="sex", path="FamilyMemberHistory.sex", description="A search by a sex code of a family member", type="token" ) - public static final String SP_SEX = "sex"; - /** - * Fluent Client search parameter constant for sex - *

- * Description: A search by a sex code of a family member
- * Type: token
- * Path: FamilyMemberHistory.sex
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SEX = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SEX); - - /** - * Search parameter: status - *

- * Description: partial | completed | entered-in-error | health-unknown
- * Type: token
- * Path: FamilyMemberHistory.status
- *

- */ - @SearchParamDefinition(name="status", path="FamilyMemberHistory.status", description="partial | completed | entered-in-error | health-unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: partial | completed | entered-in-error | health-unknown
- * Type: token
- * Path: FamilyMemberHistory.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "FamilyMemberHistory:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("FamilyMemberHistory:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Flag.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Flag.java index bf802f915..773f9c840 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Flag.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Flag.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Flag extends DomainResource { case ACTIVE: return "active"; case INACTIVE: return "inactive"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Flag extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Flag extends DomainResource { case ACTIVE: return "A current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag."; case INACTIVE: return "The flag no longer needs to be displayed."; case ENTEREDINERROR: return "The flag was added in error and should no longer be displayed."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Flag extends DomainResource { case ACTIVE: return "Active"; case INACTIVE: return "Inactive"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -745,304 +749,6 @@ public class Flag extends DomainResource { return ResourceType.Flag; } - /** - * Search parameter: author - *

- * Description: Flag creator
- * Type: reference
- * Path: Flag.author
- *

- */ - @SearchParamDefinition(name="author", path="Flag.author", description="Flag creator", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: Flag creator
- * Type: reference
- * Path: Flag.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Flag:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Flag:author").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Business identifier
- * Type: token
- * Path: Flag.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Flag.identifier", description="Business identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier
- * Type: token
- * Path: Flag.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: Flag.status
- *

- */ - @SearchParamDefinition(name="status", path="Flag.status", description="active | inactive | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: Flag.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The identity of a subject to list flags for
- * Type: reference
- * Path: Flag.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Flag.subject", description="The identity of a subject to list flags for", type="reference", target={Group.class, Location.class, Medication.class, Organization.class, Patient.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a subject to list flags for
- * Type: reference
- * Path: Flag.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Flag:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Flag:subject").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Flag:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Flag:encounter").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Flag:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Flag:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FormularyItem.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FormularyItem.java new file mode 100644 index 000000000..444a4e25d --- /dev/null +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/FormularyItem.java @@ -0,0 +1,484 @@ +package org.hl7.fhir.r5.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 Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.r5.model.Enumerations.*; +import org.hl7.fhir.instance.model.api.IBaseBackboneElement; +import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.instance.model.api.ICompositeType; +import ca.uhn.fhir.model.api.annotation.ResourceDef; +import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; +import org.hl7.fhir.instance.model.api.IBaseBackboneElement; +import ca.uhn.fhir.model.api.annotation.Child; +import ca.uhn.fhir.model.api.annotation.ChildOrder; +import ca.uhn.fhir.model.api.annotation.Description; +import ca.uhn.fhir.model.api.annotation.Block; + +/** + * This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself. + */ +@ResourceDef(name="FormularyItem", profile="http://hl7.org/fhir/StructureDefinition/FormularyItem") +public class FormularyItem extends DomainResource { + + public enum FormularyItemStatusCodes { + /** + * The service or product referred to by this FormularyItem is in active use within the drug database or inventory system. + */ + ACTIVE, + /** + * The service or product referred to by this FormularyItem was entered in error within the drug database or inventory system. + */ + ENTEREDINERROR, + /** + * The service or product referred to by this FormularyItem is not in active use within the drug database or inventory system. + */ + INACTIVE, + /** + * added to help the parsers with the generic types + */ + NULL; + public static FormularyItemStatusCodes fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return ACTIVE; + if ("entered-in-error".equals(codeString)) + return ENTEREDINERROR; + if ("inactive".equals(codeString)) + return INACTIVE; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown FormularyItemStatusCodes code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ACTIVE: return "active"; + case ENTEREDINERROR: return "entered-in-error"; + case INACTIVE: return "inactive"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case ACTIVE: return "http://hl7.org/fhir/CodeSystem/formularyitem-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/formularyitem-status"; + case INACTIVE: return "http://hl7.org/fhir/CodeSystem/formularyitem-status"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case ACTIVE: return "The service or product referred to by this FormularyItem is in active use within the drug database or inventory system."; + case ENTEREDINERROR: return "The service or product referred to by this FormularyItem was entered in error within the drug database or inventory system."; + case INACTIVE: return "The service or product referred to by this FormularyItem is not in active use within the drug database or inventory system."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ACTIVE: return "Active"; + case ENTEREDINERROR: return "Entered in Error"; + case INACTIVE: return "Inactive"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class FormularyItemStatusCodesEnumFactory implements EnumFactory { + public FormularyItemStatusCodes fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return FormularyItemStatusCodes.ACTIVE; + if ("entered-in-error".equals(codeString)) + return FormularyItemStatusCodes.ENTEREDINERROR; + if ("inactive".equals(codeString)) + return FormularyItemStatusCodes.INACTIVE; + throw new IllegalArgumentException("Unknown FormularyItemStatusCodes code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("active".equals(codeString)) + return new Enumeration(this, FormularyItemStatusCodes.ACTIVE); + if ("entered-in-error".equals(codeString)) + return new Enumeration(this, FormularyItemStatusCodes.ENTEREDINERROR); + if ("inactive".equals(codeString)) + return new Enumeration(this, FormularyItemStatusCodes.INACTIVE); + throw new FHIRException("Unknown FormularyItemStatusCodes code '"+codeString+"'"); + } + public String toCode(FormularyItemStatusCodes code) { + if (code == FormularyItemStatusCodes.ACTIVE) + return "active"; + if (code == FormularyItemStatusCodes.ENTEREDINERROR) + return "entered-in-error"; + if (code == FormularyItemStatusCodes.INACTIVE) + return "inactive"; + return "?"; + } + public String toSystem(FormularyItemStatusCodes code) { + return code.getSystem(); + } + } + + /** + * Business identifier for this formulary item. + */ + @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Business identifier for this formulary item", formalDefinition="Business identifier for this formulary item." ) + protected List identifier; + + /** + * A code (or set of codes) that specify the product or service that is identified by this formulary item. + */ + @Child(name = "code", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Codes that identify this formulary item", formalDefinition="A code (or set of codes) that specify the product or service that is identified by this formulary item." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-codes") + protected CodeableConcept code; + + /** + * The validity about the information of the formulary item and not of the underlying product or service itself. + */ + @Child(name = "status", type = {CodeType.class}, order=2, min=0, max=1, modifier=true, summary=true) + @Description(shortDefinition="active | entered-in-error | inactive", formalDefinition="The validity about the information of the formulary item and not of the underlying product or service itself." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/formularyitem-status") + protected Enumeration status; + + private static final long serialVersionUID = 601026823L; + + /** + * Constructor + */ + public FormularyItem() { + super(); + } + + /** + * @return {@link #identifier} (Business identifier for this formulary item.) + */ + public List getIdentifier() { + if (this.identifier == null) + this.identifier = new ArrayList(); + return this.identifier; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public FormularyItem setIdentifier(List theIdentifier) { + this.identifier = theIdentifier; + return this; + } + + public boolean hasIdentifier() { + if (this.identifier == null) + return false; + for (Identifier item : this.identifier) + if (!item.isEmpty()) + return true; + return false; + } + + public Identifier addIdentifier() { //3 + Identifier t = new Identifier(); + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return t; + } + + public FormularyItem addIdentifier(Identifier t) { //3 + if (t == null) + return this; + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} + */ + public Identifier getIdentifierFirstRep() { + if (getIdentifier().isEmpty()) { + addIdentifier(); + } + return getIdentifier().get(0); + } + + /** + * @return {@link #code} (A code (or set of codes) that specify the product or service that is identified by this formulary item.) + */ + public CodeableConcept getCode() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create FormularyItem.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} (A code (or set of codes) that specify the product or service that is identified by this formulary item.) + */ + public FormularyItem setCode(CodeableConcept value) { + this.code = value; + return this; + } + + /** + * @return {@link #status} (The validity about the information of the formulary item and not of the underlying product or service itself.). 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 FormularyItem.status"); + else if (Configuration.doAutoCreate()) + this.status = new Enumeration(new FormularyItemStatusCodesEnumFactory()); // 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 validity about the information of the formulary item and not of the underlying product or service itself.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + */ + public FormularyItem setStatusElement(Enumeration value) { + this.status = value; + return this; + } + + /** + * @return The validity about the information of the formulary item and not of the underlying product or service itself. + */ + public FormularyItemStatusCodes getStatus() { + return this.status == null ? null : this.status.getValue(); + } + + /** + * @param value The validity about the information of the formulary item and not of the underlying product or service itself. + */ + public FormularyItem setStatus(FormularyItemStatusCodes value) { + if (value == null) + this.status = null; + else { + if (this.status == null) + this.status = new Enumeration(new FormularyItemStatusCodesEnumFactory()); + this.status.setValue(value); + } + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("identifier", "Identifier", "Business identifier for this formulary item.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("code", "CodeableConcept", "A code (or set of codes) that specify the product or service that is identified by this formulary item.", 0, 1, code)); + children.add(new Property("status", "code", "The validity about the information of the formulary item and not of the underlying product or service itself.", 0, 1, status)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this formulary item.", 0, java.lang.Integer.MAX_VALUE, identifier); + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "A code (or set of codes) that specify the product or service that is identified by this formulary item.", 0, 1, code); + case -892481550: /*status*/ return new Property("status", "code", "The validity about the information of the formulary item and not of the underlying product or service itself.", 0, 1, status); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier + case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case -1618432855: // identifier + this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier + return value; + case 3059181: // code + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -892481550: // status + value = new FormularyItemStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("identifier")) { + this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); + } else if (name.equals("code")) { + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("status")) { + value = new FormularyItemStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1618432855: return addIdentifier(); + case 3059181: return getCode(); + case -892481550: return getStatusElement(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1618432855: /*identifier*/ return new String[] {"Identifier"}; + case 3059181: /*code*/ return new String[] {"CodeableConcept"}; + case -892481550: /*status*/ return new String[] {"code"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("identifier")) { + return addIdentifier(); + } + else if (name.equals("code")) { + this.code = new CodeableConcept(); + return this.code; + } + else if (name.equals("status")) { + throw new FHIRException("Cannot call addChild on a primitive type FormularyItem.status"); + } + else + return super.addChild(name); + } + + public String fhirType() { + return "FormularyItem"; + + } + + public FormularyItem copy() { + FormularyItem dst = new FormularyItem(); + copyValues(dst); + return dst; + } + + public void copyValues(FormularyItem dst) { + super.copyValues(dst); + if (identifier != null) { + dst.identifier = new ArrayList(); + for (Identifier i : identifier) + dst.identifier.add(i.copy()); + }; + dst.code = code == null ? null : code.copy(); + dst.status = status == null ? null : status.copy(); + } + + protected FormularyItem typedCopy() { + return copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof FormularyItem)) + return false; + FormularyItem o = (FormularyItem) other_; + return compareDeep(identifier, o.identifier, true) && compareDeep(code, o.code, true) && compareDeep(status, o.status, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof FormularyItem)) + return false; + FormularyItem o = (FormularyItem) other_; + return compareValues(status, o.status, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, code, status + ); + } + + @Override + public ResourceType getResourceType() { + return ResourceType.FormularyItem; + } + + +} + diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Goal.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Goal.java index 6bb4e44f0..918b27c14 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Goal.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Goal.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -131,6 +131,7 @@ public class Goal extends DomainResource { case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered-in-error"; case REJECTED: return "rejected"; + case NULL: return null; default: return "?"; } } @@ -145,6 +146,7 @@ public class Goal extends DomainResource { case CANCELLED: return "http://hl7.org/fhir/goal-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/goal-status"; case REJECTED: return "http://hl7.org/fhir/goal-status"; + case NULL: return null; default: return "?"; } } @@ -159,6 +161,7 @@ public class Goal extends DomainResource { case CANCELLED: return "The goal has been abandoned."; case ENTEREDINERROR: return "The goal was entered in error and voided."; case REJECTED: return "A proposed goal was rejected."; + case NULL: return null; default: return "?"; } } @@ -173,6 +176,7 @@ public class Goal extends DomainResource { case CANCELLED: return "Cancelled"; case ENTEREDINERROR: return "Entered in Error"; case REJECTED: return "Rejected"; + case NULL: return null; default: return "?"; } } @@ -1870,310 +1874,6 @@ public class Goal extends DomainResource { return ResourceType.Goal; } - /** - * Search parameter: achievement-status - *

- * Description: in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
- * Type: token
- * Path: Goal.achievementStatus
- *

- */ - @SearchParamDefinition(name="achievement-status", path="Goal.achievementStatus", description="in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable", type="token" ) - public static final String SP_ACHIEVEMENT_STATUS = "achievement-status"; - /** - * Fluent Client search parameter constant for achievement-status - *

- * Description: in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
- * Type: token
- * Path: Goal.achievementStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACHIEVEMENT_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACHIEVEMENT_STATUS); - - /** - * Search parameter: category - *

- * Description: E.g. Treatment, dietary, behavioral, etc.
- * Type: token
- * Path: Goal.category
- *

- */ - @SearchParamDefinition(name="category", path="Goal.category", description="E.g. Treatment, dietary, behavioral, etc.", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: E.g. Treatment, dietary, behavioral, etc.
- * Type: token
- * Path: Goal.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: lifecycle-status - *

- * Description: proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
- * Type: token
- * Path: Goal.lifecycleStatus
- *

- */ - @SearchParamDefinition(name="lifecycle-status", path="Goal.lifecycleStatus", description="proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected", type="token" ) - public static final String SP_LIFECYCLE_STATUS = "lifecycle-status"; - /** - * Fluent Client search parameter constant for lifecycle-status - *

- * Description: proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
- * Type: token
- * Path: Goal.lifecycleStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LIFECYCLE_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LIFECYCLE_STATUS); - - /** - * Search parameter: start-date - *

- * Description: When goal pursuit begins
- * Type: date
- * Path: (Goal.start as date)
- *

- */ - @SearchParamDefinition(name="start-date", path="(Goal.start as date)", description="When goal pursuit begins", type="date" ) - public static final String SP_START_DATE = "start-date"; - /** - * Fluent Client search parameter constant for start-date - *

- * Description: When goal pursuit begins
- * Type: date
- * Path: (Goal.start as date)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam START_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_START_DATE); - - /** - * Search parameter: subject - *

- * Description: Who this goal is intended for
- * Type: reference
- * Path: Goal.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Goal.subject", description="Who this goal is intended for", type="reference", target={Group.class, Organization.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who this goal is intended for
- * Type: reference
- * Path: Goal.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Goal:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Goal:subject").toLocked(); - - /** - * Search parameter: target-date - *

- * Description: Reach goal on or before
- * Type: date
- * Path: (Goal.target.due as date)
- *

- */ - @SearchParamDefinition(name="target-date", path="(Goal.target.due as date)", description="Reach goal on or before", type="date" ) - public static final String SP_TARGET_DATE = "target-date"; - /** - * Fluent Client search parameter constant for target-date - *

- * Description: Reach goal on or before
- * Type: date
- * Path: (Goal.target.due as date)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam TARGET_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_TARGET_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Goal:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Goal:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GraphDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GraphDefinition.java index 638201353..c5b4e753a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GraphDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GraphDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class GraphDefinition extends CanonicalResource { case MATCHING: return "matching"; case DIFFERENT: return "different"; case CUSTOM: return "custom"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class GraphDefinition extends CanonicalResource { case MATCHING: return "http://hl7.org/fhir/graph-compartment-rule"; case DIFFERENT: return "http://hl7.org/fhir/graph-compartment-rule"; case CUSTOM: return "http://hl7.org/fhir/graph-compartment-rule"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class GraphDefinition extends CanonicalResource { case MATCHING: return "The compartment must be the same - the record must be about the same patient, but the reference may be different."; case DIFFERENT: return "The compartment must be different."; case CUSTOM: return "The compartment rule is defined in the accompanying FHIRPath expression."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class GraphDefinition extends CanonicalResource { case MATCHING: return "Matching"; case DIFFERENT: return "Different"; case CUSTOM: return "Custom"; + case NULL: return null; default: return "?"; } } @@ -206,6 +210,7 @@ public class GraphDefinition extends CanonicalResource { switch (this) { case CONDITION: return "condition"; case REQUIREMENT: return "requirement"; + case NULL: return null; default: return "?"; } } @@ -213,6 +218,7 @@ public class GraphDefinition extends CanonicalResource { switch (this) { case CONDITION: return "http://hl7.org/fhir/graph-compartment-use"; case REQUIREMENT: return "http://hl7.org/fhir/graph-compartment-use"; + case NULL: return null; default: return "?"; } } @@ -220,6 +226,7 @@ public class GraphDefinition extends CanonicalResource { switch (this) { case CONDITION: return "This compartment rule is a condition for whether the rule applies."; case REQUIREMENT: return "This compartment rule is enforced on any relationships that meet the conditions."; + case NULL: return null; default: return "?"; } } @@ -227,6 +234,7 @@ public class GraphDefinition extends CanonicalResource { switch (this) { case CONDITION: return "Condition"; case REQUIREMENT: return "Requirement"; + case NULL: return null; default: return "?"; } } @@ -3072,700 +3080,6 @@ public class GraphDefinition extends CanonicalResource { return ResourceType.GraphDefinition; } - /** - * Search parameter: start - *

- * Description: Type of resource at which the graph starts
- * Type: token
- * Path: GraphDefinition.start
- *

- */ - @SearchParamDefinition(name="start", path="GraphDefinition.start", description="Type of resource at which the graph starts", type="token" ) - public static final String SP_START = "start"; - /** - * Fluent Client search parameter constant for start - *

- * Description: Type of resource at which the graph starts
- * Type: token
- * Path: GraphDefinition.start
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam START = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_START); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public boolean supportsCopyright() { return false; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Group.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Group.java index e226dd433..ad7676eb1 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Group.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Group.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -110,6 +110,7 @@ public class Group extends DomainResource { case DEVICE: return "device"; case MEDICATION: return "medication"; case SUBSTANCE: return "substance"; + case NULL: return null; default: return "?"; } } @@ -121,6 +122,7 @@ public class Group extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -132,6 +134,7 @@ public class Group extends DomainResource { case DEVICE: return "Group contains Device resources."; case MEDICATION: return "Group contains Medication resources."; case SUBSTANCE: return "Group contains Substance resources."; + case NULL: return null; default: return "?"; } } @@ -143,6 +146,7 @@ public class Group extends DomainResource { case DEVICE: return "Device"; case MEDICATION: return "Medication"; case SUBSTANCE: return "Substance"; + case NULL: return null; default: return "?"; } } @@ -214,21 +218,21 @@ public class Group extends DomainResource { /** * A code that identifies the kind of trait being asserted. */ - @Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Kind of characteristic", formalDefinition="A code that identifies the kind of trait being asserted." ) protected CodeableConcept code; /** * The value of the trait that holds (or does not hold - see 'exclude') for members of the group. */ - @Child(name = "value", type = {CodeableConcept.class, BooleanType.class, Quantity.class, Range.class, Reference.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Child(name = "value", type = {CodeableConcept.class, BooleanType.class, Quantity.class, Range.class, Reference.class}, order=2, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Value held by characteristic", formalDefinition="The value of the trait that holds (or does not hold - see 'exclude') for members of the group." ) protected DataType value; /** * If true, indicates the characteristic is one that is NOT held by members of the group. */ - @Child(name = "exclude", type = {BooleanType.class}, order=3, min=1, max=1, modifier=false, summary=false) + @Child(name = "exclude", type = {BooleanType.class}, order=3, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Group includes or excludes", formalDefinition="If true, indicates the characteristic is one that is NOT held by members of the group." ) protected BooleanType exclude; @@ -634,7 +638,7 @@ public class Group extends DomainResource { /** * A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same. */ - @Child(name = "entity", type = {Patient.class, Practitioner.class, PractitionerRole.class, Device.class, Medication.class, Substance.class, Group.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Child(name = "entity", type = {Patient.class, Practitioner.class, PractitionerRole.class, Device.class, Group.class, RelatedPerson.class, Specimen.class}, order=1, min=1, max=1, modifier=false, summary=false) @Description(shortDefinition="Reference to the group member", formalDefinition="A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same." ) protected Reference entity; @@ -764,7 +768,7 @@ public class Group extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("entity", "Reference(Patient|Practitioner|PractitionerRole|Device|Medication|Substance|Group)", "A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.", 0, 1, entity)); + children.add(new Property("entity", "Reference(Patient|Practitioner|PractitionerRole|Device|Group|RelatedPerson|Specimen)", "A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.", 0, 1, entity)); children.add(new Property("period", "Period", "The period that the member was in the group, if known.", 0, 1, period)); children.add(new Property("inactive", "boolean", "A flag to indicate that the member is no longer in the group, but previously may have been a member.", 0, 1, inactive)); } @@ -772,7 +776,7 @@ public class Group extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1298275357: /*entity*/ return new Property("entity", "Reference(Patient|Practitioner|PractitionerRole|Device|Medication|Substance|Group)", "A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.", 0, 1, entity); + case -1298275357: /*entity*/ return new Property("entity", "Reference(Patient|Practitioner|PractitionerRole|Device|Group|RelatedPerson|Specimen)", "A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.", 0, 1, entity); case -991726143: /*period*/ return new Property("period", "Period", "The period that the member was in the group, if known.", 0, 1, period); case 24665195: /*inactive*/ return new Property("inactive", "boolean", "A flag to indicate that the member is no longer in the group, but previously may have been a member.", 0, 1, inactive); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -949,35 +953,42 @@ public class Group extends DomainResource { @Description(shortDefinition="Label for Group", formalDefinition="A label assigned to the group for human identification and communication." ) protected StringType name; + /** + * Explanation of what the group represents and how it is intended to be used. + */ + @Child(name = "description", type = {MarkdownType.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Natural language description of the group", formalDefinition="Explanation of what the group represents and how it is intended to be used." ) + protected MarkdownType description; + /** * A count of the number of resource instances that are part of the group. */ - @Child(name = "quantity", type = {UnsignedIntType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "quantity", type = {UnsignedIntType.class}, order=7, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Number of members", formalDefinition="A count of the number of resource instances that are part of the group." ) protected UnsignedIntType quantity; /** * Entity responsible for defining and maintaining Group characteristics and/or registered members. */ - @Child(name = "managingEntity", type = {Organization.class, RelatedPerson.class, Practitioner.class, PractitionerRole.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "managingEntity", type = {Organization.class, RelatedPerson.class, Practitioner.class, PractitionerRole.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Entity that is the custodian of the Group's definition", formalDefinition="Entity responsible for defining and maintaining Group characteristics and/or registered members." ) protected Reference managingEntity; /** * Identifies traits whose presence r absence is shared by members of the group. */ - @Child(name = "characteristic", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "characteristic", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Include / Exclude group members by Trait", formalDefinition="Identifies traits whose presence r absence is shared by members of the group." ) protected List characteristic; /** * Identifies the resource instances that are members of the group. */ - @Child(name = "member", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "member", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Who or what is in group", formalDefinition="Identifies the resource instances that are members of the group." ) protected List member; - private static final long serialVersionUID = -236079789L; + private static final long serialVersionUID = -1476844328L; /** * Constructor @@ -1256,6 +1267,55 @@ public class Group extends DomainResource { return this; } + /** + * @return {@link #description} (Explanation of what the group represents and how it is intended to be used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public MarkdownType getDescriptionElement() { + if (this.description == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Group.description"); + else if (Configuration.doAutoCreate()) + this.description = new MarkdownType(); // 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} (Explanation of what the group represents and how it is intended to be used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public Group setDescriptionElement(MarkdownType value) { + this.description = value; + return this; + } + + /** + * @return Explanation of what the group represents and how it is intended to be used. + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value Explanation of what the group represents and how it is intended to be used. + */ + public Group setDescription(String value) { + if (value == null) + this.description = null; + else { + if (this.description == null) + this.description = new MarkdownType(); + this.description.setValue(value); + } + return this; + } + /** * @return {@link #quantity} (A count of the number of resource instances that are part of the group.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value */ @@ -1439,6 +1499,7 @@ public class Group extends DomainResource { children.add(new Property("actual", "boolean", "If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals.", 0, 1, actual)); children.add(new Property("code", "CodeableConcept", "Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc.", 0, 1, code)); children.add(new Property("name", "string", "A label assigned to the group for human identification and communication.", 0, 1, name)); + children.add(new Property("description", "markdown", "Explanation of what the group represents and how it is intended to be used.", 0, 1, description)); children.add(new Property("quantity", "unsignedInt", "A count of the number of resource instances that are part of the group.", 0, 1, quantity)); children.add(new Property("managingEntity", "Reference(Organization|RelatedPerson|Practitioner|PractitionerRole)", "Entity responsible for defining and maintaining Group characteristics and/or registered members.", 0, 1, managingEntity)); children.add(new Property("characteristic", "", "Identifies traits whose presence r absence is shared by members of the group.", 0, java.lang.Integer.MAX_VALUE, characteristic)); @@ -1454,6 +1515,7 @@ public class Group extends DomainResource { case -1422939762: /*actual*/ return new Property("actual", "boolean", "If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals.", 0, 1, actual); case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Provides a specific type of resource the group includes; e.g. \"cow\", \"syringe\", etc.", 0, 1, code); case 3373707: /*name*/ return new Property("name", "string", "A label assigned to the group for human identification and communication.", 0, 1, name); + case -1724546052: /*description*/ return new Property("description", "markdown", "Explanation of what the group represents and how it is intended to be used.", 0, 1, description); case -1285004149: /*quantity*/ return new Property("quantity", "unsignedInt", "A count of the number of resource instances that are part of the group.", 0, 1, quantity); case -988474523: /*managingEntity*/ return new Property("managingEntity", "Reference(Organization|RelatedPerson|Practitioner|PractitionerRole)", "Entity responsible for defining and maintaining Group characteristics and/or registered members.", 0, 1, managingEntity); case 366313883: /*characteristic*/ return new Property("characteristic", "", "Identifies traits whose presence r absence is shared by members of the group.", 0, java.lang.Integer.MAX_VALUE, characteristic); @@ -1472,6 +1534,7 @@ public class Group extends DomainResource { case -1422939762: /*actual*/ return this.actual == null ? new Base[0] : new Base[] {this.actual}; // BooleanType case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType + case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType case -1285004149: /*quantity*/ return this.quantity == null ? new Base[0] : new Base[] {this.quantity}; // UnsignedIntType case -988474523: /*managingEntity*/ return this.managingEntity == null ? new Base[0] : new Base[] {this.managingEntity}; // Reference case 366313883: /*characteristic*/ return this.characteristic == null ? new Base[0] : this.characteristic.toArray(new Base[this.characteristic.size()]); // GroupCharacteristicComponent @@ -1503,6 +1566,9 @@ public class Group extends DomainResource { case 3373707: // name this.name = TypeConvertor.castToString(value); // StringType return value; + case -1724546052: // description + this.description = TypeConvertor.castToMarkdown(value); // MarkdownType + return value; case -1285004149: // quantity this.quantity = TypeConvertor.castToUnsignedInt(value); // UnsignedIntType return value; @@ -1535,6 +1601,8 @@ public class Group extends DomainResource { this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType + } else if (name.equals("description")) { + this.description = TypeConvertor.castToMarkdown(value); // MarkdownType } else if (name.equals("quantity")) { this.quantity = TypeConvertor.castToUnsignedInt(value); // UnsignedIntType } else if (name.equals("managingEntity")) { @@ -1557,6 +1625,7 @@ public class Group extends DomainResource { case -1422939762: return getActualElement(); case 3059181: return getCode(); case 3373707: return getNameElement(); + case -1724546052: return getDescriptionElement(); case -1285004149: return getQuantityElement(); case -988474523: return getManagingEntity(); case 366313883: return addCharacteristic(); @@ -1575,6 +1644,7 @@ public class Group extends DomainResource { case -1422939762: /*actual*/ return new String[] {"boolean"}; case 3059181: /*code*/ return new String[] {"CodeableConcept"}; case 3373707: /*name*/ return new String[] {"string"}; + case -1724546052: /*description*/ return new String[] {"markdown"}; case -1285004149: /*quantity*/ return new String[] {"unsignedInt"}; case -988474523: /*managingEntity*/ return new String[] {"Reference"}; case 366313883: /*characteristic*/ return new String[] {}; @@ -1605,6 +1675,9 @@ public class Group extends DomainResource { else if (name.equals("name")) { throw new FHIRException("Cannot call addChild on a primitive type Group.name"); } + else if (name.equals("description")) { + throw new FHIRException("Cannot call addChild on a primitive type Group.description"); + } else if (name.equals("quantity")) { throw new FHIRException("Cannot call addChild on a primitive type Group.quantity"); } @@ -1645,6 +1718,7 @@ public class Group extends DomainResource { dst.actual = actual == null ? null : actual.copy(); dst.code = code == null ? null : code.copy(); dst.name = name == null ? null : name.copy(); + dst.description = description == null ? null : description.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.managingEntity = managingEntity == null ? null : managingEntity.copy(); if (characteristic != null) { @@ -1672,7 +1746,7 @@ public class Group extends DomainResource { Group o = (Group) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(active, o.active, true) && compareDeep(type, o.type, true) && compareDeep(actual, o.actual, true) && compareDeep(code, o.code, true) && compareDeep(name, o.name, true) - && compareDeep(quantity, o.quantity, true) && compareDeep(managingEntity, o.managingEntity, true) + && compareDeep(description, o.description, true) && compareDeep(quantity, o.quantity, true) && compareDeep(managingEntity, o.managingEntity, true) && compareDeep(characteristic, o.characteristic, true) && compareDeep(member, o.member, true); } @@ -1684,12 +1758,14 @@ public class Group extends DomainResource { return false; Group o = (Group) other_; return compareValues(active, o.active, true) && compareValues(type, o.type, true) && compareValues(actual, o.actual, true) - && compareValues(name, o.name, true) && compareValues(quantity, o.quantity, true); + && compareValues(name, o.name, true) && compareValues(description, o.description, true) && compareValues(quantity, o.quantity, true) + ; } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, active, type - , actual, code, name, quantity, managingEntity, characteristic, member); + , actual, code, name, description, quantity, managingEntity, characteristic, member + ); } @Override @@ -1697,218 +1773,6 @@ public class Group extends DomainResource { return ResourceType.Group; } - /** - * Search parameter: actual - *

- * Description: Descriptive or actual
- * Type: token
- * Path: Group.actual
- *

- */ - @SearchParamDefinition(name="actual", path="Group.actual", description="Descriptive or actual", type="token" ) - public static final String SP_ACTUAL = "actual"; - /** - * Fluent Client search parameter constant for actual - *

- * Description: Descriptive or actual
- * Type: token
- * Path: Group.actual
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTUAL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTUAL); - - /** - * Search parameter: characteristic-value - *

- * Description: A composite of both characteristic and value
- * Type: composite
- * Path: Group.characteristic
- *

- */ - @SearchParamDefinition(name="characteristic-value", path="Group.characteristic", description="A composite of both characteristic and value", type="composite", compositeOf={"characteristic", "value"} ) - public static final String SP_CHARACTERISTIC_VALUE = "characteristic-value"; - /** - * Fluent Client search parameter constant for characteristic-value - *

- * Description: A composite of both characteristic and value
- * Type: composite
- * Path: Group.characteristic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CHARACTERISTIC_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CHARACTERISTIC_VALUE); - - /** - * Search parameter: characteristic - *

- * Description: Kind of characteristic
- * Type: token
- * Path: Group.characteristic.code
- *

- */ - @SearchParamDefinition(name="characteristic", path="Group.characteristic.code", description="Kind of characteristic", type="token" ) - public static final String SP_CHARACTERISTIC = "characteristic"; - /** - * Fluent Client search parameter constant for characteristic - *

- * Description: Kind of characteristic
- * Type: token
- * Path: Group.characteristic.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CHARACTERISTIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CHARACTERISTIC); - - /** - * Search parameter: code - *

- * Description: The kind of resources contained
- * Type: token
- * Path: Group.code
- *

- */ - @SearchParamDefinition(name="code", path="Group.code", description="The kind of resources contained", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: The kind of resources contained
- * Type: token
- * Path: Group.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: exclude - *

- * Description: Group includes or excludes
- * Type: token
- * Path: Group.characteristic.exclude
- *

- */ - @SearchParamDefinition(name="exclude", path="Group.characteristic.exclude", description="Group includes or excludes", type="token" ) - public static final String SP_EXCLUDE = "exclude"; - /** - * Fluent Client search parameter constant for exclude - *

- * Description: Group includes or excludes
- * Type: token
- * Path: Group.characteristic.exclude
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXCLUDE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXCLUDE); - - /** - * Search parameter: identifier - *

- * Description: Unique id
- * Type: token
- * Path: Group.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Group.identifier", description="Unique id", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Unique id
- * Type: token
- * Path: Group.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: managing-entity - *

- * Description: Entity that is the custodian of the Group's definition
- * Type: reference
- * Path: Group.managingEntity
- *

- */ - @SearchParamDefinition(name="managing-entity", path="Group.managingEntity", description="Entity that is the custodian of the Group's definition", type="reference", target={Organization.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_MANAGING_ENTITY = "managing-entity"; - /** - * Fluent Client search parameter constant for managing-entity - *

- * Description: Entity that is the custodian of the Group's definition
- * Type: reference
- * Path: Group.managingEntity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANAGING_ENTITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANAGING_ENTITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Group:managing-entity". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANAGING_ENTITY = new ca.uhn.fhir.model.api.Include("Group:managing-entity").toLocked(); - - /** - * Search parameter: member - *

- * Description: Reference to the group member
- * Type: reference
- * Path: Group.member.entity
- *

- */ - @SearchParamDefinition(name="member", path="Group.member.entity", description="Reference to the group member", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Group.class, Medication.class, Patient.class, Practitioner.class, PractitionerRole.class, Substance.class } ) - public static final String SP_MEMBER = "member"; - /** - * Fluent Client search parameter constant for member - *

- * Description: Reference to the group member
- * Type: reference
- * Path: Group.member.entity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEMBER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEMBER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Group:member". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEMBER = new ca.uhn.fhir.model.api.Include("Group:member").toLocked(); - - /** - * Search parameter: type - *

- * Description: The type of resources the group contains
- * Type: token
- * Path: Group.type
- *

- */ - @SearchParamDefinition(name="type", path="Group.type", description="The type of resources the group contains", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The type of resources the group contains
- * Type: token
- * Path: Group.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: value - *

- * Description: Value held by characteristic
- * Type: token
- * Path: (Group.characteristic.value as CodeableConcept) | (Group.characteristic.value as boolean)
- *

- */ - @SearchParamDefinition(name="value", path="(Group.characteristic.value as CodeableConcept) | (Group.characteristic.value as boolean)", description="Value held by characteristic", type="token" ) - public static final String SP_VALUE = "value"; - /** - * Fluent Client search parameter constant for value - *

- * Description: Value held by characteristic
- * Type: token
- * Path: (Group.characteristic.value as CodeableConcept) | (Group.characteristic.value as boolean)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VALUE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VALUE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GuidanceResponse.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GuidanceResponse.java index 61815d7de..67fc1ca17 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GuidanceResponse.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/GuidanceResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -110,6 +110,7 @@ public class GuidanceResponse extends DomainResource { case INPROGRESS: return "in-progress"; case FAILURE: return "failure"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -121,6 +122,7 @@ public class GuidanceResponse extends DomainResource { case INPROGRESS: return "http://hl7.org/fhir/guidance-response-status"; case FAILURE: return "http://hl7.org/fhir/guidance-response-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/guidance-response-status"; + case NULL: return null; default: return "?"; } } @@ -132,6 +134,7 @@ public class GuidanceResponse extends DomainResource { case INPROGRESS: return "The request is currently being processed."; case FAILURE: return "The request was not processed successfully."; case ENTEREDINERROR: return "The response was entered in error."; + case NULL: return null; default: return "?"; } } @@ -143,6 +146,7 @@ public class GuidanceResponse extends DomainResource { case INPROGRESS: return "In Progress"; case FAILURE: return "Failure"; case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; default: return "?"; } } @@ -1248,118 +1252,6 @@ public class GuidanceResponse extends DomainResource { return ResourceType.GuidanceResponse; } - /** - * Search parameter: identifier - *

- * Description: The identifier of the guidance response
- * Type: token
- * Path: GuidanceResponse.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="GuidanceResponse.identifier", description="The identifier of the guidance response", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The identifier of the guidance response
- * Type: token
- * Path: GuidanceResponse.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: The identity of a patient to search for guidance response results
- * Type: reference
- * Path: GuidanceResponse.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="GuidanceResponse.subject.where(resolve() is Patient)", description="The identity of a patient to search for guidance response results", type="reference", target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The identity of a patient to search for guidance response results
- * Type: reference
- * Path: GuidanceResponse.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "GuidanceResponse:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("GuidanceResponse:patient").toLocked(); - - /** - * Search parameter: request - *

- * Description: The identifier of the request associated with the response
- * Type: token
- * Path: GuidanceResponse.requestIdentifier
- *

- */ - @SearchParamDefinition(name="request", path="GuidanceResponse.requestIdentifier", description="The identifier of the request associated with the response", type="token" ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The identifier of the request associated with the response
- * Type: token
- * Path: GuidanceResponse.requestIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REQUEST = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REQUEST); - - /** - * Search parameter: status - *

- * Description: The status of the guidance response
- * Type: token
- * Path: GuidanceResponse.status
- *

- */ - @SearchParamDefinition(name="status", path="GuidanceResponse.status", description="The status of the guidance response", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the guidance response
- * Type: token
- * Path: GuidanceResponse.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject that the guidance response is about
- * Type: reference
- * Path: GuidanceResponse.subject
- *

- */ - @SearchParamDefinition(name="subject", path="GuidanceResponse.subject", description="The subject that the guidance response is about", type="reference", target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject that the guidance response is about
- * Type: reference
- * Path: GuidanceResponse.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "GuidanceResponse:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("GuidanceResponse:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HealthcareService.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HealthcareService.java index d7f0d5d9c..4c2908d0b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HealthcareService.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HealthcareService.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -289,10 +289,10 @@ public class HealthcareService extends DomainResource { protected List> daysOfWeek; /** - * Is this always available? (hence times are irrelevant) e.g. 24 hour service. + * Is this always available? (hence times are irrelevant) i.e. 24 hour service. */ @Child(name = "allDay", type = {BooleanType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Always available? e.g. 24 hour service", formalDefinition="Is this always available? (hence times are irrelevant) e.g. 24 hour service." ) + @Description(shortDefinition="Always available? i.e. 24 hour service", formalDefinition="Is this always available? (hence times are irrelevant) i.e. 24 hour service." ) protected BooleanType allDay; /** @@ -380,7 +380,7 @@ public class HealthcareService extends DomainResource { } /** - * @return {@link #allDay} (Is this always available? (hence times are irrelevant) e.g. 24 hour service.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value + * @return {@link #allDay} (Is this always available? (hence times are irrelevant) i.e. 24 hour service.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value */ public BooleanType getAllDayElement() { if (this.allDay == null) @@ -400,7 +400,7 @@ public class HealthcareService extends DomainResource { } /** - * @param value {@link #allDay} (Is this always available? (hence times are irrelevant) e.g. 24 hour service.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value + * @param value {@link #allDay} (Is this always available? (hence times are irrelevant) i.e. 24 hour service.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value */ public HealthcareServiceAvailableTimeComponent setAllDayElement(BooleanType value) { this.allDay = value; @@ -408,14 +408,14 @@ public class HealthcareService extends DomainResource { } /** - * @return Is this always available? (hence times are irrelevant) e.g. 24 hour service. + * @return Is this always available? (hence times are irrelevant) i.e. 24 hour service. */ public boolean getAllDay() { return this.allDay == null || this.allDay.isEmpty() ? false : this.allDay.getValue(); } /** - * @param value Is this always available? (hence times are irrelevant) e.g. 24 hour service. + * @param value Is this always available? (hence times are irrelevant) i.e. 24 hour service. */ public HealthcareServiceAvailableTimeComponent setAllDay(boolean value) { if (this.allDay == null) @@ -525,7 +525,7 @@ public class HealthcareService extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("daysOfWeek", "code", "Indicates which days of the week are available between the start and end Times.", 0, java.lang.Integer.MAX_VALUE, daysOfWeek)); - children.add(new Property("allDay", "boolean", "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", 0, 1, allDay)); + children.add(new Property("allDay", "boolean", "Is this always available? (hence times are irrelevant) i.e. 24 hour service.", 0, 1, allDay)); children.add(new Property("availableStartTime", "time", "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableStartTime)); children.add(new Property("availableEndTime", "time", "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableEndTime)); } @@ -534,7 +534,7 @@ public class HealthcareService extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 68050338: /*daysOfWeek*/ return new Property("daysOfWeek", "code", "Indicates which days of the week are available between the start and end Times.", 0, java.lang.Integer.MAX_VALUE, daysOfWeek); - case -1414913477: /*allDay*/ return new Property("allDay", "boolean", "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", 0, 1, allDay); + case -1414913477: /*allDay*/ return new Property("allDay", "boolean", "Is this always available? (hence times are irrelevant) i.e. 24 hour service.", 0, 1, allDay); case -1039453818: /*availableStartTime*/ return new Property("availableStartTime", "time", "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableStartTime); case 101151551: /*availableEndTime*/ return new Property("availableEndTime", "time", "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableEndTime); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -994,24 +994,31 @@ public class HealthcareService extends DomainResource { @Description(shortDefinition="Facilitates quick identification of the service", formalDefinition="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." ) protected Attachment photo; + /** + * The contact details of communication devices available relevant to the specific HealthcareService. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites. + */ + @Child(name = "contact", type = {ExtendedContactDetail.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Official contact details for the HealthcareService", formalDefinition="The contact details of communication devices available relevant to the specific HealthcareService. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites." ) + protected List contact; + /** * List of contacts related to this specific healthcare service. */ - @Child(name = "telecom", type = {ContactPoint.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Contacts related to the healthcare service", formalDefinition="List of contacts related to this specific healthcare service." ) + @Child(name = "telecom", type = {ContactPoint.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Deprecated - use contact.telecom", formalDefinition="List of contacts related to this specific healthcare service." ) protected List telecom; /** * The location(s) that this service is available to (not where the service is provided). */ - @Child(name = "coverageArea", type = {Location.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "coverageArea", type = {Location.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Location(s) service is intended for/available to", formalDefinition="The location(s) that this service is available to (not where the service is provided)." ) protected List coverageArea; /** * The code(s) that detail the conditions under which the healthcare service is available/offered. */ - @Child(name = "serviceProvisionCode", type = {CodeableConcept.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "serviceProvisionCode", type = {CodeableConcept.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Conditions under which service is available/offered", formalDefinition="The code(s) that detail the conditions under which the healthcare service is available/offered." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-provision-conditions") protected List serviceProvisionCode; @@ -1019,14 +1026,14 @@ public class HealthcareService extends DomainResource { /** * Does this service have specific eligibility requirements that need to be met in order to use the service? */ - @Child(name = "eligibility", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "eligibility", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Specific eligibility requirements required to use the service", formalDefinition="Does this service have specific eligibility requirements that need to be met in order to use the service?" ) protected List eligibility; /** * Programs that this service is applicable to. */ - @Child(name = "program", type = {CodeableConcept.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "program", type = {CodeableConcept.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Programs that this service is applicable to", formalDefinition="Programs that this service is applicable to." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/program") protected List program; @@ -1034,14 +1041,14 @@ public class HealthcareService extends DomainResource { /** * Collection of characteristics (attributes). */ - @Child(name = "characteristic", type = {CodeableConcept.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "characteristic", type = {CodeableConcept.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Collection of characteristics (attributes)", formalDefinition="Collection of characteristics (attributes)." ) protected List characteristic; /** * Some services are specifically made available in multiple languages, this property permits a directory to declare the languages this is offered in. Typically this is only provided where a service operates in communities with mixed languages used. */ - @Child(name = "communication", type = {CodeableConcept.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "communication", type = {CodeableConcept.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The language that this service is offered in", formalDefinition="Some services are specifically made available in multiple languages, this property permits a directory to declare the languages this is offered in. Typically this is only provided where a service operates in communities with mixed languages used." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/languages") protected List communication; @@ -1049,7 +1056,7 @@ public class HealthcareService extends DomainResource { /** * Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required. */ - @Child(name = "referralMethod", type = {CodeableConcept.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "referralMethod", type = {CodeableConcept.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Ways that the service accepts referrals", formalDefinition="Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-referral-method") protected List referralMethod; @@ -1057,39 +1064,39 @@ public class HealthcareService extends DomainResource { /** * 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. */ - @Child(name = "appointmentRequired", type = {BooleanType.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Child(name = "appointmentRequired", type = {BooleanType.class}, order=20, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="If an appointment is required for access to this service", formalDefinition="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." ) protected BooleanType appointmentRequired; /** * A collection of times that the Service Site is available. */ - @Child(name = "availableTime", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "availableTime", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Times the Service Site is available", formalDefinition="A collection of times that the Service Site is available." ) protected List availableTime; /** * The HealthcareService is not available during this period of time due to the provided reason. */ - @Child(name = "notAvailable", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "notAvailable", type = {}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Not available during this time due to provided reason", formalDefinition="The HealthcareService is not available during this period of time due to the provided reason." ) protected List notAvailable; /** * 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. */ - @Child(name = "availabilityExceptions", type = {StringType.class}, order=22, min=0, max=1, modifier=false, summary=false) + @Child(name = "availabilityExceptions", type = {StringType.class}, order=23, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Description of availability exceptions", formalDefinition="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." ) protected StringType availabilityExceptions; /** * Technical endpoints providing access to services operated for the specific healthcare services defined at this resource. */ - @Child(name = "endpoint", type = {Endpoint.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "endpoint", type = {Endpoint.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Technical endpoints providing access to electronic services operated for the healthcare service", formalDefinition="Technical endpoints providing access to services operated for the specific healthcare services defined at this resource." ) protected List endpoint; - private static final long serialVersionUID = 25501899L; + private static final long serialVersionUID = 1153384657L; /** * Constructor @@ -1603,6 +1610,59 @@ public class HealthcareService extends DomainResource { return this; } + /** + * @return {@link #contact} (The contact details of communication devices available relevant to the specific HealthcareService. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.) + */ + public List getContact() { + if (this.contact == null) + this.contact = new ArrayList(); + return this.contact; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public HealthcareService setContact(List theContact) { + this.contact = theContact; + return this; + } + + public boolean hasContact() { + if (this.contact == null) + return false; + for (ExtendedContactDetail item : this.contact) + if (!item.isEmpty()) + return true; + return false; + } + + public ExtendedContactDetail addContact() { //3 + ExtendedContactDetail t = new ExtendedContactDetail(); + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return t; + } + + public HealthcareService addContact(ExtendedContactDetail t) { //3 + if (t == null) + return this; + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} + */ + public ExtendedContactDetail getContactFirstRep() { + if (getContact().isEmpty()) { + addContact(); + } + return getContact().get(0); + } + /** * @return {@link #telecom} (List of contacts related to this specific healthcare service.) */ @@ -2293,6 +2353,7 @@ public class HealthcareService extends DomainResource { children.add(new Property("comment", "string", "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.", 0, 1, comment)); children.add(new Property("extraDetails", "markdown", "Extra details about the service that can't be placed in the other fields.", 0, 1, extraDetails)); children.add(new Property("photo", "Attachment", "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.", 0, 1, photo)); + children.add(new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific HealthcareService. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("telecom", "ContactPoint", "List of contacts related to this specific healthcare service.", 0, java.lang.Integer.MAX_VALUE, telecom)); children.add(new Property("coverageArea", "Reference(Location)", "The location(s) that this service is available to (not where the service is provided).", 0, java.lang.Integer.MAX_VALUE, coverageArea)); children.add(new Property("serviceProvisionCode", "CodeableConcept", "The code(s) that detail the conditions under which the healthcare service is available/offered.", 0, java.lang.Integer.MAX_VALUE, serviceProvisionCode)); @@ -2322,6 +2383,7 @@ public class HealthcareService extends DomainResource { case 950398559: /*comment*/ return new Property("comment", "string", "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.", 0, 1, comment); case -1469168622: /*extraDetails*/ return new Property("extraDetails", "markdown", "Extra details about the service that can't be placed in the other fields.", 0, 1, extraDetails); case 106642994: /*photo*/ return new Property("photo", "Attachment", "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.", 0, 1, photo); + case 951526432: /*contact*/ return new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific HealthcareService. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact); case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "List of contacts related to this specific healthcare service.", 0, java.lang.Integer.MAX_VALUE, telecom); case -1532328299: /*coverageArea*/ return new Property("coverageArea", "Reference(Location)", "The location(s) that this service is available to (not where the service is provided).", 0, java.lang.Integer.MAX_VALUE, coverageArea); case 1504575405: /*serviceProvisionCode*/ return new Property("serviceProvisionCode", "CodeableConcept", "The code(s) that detail the conditions under which the healthcare service is available/offered.", 0, java.lang.Integer.MAX_VALUE, serviceProvisionCode); @@ -2354,6 +2416,7 @@ public class HealthcareService extends DomainResource { case 950398559: /*comment*/ return this.comment == null ? new Base[0] : new Base[] {this.comment}; // StringType case -1469168622: /*extraDetails*/ return this.extraDetails == null ? new Base[0] : new Base[] {this.extraDetails}; // MarkdownType case 106642994: /*photo*/ return this.photo == null ? new Base[0] : new Base[] {this.photo}; // Attachment + case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ExtendedContactDetail case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint case -1532328299: /*coverageArea*/ return this.coverageArea == null ? new Base[0] : this.coverageArea.toArray(new Base[this.coverageArea.size()]); // Reference case 1504575405: /*serviceProvisionCode*/ return this.serviceProvisionCode == null ? new Base[0] : this.serviceProvisionCode.toArray(new Base[this.serviceProvisionCode.size()]); // CodeableConcept @@ -2408,6 +2471,9 @@ public class HealthcareService extends DomainResource { case 106642994: // photo this.photo = TypeConvertor.castToAttachment(value); // Attachment return value; + case 951526432: // contact + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); // ExtendedContactDetail + return value; case -1429363305: // telecom this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint return value; @@ -2476,6 +2542,8 @@ public class HealthcareService extends DomainResource { this.extraDetails = TypeConvertor.castToMarkdown(value); // MarkdownType } else if (name.equals("photo")) { this.photo = TypeConvertor.castToAttachment(value); // Attachment + } else if (name.equals("contact")) { + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); } else if (name.equals("telecom")) { this.getTelecom().add(TypeConvertor.castToContactPoint(value)); } else if (name.equals("coverageArea")) { @@ -2521,6 +2589,7 @@ public class HealthcareService extends DomainResource { case 950398559: return getCommentElement(); case -1469168622: return getExtraDetailsElement(); case 106642994: return getPhoto(); + case 951526432: return addContact(); case -1429363305: return addTelecom(); case -1532328299: return addCoverageArea(); case 1504575405: return addServiceProvisionCode(); @@ -2553,6 +2622,7 @@ public class HealthcareService extends DomainResource { case 950398559: /*comment*/ return new String[] {"string"}; case -1469168622: /*extraDetails*/ return new String[] {"markdown"}; case 106642994: /*photo*/ return new String[] {"Attachment"}; + case 951526432: /*contact*/ return new String[] {"ExtendedContactDetail"}; case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; case -1532328299: /*coverageArea*/ return new String[] {"Reference"}; case 1504575405: /*serviceProvisionCode*/ return new String[] {"CodeableConcept"}; @@ -2608,6 +2678,9 @@ public class HealthcareService extends DomainResource { this.photo = new Attachment(); return this.photo; } + else if (name.equals("contact")) { + return addContact(); + } else if (name.equals("telecom")) { return addTelecom(); } @@ -2695,6 +2768,11 @@ public class HealthcareService extends DomainResource { dst.comment = comment == null ? null : comment.copy(); dst.extraDetails = extraDetails == null ? null : extraDetails.copy(); dst.photo = photo == null ? null : photo.copy(); + if (contact != null) { + dst.contact = new ArrayList(); + for (ExtendedContactDetail i : contact) + dst.contact.add(i.copy()); + }; if (telecom != null) { dst.telecom = new ArrayList(); for (ContactPoint i : telecom) @@ -2768,8 +2846,8 @@ public class HealthcareService extends DomainResource { return compareDeep(identifier, o.identifier, true) && compareDeep(active, o.active, true) && compareDeep(providedBy, o.providedBy, true) && compareDeep(category, o.category, true) && compareDeep(type, o.type, true) && compareDeep(specialty, o.specialty, true) && compareDeep(location, o.location, true) && compareDeep(name, o.name, true) && compareDeep(comment, o.comment, true) - && compareDeep(extraDetails, o.extraDetails, true) && compareDeep(photo, o.photo, true) && compareDeep(telecom, o.telecom, true) - && compareDeep(coverageArea, o.coverageArea, true) && compareDeep(serviceProvisionCode, o.serviceProvisionCode, true) + && compareDeep(extraDetails, o.extraDetails, true) && compareDeep(photo, o.photo, true) && compareDeep(contact, o.contact, true) + && compareDeep(telecom, o.telecom, true) && compareDeep(coverageArea, o.coverageArea, true) && compareDeep(serviceProvisionCode, o.serviceProvisionCode, true) && compareDeep(eligibility, o.eligibility, true) && compareDeep(program, o.program, true) && compareDeep(characteristic, o.characteristic, true) && compareDeep(communication, o.communication, true) && compareDeep(referralMethod, o.referralMethod, true) && compareDeep(appointmentRequired, o.appointmentRequired, true) && compareDeep(availableTime, o.availableTime, true) @@ -2791,10 +2869,10 @@ public class HealthcareService extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, active, providedBy - , category, type, specialty, location, name, comment, extraDetails, photo, telecom - , coverageArea, serviceProvisionCode, eligibility, program, characteristic, communication - , referralMethod, appointmentRequired, availableTime, notAvailable, availabilityExceptions - , endpoint); + , category, type, specialty, location, name, comment, extraDetails, photo, contact + , telecom, coverageArea, serviceProvisionCode, eligibility, program, characteristic + , communication, referralMethod, appointmentRequired, availableTime, notAvailable + , availabilityExceptions, endpoint); } @Override @@ -2802,270 +2880,6 @@ public class HealthcareService extends DomainResource { return ResourceType.HealthcareService; } - /** - * Search parameter: active - *

- * Description: The Healthcare Service is currently marked as active
- * Type: token
- * Path: HealthcareService.active
- *

- */ - @SearchParamDefinition(name="active", path="HealthcareService.active", description="The Healthcare Service is currently marked as active", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: The Healthcare Service is currently marked as active
- * Type: token
- * Path: HealthcareService.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: characteristic - *

- * Description: One of the HealthcareService's characteristics
- * Type: token
- * Path: HealthcareService.characteristic
- *

- */ - @SearchParamDefinition(name="characteristic", path="HealthcareService.characteristic", description="One of the HealthcareService's characteristics", type="token" ) - public static final String SP_CHARACTERISTIC = "characteristic"; - /** - * Fluent Client search parameter constant for characteristic - *

- * Description: One of the HealthcareService's characteristics
- * Type: token
- * Path: HealthcareService.characteristic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CHARACTERISTIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CHARACTERISTIC); - - /** - * Search parameter: coverage-area - *

- * Description: Location(s) service is intended for/available to
- * Type: reference
- * Path: HealthcareService.coverageArea
- *

- */ - @SearchParamDefinition(name="coverage-area", path="HealthcareService.coverageArea", description="Location(s) service is intended for/available to", type="reference", target={Location.class } ) - public static final String SP_COVERAGE_AREA = "coverage-area"; - /** - * Fluent Client search parameter constant for coverage-area - *

- * Description: Location(s) service is intended for/available to
- * Type: reference
- * Path: HealthcareService.coverageArea
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COVERAGE_AREA = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COVERAGE_AREA); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "HealthcareService:coverage-area". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COVERAGE_AREA = new ca.uhn.fhir.model.api.Include("HealthcareService:coverage-area").toLocked(); - - /** - * Search parameter: endpoint - *

- * Description: Technical endpoints providing access to electronic services operated for the healthcare service
- * Type: reference
- * Path: HealthcareService.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="HealthcareService.endpoint", description="Technical endpoints providing access to electronic services operated for the healthcare service", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: Technical endpoints providing access to electronic services operated for the healthcare service
- * Type: reference
- * Path: HealthcareService.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "HealthcareService:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("HealthcareService:endpoint").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: External identifiers for this item
- * Type: token
- * Path: HealthcareService.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="HealthcareService.identifier", description="External identifiers for this item", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifiers for this item
- * Type: token
- * Path: HealthcareService.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: The location of the Healthcare Service
- * Type: reference
- * Path: HealthcareService.location
- *

- */ - @SearchParamDefinition(name="location", path="HealthcareService.location", description="The location of the Healthcare Service", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: The location of the Healthcare Service
- * Type: reference
- * Path: HealthcareService.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "HealthcareService:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("HealthcareService:location").toLocked(); - - /** - * Search parameter: name - *

- * Description: A portion of the Healthcare service name
- * Type: string
- * Path: HealthcareService.name
- *

- */ - @SearchParamDefinition(name="name", path="HealthcareService.name", description="A portion of the Healthcare service name", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A portion of the Healthcare service name
- * Type: string
- * Path: HealthcareService.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: organization - *

- * Description: The organization that provides this Healthcare Service
- * Type: reference
- * Path: HealthcareService.providedBy
- *

- */ - @SearchParamDefinition(name="organization", path="HealthcareService.providedBy", description="The organization that provides this Healthcare Service", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The organization that provides this Healthcare Service
- * Type: reference
- * Path: HealthcareService.providedBy
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "HealthcareService:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("HealthcareService:organization").toLocked(); - - /** - * Search parameter: program - *

- * Description: One of the Programs supported by this HealthcareService
- * Type: token
- * Path: HealthcareService.program
- *

- */ - @SearchParamDefinition(name="program", path="HealthcareService.program", description="One of the Programs supported by this HealthcareService", type="token" ) - public static final String SP_PROGRAM = "program"; - /** - * Fluent Client search parameter constant for program - *

- * Description: One of the Programs supported by this HealthcareService
- * Type: token
- * Path: HealthcareService.program
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PROGRAM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PROGRAM); - - /** - * Search parameter: service-category - *

- * Description: Service Category of the Healthcare Service
- * Type: token
- * Path: HealthcareService.category
- *

- */ - @SearchParamDefinition(name="service-category", path="HealthcareService.category", description="Service Category of the Healthcare Service", type="token" ) - public static final String SP_SERVICE_CATEGORY = "service-category"; - /** - * Fluent Client search parameter constant for service-category - *

- * Description: Service Category of the Healthcare Service
- * Type: token
- * Path: HealthcareService.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_CATEGORY); - - /** - * Search parameter: service-type - *

- * Description: The type of service provided by this healthcare service
- * Type: token
- * Path: HealthcareService.type
- *

- */ - @SearchParamDefinition(name="service-type", path="HealthcareService.type", description="The type of service provided by this healthcare service", type="token" ) - public static final String SP_SERVICE_TYPE = "service-type"; - /** - * Fluent Client search parameter constant for service-type - *

- * Description: The type of service provided by this healthcare service
- * Type: token
- * Path: HealthcareService.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_TYPE); - - /** - * Search parameter: specialty - *

- * Description: The specialty of the service provided by this healthcare service
- * Type: token
- * Path: HealthcareService.specialty
- *

- */ - @SearchParamDefinition(name="specialty", path="HealthcareService.specialty", description="The specialty of the service provided by this healthcare service", type="token" ) - public static final String SP_SPECIALTY = "specialty"; - /** - * Fluent Client search parameter constant for specialty - *

- * Description: The specialty of the service provided by this healthcare service
- * Type: token
- * Path: HealthcareService.specialty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIALTY); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HumanName.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HumanName.java index 8d9dcab96..faac86920 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HumanName.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/HumanName.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -117,6 +117,7 @@ public class HumanName extends DataType implements ICompositeType { case ANONYMOUS: return "anonymous"; case OLD: return "old"; case MAIDEN: return "maiden"; + case NULL: return null; default: return "?"; } } @@ -129,6 +130,7 @@ public class HumanName extends DataType implements ICompositeType { 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 NULL: return null; default: return "?"; } } @@ -141,6 +143,7 @@ public class HumanName extends DataType implements ICompositeType { case ANONYMOUS: return "Anonymous assigned name, alias, or pseudonym (used to protect a person's identity for privacy reasons)."; case OLD: return "This name is no longer in use (or was never correct, but retained for records)."; case MAIDEN: return "A name used prior to changing name because of marriage. This name use is for use by applications that collect and store names that were used prior to a marriage. Marriage naming customs vary greatly around the world, and are constantly changing. This term is not gender specific. The use of this term does not imply any particular history for a person's name."; + case NULL: return null; default: return "?"; } } @@ -153,6 +156,7 @@ public class HumanName extends DataType implements ICompositeType { case ANONYMOUS: return "Anonymous"; case OLD: return "Old"; case MAIDEN: return "Name changed for Marriage"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Identifier.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Identifier.java index 676579ad9..f19b60d85 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Identifier.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Identifier.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -101,6 +101,7 @@ public class Identifier extends DataType implements ICompositeType { case TEMP: return "temp"; case SECONDARY: return "secondary"; case OLD: return "old"; + case NULL: return null; default: return "?"; } } @@ -111,6 +112,7 @@ public class Identifier extends DataType implements ICompositeType { case TEMP: return "http://hl7.org/fhir/identifier-use"; case SECONDARY: return "http://hl7.org/fhir/identifier-use"; case OLD: return "http://hl7.org/fhir/identifier-use"; + case NULL: return null; default: return "?"; } } @@ -121,6 +123,7 @@ public class Identifier extends DataType implements ICompositeType { case TEMP: return "A temporary identifier."; case SECONDARY: return "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."; case OLD: return "The identifier id no longer considered valid, but may be relevant for search purposes. E.g. Changes to identifier schemes, account merges, etc."; + case NULL: return null; default: return "?"; } } @@ -131,6 +134,7 @@ public class Identifier extends DataType implements ICompositeType { case TEMP: return "Temp"; case SECONDARY: return "Secondary"; case OLD: return "Old"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingSelection.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingSelection.java index 9a704c2ed..aad28ebfb 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingSelection.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingSelection.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -54,99 +54,151 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="ImagingSelection", profile="http://hl7.org/fhir/StructureDefinition/ImagingSelection") public class ImagingSelection extends DomainResource { - public enum ImagingSelectionCoordinateType { + public enum ImagingSelection2DGraphicType { /** - * The selected image region is defined in a 2D coordinate system. + * A single location denoted by a single (x,y) pair. */ - _2D, + POINT, /** - * The selected image region is defined in a 3D coordinate system. + * A series of connected line segments with ordered vertices denoted by (x,y) triplets; the points need not be coplanar. */ - _3D, + POLYLINE, + /** + * An n-tuple list of (x,y) pair end points between which some form of implementation dependent curved lines are to be drawn. The rendered line shall pass through all the specified points. + */ + INTERPOLATED, + /** + * Two points shall be present; the first point is to be interpreted as the center and the second point as a point on the circumference of a circle, some form of implementation dependent representation of which is to be drawn. + */ + CIRCLE, + /** + * An ellipse defined by four (x,y) pairs, the first two pairs specifying the endpoints of the major axis and the second two pairs specifying the endpoints of the minor axis. + */ + ELLIPSE, /** * added to help the parsers with the generic types */ NULL; - public static ImagingSelectionCoordinateType fromCode(String codeString) throws FHIRException { + public static ImagingSelection2DGraphicType fromCode(String codeString) throws FHIRException { if (codeString == null || "".equals(codeString)) return null; - if ("2d".equals(codeString)) - return _2D; - if ("3d".equals(codeString)) - return _3D; + if ("POINT".equals(codeString)) + return POINT; + if ("POLYLINE".equals(codeString)) + return POLYLINE; + if ("INTERPOLATED".equals(codeString)) + return INTERPOLATED; + if ("CIRCLE".equals(codeString)) + return CIRCLE; + if ("ELLIPSE".equals(codeString)) + return ELLIPSE; if (Configuration.isAcceptInvalidEnums()) return null; else - throw new FHIRException("Unknown ImagingSelectionCoordinateType code '"+codeString+"'"); + throw new FHIRException("Unknown ImagingSelection2DGraphicType code '"+codeString+"'"); } public String toCode() { switch (this) { - case _2D: return "2d"; - case _3D: return "3d"; + case POINT: return "POINT"; + case POLYLINE: return "POLYLINE"; + case INTERPOLATED: return "INTERPOLATED"; + case CIRCLE: return "CIRCLE"; + case ELLIPSE: return "ELLIPSE"; + case NULL: return null; default: return "?"; } } public String getSystem() { switch (this) { - case _2D: return "http://hl7.org/fhir/imagingselection-coordinatetype"; - case _3D: return "http://hl7.org/fhir/imagingselection-coordinatetype"; + case POINT: return "http://hl7.org/fhir/imagingselection-2dgraphictype"; + case POLYLINE: return "http://hl7.org/fhir/imagingselection-2dgraphictype"; + case INTERPOLATED: return "http://hl7.org/fhir/imagingselection-2dgraphictype"; + case CIRCLE: return "http://hl7.org/fhir/imagingselection-2dgraphictype"; + case ELLIPSE: return "http://hl7.org/fhir/imagingselection-2dgraphictype"; + case NULL: return null; default: return "?"; } } public String getDefinition() { switch (this) { - case _2D: return "The selected image region is defined in a 2D coordinate system."; - case _3D: return "The selected image region is defined in a 3D coordinate system."; + case POINT: return "A single location denoted by a single (x,y) pair."; + case POLYLINE: return "A series of connected line segments with ordered vertices denoted by (x,y) triplets; the points need not be coplanar."; + case INTERPOLATED: return "An n-tuple list of (x,y) pair end points between which some form of implementation dependent curved lines are to be drawn. The rendered line shall pass through all the specified points."; + case CIRCLE: return "Two points shall be present; the first point is to be interpreted as the center and the second point as a point on the circumference of a circle, some form of implementation dependent representation of which is to be drawn."; + case ELLIPSE: return "An ellipse defined by four (x,y) pairs, the first two pairs specifying the endpoints of the major axis and the second two pairs specifying the endpoints of the minor axis."; + case NULL: return null; default: return "?"; } } public String getDisplay() { switch (this) { - case _2D: return "2D"; - case _3D: return "3D"; + case POINT: return "POINT"; + case POLYLINE: return "POLYLINE"; + case INTERPOLATED: return "INTERPOLATED"; + case CIRCLE: return "CIRCLE"; + case ELLIPSE: return "ELLIPSE"; + case NULL: return null; default: return "?"; } } } - public static class ImagingSelectionCoordinateTypeEnumFactory implements EnumFactory { - public ImagingSelectionCoordinateType fromCode(String codeString) throws IllegalArgumentException { + public static class ImagingSelection2DGraphicTypeEnumFactory implements EnumFactory { + public ImagingSelection2DGraphicType fromCode(String codeString) throws IllegalArgumentException { if (codeString == null || "".equals(codeString)) if (codeString == null || "".equals(codeString)) return null; - if ("2d".equals(codeString)) - return ImagingSelectionCoordinateType._2D; - if ("3d".equals(codeString)) - return ImagingSelectionCoordinateType._3D; - throw new IllegalArgumentException("Unknown ImagingSelectionCoordinateType code '"+codeString+"'"); + if ("POINT".equals(codeString)) + return ImagingSelection2DGraphicType.POINT; + if ("POLYLINE".equals(codeString)) + return ImagingSelection2DGraphicType.POLYLINE; + if ("INTERPOLATED".equals(codeString)) + return ImagingSelection2DGraphicType.INTERPOLATED; + if ("CIRCLE".equals(codeString)) + return ImagingSelection2DGraphicType.CIRCLE; + if ("ELLIPSE".equals(codeString)) + return ImagingSelection2DGraphicType.ELLIPSE; + throw new IllegalArgumentException("Unknown ImagingSelection2DGraphicType code '"+codeString+"'"); } - public Enumeration fromType(Base code) throws FHIRException { + public Enumeration fromType(Base code) throws FHIRException { if (code == null) return null; if (code.isEmpty()) - return new Enumeration(this); + return new Enumeration(this); String codeString = ((PrimitiveType) code).asStringValue(); if (codeString == null || "".equals(codeString)) return null; - if ("2d".equals(codeString)) - return new Enumeration(this, ImagingSelectionCoordinateType._2D); - if ("3d".equals(codeString)) - return new Enumeration(this, ImagingSelectionCoordinateType._3D); - throw new FHIRException("Unknown ImagingSelectionCoordinateType code '"+codeString+"'"); + if ("POINT".equals(codeString)) + return new Enumeration(this, ImagingSelection2DGraphicType.POINT); + if ("POLYLINE".equals(codeString)) + return new Enumeration(this, ImagingSelection2DGraphicType.POLYLINE); + if ("INTERPOLATED".equals(codeString)) + return new Enumeration(this, ImagingSelection2DGraphicType.INTERPOLATED); + if ("CIRCLE".equals(codeString)) + return new Enumeration(this, ImagingSelection2DGraphicType.CIRCLE); + if ("ELLIPSE".equals(codeString)) + return new Enumeration(this, ImagingSelection2DGraphicType.ELLIPSE); + throw new FHIRException("Unknown ImagingSelection2DGraphicType code '"+codeString+"'"); } - public String toCode(ImagingSelectionCoordinateType code) { - if (code == ImagingSelectionCoordinateType._2D) - return "2d"; - if (code == ImagingSelectionCoordinateType._3D) - return "3d"; + public String toCode(ImagingSelection2DGraphicType code) { + if (code == ImagingSelection2DGraphicType.POINT) + return "POINT"; + if (code == ImagingSelection2DGraphicType.POLYLINE) + return "POLYLINE"; + if (code == ImagingSelection2DGraphicType.INTERPOLATED) + return "INTERPOLATED"; + if (code == ImagingSelection2DGraphicType.CIRCLE) + return "CIRCLE"; + if (code == ImagingSelection2DGraphicType.ELLIPSE) + return "ELLIPSE"; return "?"; } - public String toSystem(ImagingSelectionCoordinateType code) { + public String toSystem(ImagingSelection2DGraphicType code) { return code.getSystem(); } } - public enum ImagingSelectionGraphicType { + public enum ImagingSelection3DGraphicType { /** * A single location denoted by a single (x,y,z) triplet. */ @@ -175,7 +227,7 @@ public class ImagingSelection extends DomainResource { * added to help the parsers with the generic types */ NULL; - public static ImagingSelectionGraphicType fromCode(String codeString) throws FHIRException { + public static ImagingSelection3DGraphicType fromCode(String codeString) throws FHIRException { if (codeString == null || "".equals(codeString)) return null; if ("POINT".equals(codeString)) @@ -193,7 +245,7 @@ public class ImagingSelection extends DomainResource { if (Configuration.isAcceptInvalidEnums()) return null; else - throw new FHIRException("Unknown ImagingSelectionGraphicType code '"+codeString+"'"); + throw new FHIRException("Unknown ImagingSelection3DGraphicType code '"+codeString+"'"); } public String toCode() { switch (this) { @@ -203,17 +255,19 @@ public class ImagingSelection extends DomainResource { case POLYGON: return "POLYGON"; case ELLIPSE: return "ELLIPSE"; case ELLIPSOID: return "ELLIPSOID"; + case NULL: return null; default: return "?"; } } public String getSystem() { switch (this) { - case POINT: return "http://hl7.org/fhir/imagingselection-graphictype"; - case MULTIPOINT: return "http://hl7.org/fhir/imagingselection-graphictype"; - case POLYLINE: return "http://hl7.org/fhir/imagingselection-graphictype"; - case POLYGON: return "http://hl7.org/fhir/imagingselection-graphictype"; - case ELLIPSE: return "http://hl7.org/fhir/imagingselection-graphictype"; - case ELLIPSOID: return "http://hl7.org/fhir/imagingselection-graphictype"; + case POINT: return "http://hl7.org/fhir/imagingselection-3dgraphictype"; + case MULTIPOINT: return "http://hl7.org/fhir/imagingselection-3dgraphictype"; + case POLYLINE: return "http://hl7.org/fhir/imagingselection-3dgraphictype"; + case POLYGON: return "http://hl7.org/fhir/imagingselection-3dgraphictype"; + case ELLIPSE: return "http://hl7.org/fhir/imagingselection-3dgraphictype"; + case ELLIPSOID: return "http://hl7.org/fhir/imagingselection-3dgraphictype"; + case NULL: return null; default: return "?"; } } @@ -225,6 +279,7 @@ public class ImagingSelection extends DomainResource { case POLYGON: return "a series of connected line segments with ordered vertices denoted by (x,y,z) triplets, where the first and last vertices shall be the same forming a polygon; the points shall be coplanar."; case ELLIPSE: return "an ellipse defined by four (x,y,z) triplets, the first two triplets specifying the endpoints of the major axis and the second two triplets specifying the endpoints of the minor axis."; case ELLIPSOID: return "a three-dimensional geometric surface whose plane sections are either ellipses or circles and contains three intersecting orthogonal axes, \"a\", \"b\", and \"c\"; the ellipsoid is defined by six (x,y,z) triplets, the first and second triplets specifying the endpoints of axis \"a\", the third and fourth triplets specifying the endpoints of axis \"b\", and the fifth and sixth triplets specifying the endpoints of axis \"c\"."; + case NULL: return null; default: return "?"; } } @@ -236,68 +291,181 @@ public class ImagingSelection extends DomainResource { case POLYGON: return "POLYGON"; case ELLIPSE: return "ELLIPSE"; case ELLIPSOID: return "ELLIPSOID"; + case NULL: return null; default: return "?"; } } } - public static class ImagingSelectionGraphicTypeEnumFactory implements EnumFactory { - public ImagingSelectionGraphicType fromCode(String codeString) throws IllegalArgumentException { + public static class ImagingSelection3DGraphicTypeEnumFactory implements EnumFactory { + public ImagingSelection3DGraphicType fromCode(String codeString) throws IllegalArgumentException { if (codeString == null || "".equals(codeString)) if (codeString == null || "".equals(codeString)) return null; if ("POINT".equals(codeString)) - return ImagingSelectionGraphicType.POINT; + return ImagingSelection3DGraphicType.POINT; if ("MULTIPOINT".equals(codeString)) - return ImagingSelectionGraphicType.MULTIPOINT; + return ImagingSelection3DGraphicType.MULTIPOINT; if ("POLYLINE".equals(codeString)) - return ImagingSelectionGraphicType.POLYLINE; + return ImagingSelection3DGraphicType.POLYLINE; if ("POLYGON".equals(codeString)) - return ImagingSelectionGraphicType.POLYGON; + return ImagingSelection3DGraphicType.POLYGON; if ("ELLIPSE".equals(codeString)) - return ImagingSelectionGraphicType.ELLIPSE; + return ImagingSelection3DGraphicType.ELLIPSE; if ("ELLIPSOID".equals(codeString)) - return ImagingSelectionGraphicType.ELLIPSOID; - throw new IllegalArgumentException("Unknown ImagingSelectionGraphicType code '"+codeString+"'"); + return ImagingSelection3DGraphicType.ELLIPSOID; + throw new IllegalArgumentException("Unknown ImagingSelection3DGraphicType code '"+codeString+"'"); } - public Enumeration fromType(Base code) throws FHIRException { + public Enumeration fromType(Base code) throws FHIRException { if (code == null) return null; if (code.isEmpty()) - return new Enumeration(this); + return new Enumeration(this); String codeString = ((PrimitiveType) code).asStringValue(); if (codeString == null || "".equals(codeString)) return null; if ("POINT".equals(codeString)) - return new Enumeration(this, ImagingSelectionGraphicType.POINT); + return new Enumeration(this, ImagingSelection3DGraphicType.POINT); if ("MULTIPOINT".equals(codeString)) - return new Enumeration(this, ImagingSelectionGraphicType.MULTIPOINT); + return new Enumeration(this, ImagingSelection3DGraphicType.MULTIPOINT); if ("POLYLINE".equals(codeString)) - return new Enumeration(this, ImagingSelectionGraphicType.POLYLINE); + return new Enumeration(this, ImagingSelection3DGraphicType.POLYLINE); if ("POLYGON".equals(codeString)) - return new Enumeration(this, ImagingSelectionGraphicType.POLYGON); + return new Enumeration(this, ImagingSelection3DGraphicType.POLYGON); if ("ELLIPSE".equals(codeString)) - return new Enumeration(this, ImagingSelectionGraphicType.ELLIPSE); + return new Enumeration(this, ImagingSelection3DGraphicType.ELLIPSE); if ("ELLIPSOID".equals(codeString)) - return new Enumeration(this, ImagingSelectionGraphicType.ELLIPSOID); - throw new FHIRException("Unknown ImagingSelectionGraphicType code '"+codeString+"'"); + return new Enumeration(this, ImagingSelection3DGraphicType.ELLIPSOID); + throw new FHIRException("Unknown ImagingSelection3DGraphicType code '"+codeString+"'"); } - public String toCode(ImagingSelectionGraphicType code) { - if (code == ImagingSelectionGraphicType.POINT) + public String toCode(ImagingSelection3DGraphicType code) { + if (code == ImagingSelection3DGraphicType.POINT) return "POINT"; - if (code == ImagingSelectionGraphicType.MULTIPOINT) + if (code == ImagingSelection3DGraphicType.MULTIPOINT) return "MULTIPOINT"; - if (code == ImagingSelectionGraphicType.POLYLINE) + if (code == ImagingSelection3DGraphicType.POLYLINE) return "POLYLINE"; - if (code == ImagingSelectionGraphicType.POLYGON) + if (code == ImagingSelection3DGraphicType.POLYGON) return "POLYGON"; - if (code == ImagingSelectionGraphicType.ELLIPSE) + if (code == ImagingSelection3DGraphicType.ELLIPSE) return "ELLIPSE"; - if (code == ImagingSelectionGraphicType.ELLIPSOID) + if (code == ImagingSelection3DGraphicType.ELLIPSOID) return "ELLIPSOID"; return "?"; } - public String toSystem(ImagingSelectionGraphicType code) { + public String toSystem(ImagingSelection3DGraphicType code) { + return code.getSystem(); + } + } + + public enum ImagingSelectionStatus { + /** + * The selected resources are available.. + */ + AVAILABLE, + /** + * The imaging selection has been withdrawn following a release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".). + */ + ENTEREDINERROR, + /** + * The system does not know which of the status values currently applies for this request. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, it's just not known which one. + */ + UNKNOWN, + /** + * added to help the parsers with the generic types + */ + NULL; + public static ImagingSelectionStatus fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("available".equals(codeString)) + return AVAILABLE; + if ("entered-in-error".equals(codeString)) + return ENTEREDINERROR; + if ("unknown".equals(codeString)) + return UNKNOWN; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown ImagingSelectionStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case AVAILABLE: return "available"; + case ENTEREDINERROR: return "entered-in-error"; + case UNKNOWN: return "unknown"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case AVAILABLE: return "http://hl7.org/fhir/imagingselection-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/imagingselection-status"; + case UNKNOWN: return "http://hl7.org/fhir/imagingselection-status"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case AVAILABLE: return "The selected resources are available.."; + case ENTEREDINERROR: return "The imaging selection has been withdrawn following a release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".)."; + case UNKNOWN: return "The system does not know which of the status values currently applies for this request. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, it's just not known which one."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case AVAILABLE: return "Available"; + case ENTEREDINERROR: return "Entered in Error"; + case UNKNOWN: return "Unknown"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class ImagingSelectionStatusEnumFactory implements EnumFactory { + public ImagingSelectionStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("available".equals(codeString)) + return ImagingSelectionStatus.AVAILABLE; + if ("entered-in-error".equals(codeString)) + return ImagingSelectionStatus.ENTEREDINERROR; + if ("unknown".equals(codeString)) + return ImagingSelectionStatus.UNKNOWN; + throw new IllegalArgumentException("Unknown ImagingSelectionStatus code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("available".equals(codeString)) + return new Enumeration(this, ImagingSelectionStatus.AVAILABLE); + if ("entered-in-error".equals(codeString)) + return new Enumeration(this, ImagingSelectionStatus.ENTEREDINERROR); + if ("unknown".equals(codeString)) + return new Enumeration(this, ImagingSelectionStatus.UNKNOWN); + throw new FHIRException("Unknown ImagingSelectionStatus code '"+codeString+"'"); + } + public String toCode(ImagingSelectionStatus code) { + if (code == ImagingSelectionStatus.AVAILABLE) + return "available"; + if (code == ImagingSelectionStatus.ENTEREDINERROR) + return "entered-in-error"; + if (code == ImagingSelectionStatus.UNKNOWN) + return "unknown"; + return "?"; + } + public String toSystem(ImagingSelectionStatus code) { return code.getSystem(); } } @@ -509,9 +677,9 @@ public class ImagingSelection extends DomainResource { /** * The SOP Instance UID for the selected DICOM instance. */ - @Child(name = "uid", type = {OidType.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Child(name = "uid", type = {IdType.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="DICOM SOP Instance UID", formalDefinition="The SOP Instance UID for the selected DICOM instance." ) - protected OidType uid; + protected IdType uid; /** * The SOP Class UID for the selected DICOM instance. @@ -522,34 +690,26 @@ public class ImagingSelection extends DomainResource { protected Coding sopClass; /** - * The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection. + * Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance. + May be one of: + - A list of frame numbers selected from a multiframe SOP Instance. + - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance. + - A list of segment numbers selected from a segmentation SOP Instance. + - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance. */ - @Child(name = "frameList", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="List of selected frames encoded as a comma separated list of one or more non duplicate frame numbers", formalDefinition="The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection." ) - protected StringType frameList; + @Child(name = "subset", type = {StringType.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The selected subset of the SOP Instance", formalDefinition="Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance.\n May be one of:\n - A list of frame numbers selected from a multiframe SOP Instance.\n - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance.\n - A list of segment numbers selected from a segmentation SOP Instance.\n - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance." ) + protected List subset; /** - * The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection. + * Each imaging selection instance or frame list might includes an image region, specified by a region type and a set of 2D coordinates. + If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list. */ - @Child(name = "observationUid", type = {OidType.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Selected observations in a DICOM SR", formalDefinition="The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection." ) - protected List observationUid; + @Child(name = "imageRegion", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="A specific 2D region in a DICOM image / frame", formalDefinition="Each imaging selection instance or frame list might includes an image region, specified by a region type and a set of 2D coordinates.\n If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list." ) + protected List imageRegion; - /** - * The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection. - */ - @Child(name = "segmentList", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="List of selected segments encoded as a comma separated list of one or more non duplicate segnent numbers", formalDefinition="The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection." ) - protected StringType segmentList; - - /** - * The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection. - */ - @Child(name = "roiList", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="List of selected regions of interest (ROI) encoded as a comma separated list of one or more non duplicate ROI numbers", formalDefinition="The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection." ) - protected StringType roiList; - - private static final long serialVersionUID = -1574362633L; + private static final long serialVersionUID = 445509632L; /** * Constructor @@ -569,12 +729,12 @@ public class ImagingSelection extends DomainResource { /** * @return {@link #uid} (The SOP Instance UID for the selected DICOM instance.). This is the underlying object with id, value and extensions. The accessor "getUid" gives direct access to the value */ - public OidType getUidElement() { + public IdType getUidElement() { if (this.uid == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingSelectionInstanceComponent.uid"); else if (Configuration.doAutoCreate()) - this.uid = new OidType(); // bb + this.uid = new IdType(); // bb return this.uid; } @@ -589,7 +749,7 @@ public class ImagingSelection extends DomainResource { /** * @param value {@link #uid} (The SOP Instance UID for the selected DICOM instance.). This is the underlying object with id, value and extensions. The accessor "getUid" gives direct access to the value */ - public ImagingSelectionInstanceComponent setUidElement(OidType value) { + public ImagingSelectionInstanceComponent setUidElement(IdType value) { this.uid = value; return this; } @@ -606,7 +766,7 @@ public class ImagingSelection extends DomainResource { */ public ImagingSelectionInstanceComponent setUid(String value) { if (this.uid == null) - this.uid = new OidType(); + this.uid = new IdType(); this.uid.setValue(value); return this; } @@ -636,232 +796,155 @@ public class ImagingSelection extends DomainResource { } /** - * @return {@link #frameList} (The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection.). This is the underlying object with id, value and extensions. The accessor "getFrameList" gives direct access to the value + * @return {@link #subset} (Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance. + May be one of: + - A list of frame numbers selected from a multiframe SOP Instance. + - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance. + - A list of segment numbers selected from a segmentation SOP Instance. + - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance.) */ - public StringType getFrameListElement() { - if (this.frameList == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImagingSelectionInstanceComponent.frameList"); - else if (Configuration.doAutoCreate()) - this.frameList = new StringType(); // bb - return this.frameList; - } - - public boolean hasFrameListElement() { - return this.frameList != null && !this.frameList.isEmpty(); - } - - public boolean hasFrameList() { - return this.frameList != null && !this.frameList.isEmpty(); - } - - /** - * @param value {@link #frameList} (The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection.). This is the underlying object with id, value and extensions. The accessor "getFrameList" gives direct access to the value - */ - public ImagingSelectionInstanceComponent setFrameListElement(StringType value) { - this.frameList = value; - return this; - } - - /** - * @return The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection. - */ - public String getFrameList() { - return this.frameList == null ? null : this.frameList.getValue(); - } - - /** - * @param value The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection. - */ - public ImagingSelectionInstanceComponent setFrameList(String value) { - if (Utilities.noString(value)) - this.frameList = null; - else { - if (this.frameList == null) - this.frameList = new StringType(); - this.frameList.setValue(value); - } - return this; - } - - /** - * @return {@link #observationUid} (The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection.) - */ - public List getObservationUid() { - if (this.observationUid == null) - this.observationUid = new ArrayList(); - return this.observationUid; + public List getSubset() { + if (this.subset == null) + this.subset = new ArrayList(); + return this.subset; } /** * @return Returns a reference to this for easy method chaining */ - public ImagingSelectionInstanceComponent setObservationUid(List theObservationUid) { - this.observationUid = theObservationUid; + public ImagingSelectionInstanceComponent setSubset(List theSubset) { + this.subset = theSubset; return this; } - public boolean hasObservationUid() { - if (this.observationUid == null) + public boolean hasSubset() { + if (this.subset == null) return false; - for (OidType item : this.observationUid) + for (StringType item : this.subset) if (!item.isEmpty()) return true; return false; } /** - * @return {@link #observationUid} (The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection.) + * @return {@link #subset} (Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance. + May be one of: + - A list of frame numbers selected from a multiframe SOP Instance. + - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance. + - A list of segment numbers selected from a segmentation SOP Instance. + - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance.) */ - public OidType addObservationUidElement() {//2 - OidType t = new OidType(); - if (this.observationUid == null) - this.observationUid = new ArrayList(); - this.observationUid.add(t); + public StringType addSubsetElement() {//2 + StringType t = new StringType(); + if (this.subset == null) + this.subset = new ArrayList(); + this.subset.add(t); return t; } /** - * @param value {@link #observationUid} (The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection.) + * @param value {@link #subset} (Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance. + May be one of: + - A list of frame numbers selected from a multiframe SOP Instance. + - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance. + - A list of segment numbers selected from a segmentation SOP Instance. + - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance.) */ - public ImagingSelectionInstanceComponent addObservationUid(String value) { //1 - OidType t = new OidType(); + public ImagingSelectionInstanceComponent addSubset(String value) { //1 + StringType t = new StringType(); t.setValue(value); - if (this.observationUid == null) - this.observationUid = new ArrayList(); - this.observationUid.add(t); + if (this.subset == null) + this.subset = new ArrayList(); + this.subset.add(t); return this; } /** - * @param value {@link #observationUid} (The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection.) + * @param value {@link #subset} (Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance. + May be one of: + - A list of frame numbers selected from a multiframe SOP Instance. + - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance. + - A list of segment numbers selected from a segmentation SOP Instance. + - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance.) */ - public boolean hasObservationUid(String value) { - if (this.observationUid == null) + public boolean hasSubset(String value) { + if (this.subset == null) return false; - for (OidType v : this.observationUid) - if (v.getValue().equals(value)) // oid + for (StringType v : this.subset) + if (v.getValue().equals(value)) // string return true; return false; } /** - * @return {@link #segmentList} (The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection.). This is the underlying object with id, value and extensions. The accessor "getSegmentList" gives direct access to the value + * @return {@link #imageRegion} (Each imaging selection instance or frame list might includes an image region, specified by a region type and a set of 2D coordinates. + If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list.) */ - public StringType getSegmentListElement() { - if (this.segmentList == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImagingSelectionInstanceComponent.segmentList"); - else if (Configuration.doAutoCreate()) - this.segmentList = new StringType(); // bb - return this.segmentList; - } - - public boolean hasSegmentListElement() { - return this.segmentList != null && !this.segmentList.isEmpty(); - } - - public boolean hasSegmentList() { - return this.segmentList != null && !this.segmentList.isEmpty(); + public List getImageRegion() { + if (this.imageRegion == null) + this.imageRegion = new ArrayList(); + return this.imageRegion; } /** - * @param value {@link #segmentList} (The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection.). This is the underlying object with id, value and extensions. The accessor "getSegmentList" gives direct access to the value + * @return Returns a reference to this for easy method chaining */ - public ImagingSelectionInstanceComponent setSegmentListElement(StringType value) { - this.segmentList = value; + public ImagingSelectionInstanceComponent setImageRegion(List theImageRegion) { + this.imageRegion = theImageRegion; + return this; + } + + public boolean hasImageRegion() { + if (this.imageRegion == null) + return false; + for (ImagingSelectionInstanceImageRegionComponent item : this.imageRegion) + if (!item.isEmpty()) + return true; + return false; + } + + public ImagingSelectionInstanceImageRegionComponent addImageRegion() { //3 + ImagingSelectionInstanceImageRegionComponent t = new ImagingSelectionInstanceImageRegionComponent(); + if (this.imageRegion == null) + this.imageRegion = new ArrayList(); + this.imageRegion.add(t); + return t; + } + + public ImagingSelectionInstanceComponent addImageRegion(ImagingSelectionInstanceImageRegionComponent t) { //3 + if (t == null) + return this; + if (this.imageRegion == null) + this.imageRegion = new ArrayList(); + this.imageRegion.add(t); return this; } /** - * @return The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection. + * @return The first repetition of repeating field {@link #imageRegion}, creating it if it does not already exist {3} */ - public String getSegmentList() { - return this.segmentList == null ? null : this.segmentList.getValue(); - } - - /** - * @param value The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection. - */ - public ImagingSelectionInstanceComponent setSegmentList(String value) { - if (Utilities.noString(value)) - this.segmentList = null; - else { - if (this.segmentList == null) - this.segmentList = new StringType(); - this.segmentList.setValue(value); + public ImagingSelectionInstanceImageRegionComponent getImageRegionFirstRep() { + if (getImageRegion().isEmpty()) { + addImageRegion(); } - return this; - } - - /** - * @return {@link #roiList} (The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection.). This is the underlying object with id, value and extensions. The accessor "getRoiList" gives direct access to the value - */ - public StringType getRoiListElement() { - if (this.roiList == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImagingSelectionInstanceComponent.roiList"); - else if (Configuration.doAutoCreate()) - this.roiList = new StringType(); // bb - return this.roiList; - } - - public boolean hasRoiListElement() { - return this.roiList != null && !this.roiList.isEmpty(); - } - - public boolean hasRoiList() { - return this.roiList != null && !this.roiList.isEmpty(); - } - - /** - * @param value {@link #roiList} (The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection.). This is the underlying object with id, value and extensions. The accessor "getRoiList" gives direct access to the value - */ - public ImagingSelectionInstanceComponent setRoiListElement(StringType value) { - this.roiList = value; - return this; - } - - /** - * @return The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection. - */ - public String getRoiList() { - return this.roiList == null ? null : this.roiList.getValue(); - } - - /** - * @param value The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection. - */ - public ImagingSelectionInstanceComponent setRoiList(String value) { - if (Utilities.noString(value)) - this.roiList = null; - else { - if (this.roiList == null) - this.roiList = new StringType(); - this.roiList.setValue(value); - } - return this; + return getImageRegion().get(0); } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("uid", "oid", "The SOP Instance UID for the selected DICOM instance.", 0, 1, uid)); + children.add(new Property("uid", "id", "The SOP Instance UID for the selected DICOM instance.", 0, 1, uid)); children.add(new Property("sopClass", "Coding", "The SOP Class UID for the selected DICOM instance.", 0, 1, sopClass)); - children.add(new Property("frameList", "string", "The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection.", 0, 1, frameList)); - children.add(new Property("observationUid", "oid", "The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection.", 0, java.lang.Integer.MAX_VALUE, observationUid)); - children.add(new Property("segmentList", "string", "The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection.", 0, 1, segmentList)); - children.add(new Property("roiList", "string", "The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection.", 0, 1, roiList)); + children.add(new Property("subset", "string", "Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance.\n May be one of:\n - A list of frame numbers selected from a multiframe SOP Instance.\n - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance.\n - A list of segment numbers selected from a segmentation SOP Instance.\n - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance.", 0, java.lang.Integer.MAX_VALUE, subset)); + children.add(new Property("imageRegion", "", "Each imaging selection instance or frame list might includes an image region, specified by a region type and a set of 2D coordinates.\n If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list.", 0, java.lang.Integer.MAX_VALUE, imageRegion)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 115792: /*uid*/ return new Property("uid", "oid", "The SOP Instance UID for the selected DICOM instance.", 0, 1, uid); + case 115792: /*uid*/ return new Property("uid", "id", "The SOP Instance UID for the selected DICOM instance.", 0, 1, uid); case 1560041540: /*sopClass*/ return new Property("sopClass", "Coding", "The SOP Class UID for the selected DICOM instance.", 0, 1, sopClass); - case 544886699: /*frameList*/ return new Property("frameList", "string", "The set of frames within a multi-frame SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate frame numbers. If this is absent, all frames within the referenced SOP Instance are included in the selection.", 0, 1, frameList); - case -1631882108: /*observationUid*/ return new Property("observationUid", "oid", "The unique identifier for the observation Content Item (and its subsidiary Content Items, if any) that are included in the imaging selection.", 0, java.lang.Integer.MAX_VALUE, observationUid); - case -953159055: /*segmentList*/ return new Property("segmentList", "string", "The set of segments within a segmentation SOP Instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate segment numbers. If this is absent, all segments within the referenced segmentation SOP Instance are included in the selection.", 0, 1, segmentList); - case 1373378698: /*roiList*/ return new Property("roiList", "string", "The set of regions of interest (ROI) within a radiotherapy structure set instance that are included in the imaging selection. Encoded as a comma separated list of one or more non duplicate ROI numbers. If this is absent, all ROIs within the referenced radiotherapy structure set SOP Instance are included in the selection.", 0, 1, roiList); + case -891529694: /*subset*/ return new Property("subset", "string", "Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance.\n May be one of:\n - A list of frame numbers selected from a multiframe SOP Instance.\n - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance.\n - A list of segment numbers selected from a segmentation SOP Instance.\n - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance.", 0, java.lang.Integer.MAX_VALUE, subset); + case 2132544559: /*imageRegion*/ return new Property("imageRegion", "", "Each imaging selection instance or frame list might includes an image region, specified by a region type and a set of 2D coordinates.\n If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list.", 0, java.lang.Integer.MAX_VALUE, imageRegion); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -870,12 +953,10 @@ public class ImagingSelection extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 115792: /*uid*/ return this.uid == null ? new Base[0] : new Base[] {this.uid}; // OidType + case 115792: /*uid*/ return this.uid == null ? new Base[0] : new Base[] {this.uid}; // IdType case 1560041540: /*sopClass*/ return this.sopClass == null ? new Base[0] : new Base[] {this.sopClass}; // Coding - case 544886699: /*frameList*/ return this.frameList == null ? new Base[0] : new Base[] {this.frameList}; // StringType - case -1631882108: /*observationUid*/ return this.observationUid == null ? new Base[0] : this.observationUid.toArray(new Base[this.observationUid.size()]); // OidType - case -953159055: /*segmentList*/ return this.segmentList == null ? new Base[0] : new Base[] {this.segmentList}; // StringType - case 1373378698: /*roiList*/ return this.roiList == null ? new Base[0] : new Base[] {this.roiList}; // StringType + case -891529694: /*subset*/ return this.subset == null ? new Base[0] : this.subset.toArray(new Base[this.subset.size()]); // StringType + case 2132544559: /*imageRegion*/ return this.imageRegion == null ? new Base[0] : this.imageRegion.toArray(new Base[this.imageRegion.size()]); // ImagingSelectionInstanceImageRegionComponent default: return super.getProperty(hash, name, checkValid); } @@ -885,22 +966,16 @@ public class ImagingSelection extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case 115792: // uid - this.uid = TypeConvertor.castToOid(value); // OidType + this.uid = TypeConvertor.castToId(value); // IdType return value; case 1560041540: // sopClass this.sopClass = TypeConvertor.castToCoding(value); // Coding return value; - case 544886699: // frameList - this.frameList = TypeConvertor.castToString(value); // StringType + case -891529694: // subset + this.getSubset().add(TypeConvertor.castToString(value)); // StringType return value; - case -1631882108: // observationUid - this.getObservationUid().add(TypeConvertor.castToOid(value)); // OidType - return value; - case -953159055: // segmentList - this.segmentList = TypeConvertor.castToString(value); // StringType - return value; - case 1373378698: // roiList - this.roiList = TypeConvertor.castToString(value); // StringType + case 2132544559: // imageRegion + this.getImageRegion().add((ImagingSelectionInstanceImageRegionComponent) value); // ImagingSelectionInstanceImageRegionComponent return value; default: return super.setProperty(hash, name, value); } @@ -910,17 +985,13 @@ public class ImagingSelection extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("uid")) { - this.uid = TypeConvertor.castToOid(value); // OidType + this.uid = TypeConvertor.castToId(value); // IdType } else if (name.equals("sopClass")) { this.sopClass = TypeConvertor.castToCoding(value); // Coding - } else if (name.equals("frameList")) { - this.frameList = TypeConvertor.castToString(value); // StringType - } else if (name.equals("observationUid")) { - this.getObservationUid().add(TypeConvertor.castToOid(value)); - } else if (name.equals("segmentList")) { - this.segmentList = TypeConvertor.castToString(value); // StringType - } else if (name.equals("roiList")) { - this.roiList = TypeConvertor.castToString(value); // StringType + } else if (name.equals("subset")) { + this.getSubset().add(TypeConvertor.castToString(value)); + } else if (name.equals("imageRegion")) { + this.getImageRegion().add((ImagingSelectionInstanceImageRegionComponent) value); } else return super.setProperty(name, value); return value; @@ -931,10 +1002,8 @@ public class ImagingSelection extends DomainResource { switch (hash) { case 115792: return getUidElement(); case 1560041540: return getSopClass(); - case 544886699: return getFrameListElement(); - case -1631882108: return addObservationUidElement(); - case -953159055: return getSegmentListElement(); - case 1373378698: return getRoiListElement(); + case -891529694: return addSubsetElement(); + case 2132544559: return addImageRegion(); default: return super.makeProperty(hash, name); } @@ -943,12 +1012,10 @@ public class ImagingSelection extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 115792: /*uid*/ return new String[] {"oid"}; + case 115792: /*uid*/ return new String[] {"id"}; case 1560041540: /*sopClass*/ return new String[] {"Coding"}; - case 544886699: /*frameList*/ return new String[] {"string"}; - case -1631882108: /*observationUid*/ return new String[] {"oid"}; - case -953159055: /*segmentList*/ return new String[] {"string"}; - case 1373378698: /*roiList*/ return new String[] {"string"}; + case -891529694: /*subset*/ return new String[] {"string"}; + case 2132544559: /*imageRegion*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); } @@ -963,17 +1030,11 @@ public class ImagingSelection extends DomainResource { this.sopClass = new Coding(); return this.sopClass; } - else if (name.equals("frameList")) { - throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.frameList"); + else if (name.equals("subset")) { + throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.subset"); } - else if (name.equals("observationUid")) { - throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.observationUid"); - } - else if (name.equals("segmentList")) { - throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.segmentList"); - } - else if (name.equals("roiList")) { - throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.roiList"); + else if (name.equals("imageRegion")) { + return addImageRegion(); } else return super.addChild(name); @@ -989,14 +1050,16 @@ public class ImagingSelection extends DomainResource { super.copyValues(dst); dst.uid = uid == null ? null : uid.copy(); dst.sopClass = sopClass == null ? null : sopClass.copy(); - dst.frameList = frameList == null ? null : frameList.copy(); - if (observationUid != null) { - dst.observationUid = new ArrayList(); - for (OidType i : observationUid) - dst.observationUid.add(i.copy()); + if (subset != null) { + dst.subset = new ArrayList(); + for (StringType i : subset) + dst.subset.add(i.copy()); + }; + if (imageRegion != null) { + dst.imageRegion = new ArrayList(); + for (ImagingSelectionInstanceImageRegionComponent i : imageRegion) + dst.imageRegion.add(i.copy()); }; - dst.segmentList = segmentList == null ? null : segmentList.copy(); - dst.roiList = roiList == null ? null : roiList.copy(); } @Override @@ -1006,9 +1069,8 @@ public class ImagingSelection extends DomainResource { if (!(other_ instanceof ImagingSelectionInstanceComponent)) return false; ImagingSelectionInstanceComponent o = (ImagingSelectionInstanceComponent) other_; - return compareDeep(uid, o.uid, true) && compareDeep(sopClass, o.sopClass, true) && compareDeep(frameList, o.frameList, true) - && compareDeep(observationUid, o.observationUid, true) && compareDeep(segmentList, o.segmentList, true) - && compareDeep(roiList, o.roiList, true); + return compareDeep(uid, o.uid, true) && compareDeep(sopClass, o.sopClass, true) && compareDeep(subset, o.subset, true) + && compareDeep(imageRegion, o.imageRegion, true); } @Override @@ -1018,13 +1080,12 @@ public class ImagingSelection extends DomainResource { if (!(other_ instanceof ImagingSelectionInstanceComponent)) return false; ImagingSelectionInstanceComponent o = (ImagingSelectionInstanceComponent) other_; - return compareValues(uid, o.uid, true) && compareValues(frameList, o.frameList, true) && compareValues(observationUid, o.observationUid, true) - && compareValues(segmentList, o.segmentList, true) && compareValues(roiList, o.roiList, true); + return compareValues(uid, o.uid, true) && compareValues(subset, o.subset, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(uid, sopClass, frameList - , observationUid, segmentList, roiList); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(uid, sopClass, subset, imageRegion + ); } public String fhirType() { @@ -1035,58 +1096,50 @@ public class ImagingSelection extends DomainResource { } @Block() - public static class ImagingSelectionImageRegionComponent extends BackboneElement implements IBaseBackboneElement { + public static class ImagingSelectionInstanceImageRegionComponent extends BackboneElement implements IBaseBackboneElement { /** * Specifies the type of image region. */ @Child(name = "regionType", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="POINT | MULTIPOINT | POLYLINE | POLYGON | ELLIPSE | ELLIPSOID", formalDefinition="Specifies the type of image region." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/imagingselection-graphictype") - protected Enumeration regionType; + @Description(shortDefinition="POINT | POLYLINE | INTERPOLATED | CIRCLE | ELLIPSE", formalDefinition="Specifies the type of image region." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/imagingselection-2dgraphictype") + protected Enumeration regionType; /** - * Specifies the type of coordinate system that define the image region. + * The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution. + The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames. */ - @Child(name = "coordinateType", type = {CodeType.class}, order=2, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="2d | 3d", formalDefinition="Specifies the type of coordinate system that define the image region." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/imagingselection-coordinatetype") - protected Enumeration coordinateType; + @Child(name = "coordinate", type = {DecimalType.class}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Specifies the coordinates that define the image region", formalDefinition="The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution.\n The origin at the TLHC of the TLHC pixel is 0.0\\0.0, the BRHC of the TLHC pixel is 1.0\\1.0, and the BRHC of the BRHC pixel is the number of columns\\rows in the image / frames. The values must be within the range 0\\0 to the number of columns\\rows in the image / frames." ) + protected List coordinate; - /** - * The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element. - */ - @Child(name = "coordinates", type = {DecimalType.class}, order=3, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Specifies the type of coordinates that define the image region 2d | 3d", formalDefinition="The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element." ) - protected List coordinates; - - private static final long serialVersionUID = -1266111852L; + private static final long serialVersionUID = 1518695052L; /** * Constructor */ - public ImagingSelectionImageRegionComponent() { + public ImagingSelectionInstanceImageRegionComponent() { super(); } /** * Constructor */ - public ImagingSelectionImageRegionComponent(ImagingSelectionGraphicType regionType, ImagingSelectionCoordinateType coordinateType, BigDecimal coordinates) { + public ImagingSelectionInstanceImageRegionComponent(ImagingSelection2DGraphicType regionType, BigDecimal coordinate) { super(); this.setRegionType(regionType); - this.setCoordinateType(coordinateType); - this.addCoordinates(coordinates); + this.addCoordinate(coordinate); } /** * @return {@link #regionType} (Specifies the type of image region.). This is the underlying object with id, value and extensions. The accessor "getRegionType" gives direct access to the value */ - public Enumeration getRegionTypeElement() { + public Enumeration getRegionTypeElement() { if (this.regionType == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImagingSelectionImageRegionComponent.regionType"); + throw new Error("Attempt to auto-create ImagingSelectionInstanceImageRegionComponent.regionType"); else if (Configuration.doAutoCreate()) - this.regionType = new Enumeration(new ImagingSelectionGraphicTypeEnumFactory()); // bb + this.regionType = new Enumeration(new ImagingSelection2DGraphicTypeEnumFactory()); // bb return this.regionType; } @@ -1101,7 +1154,7 @@ public class ImagingSelection extends DomainResource { /** * @param value {@link #regionType} (Specifies the type of image region.). This is the underlying object with id, value and extensions. The accessor "getRegionType" gives direct access to the value */ - public ImagingSelectionImageRegionComponent setRegionTypeElement(Enumeration value) { + public ImagingSelectionInstanceImageRegionComponent setRegionTypeElement(Enumeration value) { this.regionType = value; return this; } @@ -1109,121 +1162,80 @@ public class ImagingSelection extends DomainResource { /** * @return Specifies the type of image region. */ - public ImagingSelectionGraphicType getRegionType() { + public ImagingSelection2DGraphicType getRegionType() { return this.regionType == null ? null : this.regionType.getValue(); } /** * @param value Specifies the type of image region. */ - public ImagingSelectionImageRegionComponent setRegionType(ImagingSelectionGraphicType value) { + public ImagingSelectionInstanceImageRegionComponent setRegionType(ImagingSelection2DGraphicType value) { if (this.regionType == null) - this.regionType = new Enumeration(new ImagingSelectionGraphicTypeEnumFactory()); + this.regionType = new Enumeration(new ImagingSelection2DGraphicTypeEnumFactory()); this.regionType.setValue(value); return this; } /** - * @return {@link #coordinateType} (Specifies the type of coordinate system that define the image region.). This is the underlying object with id, value and extensions. The accessor "getCoordinateType" gives direct access to the value + * @return {@link #coordinate} (The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution. + The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames.) */ - public Enumeration getCoordinateTypeElement() { - if (this.coordinateType == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImagingSelectionImageRegionComponent.coordinateType"); - else if (Configuration.doAutoCreate()) - this.coordinateType = new Enumeration(new ImagingSelectionCoordinateTypeEnumFactory()); // bb - return this.coordinateType; - } - - public boolean hasCoordinateTypeElement() { - return this.coordinateType != null && !this.coordinateType.isEmpty(); - } - - public boolean hasCoordinateType() { - return this.coordinateType != null && !this.coordinateType.isEmpty(); - } - - /** - * @param value {@link #coordinateType} (Specifies the type of coordinate system that define the image region.). This is the underlying object with id, value and extensions. The accessor "getCoordinateType" gives direct access to the value - */ - public ImagingSelectionImageRegionComponent setCoordinateTypeElement(Enumeration value) { - this.coordinateType = value; - return this; - } - - /** - * @return Specifies the type of coordinate system that define the image region. - */ - public ImagingSelectionCoordinateType getCoordinateType() { - return this.coordinateType == null ? null : this.coordinateType.getValue(); - } - - /** - * @param value Specifies the type of coordinate system that define the image region. - */ - public ImagingSelectionImageRegionComponent setCoordinateType(ImagingSelectionCoordinateType value) { - if (this.coordinateType == null) - this.coordinateType = new Enumeration(new ImagingSelectionCoordinateTypeEnumFactory()); - this.coordinateType.setValue(value); - return this; - } - - /** - * @return {@link #coordinates} (The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element.) - */ - public List getCoordinates() { - if (this.coordinates == null) - this.coordinates = new ArrayList(); - return this.coordinates; + public List getCoordinate() { + if (this.coordinate == null) + this.coordinate = new ArrayList(); + return this.coordinate; } /** * @return Returns a reference to this for easy method chaining */ - public ImagingSelectionImageRegionComponent setCoordinates(List theCoordinates) { - this.coordinates = theCoordinates; + public ImagingSelectionInstanceImageRegionComponent setCoordinate(List theCoordinate) { + this.coordinate = theCoordinate; return this; } - public boolean hasCoordinates() { - if (this.coordinates == null) + public boolean hasCoordinate() { + if (this.coordinate == null) return false; - for (DecimalType item : this.coordinates) + for (DecimalType item : this.coordinate) if (!item.isEmpty()) return true; return false; } /** - * @return {@link #coordinates} (The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element.) + * @return {@link #coordinate} (The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution. + The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames.) */ - public DecimalType addCoordinatesElement() {//2 + public DecimalType addCoordinateElement() {//2 DecimalType t = new DecimalType(); - if (this.coordinates == null) - this.coordinates = new ArrayList(); - this.coordinates.add(t); + if (this.coordinate == null) + this.coordinate = new ArrayList(); + this.coordinate.add(t); return t; } /** - * @param value {@link #coordinates} (The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element.) + * @param value {@link #coordinate} (The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution. + The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames.) */ - public ImagingSelectionImageRegionComponent addCoordinates(BigDecimal value) { //1 + public ImagingSelectionInstanceImageRegionComponent addCoordinate(BigDecimal value) { //1 DecimalType t = new DecimalType(); t.setValue(value); - if (this.coordinates == null) - this.coordinates = new ArrayList(); - this.coordinates.add(t); + if (this.coordinate == null) + this.coordinate = new ArrayList(); + this.coordinate.add(t); return this; } /** - * @param value {@link #coordinates} (The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element.) + * @param value {@link #coordinate} (The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution. + The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames.) */ - public boolean hasCoordinates(BigDecimal value) { - if (this.coordinates == null) + public boolean hasCoordinate(BigDecimal value) { + if (this.coordinate == null) return false; - for (DecimalType v : this.coordinates) + for (DecimalType v : this.coordinate) if (v.getValue().equals(value)) // decimal return true; return false; @@ -1232,16 +1244,14 @@ public class ImagingSelection extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("regionType", "code", "Specifies the type of image region.", 0, 1, regionType)); - children.add(new Property("coordinateType", "code", "Specifies the type of coordinate system that define the image region.", 0, 1, coordinateType)); - children.add(new Property("coordinates", "decimal", "The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element.", 0, java.lang.Integer.MAX_VALUE, coordinates)); + children.add(new Property("coordinate", "decimal", "The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution.\n The origin at the TLHC of the TLHC pixel is 0.0\\0.0, the BRHC of the TLHC pixel is 1.0\\1.0, and the BRHC of the BRHC pixel is the number of columns\\rows in the image / frames. The values must be within the range 0\\0 to the number of columns\\rows in the image / frames.", 0, java.lang.Integer.MAX_VALUE, coordinate)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1990487986: /*regionType*/ return new Property("regionType", "code", "Specifies the type of image region.", 0, 1, regionType); - case 500956370: /*coordinateType*/ return new Property("coordinateType", "code", "Specifies the type of coordinate system that define the image region.", 0, 1, coordinateType); - case 1871919611: /*coordinates*/ return new Property("coordinates", "decimal", "The coordinates describing the image region. If coordinateType is 2D this specifies sequence of (x,y) coordinates in the coordinate system of the image specified by the instance.uid element that contains this image region. If coordinateType is 3D this specifies sequence of (x,y,z) coordinates in the coordinate system specified by the frameOfReferenceUid element.", 0, java.lang.Integer.MAX_VALUE, coordinates); + case 198931832: /*coordinate*/ return new Property("coordinate", "decimal", "The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution.\n The origin at the TLHC of the TLHC pixel is 0.0\\0.0, the BRHC of the TLHC pixel is 1.0\\1.0, and the BRHC of the BRHC pixel is the number of columns\\rows in the image / frames. The values must be within the range 0\\0 to the number of columns\\rows in the image / frames.", 0, java.lang.Integer.MAX_VALUE, coordinate); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1250,9 +1260,8 @@ public class ImagingSelection extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case -1990487986: /*regionType*/ return this.regionType == null ? new Base[0] : new Base[] {this.regionType}; // Enumeration - case 500956370: /*coordinateType*/ return this.coordinateType == null ? new Base[0] : new Base[] {this.coordinateType}; // Enumeration - case 1871919611: /*coordinates*/ return this.coordinates == null ? new Base[0] : this.coordinates.toArray(new Base[this.coordinates.size()]); // DecimalType + case -1990487986: /*regionType*/ return this.regionType == null ? new Base[0] : new Base[] {this.regionType}; // Enumeration + case 198931832: /*coordinate*/ return this.coordinate == null ? new Base[0] : this.coordinate.toArray(new Base[this.coordinate.size()]); // DecimalType default: return super.getProperty(hash, name, checkValid); } @@ -1262,15 +1271,11 @@ public class ImagingSelection extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case -1990487986: // regionType - value = new ImagingSelectionGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.regionType = (Enumeration) value; // Enumeration + value = new ImagingSelection2DGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.regionType = (Enumeration) value; // Enumeration return value; - case 500956370: // coordinateType - value = new ImagingSelectionCoordinateTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.coordinateType = (Enumeration) value; // Enumeration - return value; - case 1871919611: // coordinates - this.getCoordinates().add(TypeConvertor.castToDecimal(value)); // DecimalType + case 198931832: // coordinate + this.getCoordinate().add(TypeConvertor.castToDecimal(value)); // DecimalType return value; default: return super.setProperty(hash, name, value); } @@ -1280,13 +1285,10 @@ public class ImagingSelection extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("regionType")) { - value = new ImagingSelectionGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.regionType = (Enumeration) value; // Enumeration - } else if (name.equals("coordinateType")) { - value = new ImagingSelectionCoordinateTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.coordinateType = (Enumeration) value; // Enumeration - } else if (name.equals("coordinates")) { - this.getCoordinates().add(TypeConvertor.castToDecimal(value)); + value = new ImagingSelection2DGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.regionType = (Enumeration) value; // Enumeration + } else if (name.equals("coordinate")) { + this.getCoordinate().add(TypeConvertor.castToDecimal(value)); } else return super.setProperty(name, value); return value; @@ -1296,8 +1298,7 @@ public class ImagingSelection extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1990487986: return getRegionTypeElement(); - case 500956370: return getCoordinateTypeElement(); - case 1871919611: return addCoordinatesElement(); + case 198931832: return addCoordinateElement(); default: return super.makeProperty(hash, name); } @@ -1307,8 +1308,282 @@ public class ImagingSelection extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -1990487986: /*regionType*/ return new String[] {"code"}; - case 500956370: /*coordinateType*/ return new String[] {"code"}; - case 1871919611: /*coordinates*/ return new String[] {"decimal"}; + case 198931832: /*coordinate*/ return new String[] {"decimal"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("regionType")) { + throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.imageRegion.regionType"); + } + else if (name.equals("coordinate")) { + throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.instance.imageRegion.coordinate"); + } + else + return super.addChild(name); + } + + public ImagingSelectionInstanceImageRegionComponent copy() { + ImagingSelectionInstanceImageRegionComponent dst = new ImagingSelectionInstanceImageRegionComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(ImagingSelectionInstanceImageRegionComponent dst) { + super.copyValues(dst); + dst.regionType = regionType == null ? null : regionType.copy(); + if (coordinate != null) { + dst.coordinate = new ArrayList(); + for (DecimalType i : coordinate) + dst.coordinate.add(i.copy()); + }; + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof ImagingSelectionInstanceImageRegionComponent)) + return false; + ImagingSelectionInstanceImageRegionComponent o = (ImagingSelectionInstanceImageRegionComponent) other_; + return compareDeep(regionType, o.regionType, true) && compareDeep(coordinate, o.coordinate, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof ImagingSelectionInstanceImageRegionComponent)) + return false; + ImagingSelectionInstanceImageRegionComponent o = (ImagingSelectionInstanceImageRegionComponent) other_; + return compareValues(regionType, o.regionType, true) && compareValues(coordinate, o.coordinate, true) + ; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(regionType, coordinate); + } + + public String fhirType() { + return "ImagingSelection.instance.imageRegion"; + + } + + } + + @Block() + public static class ImagingSelectionImageRegionComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Specifies the type of image region. + */ + @Child(name = "regionType", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="POINT | MULTIPOINT | POLYLINE | POLYGON | ELLIPSE | ELLIPSOID", formalDefinition="Specifies the type of image region." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/imagingselection-3dgraphictype") + protected Enumeration regionType; + + /** + * The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element. + */ + @Child(name = "coordinate", type = {DecimalType.class}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Specifies the coordinates that define the image region", formalDefinition="The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element." ) + protected List coordinate; + + private static final long serialVersionUID = 1532227853L; + + /** + * Constructor + */ + public ImagingSelectionImageRegionComponent() { + super(); + } + + /** + * Constructor + */ + public ImagingSelectionImageRegionComponent(ImagingSelection3DGraphicType regionType, BigDecimal coordinate) { + super(); + this.setRegionType(regionType); + this.addCoordinate(coordinate); + } + + /** + * @return {@link #regionType} (Specifies the type of image region.). This is the underlying object with id, value and extensions. The accessor "getRegionType" gives direct access to the value + */ + public Enumeration getRegionTypeElement() { + if (this.regionType == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImagingSelectionImageRegionComponent.regionType"); + else if (Configuration.doAutoCreate()) + this.regionType = new Enumeration(new ImagingSelection3DGraphicTypeEnumFactory()); // bb + return this.regionType; + } + + public boolean hasRegionTypeElement() { + return this.regionType != null && !this.regionType.isEmpty(); + } + + public boolean hasRegionType() { + return this.regionType != null && !this.regionType.isEmpty(); + } + + /** + * @param value {@link #regionType} (Specifies the type of image region.). This is the underlying object with id, value and extensions. The accessor "getRegionType" gives direct access to the value + */ + public ImagingSelectionImageRegionComponent setRegionTypeElement(Enumeration value) { + this.regionType = value; + return this; + } + + /** + * @return Specifies the type of image region. + */ + public ImagingSelection3DGraphicType getRegionType() { + return this.regionType == null ? null : this.regionType.getValue(); + } + + /** + * @param value Specifies the type of image region. + */ + public ImagingSelectionImageRegionComponent setRegionType(ImagingSelection3DGraphicType value) { + if (this.regionType == null) + this.regionType = new Enumeration(new ImagingSelection3DGraphicTypeEnumFactory()); + this.regionType.setValue(value); + return this; + } + + /** + * @return {@link #coordinate} (The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element.) + */ + public List getCoordinate() { + if (this.coordinate == null) + this.coordinate = new ArrayList(); + return this.coordinate; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public ImagingSelectionImageRegionComponent setCoordinate(List theCoordinate) { + this.coordinate = theCoordinate; + return this; + } + + public boolean hasCoordinate() { + if (this.coordinate == null) + return false; + for (DecimalType item : this.coordinate) + if (!item.isEmpty()) + return true; + return false; + } + + /** + * @return {@link #coordinate} (The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element.) + */ + public DecimalType addCoordinateElement() {//2 + DecimalType t = new DecimalType(); + if (this.coordinate == null) + this.coordinate = new ArrayList(); + this.coordinate.add(t); + return t; + } + + /** + * @param value {@link #coordinate} (The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element.) + */ + public ImagingSelectionImageRegionComponent addCoordinate(BigDecimal value) { //1 + DecimalType t = new DecimalType(); + t.setValue(value); + if (this.coordinate == null) + this.coordinate = new ArrayList(); + this.coordinate.add(t); + return this; + } + + /** + * @param value {@link #coordinate} (The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element.) + */ + public boolean hasCoordinate(BigDecimal value) { + if (this.coordinate == null) + return false; + for (DecimalType v : this.coordinate) + if (v.getValue().equals(value)) // decimal + return true; + return false; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("regionType", "code", "Specifies the type of image region.", 0, 1, regionType)); + children.add(new Property("coordinate", "decimal", "The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element.", 0, java.lang.Integer.MAX_VALUE, coordinate)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -1990487986: /*regionType*/ return new Property("regionType", "code", "Specifies the type of image region.", 0, 1, regionType); + case 198931832: /*coordinate*/ return new Property("coordinate", "decimal", "The coordinates describing the image region. Encoded as an ordered set of (x,y,z) triplets (in mm and may be negative) that define a region of interest in the patient-relative Reference Coordinate System defined by ImagingSelection.frameOfReferenceUid element.", 0, java.lang.Integer.MAX_VALUE, coordinate); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case -1990487986: /*regionType*/ return this.regionType == null ? new Base[0] : new Base[] {this.regionType}; // Enumeration + case 198931832: /*coordinate*/ return this.coordinate == null ? new Base[0] : this.coordinate.toArray(new Base[this.coordinate.size()]); // DecimalType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case -1990487986: // regionType + value = new ImagingSelection3DGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.regionType = (Enumeration) value; // Enumeration + return value; + case 198931832: // coordinate + this.getCoordinate().add(TypeConvertor.castToDecimal(value)); // DecimalType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("regionType")) { + value = new ImagingSelection3DGraphicTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.regionType = (Enumeration) value; // Enumeration + } else if (name.equals("coordinate")) { + this.getCoordinate().add(TypeConvertor.castToDecimal(value)); + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1990487986: return getRegionTypeElement(); + case 198931832: return addCoordinateElement(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1990487986: /*regionType*/ return new String[] {"code"}; + case 198931832: /*coordinate*/ return new String[] {"decimal"}; default: return super.getTypesForProperty(hash, name); } @@ -1319,11 +1594,8 @@ public class ImagingSelection extends DomainResource { if (name.equals("regionType")) { throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.imageRegion.regionType"); } - else if (name.equals("coordinateType")) { - throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.imageRegion.coordinateType"); - } - else if (name.equals("coordinates")) { - throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.imageRegion.coordinates"); + else if (name.equals("coordinate")) { + throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.imageRegion.coordinate"); } else return super.addChild(name); @@ -1338,11 +1610,10 @@ public class ImagingSelection extends DomainResource { public void copyValues(ImagingSelectionImageRegionComponent dst) { super.copyValues(dst); dst.regionType = regionType == null ? null : regionType.copy(); - dst.coordinateType = coordinateType == null ? null : coordinateType.copy(); - if (coordinates != null) { - dst.coordinates = new ArrayList(); - for (DecimalType i : coordinates) - dst.coordinates.add(i.copy()); + if (coordinate != null) { + dst.coordinate = new ArrayList(); + for (DecimalType i : coordinate) + dst.coordinate.add(i.copy()); }; } @@ -1353,8 +1624,8 @@ public class ImagingSelection extends DomainResource { if (!(other_ instanceof ImagingSelectionImageRegionComponent)) return false; ImagingSelectionImageRegionComponent o = (ImagingSelectionImageRegionComponent) other_; - return compareDeep(regionType, o.regionType, true) && compareDeep(coordinateType, o.coordinateType, true) - && compareDeep(coordinates, o.coordinates, true); + return compareDeep(regionType, o.regionType, true) && compareDeep(coordinate, o.coordinate, true) + ; } @Override @@ -1364,13 +1635,12 @@ public class ImagingSelection extends DomainResource { if (!(other_ instanceof ImagingSelectionImageRegionComponent)) return false; ImagingSelectionImageRegionComponent o = (ImagingSelectionImageRegionComponent) other_; - return compareValues(regionType, o.regionType, true) && compareValues(coordinateType, o.coordinateType, true) - && compareValues(coordinates, o.coordinates, true); + return compareValues(regionType, o.regionType, true) && compareValues(coordinate, o.coordinate, true) + ; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(regionType, coordinateType - , coordinates); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(regionType, coordinate); } public String fhirType() { @@ -1388,99 +1658,115 @@ public class ImagingSelection extends DomainResource { protected List identifier; /** - * A list of the diagnostic requests that resulted in this imaging selection being performed. + * The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection. */ - @Child(name = "basedOn", type = {CarePlan.class, ServiceRequest.class, Appointment.class, AppointmentResponse.class, Task.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Associated request", formalDefinition="A list of the diagnostic requests that resulted in this imaging selection being performed." ) - protected List basedOn; + @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) + @Description(shortDefinition="available | entered-in-error | unknown", formalDefinition="The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/imagingselection-status") + protected Enumeration status; /** * The patient, or group of patients, location, device, organization, procedure or practitioner this imaging selection is about and into whose or what record the imaging selection is placed. */ @Child(name = "subject", type = {Patient.class, Group.class, Device.class, Location.class, Organization.class, Procedure.class, Practitioner.class, Medication.class, Substance.class, Specimen.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Subject of the selected instances and / or frames", formalDefinition="The patient, or group of patients, location, device, organization, procedure or practitioner this imaging selection is about and into whose or what record the imaging selection is placed." ) + @Description(shortDefinition="Subject of the selected instances", formalDefinition="The patient, or group of patients, location, device, organization, procedure or practitioner this imaging selection is about and into whose or what record the imaging selection is placed." ) protected Reference subject; /** * The date and time this imaging selection was created. */ @Child(name = "issued", type = {InstantType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Date / Time when the selection of instances was made", formalDefinition="The date and time this imaging selection was created." ) + @Description(shortDefinition="Date / Time when this imaging selection was created", formalDefinition="The date and time this imaging selection was created." ) protected InstantType issued; /** - * Author – human or machine. + * Selector of the instances – human or machine. */ @Child(name = "performer", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Author (human or machine)", formalDefinition="Author – human or machine." ) + @Description(shortDefinition="Selector of the instances (human or machine)", formalDefinition="Selector of the instances – human or machine." ) protected List performer; /** - * Describes the imaging selection. + * A list of the diagnostic requests that resulted in this imaging selection being performed. */ - @Child(name = "code", type = {CodeableConcept.class}, order=5, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Imaging Selection description text or code", formalDefinition="Describes the imaging selection." ) + @Child(name = "basedOn", type = {CarePlan.class, ServiceRequest.class, Appointment.class, AppointmentResponse.class, Task.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Associated request", formalDefinition="A list of the diagnostic requests that resulted in this imaging selection being performed." ) + protected List basedOn; + + /** + * Classifies the imaging selection. + */ + @Child(name = "category", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Classifies the imaging selection", formalDefinition="Classifies the imaging selection." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_7010.html") + protected List category; + + /** + * Reason for referencing the selected content. + */ + @Child(name = "code", type = {CodeableConcept.class}, order=7, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Imaging Selection purpose text or code", formalDefinition="Reason for referencing the selected content." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_7010.html") protected CodeableConcept code; /** * The Study Instance UID for the DICOM Study from which the images were selected. */ - @Child(name = "studyUid", type = {OidType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "studyUid", type = {IdType.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="DICOM Study Instance UID", formalDefinition="The Study Instance UID for the DICOM Study from which the images were selected." ) - protected OidType studyUid; + protected IdType studyUid; /** * The imaging study from which the imaging selection is made. */ - @Child(name = "derivedFrom", type = {ImagingStudy.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "derivedFrom", type = {ImagingStudy.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The imaging study from which the imaging selection is derived", formalDefinition="The imaging study from which the imaging selection is made." ) protected List derivedFrom; /** * The network service providing retrieval access to the selected images, frames, etc. See implementation notes for information about using DICOM endpoints. */ - @Child(name = "endpoint", type = {Endpoint.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "endpoint", type = {Endpoint.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The network service providing retrieval for the images referenced in the imaging selection", formalDefinition="The network service providing retrieval access to the selected images, frames, etc. See implementation notes for information about using DICOM endpoints." ) protected List endpoint; /** * The Series Instance UID for the DICOM Series from which the images were selected. */ - @Child(name = "seriesUid", type = {OidType.class}, order=9, min=0, max=1, modifier=false, summary=true) + @Child(name = "seriesUid", type = {IdType.class}, order=11, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="DICOM Series Instance UID", formalDefinition="The Series Instance UID for the DICOM Series from which the images were selected." ) - protected OidType seriesUid; + protected IdType seriesUid; /** * The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames. */ - @Child(name = "frameOfReferenceUid", type = {OidType.class}, order=10, min=0, max=1, modifier=false, summary=true) + @Child(name = "frameOfReferenceUid", type = {IdType.class}, order=12, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The Frame of Reference UID for the selected images", formalDefinition="The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames." ) - protected OidType frameOfReferenceUid; + protected IdType frameOfReferenceUid; /** * The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. */ - @Child(name = "bodySite", type = {Coding.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Child(name = "bodySite", type = {CodeableReference.class}, order=13, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Body part examined", formalDefinition="The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") - protected Coding bodySite; + protected CodeableReference bodySite; /** * Each imaging selection includes one or more selected DICOM SOP instances. */ - @Child(name = "instance", type = {}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "instance", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The selected instances", formalDefinition="Each imaging selection includes one or more selected DICOM SOP instances." ) protected List instance; /** - * Each imaging selection might includes one or more image regions. Image regions are specified by a region type and a set of 2D or 3D coordinates. + * Each imaging selection might includes a 3D image region, specified by a region type and a set of 3D coordinates. */ - @Child(name = "imageRegion", type = {}, order=13, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="A specific region in a DICOM image / frame", formalDefinition="Each imaging selection might includes one or more image regions. Image regions are specified by a region type and a set of 2D or 3D coordinates." ) - protected ImagingSelectionImageRegionComponent imageRegion; + @Child(name = "imageRegion", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="A specific 3D region in a DICOM frame of reference", formalDefinition="Each imaging selection might includes a 3D image region, specified by a region type and a set of 3D coordinates." ) + protected List imageRegion; - private static final long serialVersionUID = 4408161L; + private static final long serialVersionUID = 1828736494L; /** * Constructor @@ -1492,8 +1778,9 @@ public class ImagingSelection extends DomainResource { /** * Constructor */ - public ImagingSelection(CodeableConcept code) { + public ImagingSelection(ImagingSelectionStatus status, CodeableConcept code) { super(); + this.setStatus(status); this.setCode(code); } @@ -1551,56 +1838,48 @@ public class ImagingSelection extends DomainResource { } /** - * @return {@link #basedOn} (A list of the diagnostic requests that resulted in this imaging selection being performed.) + * @return {@link #status} (The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ - public List getBasedOn() { - if (this.basedOn == null) - this.basedOn = new ArrayList(); - return this.basedOn; + public Enumeration getStatusElement() { + if (this.status == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ImagingSelection.status"); + else if (Configuration.doAutoCreate()) + this.status = new Enumeration(new ImagingSelectionStatusEnumFactory()); // bb + return this.status; + } + + public boolean hasStatusElement() { + return this.status != null && !this.status.isEmpty(); + } + + public boolean hasStatus() { + return this.status != null && !this.status.isEmpty(); } /** - * @return Returns a reference to this for easy method chaining + * @param value {@link #status} (The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ - public ImagingSelection setBasedOn(List theBasedOn) { - this.basedOn = theBasedOn; - return this; - } - - public boolean hasBasedOn() { - if (this.basedOn == null) - return false; - for (Reference item : this.basedOn) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addBasedOn() { //3 - Reference t = new Reference(); - if (this.basedOn == null) - this.basedOn = new ArrayList(); - this.basedOn.add(t); - return t; - } - - public ImagingSelection addBasedOn(Reference t) { //3 - if (t == null) - return this; - if (this.basedOn == null) - this.basedOn = new ArrayList(); - this.basedOn.add(t); + public ImagingSelection setStatusElement(Enumeration value) { + this.status = value; return this; } /** - * @return The first repetition of repeating field {@link #basedOn}, creating it if it does not already exist {3} + * @return The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection. */ - public Reference getBasedOnFirstRep() { - if (getBasedOn().isEmpty()) { - addBasedOn(); - } - return getBasedOn().get(0); + public ImagingSelectionStatus getStatus() { + return this.status == null ? null : this.status.getValue(); + } + + /** + * @param value The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection. + */ + public ImagingSelection setStatus(ImagingSelectionStatus value) { + if (this.status == null) + this.status = new Enumeration(new ImagingSelectionStatusEnumFactory()); + this.status.setValue(value); + return this; } /** @@ -1677,7 +1956,7 @@ public class ImagingSelection extends DomainResource { } /** - * @return {@link #performer} (Author – human or machine.) + * @return {@link #performer} (Selector of the instances – human or machine.) */ public List getPerformer() { if (this.performer == null) @@ -1730,7 +2009,113 @@ public class ImagingSelection extends DomainResource { } /** - * @return {@link #code} (Describes the imaging selection.) + * @return {@link #basedOn} (A list of the diagnostic requests that resulted in this imaging selection being performed.) + */ + public List getBasedOn() { + if (this.basedOn == null) + this.basedOn = new ArrayList(); + return this.basedOn; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public ImagingSelection setBasedOn(List theBasedOn) { + this.basedOn = theBasedOn; + return this; + } + + public boolean hasBasedOn() { + if (this.basedOn == null) + return false; + for (Reference item : this.basedOn) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addBasedOn() { //3 + Reference t = new Reference(); + if (this.basedOn == null) + this.basedOn = new ArrayList(); + this.basedOn.add(t); + return t; + } + + public ImagingSelection addBasedOn(Reference t) { //3 + if (t == null) + return this; + if (this.basedOn == null) + this.basedOn = new ArrayList(); + this.basedOn.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #basedOn}, creating it if it does not already exist {3} + */ + public Reference getBasedOnFirstRep() { + if (getBasedOn().isEmpty()) { + addBasedOn(); + } + return getBasedOn().get(0); + } + + /** + * @return {@link #category} (Classifies the imaging selection.) + */ + public List getCategory() { + if (this.category == null) + this.category = new ArrayList(); + return this.category; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public ImagingSelection setCategory(List theCategory) { + this.category = theCategory; + return this; + } + + public boolean hasCategory() { + if (this.category == null) + return false; + for (CodeableConcept item : this.category) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addCategory() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.category == null) + this.category = new ArrayList(); + this.category.add(t); + return t; + } + + public ImagingSelection addCategory(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.category == null) + this.category = new ArrayList(); + this.category.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #category}, creating it if it does not already exist {3} + */ + public CodeableConcept getCategoryFirstRep() { + if (getCategory().isEmpty()) { + addCategory(); + } + return getCategory().get(0); + } + + /** + * @return {@link #code} (Reason for referencing the selected content.) */ public CodeableConcept getCode() { if (this.code == null) @@ -1746,7 +2131,7 @@ public class ImagingSelection extends DomainResource { } /** - * @param value {@link #code} (Describes the imaging selection.) + * @param value {@link #code} (Reason for referencing the selected content.) */ public ImagingSelection setCode(CodeableConcept value) { this.code = value; @@ -1756,12 +2141,12 @@ public class ImagingSelection extends DomainResource { /** * @return {@link #studyUid} (The Study Instance UID for the DICOM Study from which the images were selected.). This is the underlying object with id, value and extensions. The accessor "getStudyUid" gives direct access to the value */ - public OidType getStudyUidElement() { + public IdType getStudyUidElement() { if (this.studyUid == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingSelection.studyUid"); else if (Configuration.doAutoCreate()) - this.studyUid = new OidType(); // bb + this.studyUid = new IdType(); // bb return this.studyUid; } @@ -1776,7 +2161,7 @@ public class ImagingSelection extends DomainResource { /** * @param value {@link #studyUid} (The Study Instance UID for the DICOM Study from which the images were selected.). This is the underlying object with id, value and extensions. The accessor "getStudyUid" gives direct access to the value */ - public ImagingSelection setStudyUidElement(OidType value) { + public ImagingSelection setStudyUidElement(IdType value) { this.studyUid = value; return this; } @@ -1796,7 +2181,7 @@ public class ImagingSelection extends DomainResource { this.studyUid = null; else { if (this.studyUid == null) - this.studyUid = new OidType(); + this.studyUid = new IdType(); this.studyUid.setValue(value); } return this; @@ -1911,12 +2296,12 @@ public class ImagingSelection extends DomainResource { /** * @return {@link #seriesUid} (The Series Instance UID for the DICOM Series from which the images were selected.). This is the underlying object with id, value and extensions. The accessor "getSeriesUid" gives direct access to the value */ - public OidType getSeriesUidElement() { + public IdType getSeriesUidElement() { if (this.seriesUid == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingSelection.seriesUid"); else if (Configuration.doAutoCreate()) - this.seriesUid = new OidType(); // bb + this.seriesUid = new IdType(); // bb return this.seriesUid; } @@ -1931,7 +2316,7 @@ public class ImagingSelection extends DomainResource { /** * @param value {@link #seriesUid} (The Series Instance UID for the DICOM Series from which the images were selected.). This is the underlying object with id, value and extensions. The accessor "getSeriesUid" gives direct access to the value */ - public ImagingSelection setSeriesUidElement(OidType value) { + public ImagingSelection setSeriesUidElement(IdType value) { this.seriesUid = value; return this; } @@ -1951,7 +2336,7 @@ public class ImagingSelection extends DomainResource { this.seriesUid = null; else { if (this.seriesUid == null) - this.seriesUid = new OidType(); + this.seriesUid = new IdType(); this.seriesUid.setValue(value); } return this; @@ -1960,12 +2345,12 @@ public class ImagingSelection extends DomainResource { /** * @return {@link #frameOfReferenceUid} (The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames.). This is the underlying object with id, value and extensions. The accessor "getFrameOfReferenceUid" gives direct access to the value */ - public OidType getFrameOfReferenceUidElement() { + public IdType getFrameOfReferenceUidElement() { if (this.frameOfReferenceUid == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingSelection.frameOfReferenceUid"); else if (Configuration.doAutoCreate()) - this.frameOfReferenceUid = new OidType(); // bb + this.frameOfReferenceUid = new IdType(); // bb return this.frameOfReferenceUid; } @@ -1980,7 +2365,7 @@ public class ImagingSelection extends DomainResource { /** * @param value {@link #frameOfReferenceUid} (The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames.). This is the underlying object with id, value and extensions. The accessor "getFrameOfReferenceUid" gives direct access to the value */ - public ImagingSelection setFrameOfReferenceUidElement(OidType value) { + public ImagingSelection setFrameOfReferenceUidElement(IdType value) { this.frameOfReferenceUid = value; return this; } @@ -2000,7 +2385,7 @@ public class ImagingSelection extends DomainResource { this.frameOfReferenceUid = null; else { if (this.frameOfReferenceUid == null) - this.frameOfReferenceUid = new OidType(); + this.frameOfReferenceUid = new IdType(); this.frameOfReferenceUid.setValue(value); } return this; @@ -2009,12 +2394,12 @@ public class ImagingSelection extends DomainResource { /** * @return {@link #bodySite} (The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings.) */ - public Coding getBodySite() { + public CodeableReference getBodySite() { if (this.bodySite == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingSelection.bodySite"); else if (Configuration.doAutoCreate()) - this.bodySite = new Coding(); // cc + this.bodySite = new CodeableReference(); // cc return this.bodySite; } @@ -2025,7 +2410,7 @@ public class ImagingSelection extends DomainResource { /** * @param value {@link #bodySite} (The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings.) */ - public ImagingSelection setBodySite(Coding value) { + public ImagingSelection setBodySite(CodeableReference value) { this.bodySite = value; return this; } @@ -2084,64 +2469,97 @@ public class ImagingSelection extends DomainResource { } /** - * @return {@link #imageRegion} (Each imaging selection might includes one or more image regions. Image regions are specified by a region type and a set of 2D or 3D coordinates.) + * @return {@link #imageRegion} (Each imaging selection might includes a 3D image region, specified by a region type and a set of 3D coordinates.) */ - public ImagingSelectionImageRegionComponent getImageRegion() { + public List getImageRegion() { if (this.imageRegion == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImagingSelection.imageRegion"); - else if (Configuration.doAutoCreate()) - this.imageRegion = new ImagingSelectionImageRegionComponent(); // cc + this.imageRegion = new ArrayList(); return this.imageRegion; } + /** + * @return Returns a reference to this for easy method chaining + */ + public ImagingSelection setImageRegion(List theImageRegion) { + this.imageRegion = theImageRegion; + return this; + } + public boolean hasImageRegion() { - return this.imageRegion != null && !this.imageRegion.isEmpty(); + if (this.imageRegion == null) + return false; + for (ImagingSelectionImageRegionComponent item : this.imageRegion) + if (!item.isEmpty()) + return true; + return false; + } + + public ImagingSelectionImageRegionComponent addImageRegion() { //3 + ImagingSelectionImageRegionComponent t = new ImagingSelectionImageRegionComponent(); + if (this.imageRegion == null) + this.imageRegion = new ArrayList(); + this.imageRegion.add(t); + return t; + } + + public ImagingSelection addImageRegion(ImagingSelectionImageRegionComponent t) { //3 + if (t == null) + return this; + if (this.imageRegion == null) + this.imageRegion = new ArrayList(); + this.imageRegion.add(t); + return this; } /** - * @param value {@link #imageRegion} (Each imaging selection might includes one or more image regions. Image regions are specified by a region type and a set of 2D or 3D coordinates.) + * @return The first repetition of repeating field {@link #imageRegion}, creating it if it does not already exist {3} */ - public ImagingSelection setImageRegion(ImagingSelectionImageRegionComponent value) { - this.imageRegion = value; - return this; + public ImagingSelectionImageRegionComponent getImageRegionFirstRep() { + if (getImageRegion().isEmpty()) { + addImageRegion(); + } + return getImageRegion().get(0); } protected void listChildren(List children) { super.listChildren(children); children.add(new Property("identifier", "Identifier", "A unique identifier assigned to this imaging selection.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("basedOn", "Reference(CarePlan|ServiceRequest|Appointment|AppointmentResponse|Task)", "A list of the diagnostic requests that resulted in this imaging selection being performed.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("status", "code", "The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection.", 0, 1, status)); children.add(new Property("subject", "Reference(Patient|Group|Device|Location|Organization|Procedure|Practitioner|Medication|Substance|Specimen)", "The patient, or group of patients, location, device, organization, procedure or practitioner this imaging selection is about and into whose or what record the imaging selection is placed.", 0, 1, subject)); children.add(new Property("issued", "instant", "The date and time this imaging selection was created.", 0, 1, issued)); - children.add(new Property("performer", "", "Author – human or machine.", 0, java.lang.Integer.MAX_VALUE, performer)); - children.add(new Property("code", "CodeableConcept", "Describes the imaging selection.", 0, 1, code)); - children.add(new Property("studyUid", "oid", "The Study Instance UID for the DICOM Study from which the images were selected.", 0, 1, studyUid)); + children.add(new Property("performer", "", "Selector of the instances – human or machine.", 0, java.lang.Integer.MAX_VALUE, performer)); + children.add(new Property("basedOn", "Reference(CarePlan|ServiceRequest|Appointment|AppointmentResponse|Task)", "A list of the diagnostic requests that resulted in this imaging selection being performed.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("category", "CodeableConcept", "Classifies the imaging selection.", 0, java.lang.Integer.MAX_VALUE, category)); + children.add(new Property("code", "CodeableConcept", "Reason for referencing the selected content.", 0, 1, code)); + children.add(new Property("studyUid", "id", "The Study Instance UID for the DICOM Study from which the images were selected.", 0, 1, studyUid)); children.add(new Property("derivedFrom", "Reference(ImagingStudy)", "The imaging study from which the imaging selection is made.", 0, java.lang.Integer.MAX_VALUE, derivedFrom)); children.add(new Property("endpoint", "Reference(Endpoint)", "The network service providing retrieval access to the selected images, frames, etc. See implementation notes for information about using DICOM endpoints.", 0, java.lang.Integer.MAX_VALUE, endpoint)); - children.add(new Property("seriesUid", "oid", "The Series Instance UID for the DICOM Series from which the images were selected.", 0, 1, seriesUid)); - children.add(new Property("frameOfReferenceUid", "oid", "The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames.", 0, 1, frameOfReferenceUid)); - children.add(new Property("bodySite", "Coding", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings.", 0, 1, bodySite)); + children.add(new Property("seriesUid", "id", "The Series Instance UID for the DICOM Series from which the images were selected.", 0, 1, seriesUid)); + children.add(new Property("frameOfReferenceUid", "id", "The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames.", 0, 1, frameOfReferenceUid)); + children.add(new Property("bodySite", "CodeableReference(BodyStructure)", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings.", 0, 1, bodySite)); children.add(new Property("instance", "", "Each imaging selection includes one or more selected DICOM SOP instances.", 0, java.lang.Integer.MAX_VALUE, instance)); - children.add(new Property("imageRegion", "", "Each imaging selection might includes one or more image regions. Image regions are specified by a region type and a set of 2D or 3D coordinates.", 0, 1, imageRegion)); + children.add(new Property("imageRegion", "", "Each imaging selection might includes a 3D image region, specified by a region type and a set of 3D coordinates.", 0, java.lang.Integer.MAX_VALUE, imageRegion)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A unique identifier assigned to this imaging selection.", 0, java.lang.Integer.MAX_VALUE, identifier); - case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|ServiceRequest|Appointment|AppointmentResponse|Task)", "A list of the diagnostic requests that resulted in this imaging selection being performed.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -892481550: /*status*/ return new Property("status", "code", "The current state of the ImagingSelection resource. This is not the status of any ImagingStudy, ServiceRequest, or Task resources associated with the ImagingSelection.", 0, 1, status); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Device|Location|Organization|Procedure|Practitioner|Medication|Substance|Specimen)", "The patient, or group of patients, location, device, organization, procedure or practitioner this imaging selection is about and into whose or what record the imaging selection is placed.", 0, 1, subject); case -1179159893: /*issued*/ return new Property("issued", "instant", "The date and time this imaging selection was created.", 0, 1, issued); - case 481140686: /*performer*/ return new Property("performer", "", "Author – human or machine.", 0, java.lang.Integer.MAX_VALUE, performer); - case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Describes the imaging selection.", 0, 1, code); - case 1876590023: /*studyUid*/ return new Property("studyUid", "oid", "The Study Instance UID for the DICOM Study from which the images were selected.", 0, 1, studyUid); + case 481140686: /*performer*/ return new Property("performer", "", "Selector of the instances – human or machine.", 0, java.lang.Integer.MAX_VALUE, performer); + case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|ServiceRequest|Appointment|AppointmentResponse|Task)", "A list of the diagnostic requests that resulted in this imaging selection being performed.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Classifies the imaging selection.", 0, java.lang.Integer.MAX_VALUE, category); + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Reason for referencing the selected content.", 0, 1, code); + case 1876590023: /*studyUid*/ return new Property("studyUid", "id", "The Study Instance UID for the DICOM Study from which the images were selected.", 0, 1, studyUid); case 1077922663: /*derivedFrom*/ return new Property("derivedFrom", "Reference(ImagingStudy)", "The imaging study from which the imaging selection is made.", 0, java.lang.Integer.MAX_VALUE, derivedFrom); case 1741102485: /*endpoint*/ return new Property("endpoint", "Reference(Endpoint)", "The network service providing retrieval access to the selected images, frames, etc. See implementation notes for information about using DICOM endpoints.", 0, java.lang.Integer.MAX_VALUE, endpoint); - case -569596327: /*seriesUid*/ return new Property("seriesUid", "oid", "The Series Instance UID for the DICOM Series from which the images were selected.", 0, 1, seriesUid); - case 828378953: /*frameOfReferenceUid*/ return new Property("frameOfReferenceUid", "oid", "The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames.", 0, 1, frameOfReferenceUid); - case 1702620169: /*bodySite*/ return new Property("bodySite", "Coding", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings.", 0, 1, bodySite); + case -569596327: /*seriesUid*/ return new Property("seriesUid", "id", "The Series Instance UID for the DICOM Series from which the images were selected.", 0, 1, seriesUid); + case 828378953: /*frameOfReferenceUid*/ return new Property("frameOfReferenceUid", "id", "The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames.", 0, 1, frameOfReferenceUid); + case 1702620169: /*bodySite*/ return new Property("bodySite", "CodeableReference(BodyStructure)", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings.", 0, 1, bodySite); case 555127957: /*instance*/ return new Property("instance", "", "Each imaging selection includes one or more selected DICOM SOP instances.", 0, java.lang.Integer.MAX_VALUE, instance); - case 2132544559: /*imageRegion*/ return new Property("imageRegion", "", "Each imaging selection might includes one or more image regions. Image regions are specified by a region type and a set of 2D or 3D coordinates.", 0, 1, imageRegion); + case 2132544559: /*imageRegion*/ return new Property("imageRegion", "", "Each imaging selection might includes a 3D image region, specified by a region type and a set of 3D coordinates.", 0, java.lang.Integer.MAX_VALUE, imageRegion); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2151,19 +2569,21 @@ public class ImagingSelection extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case -1179159893: /*issued*/ return this.issued == null ? new Base[0] : new Base[] {this.issued}; // InstantType case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // ImagingSelectionPerformerComponent + case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference + case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept - case 1876590023: /*studyUid*/ return this.studyUid == null ? new Base[0] : new Base[] {this.studyUid}; // OidType + case 1876590023: /*studyUid*/ return this.studyUid == null ? new Base[0] : new Base[] {this.studyUid}; // IdType case 1077922663: /*derivedFrom*/ return this.derivedFrom == null ? new Base[0] : this.derivedFrom.toArray(new Base[this.derivedFrom.size()]); // Reference case 1741102485: /*endpoint*/ return this.endpoint == null ? new Base[0] : this.endpoint.toArray(new Base[this.endpoint.size()]); // Reference - case -569596327: /*seriesUid*/ return this.seriesUid == null ? new Base[0] : new Base[] {this.seriesUid}; // OidType - case 828378953: /*frameOfReferenceUid*/ return this.frameOfReferenceUid == null ? new Base[0] : new Base[] {this.frameOfReferenceUid}; // OidType - case 1702620169: /*bodySite*/ return this.bodySite == null ? new Base[0] : new Base[] {this.bodySite}; // Coding + case -569596327: /*seriesUid*/ return this.seriesUid == null ? new Base[0] : new Base[] {this.seriesUid}; // IdType + case 828378953: /*frameOfReferenceUid*/ return this.frameOfReferenceUid == null ? new Base[0] : new Base[] {this.frameOfReferenceUid}; // IdType + case 1702620169: /*bodySite*/ return this.bodySite == null ? new Base[0] : new Base[] {this.bodySite}; // CodeableReference case 555127957: /*instance*/ return this.instance == null ? new Base[0] : this.instance.toArray(new Base[this.instance.size()]); // ImagingSelectionInstanceComponent - case 2132544559: /*imageRegion*/ return this.imageRegion == null ? new Base[0] : new Base[] {this.imageRegion}; // ImagingSelectionImageRegionComponent + case 2132544559: /*imageRegion*/ return this.imageRegion == null ? new Base[0] : this.imageRegion.toArray(new Base[this.imageRegion.size()]); // ImagingSelectionImageRegionComponent default: return super.getProperty(hash, name, checkValid); } @@ -2175,8 +2595,9 @@ public class ImagingSelection extends DomainResource { case -1618432855: // identifier this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier return value; - case -332612366: // basedOn - this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference + case -892481550: // status + value = new ImagingSelectionStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration return value; case -1867885268: // subject this.subject = TypeConvertor.castToReference(value); // Reference @@ -2187,11 +2608,17 @@ public class ImagingSelection extends DomainResource { case 481140686: // performer this.getPerformer().add((ImagingSelectionPerformerComponent) value); // ImagingSelectionPerformerComponent return value; + case -332612366: // basedOn + this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference + return value; + case 50511102: // category + this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; case 3059181: // code this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case 1876590023: // studyUid - this.studyUid = TypeConvertor.castToOid(value); // OidType + this.studyUid = TypeConvertor.castToId(value); // IdType return value; case 1077922663: // derivedFrom this.getDerivedFrom().add(TypeConvertor.castToReference(value)); // Reference @@ -2200,19 +2627,19 @@ public class ImagingSelection extends DomainResource { this.getEndpoint().add(TypeConvertor.castToReference(value)); // Reference return value; case -569596327: // seriesUid - this.seriesUid = TypeConvertor.castToOid(value); // OidType + this.seriesUid = TypeConvertor.castToId(value); // IdType return value; case 828378953: // frameOfReferenceUid - this.frameOfReferenceUid = TypeConvertor.castToOid(value); // OidType + this.frameOfReferenceUid = TypeConvertor.castToId(value); // IdType return value; case 1702620169: // bodySite - this.bodySite = TypeConvertor.castToCoding(value); // Coding + this.bodySite = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case 555127957: // instance this.getInstance().add((ImagingSelectionInstanceComponent) value); // ImagingSelectionInstanceComponent return value; case 2132544559: // imageRegion - this.imageRegion = (ImagingSelectionImageRegionComponent) value; // ImagingSelectionImageRegionComponent + this.getImageRegion().add((ImagingSelectionImageRegionComponent) value); // ImagingSelectionImageRegionComponent return value; default: return super.setProperty(hash, name, value); } @@ -2223,32 +2650,37 @@ public class ImagingSelection extends DomainResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("identifier")) { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else if (name.equals("basedOn")) { - this.getBasedOn().add(TypeConvertor.castToReference(value)); + } else if (name.equals("status")) { + value = new ImagingSelectionStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference } else if (name.equals("issued")) { this.issued = TypeConvertor.castToInstant(value); // InstantType } else if (name.equals("performer")) { this.getPerformer().add((ImagingSelectionPerformerComponent) value); + } else if (name.equals("basedOn")) { + this.getBasedOn().add(TypeConvertor.castToReference(value)); + } else if (name.equals("category")) { + this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("code")) { this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("studyUid")) { - this.studyUid = TypeConvertor.castToOid(value); // OidType + this.studyUid = TypeConvertor.castToId(value); // IdType } else if (name.equals("derivedFrom")) { this.getDerivedFrom().add(TypeConvertor.castToReference(value)); } else if (name.equals("endpoint")) { this.getEndpoint().add(TypeConvertor.castToReference(value)); } else if (name.equals("seriesUid")) { - this.seriesUid = TypeConvertor.castToOid(value); // OidType + this.seriesUid = TypeConvertor.castToId(value); // IdType } else if (name.equals("frameOfReferenceUid")) { - this.frameOfReferenceUid = TypeConvertor.castToOid(value); // OidType + this.frameOfReferenceUid = TypeConvertor.castToId(value); // IdType } else if (name.equals("bodySite")) { - this.bodySite = TypeConvertor.castToCoding(value); // Coding + this.bodySite = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("instance")) { this.getInstance().add((ImagingSelectionInstanceComponent) value); } else if (name.equals("imageRegion")) { - this.imageRegion = (ImagingSelectionImageRegionComponent) value; // ImagingSelectionImageRegionComponent + this.getImageRegion().add((ImagingSelectionImageRegionComponent) value); } else return super.setProperty(name, value); return value; @@ -2258,10 +2690,12 @@ public class ImagingSelection extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1618432855: return addIdentifier(); - case -332612366: return addBasedOn(); + case -892481550: return getStatusElement(); case -1867885268: return getSubject(); case -1179159893: return getIssuedElement(); case 481140686: return addPerformer(); + case -332612366: return addBasedOn(); + case 50511102: return addCategory(); case 3059181: return getCode(); case 1876590023: return getStudyUidElement(); case 1077922663: return addDerivedFrom(); @@ -2270,7 +2704,7 @@ public class ImagingSelection extends DomainResource { case 828378953: return getFrameOfReferenceUidElement(); case 1702620169: return getBodySite(); case 555127957: return addInstance(); - case 2132544559: return getImageRegion(); + case 2132544559: return addImageRegion(); default: return super.makeProperty(hash, name); } @@ -2280,17 +2714,19 @@ public class ImagingSelection extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - case -332612366: /*basedOn*/ return new String[] {"Reference"}; + case -892481550: /*status*/ return new String[] {"code"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; case -1179159893: /*issued*/ return new String[] {"instant"}; case 481140686: /*performer*/ return new String[] {}; + case -332612366: /*basedOn*/ return new String[] {"Reference"}; + case 50511102: /*category*/ return new String[] {"CodeableConcept"}; case 3059181: /*code*/ return new String[] {"CodeableConcept"}; - case 1876590023: /*studyUid*/ return new String[] {"oid"}; + case 1876590023: /*studyUid*/ return new String[] {"id"}; case 1077922663: /*derivedFrom*/ return new String[] {"Reference"}; case 1741102485: /*endpoint*/ return new String[] {"Reference"}; - case -569596327: /*seriesUid*/ return new String[] {"oid"}; - case 828378953: /*frameOfReferenceUid*/ return new String[] {"oid"}; - case 1702620169: /*bodySite*/ return new String[] {"Coding"}; + case -569596327: /*seriesUid*/ return new String[] {"id"}; + case 828378953: /*frameOfReferenceUid*/ return new String[] {"id"}; + case 1702620169: /*bodySite*/ return new String[] {"CodeableReference"}; case 555127957: /*instance*/ return new String[] {}; case 2132544559: /*imageRegion*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); @@ -2303,8 +2739,8 @@ public class ImagingSelection extends DomainResource { if (name.equals("identifier")) { return addIdentifier(); } - else if (name.equals("basedOn")) { - return addBasedOn(); + else if (name.equals("status")) { + throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.status"); } else if (name.equals("subject")) { this.subject = new Reference(); @@ -2316,6 +2752,12 @@ public class ImagingSelection extends DomainResource { else if (name.equals("performer")) { return addPerformer(); } + else if (name.equals("basedOn")) { + return addBasedOn(); + } + else if (name.equals("category")) { + return addCategory(); + } else if (name.equals("code")) { this.code = new CodeableConcept(); return this.code; @@ -2336,15 +2778,14 @@ public class ImagingSelection extends DomainResource { throw new FHIRException("Cannot call addChild on a primitive type ImagingSelection.frameOfReferenceUid"); } else if (name.equals("bodySite")) { - this.bodySite = new Coding(); + this.bodySite = new CodeableReference(); return this.bodySite; } else if (name.equals("instance")) { return addInstance(); } else if (name.equals("imageRegion")) { - this.imageRegion = new ImagingSelectionImageRegionComponent(); - return this.imageRegion; + return addImageRegion(); } else return super.addChild(name); @@ -2368,11 +2809,7 @@ public class ImagingSelection extends DomainResource { for (Identifier i : identifier) dst.identifier.add(i.copy()); }; - if (basedOn != null) { - dst.basedOn = new ArrayList(); - for (Reference i : basedOn) - dst.basedOn.add(i.copy()); - }; + dst.status = status == null ? null : status.copy(); dst.subject = subject == null ? null : subject.copy(); dst.issued = issued == null ? null : issued.copy(); if (performer != null) { @@ -2380,6 +2817,16 @@ public class ImagingSelection extends DomainResource { for (ImagingSelectionPerformerComponent i : performer) dst.performer.add(i.copy()); }; + if (basedOn != null) { + dst.basedOn = new ArrayList(); + for (Reference i : basedOn) + dst.basedOn.add(i.copy()); + }; + if (category != null) { + dst.category = new ArrayList(); + for (CodeableConcept i : category) + dst.category.add(i.copy()); + }; dst.code = code == null ? null : code.copy(); dst.studyUid = studyUid == null ? null : studyUid.copy(); if (derivedFrom != null) { @@ -2400,7 +2847,11 @@ public class ImagingSelection extends DomainResource { for (ImagingSelectionInstanceComponent i : instance) dst.instance.add(i.copy()); }; - dst.imageRegion = imageRegion == null ? null : imageRegion.copy(); + if (imageRegion != null) { + dst.imageRegion = new ArrayList(); + for (ImagingSelectionImageRegionComponent i : imageRegion) + dst.imageRegion.add(i.copy()); + }; } protected ImagingSelection typedCopy() { @@ -2414,12 +2865,12 @@ public class ImagingSelection extends DomainResource { if (!(other_ instanceof ImagingSelection)) return false; ImagingSelection o = (ImagingSelection) other_; - return compareDeep(identifier, o.identifier, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(subject, o.subject, true) - && compareDeep(issued, o.issued, true) && compareDeep(performer, o.performer, true) && compareDeep(code, o.code, true) - && compareDeep(studyUid, o.studyUid, true) && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(endpoint, o.endpoint, true) - && compareDeep(seriesUid, o.seriesUid, true) && compareDeep(frameOfReferenceUid, o.frameOfReferenceUid, true) - && compareDeep(bodySite, o.bodySite, true) && compareDeep(instance, o.instance, true) && compareDeep(imageRegion, o.imageRegion, true) - ; + return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(subject, o.subject, true) + && compareDeep(issued, o.issued, true) && compareDeep(performer, o.performer, true) && compareDeep(basedOn, o.basedOn, true) + && compareDeep(category, o.category, true) && compareDeep(code, o.code, true) && compareDeep(studyUid, o.studyUid, true) + && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(endpoint, o.endpoint, true) && compareDeep(seriesUid, o.seriesUid, true) + && compareDeep(frameOfReferenceUid, o.frameOfReferenceUid, true) && compareDeep(bodySite, o.bodySite, true) + && compareDeep(instance, o.instance, true) && compareDeep(imageRegion, o.imageRegion, true); } @Override @@ -2429,14 +2880,15 @@ public class ImagingSelection extends DomainResource { if (!(other_ instanceof ImagingSelection)) return false; ImagingSelection o = (ImagingSelection) other_; - return compareValues(issued, o.issued, true) && compareValues(studyUid, o.studyUid, true) && compareValues(seriesUid, o.seriesUid, true) - && compareValues(frameOfReferenceUid, o.frameOfReferenceUid, true); + return compareValues(status, o.status, true) && compareValues(issued, o.issued, true) && compareValues(studyUid, o.studyUid, true) + && compareValues(seriesUid, o.seriesUid, true) && compareValues(frameOfReferenceUid, o.frameOfReferenceUid, true) + ; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, basedOn, subject - , issued, performer, code, studyUid, derivedFrom, endpoint, seriesUid, frameOfReferenceUid - , bodySite, instance, imageRegion); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, subject + , issued, performer, basedOn, category, code, studyUid, derivedFrom, endpoint + , seriesUid, frameOfReferenceUid, bodySite, instance, imageRegion); } @Override @@ -2444,210 +2896,6 @@ public class ImagingSelection extends DomainResource { return ResourceType.ImagingSelection; } - /** - * Search parameter: based-on - *

- * Description: The request associated with an imaging selection
- * Type: reference
- * Path: ImagingSelection.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="ImagingSelection.basedOn", description="The request associated with an imaging selection", type="reference", target={Appointment.class, AppointmentResponse.class, CarePlan.class, ServiceRequest.class, Task.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: The request associated with an imaging selection
- * Type: reference
- * Path: ImagingSelection.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingSelection:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("ImagingSelection:based-on").toLocked(); - - /** - * Search parameter: body-site - *

- * Description: The body site associated with the imaging selection
- * Type: token
- * Path: ImagingSelection.bodySite
- *

- */ - @SearchParamDefinition(name="body-site", path="ImagingSelection.bodySite", description="The body site associated with the imaging selection", type="token" ) - public static final String SP_BODY_SITE = "body-site"; - /** - * Fluent Client search parameter constant for body-site - *

- * Description: The body site associated with the imaging selection
- * Type: token
- * Path: ImagingSelection.bodySite
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BODY_SITE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BODY_SITE); - - /** - * Search parameter: code - *

- * Description: The imaging selection description text or code
- * Type: token
- * Path: ImagingSelection.code
- *

- */ - @SearchParamDefinition(name="code", path="ImagingSelection.code", description="The imaging selection description text or code", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: The imaging selection description text or code
- * Type: token
- * Path: ImagingSelection.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: derived-from - *

- * Description: The imaging study from which the imaging selection was derived
- * Type: reference
- * Path: ImagingSelection.derivedFrom
- *

- */ - @SearchParamDefinition(name="derived-from", path="ImagingSelection.derivedFrom", description="The imaging study from which the imaging selection was derived", type="reference", target={ImagingStudy.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: The imaging study from which the imaging selection was derived
- * Type: reference
- * Path: ImagingSelection.derivedFrom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingSelection:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("ImagingSelection:derived-from").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Identifiers for the imaging selection
- * Type: token
- * Path: ImagingSelection.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ImagingSelection.identifier", description="Identifiers for the imaging selection", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Identifiers for the imaging selection
- * Type: token
- * Path: ImagingSelection.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: issued - *

- * Description: The date / time the imaging selection was created
- * Type: date
- * Path: ImagingSelection.issued
- *

- */ - @SearchParamDefinition(name="issued", path="ImagingSelection.issued", description="The date / time the imaging selection was created", type="date" ) - public static final String SP_ISSUED = "issued"; - /** - * Fluent Client search parameter constant for issued - *

- * Description: The date / time the imaging selection was created
- * Type: date
- * Path: ImagingSelection.issued
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ISSUED); - - /** - * Search parameter: patient - *

- * Description: Who the study is about
- * Type: reference
- * Path: ImagingSelection.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="ImagingSelection.subject.where(resolve() is Patient)", description="Who the study is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Device.class, Group.class, Location.class, Medication.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Specimen.class, Substance.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Who the study is about
- * Type: reference
- * Path: ImagingSelection.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingSelection:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ImagingSelection:patient").toLocked(); - - /** - * Search parameter: study-uid - *

- * Description: The DICOM Study Instance UID from which the images were selected
- * Type: uri
- * Path: ImagingSelection.studyUid
- *

- */ - @SearchParamDefinition(name="study-uid", path="ImagingSelection.studyUid", description="The DICOM Study Instance UID from which the images were selected", type="uri" ) - public static final String SP_STUDY_UID = "study-uid"; - /** - * Fluent Client search parameter constant for study-uid - *

- * Description: The DICOM Study Instance UID from which the images were selected
- * Type: uri
- * Path: ImagingSelection.studyUid
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam STUDY_UID = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_STUDY_UID); - - /** - * Search parameter: subject - *

- * Description: The subject of the Imaging Selection, such as the associated Patient
- * Type: reference
- * Path: ImagingSelection.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ImagingSelection.subject", description="The subject of the Imaging Selection, such as the associated Patient", type="reference", target={Device.class, Group.class, Location.class, Medication.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Specimen.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject of the Imaging Selection, such as the associated Patient
- * Type: reference
- * Path: ImagingSelection.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingSelection:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ImagingSelection:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingStudy.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingStudy.java index 72d731356..9bfd6b54e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingStudy.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImagingStudy.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class ImagingStudy extends DomainResource { case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class ImagingStudy extends DomainResource { case CANCELLED: return "http://hl7.org/fhir/imagingstudy-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/imagingstudy-status"; case UNKNOWN: return "http://hl7.org/fhir/imagingstudy-status"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class ImagingStudy extends DomainResource { case CANCELLED: return "The imaging study is unavailable because the imaging study was not started or not completed (also sometimes called \"aborted\")."; case ENTEREDINERROR: return "The imaging study has been withdrawn following a previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".)."; case UNKNOWN: return "The system does not know which of the status values currently applies for this request. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, it's just not known which one."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class ImagingStudy extends DomainResource { case CANCELLED: return "Cancelled"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -212,10 +216,10 @@ public class ImagingStudy extends DomainResource { /** * The distinct modality for this series. This may include both acquisition and non-acquisition modalities. */ - @Child(name = "modality", type = {Coding.class}, order=3, min=1, max=1, modifier=false, summary=true) + @Child(name = "modality", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="The modality used for this series", formalDefinition="The distinct modality for this series. This may include both acquisition and non-acquisition modalities." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html") - protected Coding modality; + protected CodeableConcept modality; /** * A description of the series. @@ -241,18 +245,18 @@ public class ImagingStudy extends DomainResource { /** * The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality. */ - @Child(name = "bodySite", type = {Coding.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "bodySite", type = {CodeableReference.class}, order=7, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Body part examined", formalDefinition="The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") - protected Coding bodySite; + protected CodeableReference bodySite; /** * The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite. */ - @Child(name = "laterality", type = {Coding.class}, order=8, min=0, max=1, modifier=false, summary=true) + @Child(name = "laterality", type = {CodeableConcept.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Body part laterality", formalDefinition="The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_244.html") - protected Coding laterality; + protected CodeableConcept laterality; /** * The specimen imaged, e.g., for whole slide imaging of a biopsy. @@ -282,7 +286,7 @@ public class ImagingStudy extends DomainResource { @Description(shortDefinition="A single SOP instance from the series", formalDefinition="A single SOP instance within the series, e.g. an image, or presentation state." ) protected List instance; - private static final long serialVersionUID = 198247349L; + private static final long serialVersionUID = 755136591L; /** * Constructor @@ -294,7 +298,7 @@ public class ImagingStudy extends DomainResource { /** * Constructor */ - public ImagingStudySeriesComponent(String uid, Coding modality) { + public ImagingStudySeriesComponent(String uid, CodeableConcept modality) { super(); this.setUid(uid); this.setModality(modality); @@ -393,12 +397,12 @@ public class ImagingStudy extends DomainResource { /** * @return {@link #modality} (The distinct modality for this series. This may include both acquisition and non-acquisition modalities.) */ - public Coding getModality() { + public CodeableConcept getModality() { if (this.modality == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingStudySeriesComponent.modality"); else if (Configuration.doAutoCreate()) - this.modality = new Coding(); // cc + this.modality = new CodeableConcept(); // cc return this.modality; } @@ -409,7 +413,7 @@ public class ImagingStudy extends DomainResource { /** * @param value {@link #modality} (The distinct modality for this series. This may include both acquisition and non-acquisition modalities.) */ - public ImagingStudySeriesComponent setModality(Coding value) { + public ImagingStudySeriesComponent setModality(CodeableConcept value) { this.modality = value; return this; } @@ -564,12 +568,12 @@ public class ImagingStudy extends DomainResource { /** * @return {@link #bodySite} (The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.) */ - public Coding getBodySite() { + public CodeableReference getBodySite() { if (this.bodySite == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingStudySeriesComponent.bodySite"); else if (Configuration.doAutoCreate()) - this.bodySite = new Coding(); // cc + this.bodySite = new CodeableReference(); // cc return this.bodySite; } @@ -580,7 +584,7 @@ public class ImagingStudy extends DomainResource { /** * @param value {@link #bodySite} (The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.) */ - public ImagingStudySeriesComponent setBodySite(Coding value) { + public ImagingStudySeriesComponent setBodySite(CodeableReference value) { this.bodySite = value; return this; } @@ -588,12 +592,12 @@ public class ImagingStudy extends DomainResource { /** * @return {@link #laterality} (The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.) */ - public Coding getLaterality() { + public CodeableConcept getLaterality() { if (this.laterality == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImagingStudySeriesComponent.laterality"); else if (Configuration.doAutoCreate()) - this.laterality = new Coding(); // cc + this.laterality = new CodeableConcept(); // cc return this.laterality; } @@ -604,7 +608,7 @@ public class ImagingStudy extends DomainResource { /** * @param value {@link #laterality} (The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.) */ - public ImagingStudySeriesComponent setLaterality(Coding value) { + public ImagingStudySeriesComponent setLaterality(CodeableConcept value) { this.laterality = value; return this; } @@ -821,12 +825,12 @@ public class ImagingStudy extends DomainResource { super.listChildren(children); children.add(new Property("uid", "id", "The DICOM Series Instance UID for the series.", 0, 1, uid)); children.add(new Property("number", "unsignedInt", "The numeric identifier of this series in the study.", 0, 1, number)); - children.add(new Property("modality", "Coding", "The distinct modality for this series. This may include both acquisition and non-acquisition modalities.", 0, 1, modality)); + children.add(new Property("modality", "CodeableConcept", "The distinct modality for this series. This may include both acquisition and non-acquisition modalities.", 0, 1, modality)); children.add(new Property("description", "string", "A description of the series.", 0, 1, description)); children.add(new Property("numberOfInstances", "unsignedInt", "Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present.", 0, 1, numberOfInstances)); children.add(new Property("endpoint", "Reference(Endpoint)", "The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.connectionType.", 0, java.lang.Integer.MAX_VALUE, endpoint)); - children.add(new Property("bodySite", "Coding", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.", 0, 1, bodySite)); - children.add(new Property("laterality", "Coding", "The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.", 0, 1, laterality)); + children.add(new Property("bodySite", "CodeableReference(BodyStructure)", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.", 0, 1, bodySite)); + children.add(new Property("laterality", "CodeableConcept", "The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.", 0, 1, laterality)); children.add(new Property("specimen", "Reference(Specimen)", "The specimen imaged, e.g., for whole slide imaging of a biopsy.", 0, java.lang.Integer.MAX_VALUE, specimen)); children.add(new Property("started", "dateTime", "The date and time the series was started.", 0, 1, started)); children.add(new Property("performer", "", "Indicates who or what performed the series and how they were involved.", 0, java.lang.Integer.MAX_VALUE, performer)); @@ -838,12 +842,12 @@ public class ImagingStudy extends DomainResource { switch (_hash) { case 115792: /*uid*/ return new Property("uid", "id", "The DICOM Series Instance UID for the series.", 0, 1, uid); case -1034364087: /*number*/ return new Property("number", "unsignedInt", "The numeric identifier of this series in the study.", 0, 1, number); - case -622722335: /*modality*/ return new Property("modality", "Coding", "The distinct modality for this series. This may include both acquisition and non-acquisition modalities.", 0, 1, modality); + case -622722335: /*modality*/ return new Property("modality", "CodeableConcept", "The distinct modality for this series. This may include both acquisition and non-acquisition modalities.", 0, 1, modality); case -1724546052: /*description*/ return new Property("description", "string", "A description of the series.", 0, 1, description); case -1043544226: /*numberOfInstances*/ return new Property("numberOfInstances", "unsignedInt", "Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present.", 0, 1, numberOfInstances); case 1741102485: /*endpoint*/ return new Property("endpoint", "Reference(Endpoint)", "The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.connectionType.", 0, java.lang.Integer.MAX_VALUE, endpoint); - case 1702620169: /*bodySite*/ return new Property("bodySite", "Coding", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.", 0, 1, bodySite); - case -170291817: /*laterality*/ return new Property("laterality", "Coding", "The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.", 0, 1, laterality); + case 1702620169: /*bodySite*/ return new Property("bodySite", "CodeableReference(BodyStructure)", "The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.", 0, 1, bodySite); + case -170291817: /*laterality*/ return new Property("laterality", "CodeableConcept", "The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.", 0, 1, laterality); case -2132868344: /*specimen*/ return new Property("specimen", "Reference(Specimen)", "The specimen imaged, e.g., for whole slide imaging of a biopsy.", 0, java.lang.Integer.MAX_VALUE, specimen); case -1897185151: /*started*/ return new Property("started", "dateTime", "The date and time the series was started.", 0, 1, started); case 481140686: /*performer*/ return new Property("performer", "", "Indicates who or what performed the series and how they were involved.", 0, java.lang.Integer.MAX_VALUE, performer); @@ -858,12 +862,12 @@ public class ImagingStudy extends DomainResource { switch (hash) { case 115792: /*uid*/ return this.uid == null ? new Base[0] : new Base[] {this.uid}; // IdType case -1034364087: /*number*/ return this.number == null ? new Base[0] : new Base[] {this.number}; // UnsignedIntType - case -622722335: /*modality*/ return this.modality == null ? new Base[0] : new Base[] {this.modality}; // Coding + case -622722335: /*modality*/ return this.modality == null ? new Base[0] : new Base[] {this.modality}; // CodeableConcept case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType case -1043544226: /*numberOfInstances*/ return this.numberOfInstances == null ? new Base[0] : new Base[] {this.numberOfInstances}; // UnsignedIntType case 1741102485: /*endpoint*/ return this.endpoint == null ? new Base[0] : this.endpoint.toArray(new Base[this.endpoint.size()]); // Reference - case 1702620169: /*bodySite*/ return this.bodySite == null ? new Base[0] : new Base[] {this.bodySite}; // Coding - case -170291817: /*laterality*/ return this.laterality == null ? new Base[0] : new Base[] {this.laterality}; // Coding + case 1702620169: /*bodySite*/ return this.bodySite == null ? new Base[0] : new Base[] {this.bodySite}; // CodeableReference + case -170291817: /*laterality*/ return this.laterality == null ? new Base[0] : new Base[] {this.laterality}; // CodeableConcept case -2132868344: /*specimen*/ return this.specimen == null ? new Base[0] : this.specimen.toArray(new Base[this.specimen.size()]); // Reference case -1897185151: /*started*/ return this.started == null ? new Base[0] : new Base[] {this.started}; // DateTimeType case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // ImagingStudySeriesPerformerComponent @@ -883,7 +887,7 @@ public class ImagingStudy extends DomainResource { this.number = TypeConvertor.castToUnsignedInt(value); // UnsignedIntType return value; case -622722335: // modality - this.modality = TypeConvertor.castToCoding(value); // Coding + this.modality = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case -1724546052: // description this.description = TypeConvertor.castToString(value); // StringType @@ -895,10 +899,10 @@ public class ImagingStudy extends DomainResource { this.getEndpoint().add(TypeConvertor.castToReference(value)); // Reference return value; case 1702620169: // bodySite - this.bodySite = TypeConvertor.castToCoding(value); // Coding + this.bodySite = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case -170291817: // laterality - this.laterality = TypeConvertor.castToCoding(value); // Coding + this.laterality = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case -2132868344: // specimen this.getSpecimen().add(TypeConvertor.castToReference(value)); // Reference @@ -924,7 +928,7 @@ public class ImagingStudy extends DomainResource { } else if (name.equals("number")) { this.number = TypeConvertor.castToUnsignedInt(value); // UnsignedIntType } else if (name.equals("modality")) { - this.modality = TypeConvertor.castToCoding(value); // Coding + this.modality = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("description")) { this.description = TypeConvertor.castToString(value); // StringType } else if (name.equals("numberOfInstances")) { @@ -932,9 +936,9 @@ public class ImagingStudy extends DomainResource { } else if (name.equals("endpoint")) { this.getEndpoint().add(TypeConvertor.castToReference(value)); } else if (name.equals("bodySite")) { - this.bodySite = TypeConvertor.castToCoding(value); // Coding + this.bodySite = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("laterality")) { - this.laterality = TypeConvertor.castToCoding(value); // Coding + this.laterality = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("specimen")) { this.getSpecimen().add(TypeConvertor.castToReference(value)); } else if (name.equals("started")) { @@ -973,12 +977,12 @@ public class ImagingStudy extends DomainResource { switch (hash) { case 115792: /*uid*/ return new String[] {"id"}; case -1034364087: /*number*/ return new String[] {"unsignedInt"}; - case -622722335: /*modality*/ return new String[] {"Coding"}; + case -622722335: /*modality*/ return new String[] {"CodeableConcept"}; case -1724546052: /*description*/ return new String[] {"string"}; case -1043544226: /*numberOfInstances*/ return new String[] {"unsignedInt"}; case 1741102485: /*endpoint*/ return new String[] {"Reference"}; - case 1702620169: /*bodySite*/ return new String[] {"Coding"}; - case -170291817: /*laterality*/ return new String[] {"Coding"}; + case 1702620169: /*bodySite*/ return new String[] {"CodeableReference"}; + case -170291817: /*laterality*/ return new String[] {"CodeableConcept"}; case -2132868344: /*specimen*/ return new String[] {"Reference"}; case -1897185151: /*started*/ return new String[] {"dateTime"}; case 481140686: /*performer*/ return new String[] {}; @@ -997,7 +1001,7 @@ public class ImagingStudy extends DomainResource { throw new FHIRException("Cannot call addChild on a primitive type ImagingStudy.series.number"); } else if (name.equals("modality")) { - this.modality = new Coding(); + this.modality = new CodeableConcept(); return this.modality; } else if (name.equals("description")) { @@ -1010,11 +1014,11 @@ public class ImagingStudy extends DomainResource { return addEndpoint(); } else if (name.equals("bodySite")) { - this.bodySite = new Coding(); + this.bodySite = new CodeableReference(); return this.bodySite; } else if (name.equals("laterality")) { - this.laterality = new Coding(); + this.laterality = new CodeableConcept(); return this.laterality; } else if (name.equals("specimen")) { @@ -1708,10 +1712,10 @@ public class ImagingStudy extends DomainResource { /** * A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities. */ - @Child(name = "modality", type = {Coding.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "modality", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="All of the distinct values for series' modalities", formalDefinition="A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_33.html") - protected List modality; + protected List modality; /** * The subject, typically a patient, of the imaging study. @@ -1820,7 +1824,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 images or other content." ) protected List series; - private static final long serialVersionUID = -1816373424L; + private static final long serialVersionUID = 1355544973L; /** * Constructor @@ -1939,16 +1943,16 @@ public class ImagingStudy extends DomainResource { /** * @return {@link #modality} (A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities.) */ - public List getModality() { + public List getModality() { if (this.modality == null) - this.modality = new ArrayList(); + this.modality = new ArrayList(); return this.modality; } /** * @return Returns a reference to this for easy method chaining */ - public ImagingStudy setModality(List theModality) { + public ImagingStudy setModality(List theModality) { this.modality = theModality; return this; } @@ -1956,25 +1960,25 @@ public class ImagingStudy extends DomainResource { public boolean hasModality() { if (this.modality == null) return false; - for (Coding item : this.modality) + for (CodeableConcept item : this.modality) if (!item.isEmpty()) return true; return false; } - public Coding addModality() { //3 - Coding t = new Coding(); + public CodeableConcept addModality() { //3 + CodeableConcept t = new CodeableConcept(); if (this.modality == null) - this.modality = new ArrayList(); + this.modality = new ArrayList(); this.modality.add(t); return t; } - public ImagingStudy addModality(Coding t) { //3 + public ImagingStudy addModality(CodeableConcept t) { //3 if (t == null) return this; if (this.modality == null) - this.modality = new ArrayList(); + this.modality = new ArrayList(); this.modality.add(t); return this; } @@ -1982,7 +1986,7 @@ public class ImagingStudy extends DomainResource { /** * @return The first repetition of repeating field {@link #modality}, creating it if it does not already exist {3} */ - public Coding getModalityFirstRep() { + public CodeableConcept getModalityFirstRep() { if (getModality().isEmpty()) { addModality(); } @@ -2648,7 +2652,7 @@ public class ImagingStudy extends DomainResource { super.listChildren(children); children.add(new Property("identifier", "Identifier", "Identifiers for the ImagingStudy such as DICOM Study Instance UID.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("status", "code", "The current state of the ImagingStudy resource. This is not the status of any ServiceRequest or Task resources associated with the ImagingStudy.", 0, 1, status)); - children.add(new Property("modality", "Coding", "A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities.", 0, java.lang.Integer.MAX_VALUE, modality)); + children.add(new Property("modality", "CodeableConcept", "A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities.", 0, java.lang.Integer.MAX_VALUE, modality)); children.add(new Property("subject", "Reference(Patient|Device|Group)", "The subject, typically a patient, of the imaging study.", 0, 1, subject)); children.add(new Property("encounter", "Reference(Encounter)", "The healthcare event (e.g. a patient and healthcare provider interaction) during which this ImagingStudy is made.", 0, 1, encounter)); children.add(new Property("started", "dateTime", "Date and time the study started.", 0, 1, started)); @@ -2671,7 +2675,7 @@ public class ImagingStudy extends DomainResource { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifiers for the ImagingStudy such as DICOM Study Instance UID.", 0, java.lang.Integer.MAX_VALUE, identifier); case -892481550: /*status*/ return new Property("status", "code", "The current state of the ImagingStudy resource. This is not the status of any ServiceRequest or Task resources associated with the ImagingStudy.", 0, 1, status); - case -622722335: /*modality*/ return new Property("modality", "Coding", "A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities.", 0, java.lang.Integer.MAX_VALUE, modality); + case -622722335: /*modality*/ return new Property("modality", "CodeableConcept", "A list of all the distinct values of series.modality. This may include both acquisition and non-acquisition modalities.", 0, java.lang.Integer.MAX_VALUE, modality); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Device|Group)", "The subject, typically a patient, of the imaging study.", 0, 1, subject); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The healthcare event (e.g. a patient and healthcare provider interaction) during which this ImagingStudy is made.", 0, 1, encounter); case -1897185151: /*started*/ return new Property("started", "dateTime", "Date and time the study started.", 0, 1, started); @@ -2697,7 +2701,7 @@ public class ImagingStudy extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration - case -622722335: /*modality*/ return this.modality == null ? new Base[0] : this.modality.toArray(new Base[this.modality.size()]); // Coding + case -622722335: /*modality*/ return this.modality == null ? new Base[0] : this.modality.toArray(new Base[this.modality.size()]); // CodeableConcept case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case -1897185151: /*started*/ return this.started == null ? new Base[0] : new Base[] {this.started}; // DateTimeType @@ -2729,7 +2733,7 @@ public class ImagingStudy extends DomainResource { this.status = (Enumeration) value; // Enumeration return value; case -622722335: // modality - this.getModality().add(TypeConvertor.castToCoding(value)); // Coding + this.getModality().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; case -1867885268: // subject this.subject = TypeConvertor.castToReference(value); // Reference @@ -2789,7 +2793,7 @@ public class ImagingStudy extends DomainResource { value = new ImagingStudyStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration } else if (name.equals("modality")) { - this.getModality().add(TypeConvertor.castToCoding(value)); + this.getModality().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference } else if (name.equals("encounter")) { @@ -2856,7 +2860,7 @@ public class ImagingStudy extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -892481550: /*status*/ return new String[] {"code"}; - case -622722335: /*modality*/ return new String[] {"Coding"}; + case -622722335: /*modality*/ return new String[] {"CodeableConcept"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"}; case -1897185151: /*started*/ return new String[] {"dateTime"}; @@ -2961,8 +2965,8 @@ public class ImagingStudy extends DomainResource { }; dst.status = status == null ? null : status.copy(); if (modality != null) { - dst.modality = new ArrayList(); - for (Coding i : modality) + dst.modality = new ArrayList(); + for (CodeableConcept i : modality) dst.modality.add(i.copy()); }; dst.subject = subject == null ? null : subject.copy(); @@ -3053,526 +3057,6 @@ public class ImagingStudy extends DomainResource { return ResourceType.ImagingStudy; } - /** - * Search parameter: basedon - *

- * Description: The order for the image, such as Accession Number associated with a ServiceRequest
- * Type: reference
- * Path: ImagingStudy.basedOn
- *

- */ - @SearchParamDefinition(name="basedon", path="ImagingStudy.basedOn", description="The order for the image, such as Accession Number associated with a ServiceRequest", type="reference", target={Appointment.class, AppointmentResponse.class, CarePlan.class, ServiceRequest.class, Task.class } ) - public static final String SP_BASEDON = "basedon"; - /** - * Fluent Client search parameter constant for basedon - *

- * Description: The order for the image, such as Accession Number associated with a ServiceRequest
- * Type: reference
- * Path: ImagingStudy.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASEDON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASEDON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:basedon". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASEDON = new ca.uhn.fhir.model.api.Include("ImagingStudy:basedon").toLocked(); - - /** - * Search parameter: bodysite - *

- * Description: The body site studied
- * Type: token
- * Path: ImagingStudy.series.bodySite
- *

- */ - @SearchParamDefinition(name="bodysite", path="ImagingStudy.series.bodySite", description="The body site studied", type="token" ) - public static final String SP_BODYSITE = "bodysite"; - /** - * Fluent Client search parameter constant for bodysite - *

- * Description: The body site studied
- * Type: token
- * Path: ImagingStudy.series.bodySite
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BODYSITE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BODYSITE); - - /** - * Search parameter: dicom-class - *

- * Description: The type of the instance
- * Type: token
- * Path: ImagingStudy.series.instance.sopClass
- *

- */ - @SearchParamDefinition(name="dicom-class", path="ImagingStudy.series.instance.sopClass", description="The type of the instance", type="token" ) - public static final String SP_DICOM_CLASS = "dicom-class"; - /** - * Fluent Client search parameter constant for dicom-class - *

- * Description: The type of the instance
- * Type: token
- * Path: ImagingStudy.series.instance.sopClass
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DICOM_CLASS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DICOM_CLASS); - - /** - * Search parameter: encounter - *

- * Description: The context of the study
- * Type: reference
- * Path: ImagingStudy.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="ImagingStudy.encounter", description="The context of the study", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The context of the study
- * Type: reference
- * Path: ImagingStudy.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("ImagingStudy:encounter").toLocked(); - - /** - * Search parameter: endpoint - *

- * Description: The endpoint for the study or series
- * Type: reference
- * Path: ImagingStudy.endpoint | ImagingStudy.series.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="ImagingStudy.endpoint | ImagingStudy.series.endpoint", description="The endpoint for the study or series", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: The endpoint for the study or series
- * Type: reference
- * Path: ImagingStudy.endpoint | ImagingStudy.series.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("ImagingStudy:endpoint").toLocked(); - - /** - * Search parameter: instance - *

- * Description: SOP Instance UID for an instance
- * Type: token
- * Path: ImagingStudy.series.instance.uid
- *

- */ - @SearchParamDefinition(name="instance", path="ImagingStudy.series.instance.uid", description="SOP Instance UID for an instance", type="token" ) - public static final String SP_INSTANCE = "instance"; - /** - * Fluent Client search parameter constant for instance - *

- * Description: SOP Instance UID for an instance
- * Type: token
- * Path: ImagingStudy.series.instance.uid
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INSTANCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INSTANCE); - - /** - * Search parameter: interpreter - *

- * Description: Who interpreted the images
- * Type: reference
- * Path: ImagingStudy.interpreter
- *

- */ - @SearchParamDefinition(name="interpreter", path="ImagingStudy.interpreter", description="Who interpreted the images", type="reference", target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_INTERPRETER = "interpreter"; - /** - * Fluent Client search parameter constant for interpreter - *

- * Description: Who interpreted the images
- * Type: reference
- * Path: ImagingStudy.interpreter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTERPRETER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INTERPRETER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:interpreter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INTERPRETER = new ca.uhn.fhir.model.api.Include("ImagingStudy:interpreter").toLocked(); - - /** - * Search parameter: modality - *

- * Description: The modality of the series
- * Type: token
- * Path: ImagingStudy.series.modality
- *

- */ - @SearchParamDefinition(name="modality", path="ImagingStudy.series.modality", description="The modality of the series", type="token" ) - public static final String SP_MODALITY = "modality"; - /** - * Fluent Client search parameter constant for modality - *

- * Description: The modality of the series
- * Type: token
- * Path: ImagingStudy.series.modality
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MODALITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MODALITY); - - /** - * Search parameter: performer - *

- * Description: The person who performed the study
- * Type: reference
- * Path: ImagingStudy.series.performer.actor
- *

- */ - @SearchParamDefinition(name="performer", path="ImagingStudy.series.performer.actor", description="The person who performed the study", type="reference", target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: The person who performed the study
- * Type: reference
- * Path: ImagingStudy.series.performer.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("ImagingStudy:performer").toLocked(); - - /** - * Search parameter: reason - *

- * Description: The reason for the study
- * Type: token
- * Path: null
- *

- */ - @SearchParamDefinition(name="reason", path="", description="The reason for the study", type="token" ) - public static final String SP_REASON = "reason"; - /** - * Fluent Client search parameter constant for reason - *

- * Description: The reason for the study
- * Type: token
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON); - - /** - * Search parameter: referrer - *

- * Description: The referring physician
- * Type: reference
- * Path: ImagingStudy.referrer
- *

- */ - @SearchParamDefinition(name="referrer", path="ImagingStudy.referrer", description="The referring physician", type="reference", target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_REFERRER = "referrer"; - /** - * Fluent Client search parameter constant for referrer - *

- * Description: The referring physician
- * Type: reference
- * Path: ImagingStudy.referrer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REFERRER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REFERRER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:referrer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REFERRER = new ca.uhn.fhir.model.api.Include("ImagingStudy:referrer").toLocked(); - - /** - * Search parameter: series - *

- * Description: DICOM Series Instance UID for a series
- * Type: token
- * Path: ImagingStudy.series.uid
- *

- */ - @SearchParamDefinition(name="series", path="ImagingStudy.series.uid", description="DICOM Series Instance UID for a series", type="token" ) - public static final String SP_SERIES = "series"; - /** - * Fluent Client search parameter constant for series - *

- * Description: DICOM Series Instance UID for a series
- * Type: token
- * Path: ImagingStudy.series.uid
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERIES = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERIES); - - /** - * Search parameter: started - *

- * Description: When the study was started
- * Type: date
- * Path: ImagingStudy.started
- *

- */ - @SearchParamDefinition(name="started", path="ImagingStudy.started", description="When the study was started", type="date" ) - public static final String SP_STARTED = "started"; - /** - * Fluent Client search parameter constant for started - *

- * Description: When the study was started
- * Type: date
- * Path: ImagingStudy.started
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam STARTED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_STARTED); - - /** - * Search parameter: status - *

- * Description: The status of the study
- * Type: token
- * Path: ImagingStudy.status
- *

- */ - @SearchParamDefinition(name="status", path="ImagingStudy.status", description="The status of the study", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the study
- * Type: token
- * Path: ImagingStudy.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Who the study is about
- * Type: reference
- * Path: ImagingStudy.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ImagingStudy.subject", description="Who the study is about", type="reference", target={Device.class, Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who the study is about
- * Type: reference
- * Path: ImagingStudy.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ImagingStudy:subject").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImagingStudy:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ImagingStudy:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Immunization.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Immunization.java index 0d6ce641c..a665558ff 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Immunization.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Immunization.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Immunization extends DomainResource { case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; case NOTDONE: return "not-done"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Immunization extends DomainResource { case COMPLETED: return "http://hl7.org/fhir/event-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/event-status"; case NOTDONE: return "http://hl7.org/fhir/event-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Immunization extends DomainResource { case COMPLETED: return "The event has now concluded."; case ENTEREDINERROR: return "This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"stopped\" rather than \"entered-in-error\".)."; case NOTDONE: return "The event was terminated prior to any activity beyond preparation. I.e. The 'main' activity has not yet begun. The boundary between preparatory and the 'main' activity is context-specific."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Immunization extends DomainResource { case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered in Error"; case NOTDONE: return "Not Done"; + case NULL: return null; default: return "?"; } } @@ -174,7 +178,7 @@ public class Immunization extends DomainResource { /** * The practitioner or organization who performed the action. */ - @Child(name = "actor", type = {Practitioner.class, PractitionerRole.class, Organization.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Child(name = "actor", type = {Practitioner.class, PractitionerRole.class, Organization.class, Patient.class, RelatedPerson.class}, order=2, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Individual or organization who was performing", formalDefinition="The practitioner or organization who performed the action." ) protected Reference actor; @@ -246,14 +250,14 @@ public class Immunization extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("function", "CodeableConcept", "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", 0, 1, function)); - children.add(new Property("actor", "Reference(Practitioner|PractitionerRole|Organization)", "The practitioner or organization who performed the action.", 0, 1, actor)); + children.add(new Property("actor", "Reference(Practitioner|PractitionerRole|Organization|Patient|RelatedPerson)", "The practitioner or organization who performed the action.", 0, 1, actor)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 1380938712: /*function*/ return new Property("function", "CodeableConcept", "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", 0, 1, function); - case 92645877: /*actor*/ return new Property("actor", "Reference(Practitioner|PractitionerRole|Organization)", "The practitioner or organization who performed the action.", 0, 1, actor); + case 92645877: /*actor*/ return new Property("actor", "Reference(Practitioner|PractitionerRole|Organization|Patient|RelatedPerson)", "The practitioner or organization who performed the action.", 0, 1, actor); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -777,9 +781,9 @@ public class Immunization extends DomainResource { /** * Details of the reaction. */ - @Child(name = "detail", type = {Observation.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "manifestation", type = {CodeableReference.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Additional information on reaction", formalDefinition="Details of the reaction." ) - protected Reference detail; + protected CodeableReference manifestation; /** * Self-reported indicator. @@ -788,7 +792,7 @@ public class Immunization extends DomainResource { @Description(shortDefinition="Indicates self-reported reaction", formalDefinition="Self-reported indicator." ) protected BooleanType reported; - private static final long serialVersionUID = -655647546L; + private static final long serialVersionUID = 1181151012L; /** * Constructor @@ -847,26 +851,26 @@ public class Immunization extends DomainResource { } /** - * @return {@link #detail} (Details of the reaction.) + * @return {@link #manifestation} (Details of the reaction.) */ - public Reference getDetail() { - if (this.detail == null) + public CodeableReference getManifestation() { + if (this.manifestation == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ImmunizationReactionComponent.detail"); + throw new Error("Attempt to auto-create ImmunizationReactionComponent.manifestation"); else if (Configuration.doAutoCreate()) - this.detail = new Reference(); // cc - return this.detail; + this.manifestation = new CodeableReference(); // cc + return this.manifestation; } - public boolean hasDetail() { - return this.detail != null && !this.detail.isEmpty(); + public boolean hasManifestation() { + return this.manifestation != null && !this.manifestation.isEmpty(); } /** - * @param value {@link #detail} (Details of the reaction.) + * @param value {@link #manifestation} (Details of the reaction.) */ - public ImmunizationReactionComponent setDetail(Reference value) { - this.detail = value; + public ImmunizationReactionComponent setManifestation(CodeableReference value) { + this.manifestation = value; return this; } @@ -918,7 +922,7 @@ public class Immunization extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("date", "dateTime", "Date of reaction to the immunization.", 0, 1, date)); - children.add(new Property("detail", "Reference(Observation)", "Details of the reaction.", 0, 1, detail)); + children.add(new Property("manifestation", "CodeableReference(Observation)", "Details of the reaction.", 0, 1, manifestation)); children.add(new Property("reported", "boolean", "Self-reported indicator.", 0, 1, reported)); } @@ -926,7 +930,7 @@ public class Immunization extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 3076014: /*date*/ return new Property("date", "dateTime", "Date of reaction to the immunization.", 0, 1, date); - case -1335224239: /*detail*/ return new Property("detail", "Reference(Observation)", "Details of the reaction.", 0, 1, detail); + case 1115984422: /*manifestation*/ return new Property("manifestation", "CodeableReference(Observation)", "Details of the reaction.", 0, 1, manifestation); case -427039533: /*reported*/ return new Property("reported", "boolean", "Self-reported indicator.", 0, 1, reported); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -937,7 +941,7 @@ public class Immunization extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case 3076014: /*date*/ return this.date == null ? new Base[0] : new Base[] {this.date}; // DateTimeType - case -1335224239: /*detail*/ return this.detail == null ? new Base[0] : new Base[] {this.detail}; // Reference + case 1115984422: /*manifestation*/ return this.manifestation == null ? new Base[0] : new Base[] {this.manifestation}; // CodeableReference case -427039533: /*reported*/ return this.reported == null ? new Base[0] : new Base[] {this.reported}; // BooleanType default: return super.getProperty(hash, name, checkValid); } @@ -950,8 +954,8 @@ public class Immunization extends DomainResource { case 3076014: // date this.date = TypeConvertor.castToDateTime(value); // DateTimeType return value; - case -1335224239: // detail - this.detail = TypeConvertor.castToReference(value); // Reference + case 1115984422: // manifestation + this.manifestation = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case -427039533: // reported this.reported = TypeConvertor.castToBoolean(value); // BooleanType @@ -965,8 +969,8 @@ public class Immunization extends DomainResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("date")) { this.date = TypeConvertor.castToDateTime(value); // DateTimeType - } else if (name.equals("detail")) { - this.detail = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("manifestation")) { + this.manifestation = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("reported")) { this.reported = TypeConvertor.castToBoolean(value); // BooleanType } else @@ -978,7 +982,7 @@ public class Immunization extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 3076014: return getDateElement(); - case -1335224239: return getDetail(); + case 1115984422: return getManifestation(); case -427039533: return getReportedElement(); default: return super.makeProperty(hash, name); } @@ -989,7 +993,7 @@ public class Immunization extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case 3076014: /*date*/ return new String[] {"dateTime"}; - case -1335224239: /*detail*/ return new String[] {"Reference"}; + case 1115984422: /*manifestation*/ return new String[] {"CodeableReference"}; case -427039533: /*reported*/ return new String[] {"boolean"}; default: return super.getTypesForProperty(hash, name); } @@ -1001,9 +1005,9 @@ public class Immunization extends DomainResource { if (name.equals("date")) { throw new FHIRException("Cannot call addChild on a primitive type Immunization.reaction.date"); } - else if (name.equals("detail")) { - this.detail = new Reference(); - return this.detail; + else if (name.equals("manifestation")) { + this.manifestation = new CodeableReference(); + return this.manifestation; } else if (name.equals("reported")) { throw new FHIRException("Cannot call addChild on a primitive type Immunization.reaction.reported"); @@ -1021,7 +1025,7 @@ public class Immunization extends DomainResource { public void copyValues(ImmunizationReactionComponent dst) { super.copyValues(dst); dst.date = date == null ? null : date.copy(); - dst.detail = detail == null ? null : detail.copy(); + dst.manifestation = manifestation == null ? null : manifestation.copy(); dst.reported = reported == null ? null : reported.copy(); } @@ -1032,7 +1036,7 @@ public class Immunization extends DomainResource { if (!(other_ instanceof ImmunizationReactionComponent)) return false; ImmunizationReactionComponent o = (ImmunizationReactionComponent) other_; - return compareDeep(date, o.date, true) && compareDeep(detail, o.detail, true) && compareDeep(reported, o.reported, true) + return compareDeep(date, o.date, true) && compareDeep(manifestation, o.manifestation, true) && compareDeep(reported, o.reported, true) ; } @@ -1047,7 +1051,8 @@ public class Immunization extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(date, detail, reported); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(date, manifestation, reported + ); } public String fhirType() { @@ -1533,7 +1538,7 @@ public class Immunization extends DomainResource { /** * A plan, order or recommendation fulfilled in whole or in part by this immunization. */ - @Child(name = "basedOn", type = {CarePlan.class, MedicationRequest.class, ImmunizationRecommendation.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "basedOn", type = {CarePlan.class, MedicationRequest.class, ServiceRequest.class, ImmunizationRecommendation.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Authority that the immunization event is based on", formalDefinition="A plan, order or recommendation fulfilled in whole or in part by this immunization." ) protected List basedOn; @@ -1604,38 +1609,31 @@ public class Immunization extends DomainResource { protected DataType occurrence; /** - * The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event. + * Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value "true" means this is a primary record of the immunization. */ - @Child(name = "recorded", type = {DateTimeType.class}, order=13, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="When the immunization was first captured in the subject's record", formalDefinition="The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event." ) - protected DateTimeType recorded; - - /** - * Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. - */ - @Child(name = "primarySource", type = {BooleanType.class}, order=14, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Indicates context the data was recorded in", formalDefinition="Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record." ) + @Child(name = "primarySource", type = {BooleanType.class}, order=13, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Indicates context the data was recorded in", formalDefinition="Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value \"true\" means this is a primary record of the immunization." ) protected BooleanType primarySource; /** * Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine. */ - @Child(name = "informationSource", type = {CodeableConcept.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=15, min=0, max=1, modifier=false, summary=false) + @Child(name = "informationSource", type = {CodeableReference.class}, order=14, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Indicates the source of a reported record", formalDefinition="Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-origin") - protected DataType informationSource; + protected CodeableReference informationSource; /** * The service delivery location where the vaccine administration occurred. */ - @Child(name = "location", type = {Location.class}, order=16, min=0, max=1, modifier=false, summary=false) + @Child(name = "location", type = {Location.class}, order=15, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Where immunization occurred", formalDefinition="The service delivery location where the vaccine administration occurred." ) protected Reference location; /** * Body site where vaccine was administered. */ - @Child(name = "site", type = {CodeableConcept.class}, order=17, min=0, max=1, modifier=false, summary=false) + @Child(name = "site", type = {CodeableConcept.class}, order=16, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Body site vaccine was administered", formalDefinition="Body site where vaccine was administered." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-site") protected CodeableConcept site; @@ -1643,7 +1641,7 @@ public class Immunization extends DomainResource { /** * The path by which the vaccine product is taken into the body. */ - @Child(name = "route", type = {CodeableConcept.class}, order=18, min=0, max=1, modifier=false, summary=false) + @Child(name = "route", type = {CodeableConcept.class}, order=17, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="How vaccine entered body", formalDefinition="The path by which the vaccine product is taken into the body." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-route") protected CodeableConcept route; @@ -1651,28 +1649,28 @@ public class Immunization extends DomainResource { /** * The quantity of vaccine product that was administered. */ - @Child(name = "doseQuantity", type = {Quantity.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Child(name = "doseQuantity", type = {Quantity.class}, order=18, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Amount of vaccine administered", formalDefinition="The quantity of vaccine product that was administered." ) protected Quantity doseQuantity; /** * Indicates who performed the immunization event. */ - @Child(name = "performer", type = {}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "performer", type = {}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Who performed event", formalDefinition="Indicates who performed the immunization event." ) protected List performer; /** * Extra information about the immunization that is not conveyed by the other attributes. */ - @Child(name = "note", type = {Annotation.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "note", type = {Annotation.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Additional immunization notes", formalDefinition="Extra information about the immunization that is not conveyed by the other attributes." ) protected List note; /** * Describes why the immunization occurred in coded or textual form, or Indicates another resource (Condition, Observation or DiagnosticReport) whose existence justifies this immunization. */ - @Child(name = "reason", type = {CodeableReference.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reason", type = {CodeableReference.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Why immunization occurred", formalDefinition="Describes why the immunization occurred in coded or textual form, or Indicates another resource (Condition, Observation or DiagnosticReport) whose existence justifies this immunization." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-reason") protected List reason; @@ -1680,14 +1678,14 @@ public class Immunization extends DomainResource { /** * Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent. */ - @Child(name = "isSubpotent", type = {BooleanType.class}, order=23, min=0, max=1, modifier=true, summary=true) + @Child(name = "isSubpotent", type = {BooleanType.class}, order=22, min=0, max=1, modifier=true, summary=true) @Description(shortDefinition="Dose potency", formalDefinition="Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent." ) protected BooleanType isSubpotent; /** * Reason why a dose is considered to be subpotent. */ - @Child(name = "subpotentReason", type = {CodeableConcept.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "subpotentReason", type = {CodeableConcept.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Reason for being subpotent", formalDefinition="Reason why a dose is considered to be subpotent." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-subpotent-reason") protected List subpotentReason; @@ -1695,14 +1693,14 @@ public class Immunization extends DomainResource { /** * Educational material presented to the patient (or guardian) at the time of vaccine administration. */ - @Child(name = "education", type = {}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "education", type = {}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Educational material presented to patient", formalDefinition="Educational material presented to the patient (or guardian) at the time of vaccine administration." ) protected List education; /** * Indicates a patient's eligibility for a funding program. */ - @Child(name = "programEligibility", type = {CodeableConcept.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "programEligibility", type = {CodeableConcept.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Patient eligibility for a vaccination program", formalDefinition="Indicates a patient's eligibility for a funding program." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-program-eligibility") protected List programEligibility; @@ -1710,7 +1708,7 @@ public class Immunization extends DomainResource { /** * Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered). */ - @Child(name = "fundingSource", type = {CodeableConcept.class}, order=27, min=0, max=1, modifier=false, summary=false) + @Child(name = "fundingSource", type = {CodeableConcept.class}, order=26, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Funding source for the vaccine", formalDefinition="Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-funding-source") protected CodeableConcept fundingSource; @@ -1718,18 +1716,18 @@ public class Immunization extends DomainResource { /** * Categorical data indicating that an adverse event is associated in time to an immunization. */ - @Child(name = "reaction", type = {}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reaction", type = {}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Details of a reaction that follows immunization", formalDefinition="Categorical data indicating that an adverse event is associated in time to an immunization." ) protected List reaction; /** * The protocol (set of recommendations) being followed by the provider who administered the dose. */ - @Child(name = "protocolApplied", type = {}, order=29, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "protocolApplied", type = {}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Protocol followed by the provider", formalDefinition="The protocol (set of recommendations) being followed by the provider who administered the dose." ) protected List protocolApplied; - private static final long serialVersionUID = 35822108L; + private static final long serialVersionUID = 1990638195L; /** * Constructor @@ -2292,56 +2290,7 @@ public class Immunization extends DomainResource { } /** - * @return {@link #recorded} (The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value - */ - public DateTimeType getRecordedElement() { - if (this.recorded == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Immunization.recorded"); - else if (Configuration.doAutoCreate()) - this.recorded = new DateTimeType(); // bb - return this.recorded; - } - - public boolean hasRecordedElement() { - return this.recorded != null && !this.recorded.isEmpty(); - } - - public boolean hasRecorded() { - return this.recorded != null && !this.recorded.isEmpty(); - } - - /** - * @param value {@link #recorded} (The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value - */ - public Immunization setRecordedElement(DateTimeType value) { - this.recorded = value; - return this; - } - - /** - * @return The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event. - */ - public Date getRecorded() { - return this.recorded == null ? null : this.recorded.getValue(); - } - - /** - * @param value The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event. - */ - public Immunization setRecorded(Date value) { - if (value == null) - this.recorded = null; - else { - if (this.recorded == null) - this.recorded = new DateTimeType(); - this.recorded.setValue(value); - } - return this; - } - - /** - * @return {@link #primarySource} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.). This is the underlying object with id, value and extensions. The accessor "getPrimarySource" gives direct access to the value + * @return {@link #primarySource} (Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value "true" means this is a primary record of the immunization.). This is the underlying object with id, value and extensions. The accessor "getPrimarySource" gives direct access to the value */ public BooleanType getPrimarySourceElement() { if (this.primarySource == null) @@ -2361,7 +2310,7 @@ public class Immunization extends DomainResource { } /** - * @param value {@link #primarySource} (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.). This is the underlying object with id, value and extensions. The accessor "getPrimarySource" gives direct access to the value + * @param value {@link #primarySource} (Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value "true" means this is a primary record of the immunization.). This is the underlying object with id, value and extensions. The accessor "getPrimarySource" gives direct access to the value */ public Immunization setPrimarySourceElement(BooleanType value) { this.primarySource = value; @@ -2369,14 +2318,14 @@ public class Immunization extends DomainResource { } /** - * @return Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. + * @return Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value "true" means this is a primary record of the immunization. */ public boolean getPrimarySource() { return this.primarySource == null || this.primarySource.isEmpty() ? false : this.primarySource.getValue(); } /** - * @param value Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. + * @param value Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value "true" means this is a primary record of the immunization. */ public Immunization setPrimarySource(boolean value) { if (this.primarySource == null) @@ -2388,40 +2337,15 @@ public class Immunization extends DomainResource { /** * @return {@link #informationSource} (Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.) */ - public DataType getInformationSource() { + public CodeableReference getInformationSource() { + if (this.informationSource == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Immunization.informationSource"); + else if (Configuration.doAutoCreate()) + this.informationSource = new CodeableReference(); // cc return this.informationSource; } - /** - * @return {@link #informationSource} (Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.) - */ - public CodeableConcept getInformationSourceCodeableConcept() throws FHIRException { - if (this.informationSource == null) - this.informationSource = new CodeableConcept(); - if (!(this.informationSource instanceof CodeableConcept)) - throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.informationSource.getClass().getName()+" was encountered"); - return (CodeableConcept) this.informationSource; - } - - public boolean hasInformationSourceCodeableConcept() { - return this != null && this.informationSource instanceof CodeableConcept; - } - - /** - * @return {@link #informationSource} (Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.) - */ - public Reference getInformationSourceReference() throws FHIRException { - if (this.informationSource == null) - this.informationSource = new Reference(); - if (!(this.informationSource instanceof Reference)) - throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.informationSource.getClass().getName()+" was encountered"); - return (Reference) this.informationSource; - } - - public boolean hasInformationSourceReference() { - return this != null && this.informationSource instanceof Reference; - } - public boolean hasInformationSource() { return this.informationSource != null && !this.informationSource.isEmpty(); } @@ -2429,9 +2353,7 @@ public class Immunization extends DomainResource { /** * @param value {@link #informationSource} (Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.) */ - public Immunization setInformationSource(DataType value) { - if (value != null && !(value instanceof CodeableConcept || value instanceof Reference)) - throw new Error("Not the right type for Immunization.informationSource[x]: "+value.fhirType()); + public Immunization setInformationSource(CodeableReference value) { this.informationSource = value; return this; } @@ -3030,7 +2952,7 @@ public class Immunization extends DomainResource { children.add(new Property("identifier", "Identifier", "A unique identifier assigned to this immunization record.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("instantiatesCanonical", "canonical(ActivityDefinition|ArtifactAssessment|EventDefinition|EvidenceVariable|Measure|OperationDefinition|PlanDefinition|Questionnaire|SubscriptionTopic)", "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Immunization.", 0, java.lang.Integer.MAX_VALUE, instantiatesCanonical)); children.add(new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Immunization.", 0, java.lang.Integer.MAX_VALUE, instantiatesUri)); - children.add(new Property("basedOn", "Reference(CarePlan|MedicationRequest|ImmunizationRecommendation)", "A plan, order or recommendation fulfilled in whole or in part by this immunization.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("basedOn", "Reference(CarePlan|MedicationRequest|ServiceRequest|ImmunizationRecommendation)", "A plan, order or recommendation fulfilled in whole or in part by this immunization.", 0, java.lang.Integer.MAX_VALUE, basedOn)); children.add(new Property("status", "code", "Indicates the current status of the immunization event.", 0, 1, status)); children.add(new Property("statusReason", "CodeableConcept", "Indicates the reason the immunization event was not performed.", 0, 1, statusReason)); children.add(new Property("vaccineCode", "CodeableConcept", "Vaccine that was administered or was to be administered.", 0, 1, vaccineCode)); @@ -3040,9 +2962,8 @@ public class Immunization extends DomainResource { children.add(new Property("patient", "Reference(Patient)", "The patient who either received or did not receive the immunization.", 0, 1, patient)); children.add(new Property("encounter", "Reference(Encounter)", "The visit or admission or other contact between patient and health care provider the immunization was performed as part of.", 0, 1, encounter)); children.add(new Property("occurrence[x]", "dateTime|string", "Date vaccine administered or was to be administered.", 0, 1, occurrence)); - children.add(new Property("recorded", "dateTime", "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.", 0, 1, recorded)); - children.add(new Property("primarySource", "boolean", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.", 0, 1, primarySource)); - children.add(new Property("informationSource[x]", "CodeableConcept|Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource)); + children.add(new Property("primarySource", "boolean", "Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value \"true\" means this is a primary record of the immunization.", 0, 1, primarySource)); + children.add(new Property("informationSource", "CodeableReference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource)); children.add(new Property("location", "Reference(Location)", "The service delivery location where the vaccine administration occurred.", 0, 1, location)); children.add(new Property("site", "CodeableConcept", "Body site where vaccine was administered.", 0, 1, site)); children.add(new Property("route", "CodeableConcept", "The path by which the vaccine product is taken into the body.", 0, 1, route)); @@ -3065,7 +2986,7 @@ public class Immunization extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A unique identifier assigned to this immunization record.", 0, java.lang.Integer.MAX_VALUE, identifier); case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(ActivityDefinition|ArtifactAssessment|EventDefinition|EvidenceVariable|Measure|OperationDefinition|PlanDefinition|Questionnaire|SubscriptionTopic)", "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Immunization.", 0, java.lang.Integer.MAX_VALUE, instantiatesCanonical); case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Immunization.", 0, java.lang.Integer.MAX_VALUE, instantiatesUri); - case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|MedicationRequest|ImmunizationRecommendation)", "A plan, order or recommendation fulfilled in whole or in part by this immunization.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|MedicationRequest|ServiceRequest|ImmunizationRecommendation)", "A plan, order or recommendation fulfilled in whole or in part by this immunization.", 0, java.lang.Integer.MAX_VALUE, basedOn); case -892481550: /*status*/ return new Property("status", "code", "Indicates the current status of the immunization event.", 0, 1, status); case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableConcept", "Indicates the reason the immunization event was not performed.", 0, 1, statusReason); case 664556354: /*vaccineCode*/ return new Property("vaccineCode", "CodeableConcept", "Vaccine that was administered or was to be administered.", 0, 1, vaccineCode); @@ -3078,12 +2999,8 @@ public class Immunization extends DomainResource { case 1687874001: /*occurrence*/ return new Property("occurrence[x]", "dateTime|string", "Date vaccine administered or was to be administered.", 0, 1, occurrence); case -298443636: /*occurrenceDateTime*/ return new Property("occurrence[x]", "dateTime", "Date vaccine administered or was to be administered.", 0, 1, occurrence); case 1496896834: /*occurrenceString*/ return new Property("occurrence[x]", "string", "Date vaccine administered or was to be administered.", 0, 1, occurrence); - case -799233872: /*recorded*/ return new Property("recorded", "dateTime", "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.", 0, 1, recorded); - case -528721731: /*primarySource*/ return new Property("primarySource", "boolean", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.", 0, 1, primarySource); - case -890044743: /*informationSource[x]*/ return new Property("informationSource[x]", "CodeableConcept|Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource); - case -2123220889: /*informationSource*/ return new Property("informationSource[x]", "CodeableConcept|Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource); - case -1849314246: /*informationSourceCodeableConcept*/ return new Property("informationSource[x]", "CodeableConcept", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource); - case -1721324892: /*informationSourceReference*/ return new Property("informationSource[x]", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource); + case -528721731: /*primarySource*/ return new Property("primarySource", "boolean", "Indicates whether this record was captured as an original primary source-of-truth record rather than a secondary 'reported' record. A value \"true\" means this is a primary record of the immunization.", 0, 1, primarySource); + case -2123220889: /*informationSource*/ return new Property("informationSource", "CodeableReference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "Typically the source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", 0, 1, informationSource); case 1901043637: /*location*/ return new Property("location", "Reference(Location)", "The service delivery location where the vaccine administration occurred.", 0, 1, location); case 3530567: /*site*/ return new Property("site", "CodeableConcept", "Body site where vaccine was administered.", 0, 1, site); case 108704329: /*route*/ return new Property("route", "CodeableConcept", "The path by which the vaccine product is taken into the body.", 0, 1, route); @@ -3119,9 +3036,8 @@ public class Immunization extends DomainResource { case -791418107: /*patient*/ return this.patient == null ? new Base[0] : new Base[] {this.patient}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 1687874001: /*occurrence*/ return this.occurrence == null ? new Base[0] : new Base[] {this.occurrence}; // DataType - case -799233872: /*recorded*/ return this.recorded == null ? new Base[0] : new Base[] {this.recorded}; // DateTimeType case -528721731: /*primarySource*/ return this.primarySource == null ? new Base[0] : new Base[] {this.primarySource}; // BooleanType - case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : new Base[] {this.informationSource}; // DataType + case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : new Base[] {this.informationSource}; // CodeableReference case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // Reference case 3530567: /*site*/ return this.site == null ? new Base[0] : new Base[] {this.site}; // CodeableConcept case 108704329: /*route*/ return this.route == null ? new Base[0] : new Base[] {this.route}; // CodeableConcept @@ -3184,14 +3100,11 @@ public class Immunization extends DomainResource { case 1687874001: // occurrence this.occurrence = TypeConvertor.castToType(value); // DataType return value; - case -799233872: // recorded - this.recorded = TypeConvertor.castToDateTime(value); // DateTimeType - return value; case -528721731: // primarySource this.primarySource = TypeConvertor.castToBoolean(value); // BooleanType return value; case -2123220889: // informationSource - this.informationSource = TypeConvertor.castToType(value); // DataType + this.informationSource = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case 1901043637: // location this.location = TypeConvertor.castToReference(value); // Reference @@ -3269,12 +3182,10 @@ public class Immunization extends DomainResource { this.encounter = TypeConvertor.castToReference(value); // Reference } else if (name.equals("occurrence[x]")) { this.occurrence = TypeConvertor.castToType(value); // DataType - } else if (name.equals("recorded")) { - this.recorded = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("primarySource")) { this.primarySource = TypeConvertor.castToBoolean(value); // BooleanType - } else if (name.equals("informationSource[x]")) { - this.informationSource = TypeConvertor.castToType(value); // DataType + } else if (name.equals("informationSource")) { + this.informationSource = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("location")) { this.location = TypeConvertor.castToReference(value); // Reference } else if (name.equals("site")) { @@ -3325,9 +3236,7 @@ public class Immunization extends DomainResource { case 1524132147: return getEncounter(); case -2022646513: return getOccurrence(); case 1687874001: return getOccurrence(); - case -799233872: return getRecordedElement(); case -528721731: return getPrimarySourceElement(); - case -890044743: return getInformationSource(); case -2123220889: return getInformationSource(); case 1901043637: return getLocation(); case 3530567: return getSite(); @@ -3364,9 +3273,8 @@ public class Immunization extends DomainResource { case -791418107: /*patient*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 1687874001: /*occurrence*/ return new String[] {"dateTime", "string"}; - case -799233872: /*recorded*/ return new String[] {"dateTime"}; case -528721731: /*primarySource*/ return new String[] {"boolean"}; - case -2123220889: /*informationSource*/ return new String[] {"CodeableConcept", "Reference"}; + case -2123220889: /*informationSource*/ return new String[] {"CodeableReference"}; case 1901043637: /*location*/ return new String[] {"Reference"}; case 3530567: /*site*/ return new String[] {"CodeableConcept"}; case 108704329: /*route*/ return new String[] {"CodeableConcept"}; @@ -3437,18 +3345,11 @@ public class Immunization extends DomainResource { this.occurrence = new StringType(); return this.occurrence; } - else if (name.equals("recorded")) { - throw new FHIRException("Cannot call addChild on a primitive type Immunization.recorded"); - } else if (name.equals("primarySource")) { throw new FHIRException("Cannot call addChild on a primitive type Immunization.primarySource"); } - else if (name.equals("informationSourceCodeableConcept")) { - this.informationSource = new CodeableConcept(); - return this.informationSource; - } - else if (name.equals("informationSourceReference")) { - this.informationSource = new Reference(); + else if (name.equals("informationSource")) { + this.informationSource = new CodeableReference(); return this.informationSource; } else if (name.equals("location")) { @@ -3544,7 +3445,6 @@ public class Immunization extends DomainResource { dst.patient = patient == null ? null : patient.copy(); dst.encounter = encounter == null ? null : encounter.copy(); dst.occurrence = occurrence == null ? null : occurrence.copy(); - dst.recorded = recorded == null ? null : recorded.copy(); dst.primarySource = primarySource == null ? null : primarySource.copy(); dst.informationSource = informationSource == null ? null : informationSource.copy(); dst.location = location == null ? null : location.copy(); @@ -3611,15 +3511,14 @@ public class Immunization extends DomainResource { && compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(vaccineCode, o.vaccineCode, true) && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(lotNumber, o.lotNumber, true) && compareDeep(expirationDate, o.expirationDate, true) && compareDeep(patient, o.patient, true) - && compareDeep(encounter, o.encounter, true) && compareDeep(occurrence, o.occurrence, true) && compareDeep(recorded, o.recorded, true) - && compareDeep(primarySource, o.primarySource, true) && compareDeep(informationSource, o.informationSource, true) - && compareDeep(location, o.location, true) && compareDeep(site, o.site, true) && compareDeep(route, o.route, true) - && compareDeep(doseQuantity, o.doseQuantity, true) && compareDeep(performer, o.performer, true) - && compareDeep(note, o.note, true) && compareDeep(reason, o.reason, true) && compareDeep(isSubpotent, o.isSubpotent, true) - && compareDeep(subpotentReason, o.subpotentReason, true) && compareDeep(education, o.education, true) - && compareDeep(programEligibility, o.programEligibility, true) && compareDeep(fundingSource, o.fundingSource, true) - && compareDeep(reaction, o.reaction, true) && compareDeep(protocolApplied, o.protocolApplied, true) - ; + && compareDeep(encounter, o.encounter, true) && compareDeep(occurrence, o.occurrence, true) && compareDeep(primarySource, o.primarySource, true) + && compareDeep(informationSource, o.informationSource, true) && compareDeep(location, o.location, true) + && compareDeep(site, o.site, true) && compareDeep(route, o.route, true) && compareDeep(doseQuantity, o.doseQuantity, true) + && compareDeep(performer, o.performer, true) && compareDeep(note, o.note, true) && compareDeep(reason, o.reason, true) + && compareDeep(isSubpotent, o.isSubpotent, true) && compareDeep(subpotentReason, o.subpotentReason, true) + && compareDeep(education, o.education, true) && compareDeep(programEligibility, o.programEligibility, true) + && compareDeep(fundingSource, o.fundingSource, true) && compareDeep(reaction, o.reaction, true) + && compareDeep(protocolApplied, o.protocolApplied, true); } @Override @@ -3631,14 +3530,14 @@ public class Immunization extends DomainResource { Immunization o = (Immunization) other_; return compareValues(instantiatesCanonical, o.instantiatesCanonical, true) && compareValues(instantiatesUri, o.instantiatesUri, true) && compareValues(status, o.status, true) && compareValues(lotNumber, o.lotNumber, true) && compareValues(expirationDate, o.expirationDate, true) - && compareValues(recorded, o.recorded, true) && compareValues(primarySource, o.primarySource, true) - && compareValues(isSubpotent, o.isSubpotent, true); + && compareValues(primarySource, o.primarySource, true) && compareValues(isSubpotent, o.isSubpotent, true) + ; } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiatesCanonical , instantiatesUri, basedOn, status, statusReason, vaccineCode, manufacturer, lotNumber - , expirationDate, patient, encounter, occurrence, recorded, primarySource, informationSource + , expirationDate, patient, encounter, occurrence, primarySource, informationSource , location, site, route, doseQuantity, performer, note, reason, isSubpotent , subpotentReason, education, programEligibility, fundingSource, reaction, protocolApplied ); @@ -3649,532 +3548,6 @@ public class Immunization extends DomainResource { return ResourceType.Immunization; } - /** - * Search parameter: location - *

- * Description: The service delivery location or facility in which the vaccine was / was to be administered
- * Type: reference
- * Path: Immunization.location
- *

- */ - @SearchParamDefinition(name="location", path="Immunization.location", description="The service delivery location or facility in which the vaccine was / was to be administered", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: The service delivery location or facility in which the vaccine was / was to be administered
- * Type: reference
- * Path: Immunization.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Immunization:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("Immunization:location").toLocked(); - - /** - * Search parameter: lot-number - *

- * Description: Vaccine Lot Number
- * Type: string
- * Path: Immunization.lotNumber
- *

- */ - @SearchParamDefinition(name="lot-number", path="Immunization.lotNumber", description="Vaccine Lot Number", type="string" ) - public static final String SP_LOT_NUMBER = "lot-number"; - /** - * Fluent Client search parameter constant for lot-number - *

- * Description: Vaccine Lot Number
- * Type: string
- * Path: Immunization.lotNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam LOT_NUMBER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_LOT_NUMBER); - - /** - * Search parameter: manufacturer - *

- * Description: Vaccine Manufacturer
- * Type: reference
- * Path: Immunization.manufacturer
- *

- */ - @SearchParamDefinition(name="manufacturer", path="Immunization.manufacturer", description="Vaccine Manufacturer", type="reference", target={Organization.class } ) - public static final String SP_MANUFACTURER = "manufacturer"; - /** - * Fluent Client search parameter constant for manufacturer - *

- * Description: Vaccine Manufacturer
- * Type: reference
- * Path: Immunization.manufacturer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANUFACTURER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANUFACTURER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Immunization:manufacturer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANUFACTURER = new ca.uhn.fhir.model.api.Include("Immunization:manufacturer").toLocked(); - - /** - * Search parameter: performer - *

- * Description: The practitioner or organization who played a role in the vaccination
- * Type: reference
- * Path: Immunization.performer.actor
- *

- */ - @SearchParamDefinition(name="performer", path="Immunization.performer.actor", description="The practitioner or organization who played a role in the vaccination", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: The practitioner or organization who played a role in the vaccination
- * Type: reference
- * Path: Immunization.performer.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Immunization:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("Immunization:performer").toLocked(); - - /** - * Search parameter: reaction-date - *

- * Description: When reaction started
- * Type: date
- * Path: Immunization.reaction.date
- *

- */ - @SearchParamDefinition(name="reaction-date", path="Immunization.reaction.date", description="When reaction started", type="date" ) - public static final String SP_REACTION_DATE = "reaction-date"; - /** - * Fluent Client search parameter constant for reaction-date - *

- * Description: When reaction started
- * Type: date
- * Path: Immunization.reaction.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam REACTION_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_REACTION_DATE); - - /** - * Search parameter: reaction - *

- * Description: Additional information on reaction
- * Type: reference
- * Path: Immunization.reaction.detail
- *

- */ - @SearchParamDefinition(name="reaction", path="Immunization.reaction.detail", description="Additional information on reaction", type="reference", target={Observation.class } ) - public static final String SP_REACTION = "reaction"; - /** - * Fluent Client search parameter constant for reaction - *

- * Description: Additional information on reaction
- * Type: reference
- * Path: Immunization.reaction.detail
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REACTION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REACTION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Immunization:reaction". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REACTION = new ca.uhn.fhir.model.api.Include("Immunization:reaction").toLocked(); - - /** - * Search parameter: reason-code - *

- * Description: Reason why the vaccine was administered
- * Type: token
- * Path: Immunization.reason.concept
- *

- */ - @SearchParamDefinition(name="reason-code", path="Immunization.reason.concept", description="Reason why the vaccine was administered", type="token" ) - public static final String SP_REASON_CODE = "reason-code"; - /** - * Fluent Client search parameter constant for reason-code - *

- * Description: Reason why the vaccine was administered
- * Type: token
- * Path: Immunization.reason.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON_CODE); - - /** - * Search parameter: reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Immunization.reason.reference
- *

- */ - @SearchParamDefinition(name="reason-reference", path="Immunization.reason.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_REASON_REFERENCE = "reason-reference"; - /** - * Fluent Client search parameter constant for reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Immunization.reason.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REASON_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Immunization:reason-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_REFERENCE = new ca.uhn.fhir.model.api.Include("Immunization:reason-reference").toLocked(); - - /** - * Search parameter: series - *

- * Description: The series being followed by the provider
- * Type: string
- * Path: Immunization.protocolApplied.series
- *

- */ - @SearchParamDefinition(name="series", path="Immunization.protocolApplied.series", description="The series being followed by the provider", type="string" ) - public static final String SP_SERIES = "series"; - /** - * Fluent Client search parameter constant for series - *

- * Description: The series being followed by the provider
- * Type: string
- * Path: Immunization.protocolApplied.series
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam SERIES = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_SERIES); - - /** - * Search parameter: status-reason - *

- * Description: Reason why the vaccine was not administered
- * Type: token
- * Path: Immunization.statusReason
- *

- */ - @SearchParamDefinition(name="status-reason", path="Immunization.statusReason", description="Reason why the vaccine was not administered", type="token" ) - public static final String SP_STATUS_REASON = "status-reason"; - /** - * Fluent Client search parameter constant for status-reason - *

- * Description: Reason why the vaccine was not administered
- * Type: token
- * Path: Immunization.statusReason
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS_REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS_REASON); - - /** - * Search parameter: status - *

- * Description: Immunization event status
- * Type: token
- * Path: Immunization.status
- *

- */ - @SearchParamDefinition(name="status", path="Immunization.status", description="Immunization event status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Immunization event status
- * Type: token
- * Path: Immunization.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: target-disease - *

- * Description: The target disease the dose is being administered against
- * Type: token
- * Path: Immunization.protocolApplied.targetDisease
- *

- */ - @SearchParamDefinition(name="target-disease", path="Immunization.protocolApplied.targetDisease", description="The target disease the dose is being administered against", type="token" ) - public static final String SP_TARGET_DISEASE = "target-disease"; - /** - * Fluent Client search parameter constant for target-disease - *

- * Description: The target disease the dose is being administered against
- * Type: token
- * Path: Immunization.protocolApplied.targetDisease
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_DISEASE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_DISEASE); - - /** - * Search parameter: vaccine-code - *

- * Description: Vaccine Product Administered
- * Type: token
- * Path: Immunization.vaccineCode
- *

- */ - @SearchParamDefinition(name="vaccine-code", path="Immunization.vaccineCode", description="Vaccine Product Administered", type="token" ) - public static final String SP_VACCINE_CODE = "vaccine-code"; - /** - * Fluent Client search parameter constant for vaccine-code - *

- * Description: Vaccine Product Administered
- * Type: token
- * Path: Immunization.vaccineCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VACCINE_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VACCINE_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Immunization:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Immunization:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationEvaluation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationEvaluation.java index 8f50c939e..d706717c0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationEvaluation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationEvaluation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class ImmunizationEvaluation extends DomainResource { switch (this) { case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class ImmunizationEvaluation extends DomainResource { switch (this) { case COMPLETED: return "http://hl7.org/fhir/CodeSystem/medication-admin-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/medication-admin-status"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class ImmunizationEvaluation extends DomainResource { switch (this) { case COMPLETED: return "All actions that are implied by the administration have occurred."; case ENTEREDINERROR: return "The administration was entered in error and therefore nullified."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class ImmunizationEvaluation extends DomainResource { switch (this) { case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -185,8 +189,8 @@ public class ImmunizationEvaluation extends DomainResource { * The vaccine preventable disease the dose is being evaluated against. */ @Child(name = "targetDisease", type = {CodeableConcept.class}, order=5, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Evaluation target disease", formalDefinition="The vaccine preventable disease the dose is being evaluated against." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-evaluation-target-disease") + @Description(shortDefinition="The vaccine preventable disease schedule being evaluated", formalDefinition="The vaccine preventable disease the dose is being evaluated against." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-target-disease") protected CodeableConcept targetDisease; /** @@ -208,7 +212,7 @@ public class ImmunizationEvaluation extends DomainResource { * Provides an explanation as to why the vaccine administration event is valid or not relative to the published recommendations. */ @Child(name = "doseStatusReason", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Reason for the dose status", formalDefinition="Provides an explanation as to why the vaccine administration event is valid or not relative to the published recommendations." ) + @Description(shortDefinition="Reason why the doese is considered valid, invalid or some other status", formalDefinition="Provides an explanation as to why the vaccine administration event is valid or not relative to the published recommendations." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status-reason") protected List doseStatusReason; @@ -1088,158 +1092,6 @@ public class ImmunizationEvaluation extends DomainResource { return ResourceType.ImmunizationEvaluation; } - /** - * Search parameter: date - *

- * Description: Date the evaluation was generated
- * Type: date
- * Path: ImmunizationEvaluation.date
- *

- */ - @SearchParamDefinition(name="date", path="ImmunizationEvaluation.date", description="Date the evaluation was generated", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Date the evaluation was generated
- * Type: date
- * Path: ImmunizationEvaluation.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: dose-status - *

- * Description: The status of the dose relative to published recommendations
- * Type: token
- * Path: ImmunizationEvaluation.doseStatus
- *

- */ - @SearchParamDefinition(name="dose-status", path="ImmunizationEvaluation.doseStatus", description="The status of the dose relative to published recommendations", type="token" ) - public static final String SP_DOSE_STATUS = "dose-status"; - /** - * Fluent Client search parameter constant for dose-status - *

- * Description: The status of the dose relative to published recommendations
- * Type: token
- * Path: ImmunizationEvaluation.doseStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOSE_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOSE_STATUS); - - /** - * Search parameter: identifier - *

- * Description: ID of the evaluation
- * Type: token
- * Path: ImmunizationEvaluation.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ImmunizationEvaluation.identifier", description="ID of the evaluation", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: ID of the evaluation
- * Type: token
- * Path: ImmunizationEvaluation.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: immunization-event - *

- * Description: The vaccine administration event being evaluated
- * Type: reference
- * Path: ImmunizationEvaluation.immunizationEvent
- *

- */ - @SearchParamDefinition(name="immunization-event", path="ImmunizationEvaluation.immunizationEvent", description="The vaccine administration event being evaluated", type="reference", target={Immunization.class } ) - public static final String SP_IMMUNIZATION_EVENT = "immunization-event"; - /** - * Fluent Client search parameter constant for immunization-event - *

- * Description: The vaccine administration event being evaluated
- * Type: reference
- * Path: ImmunizationEvaluation.immunizationEvent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam IMMUNIZATION_EVENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_IMMUNIZATION_EVENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImmunizationEvaluation:immunization-event". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_IMMUNIZATION_EVENT = new ca.uhn.fhir.model.api.Include("ImmunizationEvaluation:immunization-event").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The patient being evaluated
- * Type: reference
- * Path: ImmunizationEvaluation.patient
- *

- */ - @SearchParamDefinition(name="patient", path="ImmunizationEvaluation.patient", description="The patient being evaluated", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The patient being evaluated
- * Type: reference
- * Path: ImmunizationEvaluation.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImmunizationEvaluation:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ImmunizationEvaluation:patient").toLocked(); - - /** - * Search parameter: status - *

- * Description: Immunization evaluation status
- * Type: token
- * Path: ImmunizationEvaluation.status
- *

- */ - @SearchParamDefinition(name="status", path="ImmunizationEvaluation.status", description="Immunization evaluation status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Immunization evaluation status
- * Type: token
- * Path: ImmunizationEvaluation.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: target-disease - *

- * Description: The vaccine preventable disease being evaluated against
- * Type: token
- * Path: ImmunizationEvaluation.targetDisease
- *

- */ - @SearchParamDefinition(name="target-disease", path="ImmunizationEvaluation.targetDisease", description="The vaccine preventable disease being evaluated against", type="token" ) - public static final String SP_TARGET_DISEASE = "target-disease"; - /** - * Fluent Client search parameter constant for target-disease - *

- * Description: The vaccine preventable disease being evaluated against
- * Type: token
- * Path: ImmunizationEvaluation.targetDisease
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_DISEASE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_DISEASE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationRecommendation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationRecommendation.java index e0f230f5b..26d196b99 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationRecommendation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImmunizationRecommendation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -68,7 +68,7 @@ public class ImmunizationRecommendation extends DomainResource { */ @Child(name = "targetDisease", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Disease to be immunized against", formalDefinition="The targeted disease for the recommendation." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-recommendation-target-disease") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/immunization-target-disease") protected List targetDisease; /** @@ -1902,184 +1902,6 @@ public class ImmunizationRecommendation extends DomainResource { return ResourceType.ImmunizationRecommendation; } - /** - * Search parameter: date - *

- * Description: Date recommendation(s) created
- * Type: date
- * Path: ImmunizationRecommendation.date
- *

- */ - @SearchParamDefinition(name="date", path="ImmunizationRecommendation.date", description="Date recommendation(s) created", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Date recommendation(s) created
- * Type: date
- * Path: ImmunizationRecommendation.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Business identifier
- * Type: token
- * Path: ImmunizationRecommendation.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ImmunizationRecommendation.identifier", description="Business identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier
- * Type: token
- * Path: ImmunizationRecommendation.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: information - *

- * Description: Patient observations supporting recommendation
- * Type: reference
- * Path: ImmunizationRecommendation.recommendation.supportingPatientInformation
- *

- */ - @SearchParamDefinition(name="information", path="ImmunizationRecommendation.recommendation.supportingPatientInformation", description="Patient observations supporting recommendation", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_INFORMATION = "information"; - /** - * Fluent Client search parameter constant for information - *

- * Description: Patient observations supporting recommendation
- * Type: reference
- * Path: ImmunizationRecommendation.recommendation.supportingPatientInformation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INFORMATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INFORMATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImmunizationRecommendation:information". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INFORMATION = new ca.uhn.fhir.model.api.Include("ImmunizationRecommendation:information").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Who this profile is for
- * Type: reference
- * Path: ImmunizationRecommendation.patient
- *

- */ - @SearchParamDefinition(name="patient", path="ImmunizationRecommendation.patient", description="Who this profile is for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Who this profile is for
- * Type: reference
- * Path: ImmunizationRecommendation.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImmunizationRecommendation:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ImmunizationRecommendation:patient").toLocked(); - - /** - * Search parameter: status - *

- * Description: Vaccine recommendation status
- * Type: token
- * Path: ImmunizationRecommendation.recommendation.forecastStatus
- *

- */ - @SearchParamDefinition(name="status", path="ImmunizationRecommendation.recommendation.forecastStatus", description="Vaccine recommendation status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Vaccine recommendation status
- * Type: token
- * Path: ImmunizationRecommendation.recommendation.forecastStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: support - *

- * Description: Past immunizations supporting recommendation
- * Type: reference
- * Path: ImmunizationRecommendation.recommendation.supportingImmunization
- *

- */ - @SearchParamDefinition(name="support", path="ImmunizationRecommendation.recommendation.supportingImmunization", description="Past immunizations supporting recommendation", type="reference", target={Immunization.class, ImmunizationEvaluation.class } ) - public static final String SP_SUPPORT = "support"; - /** - * Fluent Client search parameter constant for support - *

- * Description: Past immunizations supporting recommendation
- * Type: reference
- * Path: ImmunizationRecommendation.recommendation.supportingImmunization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPORT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPORT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImmunizationRecommendation:support". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPORT = new ca.uhn.fhir.model.api.Include("ImmunizationRecommendation:support").toLocked(); - - /** - * Search parameter: target-disease - *

- * Description: Disease to be immunized against
- * Type: token
- * Path: ImmunizationRecommendation.recommendation.targetDisease
- *

- */ - @SearchParamDefinition(name="target-disease", path="ImmunizationRecommendation.recommendation.targetDisease", description="Disease to be immunized against", type="token" ) - public static final String SP_TARGET_DISEASE = "target-disease"; - /** - * Fluent Client search parameter constant for target-disease - *

- * Description: Disease to be immunized against
- * Type: token
- * Path: ImmunizationRecommendation.recommendation.targetDisease
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET_DISEASE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET_DISEASE); - - /** - * Search parameter: vaccine-type - *

- * Description: Vaccine or vaccine group recommendation applies to
- * Type: token
- * Path: ImmunizationRecommendation.recommendation.vaccineCode
- *

- */ - @SearchParamDefinition(name="vaccine-type", path="ImmunizationRecommendation.recommendation.vaccineCode", description="Vaccine or vaccine group recommendation applies to", type="token" ) - public static final String SP_VACCINE_TYPE = "vaccine-type"; - /** - * Fluent Client search parameter constant for vaccine-type - *

- * Description: Vaccine or vaccine group recommendation applies to
- * Type: token
- * Path: ImmunizationRecommendation.recommendation.vaccineCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VACCINE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VACCINE_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImplementationGuide.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImplementationGuide.java index 9ab8913e8..0cedf59f8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImplementationGuide.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ImplementationGuide.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class ImplementationGuide extends CanonicalResource { case MARKDOWN: return "markdown"; case XML: return "xml"; case GENERATED: return "generated"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class ImplementationGuide extends CanonicalResource { case MARKDOWN: return "http://hl7.org/fhir/guide-page-generation"; case XML: return "http://hl7.org/fhir/guide-page-generation"; case GENERATED: return "http://hl7.org/fhir/guide-page-generation"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class ImplementationGuide extends CanonicalResource { case MARKDOWN: return "Page is markdown with templating. Will use the template to create a file that imports the markdown file prior to post-processing."; case XML: return "Page is xml with templating. Will use the template to create a file that imports the source file and run the nominated XSLT transform (see parameters) if present prior to post-processing."; case GENERATED: return "Page will be generated by the publication process - no source to bring across."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class ImplementationGuide extends CanonicalResource { case MARKDOWN: return "Markdown"; case XML: return "XML"; case GENERATED: return "Generated"; + case NULL: return null; default: return "?"; } } @@ -2614,6 +2618,7 @@ public class ImplementationGuide extends CanonicalResource { case ZPL1_1: return "ZPL-1.1"; case ZPL2_0: return "ZPL-2.0"; case ZPL2_1: return "ZPL-2.1"; + case NULL: return null; default: return "?"; } } @@ -2965,6 +2970,7 @@ public class ImplementationGuide extends CanonicalResource { case ZPL1_1: return "http://hl7.org/fhir/spdx-license"; case ZPL2_0: return "http://hl7.org/fhir/spdx-license"; case ZPL2_1: return "http://hl7.org/fhir/spdx-license"; + case NULL: return null; default: return "?"; } } @@ -3316,6 +3322,7 @@ public class ImplementationGuide extends CanonicalResource { case ZPL1_1: return "Zope Public License 1.1."; case ZPL2_0: return "Zope Public License 2.0."; case ZPL2_1: return "Zope Public License 2.1."; + case NULL: return null; default: return "?"; } } @@ -3667,6 +3674,7 @@ public class ImplementationGuide extends CanonicalResource { case ZPL1_1: return "Zope Public License 1.1"; case ZPL2_0: return "Zope Public License 2.0"; case ZPL2_1: return "Zope Public License 2.1"; + case NULL: return null; default: return "?"; } } @@ -6362,7 +6370,7 @@ public class ImplementationGuide extends CanonicalResource { /** * A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource. */ - @Child(name = "resource", type = {}, order=2, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "resource", type = {}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Resource in the implementation guide", formalDefinition="A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource." ) protected List resource; @@ -6396,14 +6404,6 @@ public class ImplementationGuide extends CanonicalResource { super(); } - /** - * Constructor - */ - public ImplementationGuideDefinitionComponent(ImplementationGuideDefinitionResourceComponent resource) { - super(); - this.addResource(resource); - } - /** * @return {@link #grouping} (A logical group of resources. Logical groups can be used when building pages.) */ @@ -6839,11 +6839,11 @@ public class ImplementationGuide extends CanonicalResource { /** * Human readable text describing the package. */ - @Child(name = "description", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "description", type = {MarkdownType.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Human readable text describing the package", formalDefinition="Human readable text describing the package." ) - protected StringType description; + protected MarkdownType description; - private static final long serialVersionUID = -1105523499L; + private static final long serialVersionUID = 2116554295L; /** * Constructor @@ -6908,12 +6908,12 @@ public class ImplementationGuide extends CanonicalResource { /** * @return {@link #description} (Human readable text describing the package.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value */ - public StringType getDescriptionElement() { + public MarkdownType getDescriptionElement() { if (this.description == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImplementationGuideDefinitionGroupingComponent.description"); else if (Configuration.doAutoCreate()) - this.description = new StringType(); // bb + this.description = new MarkdownType(); // bb return this.description; } @@ -6928,7 +6928,7 @@ public class ImplementationGuide extends CanonicalResource { /** * @param value {@link #description} (Human readable text describing the package.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value */ - public ImplementationGuideDefinitionGroupingComponent setDescriptionElement(StringType value) { + public ImplementationGuideDefinitionGroupingComponent setDescriptionElement(MarkdownType value) { this.description = value; return this; } @@ -6944,11 +6944,11 @@ public class ImplementationGuide extends CanonicalResource { * @param value Human readable text describing the package. */ public ImplementationGuideDefinitionGroupingComponent setDescription(String value) { - if (Utilities.noString(value)) + if (value == null) this.description = null; else { if (this.description == null) - this.description = new StringType(); + this.description = new MarkdownType(); this.description.setValue(value); } return this; @@ -6957,14 +6957,14 @@ public class ImplementationGuide extends CanonicalResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("name", "string", "The human-readable title to display for the package of resources when rendering the implementation guide.", 0, 1, name)); - children.add(new Property("description", "string", "Human readable text describing the package.", 0, 1, description)); + children.add(new Property("description", "markdown", "Human readable text describing the package.", 0, 1, description)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 3373707: /*name*/ return new Property("name", "string", "The human-readable title to display for the package of resources when rendering the implementation guide.", 0, 1, name); - case -1724546052: /*description*/ return new Property("description", "string", "Human readable text describing the package.", 0, 1, description); + case -1724546052: /*description*/ return new Property("description", "markdown", "Human readable text describing the package.", 0, 1, description); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -6974,7 +6974,7 @@ public class ImplementationGuide extends CanonicalResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType - case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType + case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType default: return super.getProperty(hash, name, checkValid); } @@ -6987,7 +6987,7 @@ public class ImplementationGuide extends CanonicalResource { this.name = TypeConvertor.castToString(value); // StringType return value; case -1724546052: // description - this.description = TypeConvertor.castToString(value); // StringType + this.description = TypeConvertor.castToMarkdown(value); // MarkdownType return value; default: return super.setProperty(hash, name, value); } @@ -6999,7 +6999,7 @@ public class ImplementationGuide extends CanonicalResource { if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("description")) { - this.description = TypeConvertor.castToString(value); // StringType + this.description = TypeConvertor.castToMarkdown(value); // MarkdownType } else return super.setProperty(name, value); return value; @@ -7019,7 +7019,7 @@ public class ImplementationGuide extends CanonicalResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case 3373707: /*name*/ return new String[] {"string"}; - case -1724546052: /*description*/ return new String[] {"string"}; + case -1724546052: /*description*/ return new String[] {"markdown"}; default: return super.getTypesForProperty(hash, name); } @@ -7101,15 +7101,15 @@ public class ImplementationGuide extends CanonicalResource { * A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name). */ @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Human Name for the resource", formalDefinition="A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)." ) + @Description(shortDefinition="Human readable name for the resource", formalDefinition="A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)." ) protected StringType name; /** * A description of the reason that a resource has been included in the implementation guide. */ - @Child(name = "description", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "description", type = {MarkdownType.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Reason why included in guide", formalDefinition="A description of the reason that a resource has been included in the implementation guide." ) - protected StringType description; + protected MarkdownType description; /** * If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. @@ -7125,7 +7125,7 @@ public class ImplementationGuide extends CanonicalResource { @Description(shortDefinition="Grouping this is part of", formalDefinition="Reference to the id of the grouping this resource appears in." ) protected IdType groupingId; - private static final long serialVersionUID = 268206575L; + private static final long serialVersionUID = -954310515L; /** * Constructor @@ -7279,12 +7279,12 @@ public class ImplementationGuide extends CanonicalResource { /** * @return {@link #description} (A description of the reason that a resource has been included in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value */ - public StringType getDescriptionElement() { + public MarkdownType getDescriptionElement() { if (this.description == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ImplementationGuideDefinitionResourceComponent.description"); else if (Configuration.doAutoCreate()) - this.description = new StringType(); // bb + this.description = new MarkdownType(); // bb return this.description; } @@ -7299,7 +7299,7 @@ public class ImplementationGuide extends CanonicalResource { /** * @param value {@link #description} (A description of the reason that a resource has been included in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value */ - public ImplementationGuideDefinitionResourceComponent setDescriptionElement(StringType value) { + public ImplementationGuideDefinitionResourceComponent setDescriptionElement(MarkdownType value) { this.description = value; return this; } @@ -7315,11 +7315,11 @@ public class ImplementationGuide extends CanonicalResource { * @param value A description of the reason that a resource has been included in the implementation guide. */ public ImplementationGuideDefinitionResourceComponent setDescription(String value) { - if (Utilities.noString(value)) + if (value == null) this.description = null; else { if (this.description == null) - this.description = new StringType(); + this.description = new MarkdownType(); this.description.setValue(value); } return this; @@ -7430,7 +7430,7 @@ public class ImplementationGuide extends CanonicalResource { children.add(new Property("reference", "Reference(Any)", "Where this resource is found.", 0, 1, reference)); children.add(new Property("fhirVersion", "code", "Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); children.add(new Property("name", "string", "A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).", 0, 1, name)); - children.add(new Property("description", "string", "A description of the reason that a resource has been included in the implementation guide.", 0, 1, description)); + children.add(new Property("description", "markdown", "A description of the reason that a resource has been included in the implementation guide.", 0, 1, description)); children.add(new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example)); children.add(new Property("groupingId", "id", "Reference to the id of the grouping this resource appears in.", 0, 1, groupingId)); } @@ -7441,7 +7441,7 @@ public class ImplementationGuide extends CanonicalResource { case -925155509: /*reference*/ return new Property("reference", "Reference(Any)", "Where this resource is found.", 0, 1, reference); case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.", 0, java.lang.Integer.MAX_VALUE, fhirVersion); case 3373707: /*name*/ return new Property("name", "string", "A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).", 0, 1, name); - case -1724546052: /*description*/ return new Property("description", "string", "A description of the reason that a resource has been included in the implementation guide.", 0, 1, description); + case -1724546052: /*description*/ return new Property("description", "markdown", "A description of the reason that a resource has been included in the implementation guide.", 0, 1, description); case -2002328874: /*example[x]*/ return new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); case -1322970774: /*example*/ return new Property("example[x]", "boolean|canonical(StructureDefinition)", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); case 159803230: /*exampleBoolean*/ return new Property("example[x]", "boolean", "If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile.", 0, 1, example); @@ -7458,7 +7458,7 @@ public class ImplementationGuide extends CanonicalResource { case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // Reference case 461006061: /*fhirVersion*/ return this.fhirVersion == null ? new Base[0] : this.fhirVersion.toArray(new Base[this.fhirVersion.size()]); // Enumeration case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType - case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType + case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType case -1322970774: /*example*/ return this.example == null ? new Base[0] : new Base[] {this.example}; // DataType case 1291547006: /*groupingId*/ return this.groupingId == null ? new Base[0] : new Base[] {this.groupingId}; // IdType default: return super.getProperty(hash, name, checkValid); @@ -7480,7 +7480,7 @@ public class ImplementationGuide extends CanonicalResource { this.name = TypeConvertor.castToString(value); // StringType return value; case -1724546052: // description - this.description = TypeConvertor.castToString(value); // StringType + this.description = TypeConvertor.castToMarkdown(value); // MarkdownType return value; case -1322970774: // example this.example = TypeConvertor.castToType(value); // DataType @@ -7503,7 +7503,7 @@ public class ImplementationGuide extends CanonicalResource { } else if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("description")) { - this.description = TypeConvertor.castToString(value); // StringType + this.description = TypeConvertor.castToMarkdown(value); // MarkdownType } else if (name.equals("example[x]")) { this.example = TypeConvertor.castToType(value); // DataType } else if (name.equals("groupingId")) { @@ -7534,7 +7534,7 @@ public class ImplementationGuide extends CanonicalResource { case -925155509: /*reference*/ return new String[] {"Reference"}; case 461006061: /*fhirVersion*/ return new String[] {"code"}; case 3373707: /*name*/ return new String[] {"string"}; - case -1724546052: /*description*/ return new String[] {"string"}; + case -1724546052: /*description*/ return new String[] {"markdown"}; case -1322970774: /*example*/ return new String[] {"boolean", "canonical"}; case 1291547006: /*groupingId*/ return new String[] {"id"}; default: return super.getTypesForProperty(hash, name); @@ -9904,10 +9904,10 @@ public class ImplementationGuide extends CanonicalResource { protected Enumeration license; /** - * The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version. + * The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version. */ @Child(name = "fhirVersion", type = {CodeType.class}, order=15, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="FHIR Version(s) this Implementation Guide targets", formalDefinition="The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version." ) + @Description(shortDefinition="FHIR Version(s) this Implementation Guide targets", formalDefinition="The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/FHIR-version") protected List> fhirVersion; @@ -10688,7 +10688,7 @@ public class ImplementationGuide extends CanonicalResource { } /** - * @return {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version.) + * @return {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version.) */ public List> getFhirVersion() { if (this.fhirVersion == null) @@ -10714,7 +10714,7 @@ public class ImplementationGuide extends CanonicalResource { } /** - * @return {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version.) + * @return {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version.) */ public Enumeration addFhirVersionElement() {//2 Enumeration t = new Enumeration(new FHIRVersionEnumFactory()); @@ -10725,7 +10725,7 @@ public class ImplementationGuide extends CanonicalResource { } /** - * @param value {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version.) + * @param value {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version.) */ public ImplementationGuide addFhirVersion(FHIRVersion value) { //1 Enumeration t = new Enumeration(new FHIRVersionEnumFactory()); @@ -10737,7 +10737,7 @@ public class ImplementationGuide extends CanonicalResource { } /** - * @param value {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version.) + * @param value {@link #fhirVersion} (The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version.) */ public boolean hasFhirVersion(FHIRVersion value) { if (this.fhirVersion == null) @@ -10990,7 +10990,7 @@ public class ImplementationGuide extends CanonicalResource { children.add(new Property("copyright", "markdown", "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 implementation guide.", 0, 1, copyright)); children.add(new Property("packageId", "id", "The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.", 0, 1, packageId)); children.add(new Property("license", "code", "The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.", 0, 1, license)); - children.add(new Property("fhirVersion", "code", "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); + children.add(new Property("fhirVersion", "code", "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion)); children.add(new Property("dependsOn", "", "Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.", 0, java.lang.Integer.MAX_VALUE, dependsOn)); children.add(new Property("global", "", "A set of profiles that all resources covered by this implementation guide must conform to.", 0, java.lang.Integer.MAX_VALUE, global)); children.add(new Property("definition", "", "The information needed by an IG publisher tool to publish the whole implementation guide.", 0, 1, definition)); @@ -11015,7 +11015,7 @@ public class ImplementationGuide extends CanonicalResource { case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "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 implementation guide.", 0, 1, copyright); case 1802060801: /*packageId*/ return new Property("packageId", "id", "The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.", 0, 1, packageId); case 166757441: /*license*/ return new Property("license", "code", "The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.", 0, 1, license); - case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 5.0.0-snapshot1. for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion); + case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.6.0. for this version.", 0, java.lang.Integer.MAX_VALUE, fhirVersion); case -1109214266: /*dependsOn*/ return new Property("dependsOn", "", "Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.", 0, java.lang.Integer.MAX_VALUE, dependsOn); case -1243020381: /*global*/ return new Property("global", "", "A set of profiles that all resources covered by this implementation guide must conform to.", 0, java.lang.Integer.MAX_VALUE, global); case -1014418093: /*definition*/ return new Property("definition", "", "The information needed by an IG publisher tool to publish the whole implementation guide.", 0, 1, definition); @@ -11404,822 +11404,6 @@ public class ImplementationGuide extends CanonicalResource { return ResourceType.ImplementationGuide; } - /** - * Search parameter: depends-on - *

- * Description: Identity of the IG that this depends on
- * Type: reference
- * Path: ImplementationGuide.dependsOn.uri
- *

- */ - @SearchParamDefinition(name="depends-on", path="ImplementationGuide.dependsOn.uri", description="Identity of the IG that this depends on", type="reference", target={ImplementationGuide.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: Identity of the IG that this depends on
- * Type: reference
- * Path: ImplementationGuide.dependsOn.uri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImplementationGuide:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("ImplementationGuide:depends-on").toLocked(); - - /** - * Search parameter: experimental - *

- * Description: For testing purposes, not real usage
- * Type: token
- * Path: ImplementationGuide.experimental
- *

- */ - @SearchParamDefinition(name="experimental", path="ImplementationGuide.experimental", description="For testing purposes, not real usage", type="token" ) - public static final String SP_EXPERIMENTAL = "experimental"; - /** - * Fluent Client search parameter constant for experimental - *

- * Description: For testing purposes, not real usage
- * Type: token
- * Path: ImplementationGuide.experimental
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXPERIMENTAL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXPERIMENTAL); - - /** - * Search parameter: global - *

- * Description: Profile that all resources must conform to
- * Type: reference
- * Path: ImplementationGuide.global.profile
- *

- */ - @SearchParamDefinition(name="global", path="ImplementationGuide.global.profile", description="Profile that all resources must conform to", type="reference", target={StructureDefinition.class } ) - public static final String SP_GLOBAL = "global"; - /** - * Fluent Client search parameter constant for global - *

- * Description: Profile that all resources must conform to
- * Type: reference
- * Path: ImplementationGuide.global.profile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GLOBAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GLOBAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImplementationGuide:global". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GLOBAL = new ca.uhn.fhir.model.api.Include("ImplementationGuide:global").toLocked(); - - /** - * Search parameter: resource - *

- * Description: Location of the resource
- * Type: reference
- * Path: ImplementationGuide.definition.resource.reference
- *

- */ - @SearchParamDefinition(name="resource", path="ImplementationGuide.definition.resource.reference", description="Location of the resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_RESOURCE = "resource"; - /** - * Fluent Client search parameter constant for resource - *

- * Description: Location of the resource
- * Type: reference
- * Path: ImplementationGuide.definition.resource.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ImplementationGuide:resource". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESOURCE = new ca.uhn.fhir.model.api.Include("ImplementationGuide:resource").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ingredient.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ingredient.java index 85f03f4b7..e796e7931 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ingredient.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ingredient.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,15 +53,127 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="Ingredient", profile="http://hl7.org/fhir/StructureDefinition/Ingredient") public class Ingredient extends DomainResource { + public enum IngredientManufacturerRole { + /** + * + */ + ALLOWED, + /** + * + */ + POSSIBLE, + /** + * + */ + ACTUAL, + /** + * added to help the parsers with the generic types + */ + NULL; + public static IngredientManufacturerRole fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("allowed".equals(codeString)) + return ALLOWED; + if ("possible".equals(codeString)) + return POSSIBLE; + if ("actual".equals(codeString)) + return ACTUAL; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown IngredientManufacturerRole code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case ALLOWED: return "allowed"; + case POSSIBLE: return "possible"; + case ACTUAL: return "actual"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case ALLOWED: return "http://hl7.org/fhir/ingredient-manufacturer-role"; + case POSSIBLE: return "http://hl7.org/fhir/ingredient-manufacturer-role"; + case ACTUAL: return "http://hl7.org/fhir/ingredient-manufacturer-role"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case ALLOWED: return ""; + case POSSIBLE: return ""; + case ACTUAL: return ""; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case ALLOWED: return "Manufacturer is specifically allowed for this ingredient"; + case POSSIBLE: return "Manufacturer is known to make this ingredient in general"; + case ACTUAL: return "Manufacturer actually makes this particular ingredient"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class IngredientManufacturerRoleEnumFactory implements EnumFactory { + public IngredientManufacturerRole fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("allowed".equals(codeString)) + return IngredientManufacturerRole.ALLOWED; + if ("possible".equals(codeString)) + return IngredientManufacturerRole.POSSIBLE; + if ("actual".equals(codeString)) + return IngredientManufacturerRole.ACTUAL; + throw new IllegalArgumentException("Unknown IngredientManufacturerRole code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("allowed".equals(codeString)) + return new Enumeration(this, IngredientManufacturerRole.ALLOWED); + if ("possible".equals(codeString)) + return new Enumeration(this, IngredientManufacturerRole.POSSIBLE); + if ("actual".equals(codeString)) + return new Enumeration(this, IngredientManufacturerRole.ACTUAL); + throw new FHIRException("Unknown IngredientManufacturerRole code '"+codeString+"'"); + } + public String toCode(IngredientManufacturerRole code) { + if (code == IngredientManufacturerRole.ALLOWED) + return "allowed"; + if (code == IngredientManufacturerRole.POSSIBLE) + return "possible"; + if (code == IngredientManufacturerRole.ACTUAL) + return "actual"; + return "?"; + } + public String toSystem(IngredientManufacturerRole code) { + return code.getSystem(); + } + } + @Block() public static class IngredientManufacturerComponent extends BackboneElement implements IBaseBackboneElement { /** * The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role. */ - @Child(name = "role", type = {Coding.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role", formalDefinition="The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role." ) + @Child(name = "role", type = {CodeType.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="allowed | possible | actual", formalDefinition="The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/ingredient-manufacturer-role") - protected Coding role; + protected Enumeration role; /** * An organization that manufactures this ingredient. @@ -70,7 +182,7 @@ public class Ingredient extends DomainResource { @Description(shortDefinition="An organization that manufactures this ingredient", formalDefinition="An organization that manufactures this ingredient." ) protected Reference manufacturer; - private static final long serialVersionUID = -1240157438L; + private static final long serialVersionUID = -1226688097L; /** * Constructor @@ -88,29 +200,54 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #role} (The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.) + * @return {@link #role} (The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.). This is the underlying object with id, value and extensions. The accessor "getRole" gives direct access to the value */ - public Coding getRole() { + public Enumeration getRoleElement() { if (this.role == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create IngredientManufacturerComponent.role"); else if (Configuration.doAutoCreate()) - this.role = new Coding(); // cc + this.role = new Enumeration(new IngredientManufacturerRoleEnumFactory()); // bb return this.role; } + public boolean hasRoleElement() { + return this.role != null && !this.role.isEmpty(); + } + public boolean hasRole() { return this.role != null && !this.role.isEmpty(); } /** - * @param value {@link #role} (The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.) + * @param value {@link #role} (The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.). This is the underlying object with id, value and extensions. The accessor "getRole" gives direct access to the value */ - public IngredientManufacturerComponent setRole(Coding value) { + public IngredientManufacturerComponent setRoleElement(Enumeration value) { this.role = value; return this; } + /** + * @return The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role. + */ + public IngredientManufacturerRole getRole() { + return this.role == null ? null : this.role.getValue(); + } + + /** + * @param value The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role. + */ + public IngredientManufacturerComponent setRole(IngredientManufacturerRole value) { + if (value == null) + this.role = null; + else { + if (this.role == null) + this.role = new Enumeration(new IngredientManufacturerRoleEnumFactory()); + this.role.setValue(value); + } + return this; + } + /** * @return {@link #manufacturer} (An organization that manufactures this ingredient.) */ @@ -137,14 +274,14 @@ public class Ingredient extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("role", "Coding", "The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.", 0, 1, role)); + children.add(new Property("role", "code", "The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.", 0, 1, role)); children.add(new Property("manufacturer", "Reference(Organization)", "An organization that manufactures this ingredient.", 0, 1, manufacturer)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3506294: /*role*/ return new Property("role", "Coding", "The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.", 0, 1, role); + case 3506294: /*role*/ return new Property("role", "code", "The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role.", 0, 1, role); case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "An organization that manufactures this ingredient.", 0, 1, manufacturer); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -154,7 +291,7 @@ public class Ingredient extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 3506294: /*role*/ return this.role == null ? new Base[0] : new Base[] {this.role}; // Coding + case 3506294: /*role*/ return this.role == null ? new Base[0] : new Base[] {this.role}; // Enumeration case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : new Base[] {this.manufacturer}; // Reference default: return super.getProperty(hash, name, checkValid); } @@ -165,7 +302,8 @@ public class Ingredient extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case 3506294: // role - this.role = TypeConvertor.castToCoding(value); // Coding + value = new IngredientManufacturerRoleEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.role = (Enumeration) value; // Enumeration return value; case -1969347631: // manufacturer this.manufacturer = TypeConvertor.castToReference(value); // Reference @@ -178,7 +316,8 @@ public class Ingredient extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("role")) { - this.role = TypeConvertor.castToCoding(value); // Coding + value = new IngredientManufacturerRoleEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.role = (Enumeration) value; // Enumeration } else if (name.equals("manufacturer")) { this.manufacturer = TypeConvertor.castToReference(value); // Reference } else @@ -189,7 +328,7 @@ public class Ingredient extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3506294: return getRole(); + case 3506294: return getRoleElement(); case -1969347631: return getManufacturer(); default: return super.makeProperty(hash, name); } @@ -199,7 +338,7 @@ public class Ingredient extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3506294: /*role*/ return new String[] {"Coding"}; + case 3506294: /*role*/ return new String[] {"code"}; case -1969347631: /*manufacturer*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -209,8 +348,7 @@ public class Ingredient extends DomainResource { @Override public Base addChild(String name) throws FHIRException { if (name.equals("role")) { - this.role = new Coding(); - return this.role; + throw new FHIRException("Cannot call addChild on a primitive type Ingredient.manufacturer.role"); } else if (name.equals("manufacturer")) { this.manufacturer = new Reference(); @@ -249,7 +387,7 @@ public class Ingredient extends DomainResource { if (!(other_ instanceof IngredientManufacturerComponent)) return false; IngredientManufacturerComponent o = (IngredientManufacturerComponent) other_; - return true; + return compareValues(role, o.role, true); } public boolean isEmpty() { @@ -266,17 +404,18 @@ public class Ingredient extends DomainResource { @Block() public static class IngredientSubstanceComponent extends BackboneElement implements IBaseBackboneElement { /** - * A code or full resource that represents the ingredient substance. + * A code or full resource that represents the ingredient's substance. */ @Child(name = "code", type = {CodeableReference.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="A code or full resource that represents the ingredient substance", formalDefinition="A code or full resource that represents the ingredient substance." ) + @Description(shortDefinition="A code or full resource that represents the ingredient substance", formalDefinition="A code or full resource that represents the ingredient's substance." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-codes") protected CodeableReference code; /** - * The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. + * The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. The allowed repetitions do not represent different strengths, but are different representations - mathematically equivalent - of a single strength. */ @Child(name = "strength", type = {}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item", formalDefinition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item." ) + @Description(shortDefinition="The quantity of substance, per presentation, or per volume or mass, and type of quantity", formalDefinition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. The allowed repetitions do not represent different strengths, but are different representations - mathematically equivalent - of a single strength." ) protected List strength; private static final long serialVersionUID = 538347209L; @@ -297,7 +436,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #code} (A code or full resource that represents the ingredient substance.) + * @return {@link #code} (A code or full resource that represents the ingredient's substance.) */ public CodeableReference getCode() { if (this.code == null) @@ -313,7 +452,7 @@ public class Ingredient extends DomainResource { } /** - * @param value {@link #code} (A code or full resource that represents the ingredient substance.) + * @param value {@link #code} (A code or full resource that represents the ingredient's substance.) */ public IngredientSubstanceComponent setCode(CodeableReference value) { this.code = value; @@ -321,7 +460,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #strength} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @return {@link #strength} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. The allowed repetitions do not represent different strengths, but are different representations - mathematically equivalent - of a single strength.) */ public List getStrength() { if (this.strength == null) @@ -375,15 +514,15 @@ public class Ingredient extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("code", "CodeableReference(SubstanceDefinition)", "A code or full resource that represents the ingredient substance.", 0, 1, code)); - children.add(new Property("strength", "", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, java.lang.Integer.MAX_VALUE, strength)); + children.add(new Property("code", "CodeableReference(SubstanceDefinition)", "A code or full resource that represents the ingredient's substance.", 0, 1, code)); + children.add(new Property("strength", "", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. The allowed repetitions do not represent different strengths, but are different representations - mathematically equivalent - of a single strength.", 0, java.lang.Integer.MAX_VALUE, strength)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3059181: /*code*/ return new Property("code", "CodeableReference(SubstanceDefinition)", "A code or full resource that represents the ingredient substance.", 0, 1, code); - case 1791316033: /*strength*/ return new Property("strength", "", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, java.lang.Integer.MAX_VALUE, strength); + case 3059181: /*code*/ return new Property("code", "CodeableReference(SubstanceDefinition)", "A code or full resource that represents the ingredient's substance.", 0, 1, code); + case 1791316033: /*strength*/ return new Property("strength", "", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. The allowed repetitions do not represent different strengths, but are different representations - mathematically equivalent - of a single strength.", 0, java.lang.Integer.MAX_VALUE, strength); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -507,18 +646,18 @@ public class Ingredient extends DomainResource { @Block() public static class IngredientSubstanceStrengthComponent extends BackboneElement implements IBaseBackboneElement { /** - * The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. + * The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg'). */ @Child(name = "presentation", type = {Ratio.class, RatioRange.class, CodeableConcept.class, Quantity.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item", formalDefinition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item." ) + @Description(shortDefinition="The quantity of substance in the unit of presentation", formalDefinition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg')." ) protected DataType presentation; /** * A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio. */ - @Child(name = "presentationText", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio", formalDefinition="A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio." ) - protected StringType presentationText; + @Child(name = "textPresentation", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Text of either the whole presentation strength or a part of it (rest being in Strength.presentation as a ratio)", formalDefinition="A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio." ) + protected StringType textPresentation; /** * The strength per unitary volume (or mass). @@ -530,9 +669,9 @@ public class Ingredient extends DomainResource { /** * A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio. */ - @Child(name = "concentrationText", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio", formalDefinition="A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio." ) - protected StringType concentrationText; + @Child(name = "textConcentration", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Text of either the whole concentration strength or a part of it (rest being in Strength.concentration as a ratio)", formalDefinition="A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio." ) + protected StringType textConcentration; /** * A code that indicates if the strength is, for example, based on the ingredient substance as stated or on the substance base (when the ingredient is a salt). @@ -542,27 +681,28 @@ public class Ingredient extends DomainResource { protected CodeableConcept basis; /** - * For when strength is measured at a particular point or distance. + * For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization. */ @Child(name = "measurementPoint", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="For when strength is measured at a particular point or distance", formalDefinition="For when strength is measured at a particular point or distance." ) + @Description(shortDefinition="When strength is measured at a particular point or distance", formalDefinition="For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization." ) protected StringType measurementPoint; /** * The country or countries for which the strength range applies. */ @Child(name = "country", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The country or countries for which the strength range applies", formalDefinition="The country or countries for which the strength range applies." ) + @Description(shortDefinition="Where the strength range applies", formalDefinition="The country or countries for which the strength range applies." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/country") protected List country; /** - * Strength expressed in terms of a reference substance. + * Strength expressed in terms of a reference substance. For when the ingredient strength is additionally expressed as equivalent to the strength of some other closely related substance (e.g. salt vs. base). Reference strength represents the strength (quantitative composition) of the active moiety of the active substance. There are situations when the active substance and active moiety are different, therefore both a strength and a reference strength are needed. */ @Child(name = "referenceStrength", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Strength expressed in terms of a reference substance", formalDefinition="Strength expressed in terms of a reference substance." ) + @Description(shortDefinition="Strength expressed in terms of a reference substance", formalDefinition="Strength expressed in terms of a reference substance. For when the ingredient strength is additionally expressed as equivalent to the strength of some other closely related substance (e.g. salt vs. base). Reference strength represents the strength (quantitative composition) of the active moiety of the active substance. There are situations when the active substance and active moiety are different, therefore both a strength and a reference strength are needed." ) protected List referenceStrength; - private static final long serialVersionUID = 2084203430L; + private static final long serialVersionUID = 1409093088L; /** * Constructor @@ -572,14 +712,14 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').) */ public DataType getPresentation() { return this.presentation; } /** - * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').) */ public Ratio getPresentationRatio() throws FHIRException { if (this.presentation == null) @@ -594,7 +734,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').) */ public RatioRange getPresentationRatioRange() throws FHIRException { if (this.presentation == null) @@ -609,7 +749,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').) */ public CodeableConcept getPresentationCodeableConcept() throws FHIRException { if (this.presentation == null) @@ -624,7 +764,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @return {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').) */ public Quantity getPresentationQuantity() throws FHIRException { if (this.presentation == null) @@ -643,7 +783,7 @@ public class Ingredient extends DomainResource { } /** - * @param value {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.) + * @param value {@link #presentation} (The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').) */ public IngredientSubstanceStrengthComponent setPresentation(DataType value) { if (value != null && !(value instanceof Ratio || value instanceof RatioRange || value instanceof CodeableConcept || value instanceof Quantity)) @@ -653,50 +793,50 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #presentationText} (A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.). This is the underlying object with id, value and extensions. The accessor "getPresentationText" gives direct access to the value + * @return {@link #textPresentation} (A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.). This is the underlying object with id, value and extensions. The accessor "getTextPresentation" gives direct access to the value */ - public StringType getPresentationTextElement() { - if (this.presentationText == null) + public StringType getTextPresentationElement() { + if (this.textPresentation == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create IngredientSubstanceStrengthComponent.presentationText"); + throw new Error("Attempt to auto-create IngredientSubstanceStrengthComponent.textPresentation"); else if (Configuration.doAutoCreate()) - this.presentationText = new StringType(); // bb - return this.presentationText; + this.textPresentation = new StringType(); // bb + return this.textPresentation; } - public boolean hasPresentationTextElement() { - return this.presentationText != null && !this.presentationText.isEmpty(); + public boolean hasTextPresentationElement() { + return this.textPresentation != null && !this.textPresentation.isEmpty(); } - public boolean hasPresentationText() { - return this.presentationText != null && !this.presentationText.isEmpty(); + public boolean hasTextPresentation() { + return this.textPresentation != null && !this.textPresentation.isEmpty(); } /** - * @param value {@link #presentationText} (A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.). This is the underlying object with id, value and extensions. The accessor "getPresentationText" gives direct access to the value + * @param value {@link #textPresentation} (A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.). This is the underlying object with id, value and extensions. The accessor "getTextPresentation" gives direct access to the value */ - public IngredientSubstanceStrengthComponent setPresentationTextElement(StringType value) { - this.presentationText = value; + public IngredientSubstanceStrengthComponent setTextPresentationElement(StringType value) { + this.textPresentation = value; return this; } /** * @return A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio. */ - public String getPresentationText() { - return this.presentationText == null ? null : this.presentationText.getValue(); + public String getTextPresentation() { + return this.textPresentation == null ? null : this.textPresentation.getValue(); } /** * @param value A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio. */ - public IngredientSubstanceStrengthComponent setPresentationText(String value) { + public IngredientSubstanceStrengthComponent setTextPresentation(String value) { if (Utilities.noString(value)) - this.presentationText = null; + this.textPresentation = null; else { - if (this.presentationText == null) - this.presentationText = new StringType(); - this.presentationText.setValue(value); + if (this.textPresentation == null) + this.textPresentation = new StringType(); + this.textPresentation.setValue(value); } return this; } @@ -783,50 +923,50 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #concentrationText} (A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.). This is the underlying object with id, value and extensions. The accessor "getConcentrationText" gives direct access to the value + * @return {@link #textConcentration} (A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.). This is the underlying object with id, value and extensions. The accessor "getTextConcentration" gives direct access to the value */ - public StringType getConcentrationTextElement() { - if (this.concentrationText == null) + public StringType getTextConcentrationElement() { + if (this.textConcentration == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create IngredientSubstanceStrengthComponent.concentrationText"); + throw new Error("Attempt to auto-create IngredientSubstanceStrengthComponent.textConcentration"); else if (Configuration.doAutoCreate()) - this.concentrationText = new StringType(); // bb - return this.concentrationText; + this.textConcentration = new StringType(); // bb + return this.textConcentration; } - public boolean hasConcentrationTextElement() { - return this.concentrationText != null && !this.concentrationText.isEmpty(); + public boolean hasTextConcentrationElement() { + return this.textConcentration != null && !this.textConcentration.isEmpty(); } - public boolean hasConcentrationText() { - return this.concentrationText != null && !this.concentrationText.isEmpty(); + public boolean hasTextConcentration() { + return this.textConcentration != null && !this.textConcentration.isEmpty(); } /** - * @param value {@link #concentrationText} (A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.). This is the underlying object with id, value and extensions. The accessor "getConcentrationText" gives direct access to the value + * @param value {@link #textConcentration} (A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.). This is the underlying object with id, value and extensions. The accessor "getTextConcentration" gives direct access to the value */ - public IngredientSubstanceStrengthComponent setConcentrationTextElement(StringType value) { - this.concentrationText = value; + public IngredientSubstanceStrengthComponent setTextConcentrationElement(StringType value) { + this.textConcentration = value; return this; } /** * @return A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio. */ - public String getConcentrationText() { - return this.concentrationText == null ? null : this.concentrationText.getValue(); + public String getTextConcentration() { + return this.textConcentration == null ? null : this.textConcentration.getValue(); } /** * @param value A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio. */ - public IngredientSubstanceStrengthComponent setConcentrationText(String value) { + public IngredientSubstanceStrengthComponent setTextConcentration(String value) { if (Utilities.noString(value)) - this.concentrationText = null; + this.textConcentration = null; else { - if (this.concentrationText == null) - this.concentrationText = new StringType(); - this.concentrationText.setValue(value); + if (this.textConcentration == null) + this.textConcentration = new StringType(); + this.textConcentration.setValue(value); } return this; } @@ -856,7 +996,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #measurementPoint} (For when strength is measured at a particular point or distance.). This is the underlying object with id, value and extensions. The accessor "getMeasurementPoint" gives direct access to the value + * @return {@link #measurementPoint} (For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization.). This is the underlying object with id, value and extensions. The accessor "getMeasurementPoint" gives direct access to the value */ public StringType getMeasurementPointElement() { if (this.measurementPoint == null) @@ -876,7 +1016,7 @@ public class Ingredient extends DomainResource { } /** - * @param value {@link #measurementPoint} (For when strength is measured at a particular point or distance.). This is the underlying object with id, value and extensions. The accessor "getMeasurementPoint" gives direct access to the value + * @param value {@link #measurementPoint} (For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization.). This is the underlying object with id, value and extensions. The accessor "getMeasurementPoint" gives direct access to the value */ public IngredientSubstanceStrengthComponent setMeasurementPointElement(StringType value) { this.measurementPoint = value; @@ -884,14 +1024,14 @@ public class Ingredient extends DomainResource { } /** - * @return For when strength is measured at a particular point or distance. + * @return For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization. */ public String getMeasurementPoint() { return this.measurementPoint == null ? null : this.measurementPoint.getValue(); } /** - * @param value For when strength is measured at a particular point or distance. + * @param value For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization. */ public IngredientSubstanceStrengthComponent setMeasurementPoint(String value) { if (Utilities.noString(value)) @@ -958,7 +1098,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #referenceStrength} (Strength expressed in terms of a reference substance.) + * @return {@link #referenceStrength} (Strength expressed in terms of a reference substance. For when the ingredient strength is additionally expressed as equivalent to the strength of some other closely related substance (e.g. salt vs. base). Reference strength represents the strength (quantitative composition) of the active moiety of the active substance. There are situations when the active substance and active moiety are different, therefore both a strength and a reference strength are needed.) */ public List getReferenceStrength() { if (this.referenceStrength == null) @@ -1012,37 +1152,37 @@ public class Ingredient extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("presentation[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation)); - children.add(new Property("presentationText", "string", "A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.", 0, 1, presentationText)); + children.add(new Property("presentation[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation)); + children.add(new Property("textPresentation", "string", "A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.", 0, 1, textPresentation)); children.add(new Property("concentration[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The strength per unitary volume (or mass).", 0, 1, concentration)); - children.add(new Property("concentrationText", "string", "A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.", 0, 1, concentrationText)); + children.add(new Property("textConcentration", "string", "A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.", 0, 1, textConcentration)); children.add(new Property("basis", "CodeableConcept", "A code that indicates if the strength is, for example, based on the ingredient substance as stated or on the substance base (when the ingredient is a salt).", 0, 1, basis)); - children.add(new Property("measurementPoint", "string", "For when strength is measured at a particular point or distance.", 0, 1, measurementPoint)); + children.add(new Property("measurementPoint", "string", "For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization.", 0, 1, measurementPoint)); children.add(new Property("country", "CodeableConcept", "The country or countries for which the strength range applies.", 0, java.lang.Integer.MAX_VALUE, country)); - children.add(new Property("referenceStrength", "", "Strength expressed in terms of a reference substance.", 0, java.lang.Integer.MAX_VALUE, referenceStrength)); + children.add(new Property("referenceStrength", "", "Strength expressed in terms of a reference substance. For when the ingredient strength is additionally expressed as equivalent to the strength of some other closely related substance (e.g. salt vs. base). Reference strength represents the strength (quantitative composition) of the active moiety of the active substance. There are situations when the active substance and active moiety are different, therefore both a strength and a reference strength are needed.", 0, java.lang.Integer.MAX_VALUE, referenceStrength)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 1714280230: /*presentation[x]*/ return new Property("presentation[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation); - case 696975130: /*presentation*/ return new Property("presentation[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation); - case -1853112047: /*presentationRatio*/ return new Property("presentation[x]", "Ratio", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation); - case 643336876: /*presentationRatioRange*/ return new Property("presentation[x]", "RatioRange", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation); - case 1095127335: /*presentationCodeableConcept*/ return new Property("presentation[x]", "CodeableConcept", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation); - case -263057979: /*presentationQuantity*/ return new Property("presentation[x]", "Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item.", 0, 1, presentation); - case 1602853735: /*presentationText*/ return new Property("presentationText", "string", "A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.", 0, 1, presentationText); + case 1714280230: /*presentation[x]*/ return new Property("presentation[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation); + case 696975130: /*presentation*/ return new Property("presentation[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation); + case -1853112047: /*presentationRatio*/ return new Property("presentation[x]", "Ratio", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation); + case 643336876: /*presentationRatioRange*/ return new Property("presentation[x]", "RatioRange", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation); + case 1095127335: /*presentationCodeableConcept*/ return new Property("presentation[x]", "CodeableConcept", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation); + case -263057979: /*presentationQuantity*/ return new Property("presentation[x]", "Quantity", "The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg').", 0, 1, presentation); + case -799720217: /*textPresentation*/ return new Property("textPresentation", "string", "A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio.", 0, 1, textPresentation); case 1153502451: /*concentration[x]*/ return new Property("concentration[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The strength per unitary volume (or mass).", 0, 1, concentration); case -410557331: /*concentration*/ return new Property("concentration[x]", "Ratio|RatioRange|CodeableConcept|Quantity", "The strength per unitary volume (or mass).", 0, 1, concentration); case 405321630: /*concentrationRatio*/ return new Property("concentration[x]", "Ratio", "The strength per unitary volume (or mass).", 0, 1, concentration); case 436249663: /*concentrationRatioRange*/ return new Property("concentration[x]", "RatioRange", "The strength per unitary volume (or mass).", 0, 1, concentration); case -90293388: /*concentrationCodeableConcept*/ return new Property("concentration[x]", "CodeableConcept", "The strength per unitary volume (or mass).", 0, 1, concentration); case 71921688: /*concentrationQuantity*/ return new Property("concentration[x]", "Quantity", "The strength per unitary volume (or mass).", 0, 1, concentration); - case 1398611770: /*concentrationText*/ return new Property("concentrationText", "string", "A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.", 0, 1, concentrationText); + case 436527168: /*textConcentration*/ return new Property("textConcentration", "string", "A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio.", 0, 1, textConcentration); case 93508670: /*basis*/ return new Property("basis", "CodeableConcept", "A code that indicates if the strength is, for example, based on the ingredient substance as stated or on the substance base (when the ingredient is a salt).", 0, 1, basis); - case 235437876: /*measurementPoint*/ return new Property("measurementPoint", "string", "For when strength is measured at a particular point or distance.", 0, 1, measurementPoint); + case 235437876: /*measurementPoint*/ return new Property("measurementPoint", "string", "For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization.", 0, 1, measurementPoint); case 957831062: /*country*/ return new Property("country", "CodeableConcept", "The country or countries for which the strength range applies.", 0, java.lang.Integer.MAX_VALUE, country); - case 1943566508: /*referenceStrength*/ return new Property("referenceStrength", "", "Strength expressed in terms of a reference substance.", 0, java.lang.Integer.MAX_VALUE, referenceStrength); + case 1943566508: /*referenceStrength*/ return new Property("referenceStrength", "", "Strength expressed in terms of a reference substance. For when the ingredient strength is additionally expressed as equivalent to the strength of some other closely related substance (e.g. salt vs. base). Reference strength represents the strength (quantitative composition) of the active moiety of the active substance. There are situations when the active substance and active moiety are different, therefore both a strength and a reference strength are needed.", 0, java.lang.Integer.MAX_VALUE, referenceStrength); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1052,9 +1192,9 @@ public class Ingredient extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case 696975130: /*presentation*/ return this.presentation == null ? new Base[0] : new Base[] {this.presentation}; // DataType - case 1602853735: /*presentationText*/ return this.presentationText == null ? new Base[0] : new Base[] {this.presentationText}; // StringType + case -799720217: /*textPresentation*/ return this.textPresentation == null ? new Base[0] : new Base[] {this.textPresentation}; // StringType case -410557331: /*concentration*/ return this.concentration == null ? new Base[0] : new Base[] {this.concentration}; // DataType - case 1398611770: /*concentrationText*/ return this.concentrationText == null ? new Base[0] : new Base[] {this.concentrationText}; // StringType + case 436527168: /*textConcentration*/ return this.textConcentration == null ? new Base[0] : new Base[] {this.textConcentration}; // StringType case 93508670: /*basis*/ return this.basis == null ? new Base[0] : new Base[] {this.basis}; // CodeableConcept case 235437876: /*measurementPoint*/ return this.measurementPoint == null ? new Base[0] : new Base[] {this.measurementPoint}; // StringType case 957831062: /*country*/ return this.country == null ? new Base[0] : this.country.toArray(new Base[this.country.size()]); // CodeableConcept @@ -1070,14 +1210,14 @@ public class Ingredient extends DomainResource { case 696975130: // presentation this.presentation = TypeConvertor.castToType(value); // DataType return value; - case 1602853735: // presentationText - this.presentationText = TypeConvertor.castToString(value); // StringType + case -799720217: // textPresentation + this.textPresentation = TypeConvertor.castToString(value); // StringType return value; case -410557331: // concentration this.concentration = TypeConvertor.castToType(value); // DataType return value; - case 1398611770: // concentrationText - this.concentrationText = TypeConvertor.castToString(value); // StringType + case 436527168: // textConcentration + this.textConcentration = TypeConvertor.castToString(value); // StringType return value; case 93508670: // basis this.basis = TypeConvertor.castToCodeableConcept(value); // CodeableConcept @@ -1100,12 +1240,12 @@ public class Ingredient extends DomainResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("presentation[x]")) { this.presentation = TypeConvertor.castToType(value); // DataType - } else if (name.equals("presentationText")) { - this.presentationText = TypeConvertor.castToString(value); // StringType + } else if (name.equals("textPresentation")) { + this.textPresentation = TypeConvertor.castToString(value); // StringType } else if (name.equals("concentration[x]")) { this.concentration = TypeConvertor.castToType(value); // DataType - } else if (name.equals("concentrationText")) { - this.concentrationText = TypeConvertor.castToString(value); // StringType + } else if (name.equals("textConcentration")) { + this.textConcentration = TypeConvertor.castToString(value); // StringType } else if (name.equals("basis")) { this.basis = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("measurementPoint")) { @@ -1124,10 +1264,10 @@ public class Ingredient extends DomainResource { switch (hash) { case 1714280230: return getPresentation(); case 696975130: return getPresentation(); - case 1602853735: return getPresentationTextElement(); + case -799720217: return getTextPresentationElement(); case 1153502451: return getConcentration(); case -410557331: return getConcentration(); - case 1398611770: return getConcentrationTextElement(); + case 436527168: return getTextConcentrationElement(); case 93508670: return getBasis(); case 235437876: return getMeasurementPointElement(); case 957831062: return addCountry(); @@ -1141,9 +1281,9 @@ public class Ingredient extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case 696975130: /*presentation*/ return new String[] {"Ratio", "RatioRange", "CodeableConcept", "Quantity"}; - case 1602853735: /*presentationText*/ return new String[] {"string"}; + case -799720217: /*textPresentation*/ return new String[] {"string"}; case -410557331: /*concentration*/ return new String[] {"Ratio", "RatioRange", "CodeableConcept", "Quantity"}; - case 1398611770: /*concentrationText*/ return new String[] {"string"}; + case 436527168: /*textConcentration*/ return new String[] {"string"}; case 93508670: /*basis*/ return new String[] {"CodeableConcept"}; case 235437876: /*measurementPoint*/ return new String[] {"string"}; case 957831062: /*country*/ return new String[] {"CodeableConcept"}; @@ -1171,8 +1311,8 @@ public class Ingredient extends DomainResource { this.presentation = new Quantity(); return this.presentation; } - else if (name.equals("presentationText")) { - throw new FHIRException("Cannot call addChild on a primitive type Ingredient.substance.strength.presentationText"); + else if (name.equals("textPresentation")) { + throw new FHIRException("Cannot call addChild on a primitive type Ingredient.substance.strength.textPresentation"); } else if (name.equals("concentrationRatio")) { this.concentration = new Ratio(); @@ -1190,8 +1330,8 @@ public class Ingredient extends DomainResource { this.concentration = new Quantity(); return this.concentration; } - else if (name.equals("concentrationText")) { - throw new FHIRException("Cannot call addChild on a primitive type Ingredient.substance.strength.concentrationText"); + else if (name.equals("textConcentration")) { + throw new FHIRException("Cannot call addChild on a primitive type Ingredient.substance.strength.textConcentration"); } else if (name.equals("basis")) { this.basis = new CodeableConcept(); @@ -1219,9 +1359,9 @@ public class Ingredient extends DomainResource { public void copyValues(IngredientSubstanceStrengthComponent dst) { super.copyValues(dst); dst.presentation = presentation == null ? null : presentation.copy(); - dst.presentationText = presentationText == null ? null : presentationText.copy(); + dst.textPresentation = textPresentation == null ? null : textPresentation.copy(); dst.concentration = concentration == null ? null : concentration.copy(); - dst.concentrationText = concentrationText == null ? null : concentrationText.copy(); + dst.textConcentration = textConcentration == null ? null : textConcentration.copy(); dst.basis = basis == null ? null : basis.copy(); dst.measurementPoint = measurementPoint == null ? null : measurementPoint.copy(); if (country != null) { @@ -1243,8 +1383,8 @@ public class Ingredient extends DomainResource { if (!(other_ instanceof IngredientSubstanceStrengthComponent)) return false; IngredientSubstanceStrengthComponent o = (IngredientSubstanceStrengthComponent) other_; - return compareDeep(presentation, o.presentation, true) && compareDeep(presentationText, o.presentationText, true) - && compareDeep(concentration, o.concentration, true) && compareDeep(concentrationText, o.concentrationText, true) + return compareDeep(presentation, o.presentation, true) && compareDeep(textPresentation, o.textPresentation, true) + && compareDeep(concentration, o.concentration, true) && compareDeep(textConcentration, o.textConcentration, true) && compareDeep(basis, o.basis, true) && compareDeep(measurementPoint, o.measurementPoint, true) && compareDeep(country, o.country, true) && compareDeep(referenceStrength, o.referenceStrength, true) ; @@ -1257,13 +1397,13 @@ public class Ingredient extends DomainResource { if (!(other_ instanceof IngredientSubstanceStrengthComponent)) return false; IngredientSubstanceStrengthComponent o = (IngredientSubstanceStrengthComponent) other_; - return compareValues(presentationText, o.presentationText, true) && compareValues(concentrationText, o.concentrationText, true) + return compareValues(textPresentation, o.textPresentation, true) && compareValues(textConcentration, o.textConcentration, true) && compareValues(measurementPoint, o.measurementPoint, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(presentation, presentationText - , concentration, concentrationText, basis, measurementPoint, country, referenceStrength + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(presentation, textPresentation + , concentration, textConcentration, basis, measurementPoint, country, referenceStrength ); } @@ -1281,6 +1421,7 @@ public class Ingredient extends DomainResource { */ @Child(name = "substance", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Relevant reference substance", formalDefinition="Relevant reference substance." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-codes") protected CodeableReference substance; /** @@ -1294,14 +1435,15 @@ public class Ingredient extends DomainResource { * For when strength is measured at a particular point or distance. */ @Child(name = "measurementPoint", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="For when strength is measured at a particular point or distance", formalDefinition="For when strength is measured at a particular point or distance." ) + @Description(shortDefinition="When strength is measured at a particular point or distance", formalDefinition="For when strength is measured at a particular point or distance." ) protected StringType measurementPoint; /** * The country or countries for which the strength range applies. */ @Child(name = "country", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The country or countries for which the strength range applies", formalDefinition="The country or countries for which the strength range applies." ) + @Description(shortDefinition="Where the strength range applies", formalDefinition="The country or countries for which the strength range applies." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/country") protected List country; private static final long serialVersionUID = 1700529245L; @@ -1714,14 +1856,16 @@ public class Ingredient extends DomainResource { * A classification of the ingredient identifying its purpose within the product, e.g. active, inactive. */ @Child(name = "role", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="A classification of the ingredient identifying its purpose within the product, e.g. active, inactive", formalDefinition="A classification of the ingredient identifying its purpose within the product, e.g. active, inactive." ) + @Description(shortDefinition="Purpose of the ingredient within the product, e.g. active, inactive", formalDefinition="A classification of the ingredient identifying its purpose within the product, e.g. active, inactive." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/ingredient-role") protected CodeableConcept role; /** - * A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent. + * A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: antioxidant, alkalizing agent. */ @Child(name = "function", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent", formalDefinition="A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent." ) + @Description(shortDefinition="Precise action within the drug product, e.g. antioxidant, alkalizing agent", formalDefinition="A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: antioxidant, alkalizing agent." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/ingredient-function") protected List function; /** @@ -1732,17 +1876,17 @@ public class Ingredient extends DomainResource { protected CodeableConcept group; /** - * If the ingredient is a known or suspected allergen. + * If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here. */ @Child(name = "allergenicIndicator", type = {BooleanType.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="If the ingredient is a known or suspected allergen", formalDefinition="If the ingredient is a known or suspected allergen." ) + @Description(shortDefinition="If the ingredient is a known or suspected allergen", formalDefinition="If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here." ) protected BooleanType allergenicIndicator; /** - * An organization that manufactures this ingredient. + * The organization(s) that manufacture this ingredient. Can be used to indicate: 1) Organizations we are aware of that manufacture this ingredient 2) Specific Manufacturer(s) currently being used 3) Set of organisations allowed to manufacture this ingredient for this product Users must be clear on the application of context relevant to their use case. */ @Child(name = "manufacturer", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="An organization that manufactures this ingredient", formalDefinition="An organization that manufactures this ingredient." ) + @Description(shortDefinition="An organization that manufactures this ingredient", formalDefinition="The organization(s) that manufacture this ingredient. Can be used to indicate: 1) Organizations we are aware of that manufacture this ingredient 2) Specific Manufacturer(s) currently being used 3) Set of organisations allowed to manufacture this ingredient for this product Users must be clear on the application of context relevant to their use case." ) protected List manufacturer; /** @@ -1918,7 +2062,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #function} (A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent.) + * @return {@link #function} (A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: antioxidant, alkalizing agent.) */ public List getFunction() { if (this.function == null) @@ -1995,7 +2139,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #allergenicIndicator} (If the ingredient is a known or suspected allergen.). This is the underlying object with id, value and extensions. The accessor "getAllergenicIndicator" gives direct access to the value + * @return {@link #allergenicIndicator} (If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here.). This is the underlying object with id, value and extensions. The accessor "getAllergenicIndicator" gives direct access to the value */ public BooleanType getAllergenicIndicatorElement() { if (this.allergenicIndicator == null) @@ -2015,7 +2159,7 @@ public class Ingredient extends DomainResource { } /** - * @param value {@link #allergenicIndicator} (If the ingredient is a known or suspected allergen.). This is the underlying object with id, value and extensions. The accessor "getAllergenicIndicator" gives direct access to the value + * @param value {@link #allergenicIndicator} (If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here.). This is the underlying object with id, value and extensions. The accessor "getAllergenicIndicator" gives direct access to the value */ public Ingredient setAllergenicIndicatorElement(BooleanType value) { this.allergenicIndicator = value; @@ -2023,14 +2167,14 @@ public class Ingredient extends DomainResource { } /** - * @return If the ingredient is a known or suspected allergen. + * @return If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here. */ public boolean getAllergenicIndicator() { return this.allergenicIndicator == null || this.allergenicIndicator.isEmpty() ? false : this.allergenicIndicator.getValue(); } /** - * @param value If the ingredient is a known or suspected allergen. + * @param value If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here. */ public Ingredient setAllergenicIndicator(boolean value) { if (this.allergenicIndicator == null) @@ -2040,7 +2184,7 @@ public class Ingredient extends DomainResource { } /** - * @return {@link #manufacturer} (An organization that manufactures this ingredient.) + * @return {@link #manufacturer} (The organization(s) that manufacture this ingredient. Can be used to indicate: 1) Organizations we are aware of that manufacture this ingredient 2) Specific Manufacturer(s) currently being used 3) Set of organisations allowed to manufacture this ingredient for this product Users must be clear on the application of context relevant to their use case.) */ public List getManufacturer() { if (this.manufacturer == null) @@ -2122,10 +2266,10 @@ public class Ingredient extends DomainResource { children.add(new Property("status", "code", "The status of this ingredient. Enables tracking the life-cycle of the content.", 0, 1, status)); children.add(new Property("for", "Reference(MedicinalProductDefinition|AdministrableProductDefinition|ManufacturedItemDefinition)", "The product which this ingredient is a constituent part of.", 0, java.lang.Integer.MAX_VALUE, for_)); children.add(new Property("role", "CodeableConcept", "A classification of the ingredient identifying its purpose within the product, e.g. active, inactive.", 0, 1, role)); - children.add(new Property("function", "CodeableConcept", "A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent.", 0, java.lang.Integer.MAX_VALUE, function)); + children.add(new Property("function", "CodeableConcept", "A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: antioxidant, alkalizing agent.", 0, java.lang.Integer.MAX_VALUE, function)); children.add(new Property("group", "CodeableConcept", "A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink.", 0, 1, group)); - children.add(new Property("allergenicIndicator", "boolean", "If the ingredient is a known or suspected allergen.", 0, 1, allergenicIndicator)); - children.add(new Property("manufacturer", "", "An organization that manufactures this ingredient.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); + children.add(new Property("allergenicIndicator", "boolean", "If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here.", 0, 1, allergenicIndicator)); + children.add(new Property("manufacturer", "", "The organization(s) that manufacture this ingredient. Can be used to indicate: 1) Organizations we are aware of that manufacture this ingredient 2) Specific Manufacturer(s) currently being used 3) Set of organisations allowed to manufacture this ingredient for this product Users must be clear on the application of context relevant to their use case.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); children.add(new Property("substance", "", "The substance that comprises this ingredient.", 0, 1, substance)); } @@ -2136,10 +2280,10 @@ public class Ingredient extends DomainResource { case -892481550: /*status*/ return new Property("status", "code", "The status of this ingredient. Enables tracking the life-cycle of the content.", 0, 1, status); case 101577: /*for*/ return new Property("for", "Reference(MedicinalProductDefinition|AdministrableProductDefinition|ManufacturedItemDefinition)", "The product which this ingredient is a constituent part of.", 0, java.lang.Integer.MAX_VALUE, for_); case 3506294: /*role*/ return new Property("role", "CodeableConcept", "A classification of the ingredient identifying its purpose within the product, e.g. active, inactive.", 0, 1, role); - case 1380938712: /*function*/ return new Property("function", "CodeableConcept", "A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent.", 0, java.lang.Integer.MAX_VALUE, function); + case 1380938712: /*function*/ return new Property("function", "CodeableConcept", "A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: antioxidant, alkalizing agent.", 0, java.lang.Integer.MAX_VALUE, function); case 98629247: /*group*/ return new Property("group", "CodeableConcept", "A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink.", 0, 1, group); - case 75406931: /*allergenicIndicator*/ return new Property("allergenicIndicator", "boolean", "If the ingredient is a known or suspected allergen.", 0, 1, allergenicIndicator); - case -1969347631: /*manufacturer*/ return new Property("manufacturer", "", "An organization that manufactures this ingredient.", 0, java.lang.Integer.MAX_VALUE, manufacturer); + case 75406931: /*allergenicIndicator*/ return new Property("allergenicIndicator", "boolean", "If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here.", 0, 1, allergenicIndicator); + case -1969347631: /*manufacturer*/ return new Property("manufacturer", "", "The organization(s) that manufacture this ingredient. Can be used to indicate: 1) Organizations we are aware of that manufacture this ingredient 2) Specific Manufacturer(s) currently being used 3) Set of organisations allowed to manufacture this ingredient for this product Users must be clear on the application of context relevant to their use case.", 0, java.lang.Integer.MAX_VALUE, manufacturer); case 530040176: /*substance*/ return new Property("substance", "", "The substance that comprises this ingredient.", 0, 1, substance); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2370,190 +2514,6 @@ public class Ingredient extends DomainResource { return ResourceType.Ingredient; } - /** - * Search parameter: for - *

- * Description: The product which this ingredient is a constituent part of
- * Type: reference
- * Path: Ingredient.for
- *

- */ - @SearchParamDefinition(name="for", path="Ingredient.for", description="The product which this ingredient is a constituent part of", type="reference", target={AdministrableProductDefinition.class, ManufacturedItemDefinition.class, MedicinalProductDefinition.class } ) - public static final String SP_FOR = "for"; - /** - * Fluent Client search parameter constant for for - *

- * Description: The product which this ingredient is a constituent part of
- * Type: reference
- * Path: Ingredient.for
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Ingredient:for". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FOR = new ca.uhn.fhir.model.api.Include("Ingredient:for").toLocked(); - - /** - * Search parameter: function - *

- * Description: A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent
- * Type: token
- * Path: Ingredient.function
- *

- */ - @SearchParamDefinition(name="function", path="Ingredient.function", description="A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent", type="token" ) - public static final String SP_FUNCTION = "function"; - /** - * Fluent Client search parameter constant for function - *

- * Description: A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: Antioxidant, Alkalizing Agent
- * Type: token
- * Path: Ingredient.function
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FUNCTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FUNCTION); - - /** - * Search parameter: identifier - *

- * Description: An identifier or code by which the ingredient can be referenced
- * Type: token
- * Path: Ingredient.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Ingredient.identifier", description="An identifier or code by which the ingredient can be referenced", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An identifier or code by which the ingredient can be referenced
- * Type: token
- * Path: Ingredient.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: manufacturer - *

- * Description: The organization that manufactures this ingredient
- * Type: reference
- * Path: Ingredient.manufacturer
- *

- */ - @SearchParamDefinition(name="manufacturer", path="Ingredient.manufacturer", description="The organization that manufactures this ingredient", type="reference" ) - public static final String SP_MANUFACTURER = "manufacturer"; - /** - * Fluent Client search parameter constant for manufacturer - *

- * Description: The organization that manufactures this ingredient
- * Type: reference
- * Path: Ingredient.manufacturer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANUFACTURER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANUFACTURER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Ingredient:manufacturer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANUFACTURER = new ca.uhn.fhir.model.api.Include("Ingredient:manufacturer").toLocked(); - - /** - * Search parameter: role - *

- * Description: A classification of the ingredient identifying its purpose within the product, e.g. active, inactive
- * Type: token
- * Path: Ingredient.role
- *

- */ - @SearchParamDefinition(name="role", path="Ingredient.role", description="A classification of the ingredient identifying its purpose within the product, e.g. active, inactive", type="token" ) - public static final String SP_ROLE = "role"; - /** - * Fluent Client search parameter constant for role - *

- * Description: A classification of the ingredient identifying its purpose within the product, e.g. active, inactive
- * Type: token
- * Path: Ingredient.role
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ROLE); - - /** - * Search parameter: substance-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Ingredient.substance.code.concept
- *

- */ - @SearchParamDefinition(name="substance-code", path="Ingredient.substance.code.concept", description="Reference to a concept (by class)", type="token" ) - public static final String SP_SUBSTANCE_CODE = "substance-code"; - /** - * Fluent Client search parameter constant for substance-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Ingredient.substance.code.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBSTANCE_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SUBSTANCE_CODE); - - /** - * Search parameter: substance-definition - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Ingredient.substance.code.reference
- *

- */ - @SearchParamDefinition(name="substance-definition", path="Ingredient.substance.code.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_SUBSTANCE_DEFINITION = "substance-definition"; - /** - * Fluent Client search parameter constant for substance-definition - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Ingredient.substance.code.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSTANCE_DEFINITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBSTANCE_DEFINITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Ingredient:substance-definition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSTANCE_DEFINITION = new ca.uhn.fhir.model.api.Include("Ingredient:substance-definition").toLocked(); - - /** - * Search parameter: substance - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Ingredient.substance.code.reference
- *

- */ - @SearchParamDefinition(name="substance", path="Ingredient.substance.code.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_SUBSTANCE = "substance"; - /** - * Fluent Client search parameter constant for substance - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Ingredient.substance.code.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSTANCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBSTANCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Ingredient:substance". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSTANCE = new ca.uhn.fhir.model.api.Include("Ingredient:substance").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InsurancePlan.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InsurancePlan.java index 9229c0678..237269b4b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InsurancePlan.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InsurancePlan.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,334 +53,6 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="InsurancePlan", profile="http://hl7.org/fhir/StructureDefinition/InsurancePlan") public class InsurancePlan extends DomainResource { - @Block() - public static class InsurancePlanContactComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Indicates a purpose for which the contact can be reached. - */ - @Child(name = "purpose", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="The type of contact", formalDefinition="Indicates a purpose for which the contact can be reached." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contactentity-type") - protected CodeableConcept purpose; - - /** - * A name associated with the contact. - */ - @Child(name = "name", type = {HumanName.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="A name associated with the contact", formalDefinition="A name associated with the contact." ) - protected HumanName name; - - /** - * A contact detail (e.g. a telephone number or an email address) by which the party may be contacted. - */ - @Child(name = "telecom", type = {ContactPoint.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Contact details (telephone, email, etc.) for a contact", formalDefinition="A contact detail (e.g. a telephone number or an email address) by which the party may be contacted." ) - protected List telecom; - - /** - * Visiting or postal addresses for the contact. - */ - @Child(name = "address", type = {Address.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Visiting or postal addresses for the contact", formalDefinition="Visiting or postal addresses for the contact." ) - protected Address address; - - private static final long serialVersionUID = 1831121305L; - - /** - * Constructor - */ - public InsurancePlanContactComponent() { - super(); - } - - /** - * @return {@link #purpose} (Indicates a purpose for which the contact can be reached.) - */ - public CodeableConcept getPurpose() { - if (this.purpose == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create InsurancePlanContactComponent.purpose"); - else if (Configuration.doAutoCreate()) - this.purpose = new CodeableConcept(); // cc - return this.purpose; - } - - public boolean hasPurpose() { - return this.purpose != null && !this.purpose.isEmpty(); - } - - /** - * @param value {@link #purpose} (Indicates a purpose for which the contact can be reached.) - */ - public InsurancePlanContactComponent setPurpose(CodeableConcept value) { - this.purpose = value; - return this; - } - - /** - * @return {@link #name} (A name associated with the contact.) - */ - public HumanName getName() { - if (this.name == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create InsurancePlanContactComponent.name"); - else if (Configuration.doAutoCreate()) - this.name = new HumanName(); // cc - return this.name; - } - - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); - } - - /** - * @param value {@link #name} (A name associated with the contact.) - */ - public InsurancePlanContactComponent setName(HumanName value) { - this.name = value; - return this; - } - - /** - * @return {@link #telecom} (A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.) - */ - public List getTelecom() { - if (this.telecom == null) - this.telecom = new ArrayList(); - return this.telecom; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public InsurancePlanContactComponent setTelecom(List theTelecom) { - this.telecom = theTelecom; - return this; - } - - public boolean hasTelecom() { - if (this.telecom == null) - return false; - for (ContactPoint item : this.telecom) - if (!item.isEmpty()) - return true; - return false; - } - - public ContactPoint addTelecom() { //3 - ContactPoint t = new ContactPoint(); - if (this.telecom == null) - this.telecom = new ArrayList(); - this.telecom.add(t); - return t; - } - - public InsurancePlanContactComponent addTelecom(ContactPoint t) { //3 - if (t == null) - return this; - if (this.telecom == null) - this.telecom = new ArrayList(); - this.telecom.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #telecom}, creating it if it does not already exist {3} - */ - public ContactPoint getTelecomFirstRep() { - if (getTelecom().isEmpty()) { - addTelecom(); - } - return getTelecom().get(0); - } - - /** - * @return {@link #address} (Visiting or postal addresses for the contact.) - */ - public Address getAddress() { - if (this.address == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create InsurancePlanContactComponent.address"); - else if (Configuration.doAutoCreate()) - this.address = new Address(); // cc - return this.address; - } - - public boolean hasAddress() { - return this.address != null && !this.address.isEmpty(); - } - - /** - * @param value {@link #address} (Visiting or postal addresses for the contact.) - */ - public InsurancePlanContactComponent setAddress(Address value) { - this.address = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("purpose", "CodeableConcept", "Indicates a purpose for which the contact can be reached.", 0, 1, purpose)); - children.add(new Property("name", "HumanName", "A name associated with the contact.", 0, 1, name)); - children.add(new Property("telecom", "ContactPoint", "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", 0, java.lang.Integer.MAX_VALUE, telecom)); - children.add(new Property("address", "Address", "Visiting or postal addresses for the contact.", 0, 1, address)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -220463842: /*purpose*/ return new Property("purpose", "CodeableConcept", "Indicates a purpose for which the contact can be reached.", 0, 1, purpose); - case 3373707: /*name*/ return new Property("name", "HumanName", "A name associated with the contact.", 0, 1, name); - case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", 0, java.lang.Integer.MAX_VALUE, telecom); - case -1147692044: /*address*/ return new Property("address", "Address", "Visiting or postal addresses for the contact.", 0, 1, address); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // CodeableConcept - case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // HumanName - case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint - case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // Address - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -220463842: // purpose - this.purpose = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case 3373707: // name - this.name = TypeConvertor.castToHumanName(value); // HumanName - return value; - case -1429363305: // telecom - this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint - return value; - case -1147692044: // address - this.address = TypeConvertor.castToAddress(value); // Address - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("purpose")) { - this.purpose = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("name")) { - this.name = TypeConvertor.castToHumanName(value); // HumanName - } else if (name.equals("telecom")) { - this.getTelecom().add(TypeConvertor.castToContactPoint(value)); - } else if (name.equals("address")) { - this.address = TypeConvertor.castToAddress(value); // Address - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -220463842: return getPurpose(); - case 3373707: return getName(); - case -1429363305: return addTelecom(); - case -1147692044: return getAddress(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -220463842: /*purpose*/ return new String[] {"CodeableConcept"}; - case 3373707: /*name*/ return new String[] {"HumanName"}; - case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; - case -1147692044: /*address*/ return new String[] {"Address"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("purpose")) { - this.purpose = new CodeableConcept(); - return this.purpose; - } - else if (name.equals("name")) { - this.name = new HumanName(); - return this.name; - } - else if (name.equals("telecom")) { - return addTelecom(); - } - else if (name.equals("address")) { - this.address = new Address(); - return this.address; - } - else - return super.addChild(name); - } - - public InsurancePlanContactComponent copy() { - InsurancePlanContactComponent dst = new InsurancePlanContactComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(InsurancePlanContactComponent dst) { - super.copyValues(dst); - dst.purpose = purpose == null ? null : purpose.copy(); - dst.name = name == null ? null : name.copy(); - if (telecom != null) { - dst.telecom = new ArrayList(); - for (ContactPoint i : telecom) - dst.telecom.add(i.copy()); - }; - dst.address = address == null ? null : address.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof InsurancePlanContactComponent)) - return false; - InsurancePlanContactComponent o = (InsurancePlanContactComponent) other_; - return compareDeep(purpose, o.purpose, true) && compareDeep(name, o.name, true) && compareDeep(telecom, o.telecom, true) - && compareDeep(address, o.address, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof InsurancePlanContactComponent)) - return false; - InsurancePlanContactComponent o = (InsurancePlanContactComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(purpose, name, telecom, address - ); - } - - public String fhirType() { - return "InsurancePlan.contact"; - - } - - } - @Block() public static class InsurancePlanCoverageComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -2987,11 +2659,11 @@ public class InsurancePlan extends DomainResource { protected List coverageArea; /** - * The contact for the health insurance product for a certain purpose. + * The contact details of communication devices available relevant to the specific Insurance Plan/Product. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites. */ - @Child(name = "contact", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Contact for the product", formalDefinition="The contact for the health insurance product for a certain purpose." ) - protected List contact; + @Child(name = "contact", type = {ExtendedContactDetail.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Official contact details relevant to the health insurance plan/product", formalDefinition="The contact details of communication devices available relevant to the specific Insurance Plan/Product. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites." ) + protected List contact; /** * The technical endpoints providing access to services operated for the health insurance product. @@ -3021,7 +2693,7 @@ public class InsurancePlan extends DomainResource { @Description(shortDefinition="Plan details", formalDefinition="Details about an insurance plan." ) protected List plan; - private static final long serialVersionUID = -947586130L; + private static final long serialVersionUID = -292692522L; /** * Constructor @@ -3421,18 +3093,18 @@ public class InsurancePlan extends DomainResource { } /** - * @return {@link #contact} (The contact for the health insurance product for a certain purpose.) + * @return {@link #contact} (The contact details of communication devices available relevant to the specific Insurance Plan/Product. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.) */ - public List getContact() { + public List getContact() { if (this.contact == null) - this.contact = new ArrayList(); + this.contact = new ArrayList(); return this.contact; } /** * @return Returns a reference to this for easy method chaining */ - public InsurancePlan setContact(List theContact) { + public InsurancePlan setContact(List theContact) { this.contact = theContact; return this; } @@ -3440,25 +3112,25 @@ public class InsurancePlan extends DomainResource { public boolean hasContact() { if (this.contact == null) return false; - for (InsurancePlanContactComponent item : this.contact) + for (ExtendedContactDetail item : this.contact) if (!item.isEmpty()) return true; return false; } - public InsurancePlanContactComponent addContact() { //3 - InsurancePlanContactComponent t = new InsurancePlanContactComponent(); + public ExtendedContactDetail addContact() { //3 + ExtendedContactDetail t = new ExtendedContactDetail(); if (this.contact == null) - this.contact = new ArrayList(); + this.contact = new ArrayList(); this.contact.add(t); return t; } - public InsurancePlan addContact(InsurancePlanContactComponent t) { //3 + public InsurancePlan addContact(ExtendedContactDetail t) { //3 if (t == null) return this; if (this.contact == null) - this.contact = new ArrayList(); + this.contact = new ArrayList(); this.contact.add(t); return this; } @@ -3466,7 +3138,7 @@ public class InsurancePlan extends DomainResource { /** * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} */ - public InsurancePlanContactComponent getContactFirstRep() { + public ExtendedContactDetail getContactFirstRep() { if (getContact().isEmpty()) { addContact(); } @@ -3696,7 +3368,7 @@ public class InsurancePlan extends DomainResource { children.add(new Property("ownedBy", "Reference(Organization)", "The entity that is providing the health insurance product and underwriting the risk. This is typically an insurance carriers, other third-party payers, or health plan sponsors comonly referred to as 'payers'.", 0, 1, ownedBy)); children.add(new Property("administeredBy", "Reference(Organization)", "An organization which administer other services such as underwriting, customer service and/or claims processing on behalf of the health insurance product owner.", 0, 1, administeredBy)); children.add(new Property("coverageArea", "Reference(Location)", "The geographic region in which a health insurance product's benefits apply.", 0, java.lang.Integer.MAX_VALUE, coverageArea)); - children.add(new Property("contact", "", "The contact for the health insurance product for a certain purpose.", 0, java.lang.Integer.MAX_VALUE, contact)); + children.add(new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific Insurance Plan/Product. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("endpoint", "Reference(Endpoint)", "The technical endpoints providing access to services operated for the health insurance product.", 0, java.lang.Integer.MAX_VALUE, endpoint)); children.add(new Property("network", "Reference(Organization)", "Reference to the network included in the health insurance product.", 0, java.lang.Integer.MAX_VALUE, network)); children.add(new Property("coverage", "", "Details about the coverage offered by the insurance product.", 0, java.lang.Integer.MAX_VALUE, coverage)); @@ -3715,7 +3387,7 @@ public class InsurancePlan extends DomainResource { case -1054743076: /*ownedBy*/ return new Property("ownedBy", "Reference(Organization)", "The entity that is providing the health insurance product and underwriting the risk. This is typically an insurance carriers, other third-party payers, or health plan sponsors comonly referred to as 'payers'.", 0, 1, ownedBy); case 898770462: /*administeredBy*/ return new Property("administeredBy", "Reference(Organization)", "An organization which administer other services such as underwriting, customer service and/or claims processing on behalf of the health insurance product owner.", 0, 1, administeredBy); case -1532328299: /*coverageArea*/ return new Property("coverageArea", "Reference(Location)", "The geographic region in which a health insurance product's benefits apply.", 0, java.lang.Integer.MAX_VALUE, coverageArea); - case 951526432: /*contact*/ return new Property("contact", "", "The contact for the health insurance product for a certain purpose.", 0, java.lang.Integer.MAX_VALUE, contact); + case 951526432: /*contact*/ return new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific Insurance Plan/Product. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact); case 1741102485: /*endpoint*/ return new Property("endpoint", "Reference(Endpoint)", "The technical endpoints providing access to services operated for the health insurance product.", 0, java.lang.Integer.MAX_VALUE, endpoint); case 1843485230: /*network*/ return new Property("network", "Reference(Organization)", "Reference to the network included in the health insurance product.", 0, java.lang.Integer.MAX_VALUE, network); case -351767064: /*coverage*/ return new Property("coverage", "", "Details about the coverage offered by the insurance product.", 0, java.lang.Integer.MAX_VALUE, coverage); @@ -3737,7 +3409,7 @@ public class InsurancePlan extends DomainResource { case -1054743076: /*ownedBy*/ return this.ownedBy == null ? new Base[0] : new Base[] {this.ownedBy}; // Reference case 898770462: /*administeredBy*/ return this.administeredBy == null ? new Base[0] : new Base[] {this.administeredBy}; // Reference case -1532328299: /*coverageArea*/ return this.coverageArea == null ? new Base[0] : this.coverageArea.toArray(new Base[this.coverageArea.size()]); // Reference - case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // InsurancePlanContactComponent + case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ExtendedContactDetail case 1741102485: /*endpoint*/ return this.endpoint == null ? new Base[0] : this.endpoint.toArray(new Base[this.endpoint.size()]); // Reference case 1843485230: /*network*/ return this.network == null ? new Base[0] : this.network.toArray(new Base[this.network.size()]); // Reference case -351767064: /*coverage*/ return this.coverage == null ? new Base[0] : this.coverage.toArray(new Base[this.coverage.size()]); // InsurancePlanCoverageComponent @@ -3779,7 +3451,7 @@ public class InsurancePlan extends DomainResource { this.getCoverageArea().add(TypeConvertor.castToReference(value)); // Reference return value; case 951526432: // contact - this.getContact().add((InsurancePlanContactComponent) value); // InsurancePlanContactComponent + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); // ExtendedContactDetail return value; case 1741102485: // endpoint this.getEndpoint().add(TypeConvertor.castToReference(value)); // Reference @@ -3820,7 +3492,7 @@ public class InsurancePlan extends DomainResource { } else if (name.equals("coverageArea")) { this.getCoverageArea().add(TypeConvertor.castToReference(value)); } else if (name.equals("contact")) { - this.getContact().add((InsurancePlanContactComponent) value); + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); } else if (name.equals("endpoint")) { this.getEndpoint().add(TypeConvertor.castToReference(value)); } else if (name.equals("network")) { @@ -3868,7 +3540,7 @@ public class InsurancePlan extends DomainResource { case -1054743076: /*ownedBy*/ return new String[] {"Reference"}; case 898770462: /*administeredBy*/ return new String[] {"Reference"}; case -1532328299: /*coverageArea*/ return new String[] {"Reference"}; - case 951526432: /*contact*/ return new String[] {}; + case 951526432: /*contact*/ return new String[] {"ExtendedContactDetail"}; case 1741102485: /*endpoint*/ return new String[] {"Reference"}; case 1843485230: /*network*/ return new String[] {"Reference"}; case -351767064: /*coverage*/ return new String[] {}; @@ -3968,8 +3640,8 @@ public class InsurancePlan extends DomainResource { dst.coverageArea.add(i.copy()); }; if (contact != null) { - dst.contact = new ArrayList(); - for (InsurancePlanContactComponent i : contact) + dst.contact = new ArrayList(); + for (ExtendedContactDetail i : contact) dst.contact.add(i.copy()); }; if (endpoint != null) { @@ -4035,304 +3707,6 @@ public class InsurancePlan extends DomainResource { return ResourceType.InsurancePlan; } - /** - * Search parameter: address-city - *

- * Description: A city specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="InsurancePlan.contact.address.city", description="A city specified in an address", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: A city specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: A country specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="InsurancePlan.contact.address.country", description="A country specified in an address", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: A country specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: A postal code specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="InsurancePlan.contact.address.postalCode", description="A postal code specified in an address", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: A postal code specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: A state specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="InsurancePlan.contact.address.state", description="A state specified in an address", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: A state specified in an address
- * Type: string
- * Path: InsurancePlan.contact.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: A use code specified in an address
- * Type: token
- * Path: InsurancePlan.contact.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="InsurancePlan.contact.address.use", description="A use code specified in an address", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: A use code specified in an address
- * Type: token
- * Path: InsurancePlan.contact.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
- * Type: string
- * Path: InsurancePlan.contact.address
- *

- */ - @SearchParamDefinition(name="address", path="InsurancePlan.contact.address", description="A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
- * Type: string
- * Path: InsurancePlan.contact.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: administered-by - *

- * Description: Product administrator
- * Type: reference
- * Path: InsurancePlan.administeredBy
- *

- */ - @SearchParamDefinition(name="administered-by", path="InsurancePlan.administeredBy", description="Product administrator", type="reference", target={Organization.class } ) - public static final String SP_ADMINISTERED_BY = "administered-by"; - /** - * Fluent Client search parameter constant for administered-by - *

- * Description: Product administrator
- * Type: reference
- * Path: InsurancePlan.administeredBy
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ADMINISTERED_BY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ADMINISTERED_BY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "InsurancePlan:administered-by". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ADMINISTERED_BY = new ca.uhn.fhir.model.api.Include("InsurancePlan:administered-by").toLocked(); - - /** - * Search parameter: endpoint - *

- * Description: Technical endpoint
- * Type: reference
- * Path: InsurancePlan.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="InsurancePlan.endpoint", description="Technical endpoint", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: Technical endpoint
- * Type: reference
- * Path: InsurancePlan.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "InsurancePlan:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("InsurancePlan:endpoint").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Any identifier for the organization (not the accreditation issuer's identifier)
- * Type: token
- * Path: InsurancePlan.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="InsurancePlan.identifier", description="Any identifier for the organization (not the accreditation issuer's identifier)", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Any identifier for the organization (not the accreditation issuer's identifier)
- * Type: token
- * Path: InsurancePlan.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: A portion of the organization's name or alias
- * Type: string
- * Path: InsurancePlan.name | InsurancePlan.alias
- *

- */ - @SearchParamDefinition(name="name", path="InsurancePlan.name | InsurancePlan.alias", description="A portion of the organization's name or alias", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A portion of the organization's name or alias
- * Type: string
- * Path: InsurancePlan.name | InsurancePlan.alias
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: owned-by - *

- * Description: An organization of which this organization forms a part
- * Type: reference
- * Path: InsurancePlan.ownedBy
- *

- */ - @SearchParamDefinition(name="owned-by", path="InsurancePlan.ownedBy", description="An organization of which this organization forms a part", type="reference", target={Organization.class } ) - public static final String SP_OWNED_BY = "owned-by"; - /** - * Fluent Client search parameter constant for owned-by - *

- * Description: An organization of which this organization forms a part
- * Type: reference
- * Path: InsurancePlan.ownedBy
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNED_BY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OWNED_BY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "InsurancePlan:owned-by". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNED_BY = new ca.uhn.fhir.model.api.Include("InsurancePlan:owned-by").toLocked(); - - /** - * Search parameter: phonetic - *

- * Description: A portion of the organization's name using some kind of phonetic matching algorithm
- * Type: string
- * Path: InsurancePlan.name
- *

- */ - @SearchParamDefinition(name="phonetic", path="InsurancePlan.name", description="A portion of the organization's name using some kind of phonetic matching algorithm", type="string" ) - public static final String SP_PHONETIC = "phonetic"; - /** - * Fluent Client search parameter constant for phonetic - *

- * Description: A portion of the organization's name using some kind of phonetic matching algorithm
- * Type: string
- * Path: InsurancePlan.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PHONETIC); - - /** - * Search parameter: status - *

- * Description: Is the Organization record active
- * Type: token
- * Path: InsurancePlan.status
- *

- */ - @SearchParamDefinition(name="status", path="InsurancePlan.status", description="Is the Organization record active", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Is the Organization record active
- * Type: token
- * Path: InsurancePlan.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: type - *

- * Description: A code for the type of organization
- * Type: token
- * Path: InsurancePlan.type
- *

- */ - @SearchParamDefinition(name="type", path="InsurancePlan.type", description="A code for the type of organization", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: A code for the type of organization
- * Type: token
- * Path: InsurancePlan.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InventoryReport.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InventoryReport.java index d4335cf78..12fa3c951 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InventoryReport.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/InventoryReport.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class InventoryReport extends DomainResource { switch (this) { case SNAPSHOT: return "snapshot"; case DIFFERENCE: return "difference"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class InventoryReport extends DomainResource { switch (this) { case SNAPSHOT: return "http://hl7.org/fhir/inventoryreport-counttype"; case DIFFERENCE: return "http://hl7.org/fhir/inventoryreport-counttype"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class InventoryReport extends DomainResource { switch (this) { case SNAPSHOT: return "The inventory report is a current absolute snapshot, i.e. it represents the quantities at hand."; case DIFFERENCE: return "The inventory report is about the difference between a previous count and a current count, i.e. it represents the items that have been added/subtracted from inventory."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class InventoryReport extends DomainResource { switch (this) { case SNAPSHOT: return "Snapshot"; case DIFFERENCE: return "Difference"; + case NULL: return null; default: return "?"; } } @@ -188,6 +192,7 @@ public class InventoryReport extends DomainResource { case REQUESTED: return "requested"; case ACTIVE: return "active"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -197,6 +202,7 @@ public class InventoryReport extends DomainResource { case REQUESTED: return "http://hl7.org/fhir/inventoryreport-status"; case ACTIVE: return "http://hl7.org/fhir/inventoryreport-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/inventoryreport-status"; + case NULL: return null; default: return "?"; } } @@ -206,6 +212,7 @@ public class InventoryReport extends DomainResource { case REQUESTED: return "The inventory report has been requested but there is no data available."; case ACTIVE: return "This report is submitted as current."; case ENTEREDINERROR: return "The report has been withdrawn following a previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it."; + case NULL: return null; default: return "?"; } } @@ -215,6 +222,7 @@ public class InventoryReport extends DomainResource { case REQUESTED: return "Requested"; case ACTIVE: return "Active"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Invoice.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Invoice.java index 0e728bafe..d32113ff2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Invoice.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Invoice.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -104,6 +104,7 @@ public class Invoice extends DomainResource { case BALANCED: return "balanced"; case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -114,6 +115,7 @@ public class Invoice extends DomainResource { case BALANCED: return "http://hl7.org/fhir/invoice-status"; case CANCELLED: return "http://hl7.org/fhir/invoice-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/invoice-status"; + case NULL: return null; default: return "?"; } } @@ -124,6 +126,7 @@ public class Invoice extends DomainResource { case BALANCED: return "the invoice has been balaced / completely paid."; case CANCELLED: return "the invoice was cancelled."; case ENTEREDINERROR: return "the invoice was determined as entered in error before it was issued."; + case NULL: return null; default: return "?"; } } @@ -134,6 +137,7 @@ public class Invoice extends DomainResource { case BALANCED: return "balanced"; case CANCELLED: return "cancelled"; case ENTEREDINERROR: return "entered in error"; + case NULL: return null; default: return "?"; } } @@ -2236,302 +2240,6 @@ public class Invoice extends DomainResource { return ResourceType.Invoice; } - /** - * Search parameter: account - *

- * Description: Account that is being balanced
- * Type: reference
- * Path: Invoice.account
- *

- */ - @SearchParamDefinition(name="account", path="Invoice.account", description="Account that is being balanced", type="reference", target={Account.class } ) - public static final String SP_ACCOUNT = "account"; - /** - * Fluent Client search parameter constant for account - *

- * Description: Account that is being balanced
- * Type: reference
- * Path: Invoice.account
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACCOUNT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACCOUNT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Invoice:account". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACCOUNT = new ca.uhn.fhir.model.api.Include("Invoice:account").toLocked(); - - /** - * Search parameter: date - *

- * Description: Invoice date / posting date
- * Type: date
- * Path: Invoice.date
- *

- */ - @SearchParamDefinition(name="date", path="Invoice.date", description="Invoice date / posting date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Invoice date / posting date
- * Type: date
- * Path: Invoice.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Business Identifier for item
- * Type: token
- * Path: Invoice.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Invoice.identifier", description="Business Identifier for item", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business Identifier for item
- * Type: token
- * Path: Invoice.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: issuer - *

- * Description: Issuing Organization of Invoice
- * Type: reference
- * Path: Invoice.issuer
- *

- */ - @SearchParamDefinition(name="issuer", path="Invoice.issuer", description="Issuing Organization of Invoice", type="reference", target={Organization.class } ) - public static final String SP_ISSUER = "issuer"; - /** - * Fluent Client search parameter constant for issuer - *

- * Description: Issuing Organization of Invoice
- * Type: reference
- * Path: Invoice.issuer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ISSUER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ISSUER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Invoice:issuer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ISSUER = new ca.uhn.fhir.model.api.Include("Invoice:issuer").toLocked(); - - /** - * Search parameter: participant-role - *

- * Description: Type of involvement in creation of this Invoice
- * Type: token
- * Path: Invoice.participant.role
- *

- */ - @SearchParamDefinition(name="participant-role", path="Invoice.participant.role", description="Type of involvement in creation of this Invoice", type="token" ) - public static final String SP_PARTICIPANT_ROLE = "participant-role"; - /** - * Fluent Client search parameter constant for participant-role - *

- * Description: Type of involvement in creation of this Invoice
- * Type: token
- * Path: Invoice.participant.role
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PARTICIPANT_ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PARTICIPANT_ROLE); - - /** - * Search parameter: participant - *

- * Description: Individual who was involved
- * Type: reference
- * Path: Invoice.participant.actor
- *

- */ - @SearchParamDefinition(name="participant", path="Invoice.participant.actor", description="Individual who was involved", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PARTICIPANT = "participant"; - /** - * Fluent Client search parameter constant for participant - *

- * Description: Individual who was involved
- * Type: reference
- * Path: Invoice.participant.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTICIPANT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Invoice:participant". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT = new ca.uhn.fhir.model.api.Include("Invoice:participant").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Recipient(s) of goods and services
- * Type: reference
- * Path: Invoice.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Invoice.subject.where(resolve() is Patient)", description="Recipient(s) of goods and services", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Recipient(s) of goods and services
- * Type: reference
- * Path: Invoice.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Invoice:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Invoice:patient").toLocked(); - - /** - * Search parameter: recipient - *

- * Description: Recipient of this invoice
- * Type: reference
- * Path: Invoice.recipient
- *

- */ - @SearchParamDefinition(name="recipient", path="Invoice.recipient", description="Recipient of this invoice", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, RelatedPerson.class } ) - public static final String SP_RECIPIENT = "recipient"; - /** - * Fluent Client search parameter constant for recipient - *

- * Description: Recipient of this invoice
- * Type: reference
- * Path: Invoice.recipient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECIPIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECIPIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Invoice:recipient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECIPIENT = new ca.uhn.fhir.model.api.Include("Invoice:recipient").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | issued | balanced | cancelled | entered-in-error
- * Type: token
- * Path: Invoice.status
- *

- */ - @SearchParamDefinition(name="status", path="Invoice.status", description="draft | issued | balanced | cancelled | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | issued | balanced | cancelled | entered-in-error
- * Type: token
- * Path: Invoice.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Recipient(s) of goods and services
- * Type: reference
- * Path: Invoice.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Invoice.subject", description="Recipient(s) of goods and services", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Recipient(s) of goods and services
- * Type: reference
- * Path: Invoice.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Invoice:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Invoice:subject").toLocked(); - - /** - * Search parameter: totalgross - *

- * Description: Gross total of this Invoice
- * Type: quantity
- * Path: Invoice.totalGross
- *

- */ - @SearchParamDefinition(name="totalgross", path="Invoice.totalGross", description="Gross total of this Invoice", type="quantity" ) - public static final String SP_TOTALGROSS = "totalgross"; - /** - * Fluent Client search parameter constant for totalgross - *

- * Description: Gross total of this Invoice
- * Type: quantity
- * Path: Invoice.totalGross
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam TOTALGROSS = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_TOTALGROSS); - - /** - * Search parameter: totalnet - *

- * Description: Net total of this Invoice
- * Type: quantity
- * Path: Invoice.totalNet
- *

- */ - @SearchParamDefinition(name="totalnet", path="Invoice.totalNet", description="Net total of this Invoice", type="quantity" ) - public static final String SP_TOTALNET = "totalnet"; - /** - * Fluent Client search parameter constant for totalnet - *

- * Description: Net total of this Invoice
- * Type: quantity
- * Path: Invoice.totalNet
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam TOTALNET = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_TOTALNET); - - /** - * Search parameter: type - *

- * Description: Type of Invoice
- * Type: token
- * Path: Invoice.type
- *

- */ - @SearchParamDefinition(name="type", path="Invoice.type", description="Type of Invoice", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Type of Invoice
- * Type: token
- * Path: Invoice.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Library.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Library.java index 4502b771f..478ff2d3b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Library.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Library.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -2432,516 +2432,6 @@ public class Library extends MetadataResource { return ResourceType.Library; } - /** - * Search parameter: composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='composed-of').resource
- *

- */ - @SearchParamDefinition(name="composed-of", path="Library.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_COMPOSED_OF = "composed-of"; - /** - * Fluent Client search parameter constant for composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='composed-of').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Library:composed-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("Library:composed-of").toLocked(); - - /** - * Search parameter: content-type - *

- * Description: The type of content in the library (e.g. text/cql)
- * Type: token
- * Path: Library.content.contentType
- *

- */ - @SearchParamDefinition(name="content-type", path="Library.content.contentType", description="The type of content in the library (e.g. text/cql)", type="token" ) - public static final String SP_CONTENT_TYPE = "content-type"; - /** - * Fluent Client search parameter constant for content-type - *

- * Description: The type of content in the library (e.g. text/cql)
- * Type: token
- * Path: Library.content.contentType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTENT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTENT_TYPE); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the library
- * Type: quantity
- * Path: (Library.useContext.value as Quantity) | (Library.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(Library.useContext.value as Quantity) | (Library.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the library", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the library
- * Type: quantity
- * Path: (Library.useContext.value as Quantity) | (Library.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the library
- * Type: composite
- * Path: Library.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="Library.useContext", description="A use context type and quantity- or range-based value assigned to the library", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the library
- * Type: composite
- * Path: Library.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the library
- * Type: composite
- * Path: Library.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="Library.useContext", description="A use context type and value assigned to the library", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the library
- * Type: composite
- * Path: Library.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the library
- * Type: token
- * Path: Library.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="Library.useContext.code", description="A type of use context assigned to the library", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the library
- * Type: token
- * Path: Library.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the library
- * Type: token
- * Path: (Library.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(Library.useContext.value as CodeableConcept)", description="A use context assigned to the library", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the library
- * Type: token
- * Path: (Library.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The library publication date
- * Type: date
- * Path: Library.date
- *

- */ - @SearchParamDefinition(name="date", path="Library.date", description="The library publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The library publication date
- * Type: date
- * Path: Library.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='depends-on').resource
- *

- */ - @SearchParamDefinition(name="depends-on", path="Library.relatedArtifact.where(type='depends-on').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='depends-on').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Library:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("Library:depends-on").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='derived-from').resource
- *

- */ - @SearchParamDefinition(name="derived-from", path="Library.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='derived-from').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Library:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("Library:derived-from").toLocked(); - - /** - * Search parameter: description - *

- * Description: The description of the library
- * Type: string
- * Path: Library.description
- *

- */ - @SearchParamDefinition(name="description", path="Library.description", description="The description of the library", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the library
- * Type: string
- * Path: Library.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the library is intended to be in use
- * Type: date
- * Path: Library.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="Library.effectivePeriod", description="The time during which the library is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the library is intended to be in use
- * Type: date
- * Path: Library.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the library
- * Type: token
- * Path: Library.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Library.identifier", description="External identifier for the library", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the library
- * Type: token
- * Path: Library.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the library
- * Type: token
- * Path: Library.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="Library.jurisdiction", description="Intended jurisdiction for the library", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the library
- * Type: token
- * Path: Library.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the library
- * Type: string
- * Path: Library.name
- *

- */ - @SearchParamDefinition(name="name", path="Library.name", description="Computationally friendly name of the library", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the library
- * Type: string
- * Path: Library.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='predecessor').resource
- *

- */ - @SearchParamDefinition(name="predecessor", path="Library.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PREDECESSOR = "predecessor"; - /** - * Fluent Client search parameter constant for predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='predecessor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Library:predecessor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("Library:predecessor").toLocked(); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the library
- * Type: string
- * Path: Library.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="Library.publisher", description="Name of the publisher of the library", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the library
- * Type: string
- * Path: Library.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the library
- * Type: token
- * Path: Library.status
- *

- */ - @SearchParamDefinition(name="status", path="Library.status", description="The current status of the library", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the library
- * Type: token
- * Path: Library.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='successor').resource
- *

- */ - @SearchParamDefinition(name="successor", path="Library.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUCCESSOR = "successor"; - /** - * Fluent Client search parameter constant for successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Library.relatedArtifact.where(type='successor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Library:successor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("Library:successor").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the library
- * Type: string
- * Path: Library.title
- *

- */ - @SearchParamDefinition(name="title", path="Library.title", description="The human-friendly name of the library", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the library
- * Type: string
- * Path: Library.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: Library.topic
- *

- */ - @SearchParamDefinition(name="topic", path="Library.topic", description="Topics associated with the module", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: Library.topic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - - /** - * Search parameter: type - *

- * Description: The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)
- * Type: token
- * Path: Library.type
- *

- */ - @SearchParamDefinition(name="type", path="Library.type", description="The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)
- * Type: token
- * Path: Library.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the library
- * Type: uri
- * Path: Library.url
- *

- */ - @SearchParamDefinition(name="url", path="Library.url", description="The uri that identifies the library", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the library
- * Type: uri
- * Path: Library.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the library
- * Type: token
- * Path: Library.version
- *

- */ - @SearchParamDefinition(name="version", path="Library.version", description="The business version of the library", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the library
- * Type: token
- * Path: Library.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Linkage.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Linkage.java index 3010af319..7475af621 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Linkage.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Linkage.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Linkage extends DomainResource { case SOURCE: return "source"; case ALTERNATE: return "alternate"; case HISTORICAL: return "historical"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Linkage extends DomainResource { case SOURCE: return "http://hl7.org/fhir/linkage-type"; case ALTERNATE: return "http://hl7.org/fhir/linkage-type"; case HISTORICAL: return "http://hl7.org/fhir/linkage-type"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Linkage extends DomainResource { case SOURCE: return "The resource represents the \"source of truth\" (from the perspective of this Linkage resource) for the underlying event/condition/etc."; case ALTERNATE: return "The resource represents an alternative view of the underlying event/condition/etc. The resource may still be actively maintained, even though it is not considered to be the source of truth."; case HISTORICAL: return "The resource represents an obsolete record of the underlying event/condition/etc. It is not expected to be actively maintained."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Linkage extends DomainResource { case SOURCE: return "Source of Truth"; case ALTERNATE: return "Alternate Record"; case HISTORICAL: return "Historical/Obsolete Record"; + case NULL: return null; default: return "?"; } } @@ -707,84 +711,6 @@ public class Linkage extends DomainResource { return ResourceType.Linkage; } - /** - * Search parameter: author - *

- * Description: Author of the Linkage
- * Type: reference
- * Path: Linkage.author
- *

- */ - @SearchParamDefinition(name="author", path="Linkage.author", description="Author of the Linkage", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: Author of the Linkage
- * Type: reference
- * Path: Linkage.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Linkage:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("Linkage:author").toLocked(); - - /** - * Search parameter: item - *

- * Description: Matches on any item in the Linkage
- * Type: reference
- * Path: Linkage.item.resource
- *

- */ - @SearchParamDefinition(name="item", path="Linkage.item.resource", description="Matches on any item in the Linkage", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_ITEM = "item"; - /** - * Fluent Client search parameter constant for item - *

- * Description: Matches on any item in the Linkage
- * Type: reference
- * Path: Linkage.item.resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Linkage:item". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM = new ca.uhn.fhir.model.api.Include("Linkage:item").toLocked(); - - /** - * Search parameter: source - *

- * Description: Matches on any item in the Linkage with a type of 'source'
- * Type: reference
- * Path: Linkage.item.resource
- *

- */ - @SearchParamDefinition(name="source", path="Linkage.item.resource", description="Matches on any item in the Linkage with a type of 'source'", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: Matches on any item in the Linkage with a type of 'source'
- * Type: reference
- * Path: Linkage.item.resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Linkage:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("Linkage:source").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ListResource.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ListResource.java index 96e75bed7..1c4ce9975 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ListResource.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ListResource.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class ListResource extends DomainResource { case CURRENT: return "current"; case RETIRED: return "retired"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class ListResource extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class ListResource extends DomainResource { case CURRENT: return "The list is considered to be an active part of the patient's record."; case RETIRED: return "The list is \"old\" and should no longer be considered accurate or relevant."; case ENTEREDINERROR: return "The list was never accurate. It is retained for medico-legal purposes only."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class ListResource extends DomainResource { case CURRENT: return "Current"; case RETIRED: return "Retired"; case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; default: return "?"; } } @@ -571,7 +575,7 @@ public class ListResource extends DomainResource { /** * The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list. */ - @Child(name = "source", type = {Practitioner.class, PractitionerRole.class, Patient.class, Device.class}, order=8, min=0, max=1, modifier=false, summary=true) + @Child(name = "source", type = {Practitioner.class, PractitionerRole.class, Patient.class, Device.class, Organization.class, RelatedPerson.class, CareTeam.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who and/or what defined the list contents (aka Author)", formalDefinition="The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list." ) protected Reference source; @@ -682,7 +686,7 @@ public class ListResource extends DomainResource { public Enumeration getStatusElement() { if (this.status == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.status"); + throw new Error("Attempt to auto-create ListResource.status"); else if (Configuration.doAutoCreate()) this.status = new Enumeration(new ListStatusEnumFactory()); // bb return this.status; @@ -727,7 +731,7 @@ public class ListResource extends DomainResource { public Enumeration getModeElement() { if (this.mode == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.mode"); + throw new Error("Attempt to auto-create ListResource.mode"); else if (Configuration.doAutoCreate()) this.mode = new Enumeration(new ListModeEnumFactory()); // bb return this.mode; @@ -772,7 +776,7 @@ public class ListResource extends DomainResource { public StringType getTitleElement() { if (this.title == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.title"); + throw new Error("Attempt to auto-create ListResource.title"); else if (Configuration.doAutoCreate()) this.title = new StringType(); // bb return this.title; @@ -821,7 +825,7 @@ public class ListResource extends DomainResource { public CodeableConcept getCode() { if (this.code == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.code"); + throw new Error("Attempt to auto-create ListResource.code"); else if (Configuration.doAutoCreate()) this.code = new CodeableConcept(); // cc return this.code; @@ -845,7 +849,7 @@ public class ListResource extends DomainResource { public Reference getSubject() { if (this.subject == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.subject"); + throw new Error("Attempt to auto-create ListResource.subject"); else if (Configuration.doAutoCreate()) this.subject = new Reference(); // cc return this.subject; @@ -869,7 +873,7 @@ public class ListResource extends DomainResource { public Reference getEncounter() { if (this.encounter == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.encounter"); + throw new Error("Attempt to auto-create ListResource.encounter"); else if (Configuration.doAutoCreate()) this.encounter = new Reference(); // cc return this.encounter; @@ -893,7 +897,7 @@ public class ListResource extends DomainResource { public DateTimeType getDateElement() { if (this.date == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.date"); + throw new Error("Attempt to auto-create ListResource.date"); else if (Configuration.doAutoCreate()) this.date = new DateTimeType(); // bb return this.date; @@ -942,7 +946,7 @@ public class ListResource extends DomainResource { public Reference getSource() { if (this.source == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.source"); + throw new Error("Attempt to auto-create ListResource.source"); else if (Configuration.doAutoCreate()) this.source = new Reference(); // cc return this.source; @@ -966,7 +970,7 @@ public class ListResource extends DomainResource { public CodeableConcept getOrderedBy() { if (this.orderedBy == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.orderedBy"); + throw new Error("Attempt to auto-create ListResource.orderedBy"); else if (Configuration.doAutoCreate()) this.orderedBy = new CodeableConcept(); // cc return this.orderedBy; @@ -1096,7 +1100,7 @@ public class ListResource extends DomainResource { public CodeableConcept getEmptyReason() { if (this.emptyReason == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create List.emptyReason"); + throw new Error("Attempt to auto-create ListResource.emptyReason"); else if (Configuration.doAutoCreate()) this.emptyReason = new CodeableConcept(); // cc return this.emptyReason; @@ -1124,7 +1128,7 @@ public class ListResource extends DomainResource { children.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, 1, subject)); children.add(new Property("encounter", "Reference(Encounter)", "The encounter that is the context in which this list was created.", 0, 1, encounter)); children.add(new Property("date", "dateTime", "The date that the list was prepared.", 0, 1, date)); - children.add(new Property("source", "Reference(Practitioner|PractitionerRole|Patient|Device)", "The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.", 0, 1, source)); + children.add(new Property("source", "Reference(Practitioner|PractitionerRole|Patient|Device|Organization|RelatedPerson|CareTeam)", "The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.", 0, 1, source)); children.add(new Property("orderedBy", "CodeableConcept", "What order applies to the items in the list.", 0, 1, orderedBy)); children.add(new Property("note", "Annotation", "Comments that apply to the overall list.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("entry", "", "Entries in this list.", 0, java.lang.Integer.MAX_VALUE, entry)); @@ -1142,7 +1146,7 @@ public class ListResource extends DomainResource { case -1867885268: /*subject*/ return 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, 1, subject); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The encounter that is the context in which this list was created.", 0, 1, encounter); case 3076014: /*date*/ return new Property("date", "dateTime", "The date that the list was prepared.", 0, 1, date); - case -896505829: /*source*/ return new Property("source", "Reference(Practitioner|PractitionerRole|Patient|Device)", "The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.", 0, 1, source); + case -896505829: /*source*/ return new Property("source", "Reference(Practitioner|PractitionerRole|Patient|Device|Organization|RelatedPerson|CareTeam)", "The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.", 0, 1, source); case -391079516: /*orderedBy*/ return new Property("orderedBy", "CodeableConcept", "What order applies to the items in the list.", 0, 1, orderedBy); case 3387378: /*note*/ return new Property("note", "Annotation", "Comments that apply to the overall list.", 0, java.lang.Integer.MAX_VALUE, note); case 96667762: /*entry*/ return new Property("entry", "", "Entries in this list.", 0, java.lang.Integer.MAX_VALUE, entry); @@ -1430,506 +1434,6 @@ public class ListResource extends DomainResource { return ResourceType.List; } - /** - * Search parameter: empty-reason - *

- * Description: Why list is empty
- * Type: token
- * Path: List.emptyReason
- *

- */ - @SearchParamDefinition(name="empty-reason", path="List.emptyReason", description="Why list is empty", type="token" ) - public static final String SP_EMPTY_REASON = "empty-reason"; - /** - * Fluent Client search parameter constant for empty-reason - *

- * Description: Why list is empty
- * Type: token
- * Path: List.emptyReason
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMPTY_REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMPTY_REASON); - - /** - * Search parameter: item - *

- * Description: Actual entry
- * Type: reference
- * Path: List.entry.item
- *

- */ - @SearchParamDefinition(name="item", path="List.entry.item", description="Actual entry", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_ITEM = "item"; - /** - * Fluent Client search parameter constant for item - *

- * Description: Actual entry
- * Type: reference
- * Path: List.entry.item
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "List:item". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM = new ca.uhn.fhir.model.api.Include("List:item").toLocked(); - - /** - * Search parameter: notes - *

- * Description: The annotation - text content (as markdown)
- * Type: string
- * Path: List.note.text
- *

- */ - @SearchParamDefinition(name="notes", path="List.note.text", description="The annotation - text content (as markdown)", type="string" ) - public static final String SP_NOTES = "notes"; - /** - * Fluent Client search parameter constant for notes - *

- * Description: The annotation - text content (as markdown)
- * Type: string
- * Path: List.note.text
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NOTES = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NOTES); - - /** - * Search parameter: source - *

- * Description: Who and/or what defined the list contents (aka Author)
- * Type: reference
- * Path: List.source
- *

- */ - @SearchParamDefinition(name="source", path="List.source", description="Who and/or what defined the list contents (aka Author)", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Patient.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: Who and/or what defined the list contents (aka Author)
- * Type: reference
- * Path: List.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "List:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("List:source").toLocked(); - - /** - * Search parameter: status - *

- * Description: current | retired | entered-in-error
- * Type: token
- * Path: List.status
- *

- */ - @SearchParamDefinition(name="status", path="List.status", description="current | retired | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: current | retired | entered-in-error
- * Type: token
- * Path: List.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: If all resources have the same subject
- * Type: reference
- * Path: List.subject
- *

- */ - @SearchParamDefinition(name="subject", path="List.subject", description="If all resources have the same subject", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Device.class, Group.class, Location.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: If all resources have the same subject
- * Type: reference
- * Path: List.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "List:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("List:subject").toLocked(); - - /** - * Search parameter: title - *

- * Description: Descriptive name for the list
- * Type: string
- * Path: List.title
- *

- */ - @SearchParamDefinition(name="title", path="List.title", description="Descriptive name for the list", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Descriptive name for the list
- * Type: string
- * Path: List.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "List:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("List:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "List:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("List:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Location.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Location.java index 16288e9ff..9a09e9ee7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Location.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Location.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -83,6 +83,7 @@ public class Location extends DomainResource { switch (this) { case INSTANCE: return "instance"; case KIND: return "kind"; + case NULL: return null; default: return "?"; } } @@ -90,6 +91,7 @@ public class Location extends DomainResource { switch (this) { case INSTANCE: return "http://hl7.org/fhir/location-mode"; case KIND: return "http://hl7.org/fhir/location-mode"; + case NULL: return null; default: return "?"; } } @@ -97,6 +99,7 @@ public class Location extends DomainResource { switch (this) { case INSTANCE: return "The Location resource represents a specific instance of a location (e.g. Operating Theatre 1A)."; case KIND: return "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.)."; + case NULL: return null; default: return "?"; } } @@ -104,6 +107,7 @@ public class Location extends DomainResource { switch (this) { case INSTANCE: return "Instance"; case KIND: return "Kind"; + case NULL: return null; default: return "?"; } } @@ -182,6 +186,7 @@ public class Location extends DomainResource { case ACTIVE: return "active"; case SUSPENDED: return "suspended"; case INACTIVE: return "inactive"; + case NULL: return null; default: return "?"; } } @@ -190,6 +195,7 @@ public class Location extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -198,6 +204,7 @@ public class Location extends DomainResource { case ACTIVE: return "The location is operational."; case SUSPENDED: return "The location is temporarily closed."; case INACTIVE: return "The location is no longer used."; + case NULL: return null; default: return "?"; } } @@ -206,6 +213,7 @@ public class Location extends DomainResource { case ACTIVE: return "Active"; case SUSPENDED: return "Suspended"; case INACTIVE: return "Inactive"; + case NULL: return null; default: return "?"; } } @@ -257,24 +265,24 @@ public class Location extends DomainResource { @Block() public static class LocationPositionComponent extends BackboneElement implements IBaseBackboneElement { /** - * 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 on Location main page). */ @Child(name = "longitude", type = {DecimalType.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Longitude with WGS84 datum", formalDefinition="Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below)." ) + @Description(shortDefinition="Longitude with WGS84 datum", formalDefinition="Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page)." ) protected DecimalType longitude; /** - * 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 on Location main page). */ @Child(name = "latitude", type = {DecimalType.class}, order=2, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="Latitude with WGS84 datum", formalDefinition="Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below)." ) + @Description(shortDefinition="Latitude with WGS84 datum", formalDefinition="Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page)." ) protected DecimalType latitude; /** - * 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 on Location main page). */ @Child(name = "altitude", type = {DecimalType.class}, order=3, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Altitude with WGS84 datum", formalDefinition="Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)." ) + @Description(shortDefinition="Altitude with WGS84 datum", formalDefinition="Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page)." ) protected DecimalType altitude; private static final long serialVersionUID = -74276134L; @@ -296,7 +304,7 @@ public class Location extends DomainResource { } /** - * @return {@link #longitude} (Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).). This is the underlying object with id, value and extensions. The accessor "getLongitude" gives direct access to the value + * @return {@link #longitude} (Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page).). This is the underlying object with id, value and extensions. The accessor "getLongitude" gives direct access to the value */ public DecimalType getLongitudeElement() { if (this.longitude == null) @@ -316,7 +324,7 @@ public class Location extends DomainResource { } /** - * @param value {@link #longitude} (Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).). This is the underlying object with id, value and extensions. The accessor "getLongitude" gives direct access to the value + * @param value {@link #longitude} (Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page).). This is the underlying object with id, value and extensions. The accessor "getLongitude" gives direct access to the value */ public LocationPositionComponent setLongitudeElement(DecimalType value) { this.longitude = value; @@ -324,14 +332,14 @@ public class Location extends DomainResource { } /** - * @return Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). + * @return Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page). */ public BigDecimal getLongitude() { return this.longitude == null ? null : this.longitude.getValue(); } /** - * @param value Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). + * @param value Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page). */ public LocationPositionComponent setLongitude(BigDecimal value) { if (this.longitude == null) @@ -341,7 +349,7 @@ public class Location extends DomainResource { } /** - * @param value Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). + * @param value Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page). */ public LocationPositionComponent setLongitude(long value) { this.longitude = new DecimalType(); @@ -350,7 +358,7 @@ public class Location extends DomainResource { } /** - * @param value Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below). + * @param value Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page). */ public LocationPositionComponent setLongitude(double value) { this.longitude = new DecimalType(); @@ -359,7 +367,7 @@ public class Location extends DomainResource { } /** - * @return {@link #latitude} (Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).). This is the underlying object with id, value and extensions. The accessor "getLatitude" gives direct access to the value + * @return {@link #latitude} (Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page).). This is the underlying object with id, value and extensions. The accessor "getLatitude" gives direct access to the value */ public DecimalType getLatitudeElement() { if (this.latitude == null) @@ -379,7 +387,7 @@ public class Location extends DomainResource { } /** - * @param value {@link #latitude} (Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).). This is the underlying object with id, value and extensions. The accessor "getLatitude" gives direct access to the value + * @param value {@link #latitude} (Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page).). This is the underlying object with id, value and extensions. The accessor "getLatitude" gives direct access to the value */ public LocationPositionComponent setLatitudeElement(DecimalType value) { this.latitude = value; @@ -387,14 +395,14 @@ public class Location extends DomainResource { } /** - * @return Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). + * @return Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page). */ public BigDecimal getLatitude() { return this.latitude == null ? null : this.latitude.getValue(); } /** - * @param value Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). + * @param value Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page). */ public LocationPositionComponent setLatitude(BigDecimal value) { if (this.latitude == null) @@ -404,7 +412,7 @@ public class Location extends DomainResource { } /** - * @param value Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). + * @param value Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page). */ public LocationPositionComponent setLatitude(long value) { this.latitude = new DecimalType(); @@ -413,7 +421,7 @@ public class Location extends DomainResource { } /** - * @param value Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below). + * @param value Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page). */ public LocationPositionComponent setLatitude(double value) { this.latitude = new DecimalType(); @@ -422,7 +430,7 @@ public class Location extends DomainResource { } /** - * @return {@link #altitude} (Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).). This is the underlying object with id, value and extensions. The accessor "getAltitude" gives direct access to the value + * @return {@link #altitude} (Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page).). This is the underlying object with id, value and extensions. The accessor "getAltitude" gives direct access to the value */ public DecimalType getAltitudeElement() { if (this.altitude == null) @@ -442,7 +450,7 @@ public class Location extends DomainResource { } /** - * @param value {@link #altitude} (Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).). This is the underlying object with id, value and extensions. The accessor "getAltitude" gives direct access to the value + * @param value {@link #altitude} (Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page).). This is the underlying object with id, value and extensions. The accessor "getAltitude" gives direct access to the value */ public LocationPositionComponent setAltitudeElement(DecimalType value) { this.altitude = value; @@ -450,14 +458,14 @@ public class Location extends DomainResource { } /** - * @return Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). + * @return Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page). */ public BigDecimal getAltitude() { return this.altitude == null ? null : this.altitude.getValue(); } /** - * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). + * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page). */ public LocationPositionComponent setAltitude(BigDecimal value) { if (value == null) @@ -471,7 +479,7 @@ public class Location extends DomainResource { } /** - * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). + * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page). */ public LocationPositionComponent setAltitude(long value) { this.altitude = new DecimalType(); @@ -480,7 +488,7 @@ public class Location extends DomainResource { } /** - * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). + * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page). */ public LocationPositionComponent setAltitude(double value) { this.altitude = new DecimalType(); @@ -490,17 +498,17 @@ public class Location extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("longitude", "decimal", "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).", 0, 1, longitude)); - children.add(new Property("latitude", "decimal", "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).", 0, 1, latitude)); - children.add(new Property("altitude", "decimal", "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).", 0, 1, altitude)); + children.add(new Property("longitude", "decimal", "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page).", 0, 1, longitude)); + children.add(new Property("latitude", "decimal", "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page).", 0, 1, latitude)); + children.add(new Property("altitude", "decimal", "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page).", 0, 1, altitude)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 137365935: /*longitude*/ return new Property("longitude", "decimal", "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).", 0, 1, longitude); - case -1439978388: /*latitude*/ return new Property("latitude", "decimal", "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).", 0, 1, latitude); - case 2036550306: /*altitude*/ return new Property("altitude", "decimal", "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).", 0, 1, altitude); + case 137365935: /*longitude*/ return new Property("longitude", "decimal", "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes on Location main page).", 0, 1, longitude); + case -1439978388: /*latitude*/ return new Property("latitude", "decimal", "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes on Location main page).", 0, 1, latitude); + case 2036550306: /*altitude*/ return new Property("altitude", "decimal", "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes on Location main page).", 0, 1, altitude); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -642,10 +650,10 @@ public class Location extends DomainResource { protected List> daysOfWeek; /** - * The Location is open all day. + * Is this always available? (hence times are irrelevant) i.e. 24 hour service. */ @Child(name = "allDay", type = {BooleanType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="The Location is open all day", formalDefinition="The Location is open all day." ) + @Description(shortDefinition="Always available? i.e. 24 hour service", formalDefinition="Is this always available? (hence times are irrelevant) i.e. 24 hour service." ) protected BooleanType allDay; /** @@ -733,7 +741,7 @@ public class Location extends DomainResource { } /** - * @return {@link #allDay} (The Location is open all day.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value + * @return {@link #allDay} (Is this always available? (hence times are irrelevant) i.e. 24 hour service.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value */ public BooleanType getAllDayElement() { if (this.allDay == null) @@ -753,7 +761,7 @@ public class Location extends DomainResource { } /** - * @param value {@link #allDay} (The Location is open all day.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value + * @param value {@link #allDay} (Is this always available? (hence times are irrelevant) i.e. 24 hour service.). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value */ public LocationHoursOfOperationComponent setAllDayElement(BooleanType value) { this.allDay = value; @@ -761,14 +769,14 @@ public class Location extends DomainResource { } /** - * @return The Location is open all day. + * @return Is this always available? (hence times are irrelevant) i.e. 24 hour service. */ public boolean getAllDay() { return this.allDay == null || this.allDay.isEmpty() ? false : this.allDay.getValue(); } /** - * @param value The Location is open all day. + * @param value Is this always available? (hence times are irrelevant) i.e. 24 hour service. */ public LocationHoursOfOperationComponent setAllDay(boolean value) { if (this.allDay == null) @@ -878,7 +886,7 @@ public class Location extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("daysOfWeek", "code", "Indicates which days of the week are available between the start and end Times.", 0, java.lang.Integer.MAX_VALUE, daysOfWeek)); - children.add(new Property("allDay", "boolean", "The Location is open all day.", 0, 1, allDay)); + children.add(new Property("allDay", "boolean", "Is this always available? (hence times are irrelevant) i.e. 24 hour service.", 0, 1, allDay)); children.add(new Property("openingTime", "time", "Time that the Location opens.", 0, 1, openingTime)); children.add(new Property("closingTime", "time", "Time that the Location closes.", 0, 1, closingTime)); } @@ -887,7 +895,7 @@ public class Location extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 68050338: /*daysOfWeek*/ return new Property("daysOfWeek", "code", "Indicates which days of the week are available between the start and end Times.", 0, java.lang.Integer.MAX_VALUE, daysOfWeek); - case -1414913477: /*allDay*/ return new Property("allDay", "boolean", "The Location is open all day.", 0, 1, allDay); + case -1414913477: /*allDay*/ return new Property("allDay", "boolean", "Is this always available? (hence times are irrelevant) i.e. 24 hour service.", 0, 1, allDay); case 84062277: /*openingTime*/ return new Property("openingTime", "time", "Time that the Location opens.", 0, 1, openingTime); case 188137762: /*closingTime*/ return new Property("closingTime", "time", "Time that the Location closes.", 0, 1, closingTime); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1099,23 +1107,30 @@ public class Location extends DomainResource { protected List type; /** - * 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 addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites. */ - @Child(name = "telecom", type = {ContactPoint.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Contact details of the location", formalDefinition="The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites." ) + @Child(name = "contact", type = {ExtendedContactDetail.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Official contact details for the location", formalDefinition="The contact details of communication devices available at the location. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites." ) + protected List contact; + + /** + * Deprecated - use contact.telecom. + */ + @Child(name = "telecom", type = {ContactPoint.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Deprecated - use contact.telecom", formalDefinition="Deprecated - use contact.telecom." ) protected List telecom; /** * Physical location. */ - @Child(name = "address", type = {Address.class}, order=9, min=0, max=1, modifier=false, summary=false) + @Child(name = "address", type = {Address.class}, order=10, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Physical location", formalDefinition="Physical location." ) protected Address address; /** * Physical form of the location, e.g. building, room, vehicle, road. */ - @Child(name = "physicalType", type = {CodeableConcept.class}, order=10, min=0, max=1, modifier=false, summary=true) + @Child(name = "physicalType", type = {CodeableConcept.class}, order=11, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Physical form of the location", formalDefinition="Physical form of the location, e.g. building, room, vehicle, road." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/location-physical-type") protected CodeableConcept physicalType; @@ -1123,46 +1138,46 @@ public class Location extends DomainResource { /** * The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML). */ - @Child(name = "position", type = {}, order=11, min=0, max=1, modifier=false, summary=false) + @Child(name = "position", type = {}, order=12, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The absolute geographic location", formalDefinition="The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML)." ) protected LocationPositionComponent position; /** * The organization responsible for the provisioning and upkeep of the location. */ - @Child(name = "managingOrganization", type = {Organization.class}, order=12, min=0, max=1, modifier=false, summary=true) + @Child(name = "managingOrganization", type = {Organization.class}, order=13, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Organization responsible for provisioning and upkeep", formalDefinition="The organization responsible for the provisioning and upkeep of the location." ) protected Reference managingOrganization; /** * Another Location of which this Location is physically a part of. */ - @Child(name = "partOf", type = {Location.class}, order=13, min=0, max=1, modifier=false, summary=false) + @Child(name = "partOf", type = {Location.class}, order=14, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Another Location this one is physically a part of", formalDefinition="Another Location of which this Location is physically a part of." ) protected Reference partOf; /** * What days/times during a week is this location usually open. */ - @Child(name = "hoursOfOperation", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "hoursOfOperation", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="What days/times during a week is this location usually open", formalDefinition="What days/times during a week is this location usually open." ) protected List hoursOfOperation; /** * A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times. */ - @Child(name = "availabilityExceptions", type = {StringType.class}, order=15, min=0, max=1, modifier=false, summary=false) + @Child(name = "availabilityExceptions", type = {StringType.class}, order=16, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Description of availability exceptions", formalDefinition="A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times." ) protected StringType availabilityExceptions; /** * Technical endpoints providing access to services operated for the location. */ - @Child(name = "endpoint", type = {Endpoint.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "endpoint", type = {Endpoint.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Technical endpoints providing access to services operated for the location", formalDefinition="Technical endpoints providing access to services operated for the location." ) protected List endpoint; - private static final long serialVersionUID = -1479198769L; + private static final long serialVersionUID = 270794377L; /** * Constructor @@ -1559,7 +1574,60 @@ public class Location extends DomainResource { } /** - * @return {@link #telecom} (The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.) + * @return {@link #contact} (The contact details of communication devices available at the location. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.) + */ + public List getContact() { + if (this.contact == null) + this.contact = new ArrayList(); + return this.contact; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Location setContact(List theContact) { + this.contact = theContact; + return this; + } + + public boolean hasContact() { + if (this.contact == null) + return false; + for (ExtendedContactDetail item : this.contact) + if (!item.isEmpty()) + return true; + return false; + } + + public ExtendedContactDetail addContact() { //3 + ExtendedContactDetail t = new ExtendedContactDetail(); + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return t; + } + + public Location addContact(ExtendedContactDetail t) { //3 + if (t == null) + return this; + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} + */ + public ExtendedContactDetail getContactFirstRep() { + if (getContact().isEmpty()) { + addContact(); + } + return getContact().get(0); + } + + /** + * @return {@link #telecom} (Deprecated - use contact.telecom.) */ public List getTelecom() { if (this.telecom == null) @@ -1896,7 +1964,8 @@ public class Location extends DomainResource { children.add(new Property("description", "string", "Description of the Location, which helps in finding or referencing the place.", 0, 1, description)); children.add(new Property("mode", "code", "Indicates whether a resource instance represents a specific location or a class of locations.", 0, 1, mode)); children.add(new Property("type", "CodeableConcept", "Indicates the type of function performed at the location.", 0, java.lang.Integer.MAX_VALUE, type)); - children.add(new Property("telecom", "ContactPoint", "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, telecom)); + children.add(new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available at the location. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact)); + children.add(new Property("telecom", "ContactPoint", "Deprecated - use contact.telecom.", 0, java.lang.Integer.MAX_VALUE, telecom)); children.add(new Property("address", "Address", "Physical location.", 0, 1, address)); children.add(new Property("physicalType", "CodeableConcept", "Physical form of the location, e.g. building, room, vehicle, road.", 0, 1, physicalType)); children.add(new Property("position", "", "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).", 0, 1, position)); @@ -1918,7 +1987,8 @@ public class Location extends DomainResource { case -1724546052: /*description*/ return new Property("description", "string", "Description of the Location, which helps in finding or referencing the place.", 0, 1, description); case 3357091: /*mode*/ return new Property("mode", "code", "Indicates whether a resource instance represents a specific location or a class of locations.", 0, 1, mode); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Indicates the type of function performed at the location.", 0, java.lang.Integer.MAX_VALUE, type); - case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, telecom); + case 951526432: /*contact*/ return new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available at the location. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact); + case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "Deprecated - use contact.telecom.", 0, java.lang.Integer.MAX_VALUE, telecom); case -1147692044: /*address*/ return new Property("address", "Address", "Physical location.", 0, 1, address); case -1474715471: /*physicalType*/ return new Property("physicalType", "CodeableConcept", "Physical form of the location, e.g. building, room, vehicle, road.", 0, 1, physicalType); case 747804969: /*position*/ return new Property("position", "", "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).", 0, 1, position); @@ -1943,6 +2013,7 @@ public class Location extends DomainResource { case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType case 3357091: /*mode*/ return this.mode == null ? new Base[0] : new Base[] {this.mode}; // Enumeration case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept + case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ExtendedContactDetail case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // Address case -1474715471: /*physicalType*/ return this.physicalType == null ? new Base[0] : new Base[] {this.physicalType}; // CodeableConcept @@ -1986,6 +2057,9 @@ public class Location extends DomainResource { case 3575610: // type this.getType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; + case 951526432: // contact + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); // ExtendedContactDetail + return value; case -1429363305: // telecom this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint return value; @@ -2038,6 +2112,8 @@ public class Location extends DomainResource { this.mode = (Enumeration) value; // Enumeration } else if (name.equals("type")) { this.getType().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("contact")) { + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); } else if (name.equals("telecom")) { this.getTelecom().add(TypeConvertor.castToContactPoint(value)); } else if (name.equals("address")) { @@ -2072,6 +2148,7 @@ public class Location extends DomainResource { case -1724546052: return getDescriptionElement(); case 3357091: return getModeElement(); case 3575610: return addType(); + case 951526432: return addContact(); case -1429363305: return addTelecom(); case -1147692044: return getAddress(); case -1474715471: return getPhysicalType(); @@ -2097,6 +2174,7 @@ public class Location extends DomainResource { case -1724546052: /*description*/ return new String[] {"string"}; case 3357091: /*mode*/ return new String[] {"code"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"}; + case 951526432: /*contact*/ return new String[] {"ExtendedContactDetail"}; case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; case -1147692044: /*address*/ return new String[] {"Address"}; case -1474715471: /*physicalType*/ return new String[] {"CodeableConcept"}; @@ -2138,6 +2216,9 @@ public class Location extends DomainResource { else if (name.equals("type")) { return addType(); } + else if (name.equals("contact")) { + return addContact(); + } else if (name.equals("telecom")) { return addTelecom(); } @@ -2207,6 +2288,11 @@ public class Location extends DomainResource { for (CodeableConcept i : type) dst.type.add(i.copy()); }; + if (contact != null) { + dst.contact = new ArrayList(); + for (ExtendedContactDetail i : contact) + dst.contact.add(i.copy()); + }; if (telecom != null) { dst.telecom = new ArrayList(); for (ContactPoint i : telecom) @@ -2243,11 +2329,12 @@ public class Location extends DomainResource { Location o = (Location) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(operationalStatus, o.operationalStatus, true) && compareDeep(name, o.name, true) && compareDeep(alias, o.alias, true) && compareDeep(description, o.description, true) - && compareDeep(mode, o.mode, true) && compareDeep(type, o.type, true) && compareDeep(telecom, o.telecom, true) - && compareDeep(address, o.address, true) && compareDeep(physicalType, o.physicalType, true) && compareDeep(position, o.position, true) - && compareDeep(managingOrganization, o.managingOrganization, true) && compareDeep(partOf, o.partOf, true) - && compareDeep(hoursOfOperation, o.hoursOfOperation, true) && compareDeep(availabilityExceptions, o.availabilityExceptions, true) - && compareDeep(endpoint, o.endpoint, true); + && compareDeep(mode, o.mode, true) && compareDeep(type, o.type, true) && compareDeep(contact, o.contact, true) + && compareDeep(telecom, o.telecom, true) && compareDeep(address, o.address, true) && compareDeep(physicalType, o.physicalType, true) + && compareDeep(position, o.position, true) && compareDeep(managingOrganization, o.managingOrganization, true) + && compareDeep(partOf, o.partOf, true) && compareDeep(hoursOfOperation, o.hoursOfOperation, true) + && compareDeep(availabilityExceptions, o.availabilityExceptions, true) && compareDeep(endpoint, o.endpoint, true) + ; } @Override @@ -2264,9 +2351,9 @@ public class Location extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, operationalStatus - , name, alias, description, mode, type, telecom, address, physicalType, position - , managingOrganization, partOf, hoursOfOperation, availabilityExceptions, endpoint - ); + , name, alias, description, mode, type, contact, telecom, address, physicalType + , position, managingOrganization, partOf, hoursOfOperation, availabilityExceptions + , endpoint); } @Override @@ -2274,330 +2361,6 @@ public class Location extends DomainResource { return ResourceType.Location; } - /** - * Search parameter: address-city - *

- * Description: A city specified in an address
- * Type: string
- * Path: Location.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="Location.address.city", description="A city specified in an address", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: A city specified in an address
- * Type: string
- * Path: Location.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: A country specified in an address
- * Type: string
- * Path: Location.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="Location.address.country", description="A country specified in an address", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: A country specified in an address
- * Type: string
- * Path: Location.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: A postal code specified in an address
- * Type: string
- * Path: Location.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="Location.address.postalCode", description="A postal code specified in an address", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: A postal code specified in an address
- * Type: string
- * Path: Location.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: A state specified in an address
- * Type: string
- * Path: Location.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="Location.address.state", description="A state specified in an address", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: A state specified in an address
- * Type: string
- * Path: Location.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: A use code specified in an address
- * Type: token
- * Path: Location.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="Location.address.use", description="A use code specified in an address", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: A use code specified in an address
- * Type: token
- * Path: Location.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: A (part of the) address of the location
- * Type: string
- * Path: Location.address
- *

- */ - @SearchParamDefinition(name="address", path="Location.address", description="A (part of the) address of the location", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: A (part of the) address of the location
- * Type: string
- * Path: Location.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: endpoint - *

- * Description: Technical endpoints providing access to services operated for the location
- * Type: reference
- * Path: Location.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="Location.endpoint", description="Technical endpoints providing access to services operated for the location", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: Technical endpoints providing access to services operated for the location
- * Type: reference
- * Path: Location.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Location:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("Location:endpoint").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: An identifier for the location
- * Type: token
- * Path: Location.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Location.identifier", description="An identifier for the location", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An identifier for the location
- * Type: token
- * Path: Location.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: A portion of the location's name or alias
- * Type: string
- * Path: Location.name | Location.alias
- *

- */ - @SearchParamDefinition(name="name", path="Location.name | Location.alias", description="A portion of the location's name or alias", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A portion of the location's name or alias
- * Type: string
- * Path: Location.name | Location.alias
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: near - *

- * Description: Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes). -If the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant) - -Servers may search using various techniques that might have differing accuracies, depending on implementation efficiency.
- * Type: special
- * Path: Location.position
- *

- */ - @SearchParamDefinition(name="near", path="Location.position", description="Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes).\nIf the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant)\n\nServers may search using various techniques that might have differing accuracies, depending on implementation efficiency.", type="special" ) - public static final String SP_NEAR = "near"; - /** - * Fluent Client search parameter constant for near - *

- * Description: Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes). -If the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant) - -Servers may search using various techniques that might have differing accuracies, depending on implementation efficiency.
- * Type: special
- * Path: Location.position
- *

- */ - public static final ca.uhn.fhir.rest.gclient.SpecialClientParam NEAR = new ca.uhn.fhir.rest.gclient.SpecialClientParam(SP_NEAR); - - /** - * Search parameter: operational-status - *

- * Description: Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)
- * Type: token
- * Path: Location.operationalStatus
- *

- */ - @SearchParamDefinition(name="operational-status", path="Location.operationalStatus", description="Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)", type="token" ) - public static final String SP_OPERATIONAL_STATUS = "operational-status"; - /** - * Fluent Client search parameter constant for operational-status - *

- * Description: Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)
- * Type: token
- * Path: Location.operationalStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam OPERATIONAL_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_OPERATIONAL_STATUS); - - /** - * Search parameter: organization - *

- * Description: Searches for locations that are managed by the provided organization
- * Type: reference
- * Path: Location.managingOrganization
- *

- */ - @SearchParamDefinition(name="organization", path="Location.managingOrganization", description="Searches for locations that are managed by the provided organization", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: Searches for locations that are managed by the provided organization
- * Type: reference
- * Path: Location.managingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Location:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("Location:organization").toLocked(); - - /** - * Search parameter: partof - *

- * Description: A location of which this location is a part
- * Type: reference
- * Path: Location.partOf
- *

- */ - @SearchParamDefinition(name="partof", path="Location.partOf", description="A location of which this location is a part", type="reference", target={Location.class } ) - public static final String SP_PARTOF = "partof"; - /** - * Fluent Client search parameter constant for partof - *

- * Description: A location of which this location is a part
- * Type: reference
- * Path: Location.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTOF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTOF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Location:partof". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTOF = new ca.uhn.fhir.model.api.Include("Location:partof").toLocked(); - - /** - * Search parameter: status - *

- * Description: Searches for locations with a specific kind of status
- * Type: token
- * Path: Location.status
- *

- */ - @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"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Searches for locations with a specific kind of status
- * Type: token
- * Path: Location.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: type - *

- * Description: A code for the type of location
- * Type: token
- * Path: Location.type
- *

- */ - @SearchParamDefinition(name="type", path="Location.type", description="A code for the type of location", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: A code for the type of location
- * Type: token
- * Path: Location.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ManufacturedItemDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ManufacturedItemDefinition.java index 96a1babcc..6cd519aa8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ManufacturedItemDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ManufacturedItemDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -60,6 +60,7 @@ public class ManufacturedItemDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="A code expressing the type of characteristic", formalDefinition="A code expressing the type of characteristic." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-characteristic-codes") protected CodeableConcept type; /** @@ -376,14 +377,16 @@ public class ManufacturedItemDefinition extends DomainResource { * Dose form as manufactured and before any transformation into the pharmaceutical product. */ @Child(name = "manufacturedDoseForm", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Dose form as manufactured and before any transformation into the pharmaceutical product", formalDefinition="Dose form as manufactured and before any transformation into the pharmaceutical product." ) + @Description(shortDefinition="Dose form as manufactured (before any necessary transformation)", formalDefinition="Dose form as manufactured and before any transformation into the pharmaceutical product." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/manufactured-dose-form") protected CodeableConcept manufacturedDoseForm; /** * The “real world” units in which the quantity of the manufactured item is described. */ @Child(name = "unitOfPresentation", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The “real world” units in which the quantity of the manufactured item is described", formalDefinition="The “real world” units in which the quantity of the manufactured item is described." ) + @Description(shortDefinition="The “real world” units in which the quantity of the item is described", formalDefinition="The “real world” units in which the quantity of the manufactured item is described." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/unit-of-presentation") protected CodeableConcept unitOfPresentation; /** @@ -397,7 +400,8 @@ public class ManufacturedItemDefinition extends DomainResource { * The ingredients of this manufactured item. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource. */ @Child(name = "ingredient", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The ingredients of this manufactured item. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource", formalDefinition="The ingredients of this manufactured item. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource." ) + @Description(shortDefinition="The ingredients of this manufactured item. Only needed if these are not specified by incoming references from the Ingredient resource", formalDefinition="The ingredients of this manufactured item. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-codes") protected List ingredient; /** @@ -956,66 +960,6 @@ public class ManufacturedItemDefinition extends DomainResource { return ResourceType.ManufacturedItemDefinition; } - /** - * Search parameter: dose-form - *

- * Description: Dose form as manufactured and before any transformation into the pharmaceutical product
- * Type: token
- * Path: ManufacturedItemDefinition.manufacturedDoseForm
- *

- */ - @SearchParamDefinition(name="dose-form", path="ManufacturedItemDefinition.manufacturedDoseForm", description="Dose form as manufactured and before any transformation into the pharmaceutical product", type="token" ) - public static final String SP_DOSE_FORM = "dose-form"; - /** - * Fluent Client search parameter constant for dose-form - *

- * Description: Dose form as manufactured and before any transformation into the pharmaceutical product
- * Type: token
- * Path: ManufacturedItemDefinition.manufacturedDoseForm
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOSE_FORM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOSE_FORM); - - /** - * Search parameter: identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: ManufacturedItemDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ManufacturedItemDefinition.identifier", description="Unique identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: ManufacturedItemDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: ingredient - *

- * Description: An ingredient of this item
- * Type: token
- * Path: ManufacturedItemDefinition.ingredient
- *

- */ - @SearchParamDefinition(name="ingredient", path="ManufacturedItemDefinition.ingredient", description="An ingredient of this item", type="token" ) - public static final String SP_INGREDIENT = "ingredient"; - /** - * Fluent Client search parameter constant for ingredient - *

- * Description: An ingredient of this item
- * Type: token
- * Path: ManufacturedItemDefinition.ingredient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INGREDIENT); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MarketingStatus.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MarketingStatus.java index 6cde7c1cf..6d012be3b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MarketingStatus.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MarketingStatus.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Measure.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Measure.java index 1ce041c65..8a9b69ff7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Measure.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Measure.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -5324,476 +5324,6 @@ public class Measure extends MetadataResource { return ResourceType.Measure; } - /** - * Search parameter: composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='composed-of').resource
- *

- */ - @SearchParamDefinition(name="composed-of", path="Measure.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_COMPOSED_OF = "composed-of"; - /** - * Fluent Client search parameter constant for composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='composed-of').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Measure:composed-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("Measure:composed-of").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the measure
- * Type: quantity
- * Path: (Measure.useContext.value as Quantity) | (Measure.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(Measure.useContext.value as Quantity) | (Measure.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the measure", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the measure
- * Type: quantity
- * Path: (Measure.useContext.value as Quantity) | (Measure.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the measure
- * Type: composite
- * Path: Measure.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="Measure.useContext", description="A use context type and quantity- or range-based value assigned to the measure", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the measure
- * Type: composite
- * Path: Measure.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the measure
- * Type: composite
- * Path: Measure.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="Measure.useContext", description="A use context type and value assigned to the measure", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the measure
- * Type: composite
- * Path: Measure.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the measure
- * Type: token
- * Path: Measure.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="Measure.useContext.code", description="A type of use context assigned to the measure", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the measure
- * Type: token
- * Path: Measure.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the measure
- * Type: token
- * Path: (Measure.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(Measure.useContext.value as CodeableConcept)", description="A use context assigned to the measure", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the measure
- * Type: token
- * Path: (Measure.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The measure publication date
- * Type: date
- * Path: Measure.date
- *

- */ - @SearchParamDefinition(name="date", path="Measure.date", description="The measure publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The measure publication date
- * Type: date
- * Path: Measure.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='depends-on').resource | Measure.library
- *

- */ - @SearchParamDefinition(name="depends-on", path="Measure.relatedArtifact.where(type='depends-on').resource | Measure.library", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='depends-on').resource | Measure.library
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Measure:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("Measure:depends-on").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='derived-from').resource
- *

- */ - @SearchParamDefinition(name="derived-from", path="Measure.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='derived-from').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Measure:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("Measure:derived-from").toLocked(); - - /** - * Search parameter: description - *

- * Description: The description of the measure
- * Type: string
- * Path: Measure.description
- *

- */ - @SearchParamDefinition(name="description", path="Measure.description", description="The description of the measure", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the measure
- * Type: string
- * Path: Measure.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the measure is intended to be in use
- * Type: date
- * Path: Measure.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="Measure.effectivePeriod", description="The time during which the measure is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the measure is intended to be in use
- * Type: date
- * Path: Measure.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the measure
- * Type: token
- * Path: Measure.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Measure.identifier", description="External identifier for the measure", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the measure
- * Type: token
- * Path: Measure.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the measure
- * Type: token
- * Path: Measure.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="Measure.jurisdiction", description="Intended jurisdiction for the measure", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the measure
- * Type: token
- * Path: Measure.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the measure
- * Type: string
- * Path: Measure.name
- *

- */ - @SearchParamDefinition(name="name", path="Measure.name", description="Computationally friendly name of the measure", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the measure
- * Type: string
- * Path: Measure.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='predecessor').resource
- *

- */ - @SearchParamDefinition(name="predecessor", path="Measure.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PREDECESSOR = "predecessor"; - /** - * Fluent Client search parameter constant for predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='predecessor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Measure:predecessor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("Measure:predecessor").toLocked(); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the measure
- * Type: string
- * Path: Measure.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="Measure.publisher", description="Name of the publisher of the measure", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the measure
- * Type: string
- * Path: Measure.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the measure
- * Type: token
- * Path: Measure.status
- *

- */ - @SearchParamDefinition(name="status", path="Measure.status", description="The current status of the measure", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the measure
- * Type: token
- * Path: Measure.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='successor').resource
- *

- */ - @SearchParamDefinition(name="successor", path="Measure.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUCCESSOR = "successor"; - /** - * Fluent Client search parameter constant for successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: Measure.relatedArtifact.where(type='successor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Measure:successor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("Measure:successor").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the measure
- * Type: string
- * Path: Measure.title
- *

- */ - @SearchParamDefinition(name="title", path="Measure.title", description="The human-friendly name of the measure", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the measure
- * Type: string
- * Path: Measure.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: topic - *

- * Description: Topics associated with the measure
- * Type: token
- * Path: Measure.topic
- *

- */ - @SearchParamDefinition(name="topic", path="Measure.topic", description="Topics associated with the measure", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Topics associated with the measure
- * Type: token
- * Path: Measure.topic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the measure
- * Type: uri
- * Path: Measure.url
- *

- */ - @SearchParamDefinition(name="url", path="Measure.url", description="The uri that identifies the measure", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the measure
- * Type: uri
- * Path: Measure.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the measure
- * Type: token
- * Path: Measure.version
- *

- */ - @SearchParamDefinition(name="version", path="Measure.version", description="The business version of the measure", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the measure
- * Type: token
- * Path: Measure.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MeasureReport.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MeasureReport.java index b7b812d37..b298f22f7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MeasureReport.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MeasureReport.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class MeasureReport extends DomainResource { case COMPLETE: return "complete"; case PENDING: return "pending"; case ERROR: return "error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class MeasureReport extends DomainResource { case COMPLETE: return "http://hl7.org/fhir/measure-report-status"; case PENDING: return "http://hl7.org/fhir/measure-report-status"; case ERROR: return "http://hl7.org/fhir/measure-report-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class MeasureReport extends DomainResource { case COMPLETE: return "The report is complete and ready for use."; case PENDING: return "The report is currently being generated."; case ERROR: return "An error occurred attempting to generate the report."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class MeasureReport extends DomainResource { case COMPLETE: return "Complete"; case PENDING: return "Pending"; case ERROR: return "Error"; + case NULL: return null; default: return "?"; } } @@ -204,6 +208,7 @@ public class MeasureReport extends DomainResource { case SUBJECTLIST: return "subject-list"; case SUMMARY: return "summary"; case DATACOLLECTION: return "data-collection"; + case NULL: return null; default: return "?"; } } @@ -213,6 +218,7 @@ public class MeasureReport extends DomainResource { case SUBJECTLIST: return "http://hl7.org/fhir/measure-report-type"; case SUMMARY: return "http://hl7.org/fhir/measure-report-type"; case DATACOLLECTION: return "http://hl7.org/fhir/measure-report-type"; + case NULL: return null; default: return "?"; } } @@ -222,6 +228,7 @@ public class MeasureReport extends DomainResource { case SUBJECTLIST: return "A subject list report that includes a listing of subjects that satisfied each population criteria in the measure."; case SUMMARY: return "A summary report that returns the number of members in each population criteria for the measure."; case DATACOLLECTION: return "A data collection report that contains data-of-interest for the measure."; + case NULL: return null; default: return "?"; } } @@ -231,6 +238,7 @@ public class MeasureReport extends DomainResource { case SUBJECTLIST: return "Subject List"; case SUMMARY: return "Summary"; case DATACOLLECTION: return "Data Collection"; + case NULL: return null; default: return "?"; } } @@ -314,6 +322,7 @@ public class MeasureReport extends DomainResource { switch (this) { case INCREMENTAL: return "incremental"; case SNAPSHOT: return "snapshot"; + case NULL: return null; default: return "?"; } } @@ -321,6 +330,7 @@ public class MeasureReport extends DomainResource { switch (this) { case INCREMENTAL: return "http://hl7.org/fhir/CodeSystem/submit-data-update-type"; case SNAPSHOT: return "http://hl7.org/fhir/CodeSystem/submit-data-update-type"; + case NULL: return null; default: return "?"; } } @@ -328,6 +338,7 @@ public class MeasureReport extends DomainResource { switch (this) { case INCREMENTAL: return "In contrast to the Snapshot Update, the FHIR Parameters resource used in a Submit Data or the Collect Data scenario contains only the new and updated DEQM and QI Core Profiles since the last transaction. If the Consumer supports incremental updates, the contents of the updated payload updates the previous payload data."; case SNAPSHOT: return "In contrast to the Incremental Update, the FHIR Parameters resource used in a Submit Data or the Collect Data scenario contains all the DEQM and QI Core Profiles for each transaction. If the Consumer supports snapshot updates, the contents of the updated payload entirely replaces the previous payload"; + case NULL: return null; default: return "?"; } } @@ -335,6 +346,7 @@ public class MeasureReport extends DomainResource { switch (this) { case INCREMENTAL: return "Incremental"; case SNAPSHOT: return "Snapshot"; + case NULL: return null; default: return "?"; } } @@ -3528,216 +3540,6 @@ public class MeasureReport extends DomainResource { return ResourceType.MeasureReport; } - /** - * Search parameter: date - *

- * Description: The date of the measure report
- * Type: date
- * Path: MeasureReport.date
- *

- */ - @SearchParamDefinition(name="date", path="MeasureReport.date", description="The date of the measure report", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The date of the measure report
- * Type: date
- * Path: MeasureReport.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: evaluated-resource - *

- * Description: An evaluated resource referenced by the measure report
- * Type: reference
- * Path: MeasureReport.evaluatedResource
- *

- */ - @SearchParamDefinition(name="evaluated-resource", path="MeasureReport.evaluatedResource", description="An evaluated resource referenced by the measure report", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_EVALUATED_RESOURCE = "evaluated-resource"; - /** - * Fluent Client search parameter constant for evaluated-resource - *

- * Description: An evaluated resource referenced by the measure report
- * Type: reference
- * Path: MeasureReport.evaluatedResource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EVALUATED_RESOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_EVALUATED_RESOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MeasureReport:evaluated-resource". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_EVALUATED_RESOURCE = new ca.uhn.fhir.model.api.Include("MeasureReport:evaluated-resource").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: External identifier of the measure report to be returned
- * Type: token
- * Path: MeasureReport.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="MeasureReport.identifier", description="External identifier of the measure report to be returned", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier of the measure report to be returned
- * Type: token
- * Path: MeasureReport.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: measure - *

- * Description: The measure to return measure report results for
- * Type: reference
- * Path: MeasureReport.measure
- *

- */ - @SearchParamDefinition(name="measure", path="MeasureReport.measure", description="The measure to return measure report results for", type="reference", target={Measure.class } ) - public static final String SP_MEASURE = "measure"; - /** - * Fluent Client search parameter constant for measure - *

- * Description: The measure to return measure report results for
- * Type: reference
- * Path: MeasureReport.measure
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEASURE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEASURE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MeasureReport:measure". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEASURE = new ca.uhn.fhir.model.api.Include("MeasureReport:measure").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The identity of a patient to search for individual measure report results for
- * Type: reference
- * Path: MeasureReport.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="MeasureReport.subject.where(resolve() is Patient)", description="The identity of a patient to search for individual measure report results for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Device.class, Group.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The identity of a patient to search for individual measure report results for
- * Type: reference
- * Path: MeasureReport.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MeasureReport:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("MeasureReport:patient").toLocked(); - - /** - * Search parameter: period - *

- * Description: The period of the measure report
- * Type: date
- * Path: MeasureReport.period
- *

- */ - @SearchParamDefinition(name="period", path="MeasureReport.period", description="The period of the measure report", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: The period of the measure report
- * Type: date
- * Path: MeasureReport.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: reporter - *

- * Description: The reporter to return measure report results for
- * Type: reference
- * Path: MeasureReport.reporter
- *

- */ - @SearchParamDefinition(name="reporter", path="MeasureReport.reporter", description="The reporter to return measure report results for", type="reference", target={Group.class, Location.class, Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_REPORTER = "reporter"; - /** - * Fluent Client search parameter constant for reporter - *

- * Description: The reporter to return measure report results for
- * Type: reference
- * Path: MeasureReport.reporter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPORTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REPORTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MeasureReport:reporter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REPORTER = new ca.uhn.fhir.model.api.Include("MeasureReport:reporter").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the measure report
- * Type: token
- * Path: MeasureReport.status
- *

- */ - @SearchParamDefinition(name="status", path="MeasureReport.status", description="The status of the measure report", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the measure report
- * Type: token
- * Path: MeasureReport.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The identity of a subject to search for individual measure report results for
- * Type: reference
- * Path: MeasureReport.subject
- *

- */ - @SearchParamDefinition(name="subject", path="MeasureReport.subject", description="The identity of a subject to search for individual measure report results for", type="reference", target={Device.class, Group.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a subject to search for individual measure report results for
- * Type: reference
- * Path: MeasureReport.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MeasureReport:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("MeasureReport:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Medication.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Medication.java index 4bb2c4d85..9947f90f9 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Medication.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Medication.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Medication extends DomainResource { case ACTIVE: return "active"; case INACTIVE: return "inactive"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Medication extends DomainResource { case ACTIVE: return "http://hl7.org/fhir/CodeSystem/medication-status"; case INACTIVE: return "http://hl7.org/fhir/CodeSystem/medication-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/medication-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Medication extends DomainResource { case ACTIVE: return "The medication record is current and is appropriate for reference in new instances."; case INACTIVE: return "The medication record is not current and is not is appropriate for reference in new instances."; case ENTEREDINERROR: return "The medication record was created erroneously and is not appropriated for reference in new instances."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Medication extends DomainResource { case ACTIVE: return "Active"; case INACTIVE: return "Inactive"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -771,10 +775,10 @@ public class Medication extends DomainResource { protected Enumeration status; /** - * Describes the organization that is responsible for the manufacturing of the item and holds the registration to market the product in a jurisdiction. This might not be the company that physically manufactures the product.  May be known as "Sponsor" and is commonly called "Manufacturer". + * The company or other legal entity that has authorization, from the appropriate drug regulatory authority, to market a medicine in one or more jurisdictions. Typically abbreviated MAH.Note: The MAH may manufacture the product and may also contract the manufacturing of the product to one or more companies (organizations). */ @Child(name = "marketingAuthorizationHolder", type = {Organization.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Organization responsible for manufacturing the item", formalDefinition="Describes the organization that is responsible for the manufacturing of the item and holds the registration to market the product in a jurisdiction. This might not be the company that physically manufactures the product.  May be known as \"Sponsor\" and is commonly called \"Manufacturer\"." ) + @Description(shortDefinition="Organization that has authorization to market medication", formalDefinition="The company or other legal entity that has authorization, from the appropriate drug regulatory authority, to market a medicine in one or more jurisdictions. Typically abbreviated MAH.Note: The MAH may manufacture the product and may also contract the manufacturing of the product to one or more companies (organizations)." ) protected Reference marketingAuthorizationHolder; /** @@ -942,7 +946,7 @@ public class Medication extends DomainResource { } /** - * @return {@link #marketingAuthorizationHolder} (Describes the organization that is responsible for the manufacturing of the item and holds the registration to market the product in a jurisdiction. This might not be the company that physically manufactures the product.  May be known as "Sponsor" and is commonly called "Manufacturer".) + * @return {@link #marketingAuthorizationHolder} (The company or other legal entity that has authorization, from the appropriate drug regulatory authority, to market a medicine in one or more jurisdictions. Typically abbreviated MAH.Note: The MAH may manufacture the product and may also contract the manufacturing of the product to one or more companies (organizations).) */ public Reference getMarketingAuthorizationHolder() { if (this.marketingAuthorizationHolder == null) @@ -958,7 +962,7 @@ public class Medication extends DomainResource { } /** - * @param value {@link #marketingAuthorizationHolder} (Describes the organization that is responsible for the manufacturing of the item and holds the registration to market the product in a jurisdiction. This might not be the company that physically manufactures the product.  May be known as "Sponsor" and is commonly called "Manufacturer".) + * @param value {@link #marketingAuthorizationHolder} (The company or other legal entity that has authorization, from the appropriate drug regulatory authority, to market a medicine in one or more jurisdictions. Typically abbreviated MAH.Note: The MAH may manufacture the product and may also contract the manufacturing of the product to one or more companies (organizations).) */ public Medication setMarketingAuthorizationHolder(Reference value) { this.marketingAuthorizationHolder = value; @@ -1095,7 +1099,7 @@ public class Medication extends DomainResource { children.add(new Property("identifier", "Identifier", "Business identifier for this medication.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("code", "CodeableConcept", "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", 0, 1, code)); children.add(new Property("status", "code", "A code to indicate if the medication is in active use.", 0, 1, status)); - children.add(new Property("marketingAuthorizationHolder", "Reference(Organization)", "Describes the organization that is responsible for the manufacturing of the item and holds the registration to market the product in a jurisdiction. This might not be the company that physically manufactures the product.  May be known as \"Sponsor\" and is commonly called \"Manufacturer\".", 0, 1, marketingAuthorizationHolder)); + children.add(new Property("marketingAuthorizationHolder", "Reference(Organization)", "The company or other legal entity that has authorization, from the appropriate drug regulatory authority, to market a medicine in one or more jurisdictions. Typically abbreviated MAH.Note: The MAH may manufacture the product and may also contract the manufacturing of the product to one or more companies (organizations).", 0, 1, marketingAuthorizationHolder)); children.add(new Property("doseForm", "CodeableConcept", "Describes the form of the item. Powder; tablets; capsule.", 0, 1, doseForm)); children.add(new Property("totalVolume", "Ratio", "When the specified product code does not infer a package size, this is the specific amount of drug in the product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", 0, 1, totalVolume)); children.add(new Property("ingredient", "", "Identifies a particular constituent of interest in the product.", 0, java.lang.Integer.MAX_VALUE, ingredient)); @@ -1108,7 +1112,7 @@ public class Medication extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this medication.", 0, java.lang.Integer.MAX_VALUE, identifier); case 3059181: /*code*/ return new Property("code", "CodeableConcept", "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", 0, 1, code); case -892481550: /*status*/ return new Property("status", "code", "A code to indicate if the medication is in active use.", 0, 1, status); - case -1565971585: /*marketingAuthorizationHolder*/ return new Property("marketingAuthorizationHolder", "Reference(Organization)", "Describes the organization that is responsible for the manufacturing of the item and holds the registration to market the product in a jurisdiction. This might not be the company that physically manufactures the product.  May be known as \"Sponsor\" and is commonly called \"Manufacturer\".", 0, 1, marketingAuthorizationHolder); + case -1565971585: /*marketingAuthorizationHolder*/ return new Property("marketingAuthorizationHolder", "Reference(Organization)", "The company or other legal entity that has authorization, from the appropriate drug regulatory authority, to market a medicine in one or more jurisdictions. Typically abbreviated MAH.Note: The MAH may manufacture the product and may also contract the manufacturing of the product to one or more companies (organizations).", 0, 1, marketingAuthorizationHolder); case 1303858817: /*doseForm*/ return new Property("doseForm", "CodeableConcept", "Describes the form of the item. Powder; tablets; capsule.", 0, 1, doseForm); case -654431362: /*totalVolume*/ return new Property("totalVolume", "Ratio", "When the specified product code does not infer a package size, this is the specific amount of drug in the product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", 0, 1, totalVolume); case -206409263: /*ingredient*/ return new Property("ingredient", "", "Identifies a particular constituent of interest in the product.", 0, java.lang.Integer.MAX_VALUE, ingredient); @@ -1326,230 +1330,6 @@ public class Medication extends DomainResource { return ResourceType.Medication; } - /** - * Search parameter: expiration-date - *

- * Description: Returns medications in a batch with this expiration date
- * Type: date
- * Path: Medication.batch.expirationDate
- *

- */ - @SearchParamDefinition(name="expiration-date", path="Medication.batch.expirationDate", description="Returns medications in a batch with this expiration date", type="date" ) - public static final String SP_EXPIRATION_DATE = "expiration-date"; - /** - * Fluent Client search parameter constant for expiration-date - *

- * Description: Returns medications in a batch with this expiration date
- * Type: date
- * Path: Medication.batch.expirationDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EXPIRATION_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EXPIRATION_DATE); - - /** - * Search parameter: form - *

- * Description: Returns medications for a specific dose form
- * Type: token
- * Path: null
- *

- */ - @SearchParamDefinition(name="form", path="", description="Returns medications for a specific dose form", type="token" ) - public static final String SP_FORM = "form"; - /** - * Fluent Client search parameter constant for form - *

- * Description: Returns medications for a specific dose form
- * Type: token
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FORM); - - /** - * Search parameter: identifier - *

- * Description: Returns medications with this external identifier
- * Type: token
- * Path: Medication.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Medication.identifier", description="Returns medications with this external identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Returns medications with this external identifier
- * Type: token
- * Path: Medication.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: ingredient-code - *

- * Description: Returns medications for this ingredient code
- * Type: token
- * Path: Medication.ingredient.item.concept
- *

- */ - @SearchParamDefinition(name="ingredient-code", path="Medication.ingredient.item.concept", description="Returns medications for this ingredient code", type="token" ) - public static final String SP_INGREDIENT_CODE = "ingredient-code"; - /** - * Fluent Client search parameter constant for ingredient-code - *

- * Description: Returns medications for this ingredient code
- * Type: token
- * Path: Medication.ingredient.item.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INGREDIENT_CODE); - - /** - * Search parameter: ingredient - *

- * Description: Returns medications for this ingredient reference
- * Type: reference
- * Path: Medication.ingredient.item.reference
- *

- */ - @SearchParamDefinition(name="ingredient", path="Medication.ingredient.item.reference", description="Returns medications for this ingredient reference", type="reference" ) - public static final String SP_INGREDIENT = "ingredient"; - /** - * Fluent Client search parameter constant for ingredient - *

- * Description: Returns medications for this ingredient reference
- * Type: reference
- * Path: Medication.ingredient.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INGREDIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INGREDIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Medication:ingredient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INGREDIENT = new ca.uhn.fhir.model.api.Include("Medication:ingredient").toLocked(); - - /** - * Search parameter: lot-number - *

- * Description: Returns medications in a batch with this lot number
- * Type: token
- * Path: Medication.batch.lotNumber
- *

- */ - @SearchParamDefinition(name="lot-number", path="Medication.batch.lotNumber", description="Returns medications in a batch with this lot number", type="token" ) - public static final String SP_LOT_NUMBER = "lot-number"; - /** - * Fluent Client search parameter constant for lot-number - *

- * Description: Returns medications in a batch with this lot number
- * Type: token
- * Path: Medication.batch.lotNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LOT_NUMBER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LOT_NUMBER); - - /** - * Search parameter: marketingauthorizationholder - *

- * Description: Returns medications made or sold for this marketing authorization holder
- * Type: reference
- * Path: Medication.marketingAuthorizationHolder
- *

- */ - @SearchParamDefinition(name="marketingauthorizationholder", path="Medication.marketingAuthorizationHolder", description="Returns medications made or sold for this marketing authorization holder", type="reference", target={Organization.class } ) - public static final String SP_MARKETINGAUTHORIZATIONHOLDER = "marketingauthorizationholder"; - /** - * Fluent Client search parameter constant for marketingauthorizationholder - *

- * Description: Returns medications made or sold for this marketing authorization holder
- * Type: reference
- * Path: Medication.marketingAuthorizationHolder
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MARKETINGAUTHORIZATIONHOLDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MARKETINGAUTHORIZATIONHOLDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Medication:marketingauthorizationholder". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MARKETINGAUTHORIZATIONHOLDER = new ca.uhn.fhir.model.api.Include("Medication:marketingauthorizationholder").toLocked(); - - /** - * Search parameter: status - *

- * Description: Returns medications for this status
- * Type: token
- * Path: Medication.status
- *

- */ - @SearchParamDefinition(name="status", path="Medication.status", description="Returns medications for this status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Returns medications for this status
- * Type: token
- * Path: Medication.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationAdministration.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationAdministration.java index a66944582..a64adf3e6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationAdministration.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationAdministration.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -117,6 +117,7 @@ public class MedicationAdministration extends DomainResource { case ENTEREDINERROR: return "entered-in-error"; case STOPPED: return "stopped"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -129,6 +130,7 @@ public class MedicationAdministration extends DomainResource { case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/medication-admin-status"; case STOPPED: return "http://hl7.org/fhir/CodeSystem/medication-admin-status"; case UNKNOWN: return "http://hl7.org/fhir/CodeSystem/medication-admin-status"; + case NULL: return null; default: return "?"; } } @@ -141,6 +143,7 @@ public class MedicationAdministration extends DomainResource { case ENTEREDINERROR: return "The administration was entered in error and therefore nullified."; case STOPPED: return "Actions implied by the administration have been permanently halted, before all of them occurred."; case UNKNOWN: return "The authoring system does not know which of the status values currently applies for this request. Note: This concept is not to be used for 'other' - one of the listed statuses is presumed to apply, it's just not known which one."; + case NULL: return null; default: return "?"; } } @@ -153,6 +156,7 @@ public class MedicationAdministration extends DomainResource { case ENTEREDINERROR: return "Entered in Error"; case STOPPED: return "Stopped"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -987,17 +991,32 @@ public class MedicationAdministration extends DomainResource { @Description(shortDefinition="When the MedicationAdministration was first captured in the subject's record", formalDefinition="The date the occurrence of the MedicationAdministration was first captured in the record - potentially significantly after the occurrence of the event." ) protected DateTimeType recorded; + /** + * An indication that the full dose was not administered. + */ + @Child(name = "isSubPotent", type = {BooleanType.class}, order=14, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Full dose was not administered", formalDefinition="An indication that the full dose was not administered." ) + protected BooleanType isSubPotent; + + /** + * The reason or reasons why the full dose was not administered. + */ + @Child(name = "subPotentReason", type = {CodeableConcept.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Reason full dose was not administered", formalDefinition="The reason or reasons why the full dose was not administered." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/administration-subpotent-reason") + protected List subPotentReason; + /** * Indicates who or what performed the medication administration and how they were involved. */ - @Child(name = "performer", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "performer", type = {}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Who performed the medication administration and what they did", formalDefinition="Indicates who or what performed the medication administration and how they were involved." ) protected List performer; /** * A code, Condition or observation that supports why the medication was administered. */ - @Child(name = "reason", type = {CodeableReference.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reason", type = {CodeableReference.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Concept, condition or observation that supports why the medication was administered", formalDefinition="A code, Condition or observation that supports why the medication was administered." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/reason-medication-given-codes") protected List reason; @@ -1005,39 +1024,39 @@ public class MedicationAdministration extends DomainResource { /** * The original request, instruction or authority to perform the administration. */ - @Child(name = "request", type = {MedicationRequest.class}, order=16, min=0, max=1, modifier=false, summary=false) + @Child(name = "request", type = {MedicationRequest.class}, order=18, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Request administration performed against", formalDefinition="The original request, instruction or authority to perform the administration." ) protected Reference request; /** * The device used in administering the medication to the patient. For example, a particular infusion pump. */ - @Child(name = "device", type = {Device.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "device", type = {Device.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Device used to administer", formalDefinition="The device used in administering the medication to the patient. For example, a particular infusion pump." ) protected List device; /** * Extra information about the medication administration that is not conveyed by the other attributes. */ - @Child(name = "note", type = {Annotation.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Information about the administration", formalDefinition="Extra information about the medication administration that is not conveyed by the other attributes." ) protected List note; /** * Describes the medication dosage information details e.g. dose, rate, site, route, etc. */ - @Child(name = "dosage", type = {}, order=19, min=0, max=1, modifier=false, summary=false) + @Child(name = "dosage", type = {}, order=21, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Details of how medication was taken", formalDefinition="Describes the medication dosage information details e.g. dose, rate, site, route, etc." ) protected MedicationAdministrationDosageComponent dosage; /** * A summary of the events of interest that have occurred, such as when the administration was verified. */ - @Child(name = "eventHistory", type = {Provenance.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "eventHistory", type = {Provenance.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="A list of events of interest in the lifecycle", formalDefinition="A summary of the events of interest that have occurred, such as when the administration was verified." ) protected List eventHistory; - private static final long serialVersionUID = -1268367135L; + private static final long serialVersionUID = 1601619216L; /** * Constructor @@ -1714,6 +1733,104 @@ public class MedicationAdministration extends DomainResource { return this; } + /** + * @return {@link #isSubPotent} (An indication that the full dose was not administered.). This is the underlying object with id, value and extensions. The accessor "getIsSubPotent" gives direct access to the value + */ + public BooleanType getIsSubPotentElement() { + if (this.isSubPotent == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MedicationAdministration.isSubPotent"); + else if (Configuration.doAutoCreate()) + this.isSubPotent = new BooleanType(); // bb + return this.isSubPotent; + } + + public boolean hasIsSubPotentElement() { + return this.isSubPotent != null && !this.isSubPotent.isEmpty(); + } + + public boolean hasIsSubPotent() { + return this.isSubPotent != null && !this.isSubPotent.isEmpty(); + } + + /** + * @param value {@link #isSubPotent} (An indication that the full dose was not administered.). This is the underlying object with id, value and extensions. The accessor "getIsSubPotent" gives direct access to the value + */ + public MedicationAdministration setIsSubPotentElement(BooleanType value) { + this.isSubPotent = value; + return this; + } + + /** + * @return An indication that the full dose was not administered. + */ + public boolean getIsSubPotent() { + return this.isSubPotent == null || this.isSubPotent.isEmpty() ? false : this.isSubPotent.getValue(); + } + + /** + * @param value An indication that the full dose was not administered. + */ + public MedicationAdministration setIsSubPotent(boolean value) { + if (this.isSubPotent == null) + this.isSubPotent = new BooleanType(); + this.isSubPotent.setValue(value); + return this; + } + + /** + * @return {@link #subPotentReason} (The reason or reasons why the full dose was not administered.) + */ + public List getSubPotentReason() { + if (this.subPotentReason == null) + this.subPotentReason = new ArrayList(); + return this.subPotentReason; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationAdministration setSubPotentReason(List theSubPotentReason) { + this.subPotentReason = theSubPotentReason; + return this; + } + + public boolean hasSubPotentReason() { + if (this.subPotentReason == null) + return false; + for (CodeableConcept item : this.subPotentReason) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addSubPotentReason() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.subPotentReason == null) + this.subPotentReason = new ArrayList(); + this.subPotentReason.add(t); + return t; + } + + public MedicationAdministration addSubPotentReason(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.subPotentReason == null) + this.subPotentReason = new ArrayList(); + this.subPotentReason.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #subPotentReason}, creating it if it does not already exist {3} + */ + public CodeableConcept getSubPotentReasonFirstRep() { + if (getSubPotentReason().isEmpty()) { + addSubPotentReason(); + } + return getSubPotentReason().get(0); + } + /** * @return {@link #performer} (Indicates who or what performed the medication administration and how they were involved.) */ @@ -2043,6 +2160,8 @@ public class MedicationAdministration extends DomainResource { children.add(new Property("supportingInformation", "Reference(Any)", "Additional information (for example, patient height and weight) that supports the administration of the medication. This attribute can be used to provide documentation of specific characteristics of the patient present at the time of administration. For example, if the dose says \"give \"x\" if the heartrate exceeds \"y\"\", then the heart rate can be included using this attribute.", 0, java.lang.Integer.MAX_VALUE, supportingInformation)); children.add(new Property("occurence[x]", "dateTime|Period", "A specific date/time or interval of time during which the administration took place (or did not take place). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.", 0, 1, occurence)); children.add(new Property("recorded", "dateTime", "The date the occurrence of the MedicationAdministration was first captured in the record - potentially significantly after the occurrence of the event.", 0, 1, recorded)); + children.add(new Property("isSubPotent", "boolean", "An indication that the full dose was not administered.", 0, 1, isSubPotent)); + children.add(new Property("subPotentReason", "CodeableConcept", "The reason or reasons why the full dose was not administered.", 0, java.lang.Integer.MAX_VALUE, subPotentReason)); children.add(new Property("performer", "", "Indicates who or what performed the medication administration and how they were involved.", 0, java.lang.Integer.MAX_VALUE, performer)); children.add(new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport)", "A code, Condition or observation that supports why the medication was administered.", 0, java.lang.Integer.MAX_VALUE, reason)); children.add(new Property("request", "Reference(MedicationRequest)", "The original request, instruction or authority to perform the administration.", 0, 1, request)); @@ -2072,6 +2191,8 @@ public class MedicationAdministration extends DomainResource { case -820552334: /*occurenceDateTime*/ return new Property("occurence[x]", "dateTime", "A specific date/time or interval of time during which the administration took place (or did not take place). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.", 0, 1, occurence); case 221195608: /*occurencePeriod*/ return new Property("occurence[x]", "Period", "A specific date/time or interval of time during which the administration took place (or did not take place). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.", 0, 1, occurence); case -799233872: /*recorded*/ return new Property("recorded", "dateTime", "The date the occurrence of the MedicationAdministration was first captured in the record - potentially significantly after the occurrence of the event.", 0, 1, recorded); + case 702379724: /*isSubPotent*/ return new Property("isSubPotent", "boolean", "An indication that the full dose was not administered.", 0, 1, isSubPotent); + case 969489082: /*subPotentReason*/ return new Property("subPotentReason", "CodeableConcept", "The reason or reasons why the full dose was not administered.", 0, java.lang.Integer.MAX_VALUE, subPotentReason); case 481140686: /*performer*/ return new Property("performer", "", "Indicates who or what performed the medication administration and how they were involved.", 0, java.lang.Integer.MAX_VALUE, performer); case -934964668: /*reason*/ return new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport)", "A code, Condition or observation that supports why the medication was administered.", 0, java.lang.Integer.MAX_VALUE, reason); case 1095692943: /*request*/ return new Property("request", "Reference(MedicationRequest)", "The original request, instruction or authority to perform the administration.", 0, 1, request); @@ -2101,6 +2222,8 @@ public class MedicationAdministration extends DomainResource { case -1248768647: /*supportingInformation*/ return this.supportingInformation == null ? new Base[0] : this.supportingInformation.toArray(new Base[this.supportingInformation.size()]); // Reference case -1192857417: /*occurence*/ return this.occurence == null ? new Base[0] : new Base[] {this.occurence}; // DataType case -799233872: /*recorded*/ return this.recorded == null ? new Base[0] : new Base[] {this.recorded}; // DateTimeType + case 702379724: /*isSubPotent*/ return this.isSubPotent == null ? new Base[0] : new Base[] {this.isSubPotent}; // BooleanType + case 969489082: /*subPotentReason*/ return this.subPotentReason == null ? new Base[0] : this.subPotentReason.toArray(new Base[this.subPotentReason.size()]); // CodeableConcept case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // MedicationAdministrationPerformerComponent case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableReference case 1095692943: /*request*/ return this.request == null ? new Base[0] : new Base[] {this.request}; // Reference @@ -2159,6 +2282,12 @@ public class MedicationAdministration extends DomainResource { case -799233872: // recorded this.recorded = TypeConvertor.castToDateTime(value); // DateTimeType return value; + case 702379724: // isSubPotent + this.isSubPotent = TypeConvertor.castToBoolean(value); // BooleanType + return value; + case 969489082: // subPotentReason + this.getSubPotentReason().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; case 481140686: // performer this.getPerformer().add((MedicationAdministrationPerformerComponent) value); // MedicationAdministrationPerformerComponent return value; @@ -2216,6 +2345,10 @@ public class MedicationAdministration extends DomainResource { this.occurence = TypeConvertor.castToType(value); // DataType } else if (name.equals("recorded")) { this.recorded = TypeConvertor.castToDateTime(value); // DateTimeType + } else if (name.equals("isSubPotent")) { + this.isSubPotent = TypeConvertor.castToBoolean(value); // BooleanType + } else if (name.equals("subPotentReason")) { + this.getSubPotentReason().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("performer")) { this.getPerformer().add((MedicationAdministrationPerformerComponent) value); } else if (name.equals("reason")) { @@ -2253,6 +2386,8 @@ public class MedicationAdministration extends DomainResource { case 144188521: return getOccurence(); case -1192857417: return getOccurence(); case -799233872: return getRecordedElement(); + case 702379724: return getIsSubPotentElement(); + case 969489082: return addSubPotentReason(); case 481140686: return addPerformer(); case -934964668: return addReason(); case 1095692943: return getRequest(); @@ -2282,6 +2417,8 @@ public class MedicationAdministration extends DomainResource { case -1248768647: /*supportingInformation*/ return new String[] {"Reference"}; case -1192857417: /*occurence*/ return new String[] {"dateTime", "Period"}; case -799233872: /*recorded*/ return new String[] {"dateTime"}; + case 702379724: /*isSubPotent*/ return new String[] {"boolean"}; + case 969489082: /*subPotentReason*/ return new String[] {"CodeableConcept"}; case 481140686: /*performer*/ return new String[] {}; case -934964668: /*reason*/ return new String[] {"CodeableReference"}; case 1095692943: /*request*/ return new String[] {"Reference"}; @@ -2346,6 +2483,12 @@ public class MedicationAdministration extends DomainResource { else if (name.equals("recorded")) { throw new FHIRException("Cannot call addChild on a primitive type MedicationAdministration.recorded"); } + else if (name.equals("isSubPotent")) { + throw new FHIRException("Cannot call addChild on a primitive type MedicationAdministration.isSubPotent"); + } + else if (name.equals("subPotentReason")) { + return addSubPotentReason(); + } else if (name.equals("performer")) { return addPerformer(); } @@ -2432,6 +2575,12 @@ public class MedicationAdministration extends DomainResource { }; dst.occurence = occurence == null ? null : occurence.copy(); dst.recorded = recorded == null ? null : recorded.copy(); + dst.isSubPotent = isSubPotent == null ? null : isSubPotent.copy(); + if (subPotentReason != null) { + dst.subPotentReason = new ArrayList(); + for (CodeableConcept i : subPotentReason) + dst.subPotentReason.add(i.copy()); + }; if (performer != null) { dst.performer = new ArrayList(); for (MedicationAdministrationPerformerComponent i : performer) @@ -2477,7 +2626,8 @@ public class MedicationAdministration extends DomainResource { && compareDeep(partOf, o.partOf, true) && compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(category, o.category, true) && compareDeep(medication, o.medication, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) && compareDeep(supportingInformation, o.supportingInformation, true) - && compareDeep(occurence, o.occurence, true) && compareDeep(recorded, o.recorded, true) && compareDeep(performer, o.performer, true) + && compareDeep(occurence, o.occurence, true) && compareDeep(recorded, o.recorded, true) && compareDeep(isSubPotent, o.isSubPotent, true) + && compareDeep(subPotentReason, o.subPotentReason, true) && compareDeep(performer, o.performer, true) && compareDeep(reason, o.reason, true) && compareDeep(request, o.request, true) && compareDeep(device, o.device, true) && compareDeep(note, o.note, true) && compareDeep(dosage, o.dosage, true) && compareDeep(eventHistory, o.eventHistory, true) ; @@ -2491,14 +2641,15 @@ public class MedicationAdministration extends DomainResource { return false; MedicationAdministration o = (MedicationAdministration) other_; return compareValues(instantiatesCanonical, o.instantiatesCanonical, true) && compareValues(instantiatesUri, o.instantiatesUri, true) - && compareValues(status, o.status, true) && compareValues(recorded, o.recorded, true); + && compareValues(status, o.status, true) && compareValues(recorded, o.recorded, true) && compareValues(isSubPotent, o.isSubPotent, true) + ; } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiatesCanonical , instantiatesUri, basedOn, partOf, status, statusReason, category, medication - , subject, encounter, supportingInformation, occurence, recorded, performer, reason - , request, device, note, dosage, eventHistory); + , subject, encounter, supportingInformation, occurence, recorded, isSubPotent, subPotentReason + , performer, reason, request, device, note, dosage, eventHistory); } @Override @@ -2506,536 +2657,6 @@ public class MedicationAdministration extends DomainResource { return ResourceType.MedicationAdministration; } - /** - * Search parameter: device - *

- * Description: Return administrations with this administration device identity
- * Type: reference
- * Path: MedicationAdministration.device
- *

- */ - @SearchParamDefinition(name="device", path="MedicationAdministration.device", description="Return administrations with this administration device identity", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_DEVICE = "device"; - /** - * Fluent Client search parameter constant for device - *

- * Description: Return administrations with this administration device identity
- * Type: reference
- * Path: MedicationAdministration.device
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:device". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE = new ca.uhn.fhir.model.api.Include("MedicationAdministration:device").toLocked(); - - /** - * Search parameter: performer - *

- * Description: The identity of the individual who administered the medication
- * Type: reference
- * Path: MedicationAdministration.performer.actor
- *

- */ - @SearchParamDefinition(name="performer", path="MedicationAdministration.performer.actor", description="The identity of the individual who administered the medication", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: The identity of the individual who administered the medication
- * Type: reference
- * Path: MedicationAdministration.performer.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("MedicationAdministration:performer").toLocked(); - - /** - * Search parameter: reason-given-code - *

- * Description: Reasons for administering the medication
- * Type: token
- * Path: MedicationAdministration.reason.concept
- *

- */ - @SearchParamDefinition(name="reason-given-code", path="MedicationAdministration.reason.concept", description="Reasons for administering the medication", type="token" ) - public static final String SP_REASON_GIVEN_CODE = "reason-given-code"; - /** - * Fluent Client search parameter constant for reason-given-code - *

- * Description: Reasons for administering the medication
- * Type: token
- * Path: MedicationAdministration.reason.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_GIVEN_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON_GIVEN_CODE); - - /** - * Search parameter: reason-given - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: MedicationAdministration.reason.reference
- *

- */ - @SearchParamDefinition(name="reason-given", path="MedicationAdministration.reason.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_REASON_GIVEN = "reason-given"; - /** - * Fluent Client search parameter constant for reason-given - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: MedicationAdministration.reason.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_GIVEN = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REASON_GIVEN); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:reason-given". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_GIVEN = new ca.uhn.fhir.model.api.Include("MedicationAdministration:reason-given").toLocked(); - - /** - * Search parameter: reason-not-given - *

- * Description: Reasons for not administering the medication
- * Type: token
- * Path: MedicationAdministration.statusReason
- *

- */ - @SearchParamDefinition(name="reason-not-given", path="MedicationAdministration.statusReason", description="Reasons for not administering the medication", type="token" ) - public static final String SP_REASON_NOT_GIVEN = "reason-not-given"; - /** - * Fluent Client search parameter constant for reason-not-given - *

- * Description: Reasons for not administering the medication
- * Type: token
- * Path: MedicationAdministration.statusReason
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_NOT_GIVEN = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON_NOT_GIVEN); - - /** - * Search parameter: request - *

- * Description: The identity of a request to list administrations from
- * Type: reference
- * Path: MedicationAdministration.request
- *

- */ - @SearchParamDefinition(name="request", path="MedicationAdministration.request", description="The identity of a request to list administrations from", type="reference", target={MedicationRequest.class } ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The identity of a request to list administrations from
- * Type: reference
- * Path: MedicationAdministration.request
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("MedicationAdministration:request").toLocked(); - - /** - * Search parameter: subject - *

- * Description: The identity of the individual or group to list administrations for
- * Type: reference
- * Path: MedicationAdministration.subject
- *

- */ - @SearchParamDefinition(name="subject", path="MedicationAdministration.subject", description="The identity of the individual or group to list administrations for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of the individual or group to list administrations for
- * Type: reference
- * Path: MedicationAdministration.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("MedicationAdministration:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("MedicationAdministration:patient").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Date administration happened (or did not happen) -
- * Type: date
- * Path: MedicationAdministration.occurence
- *

- */ - @SearchParamDefinition(name="date", path="MedicationAdministration.occurence", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Date administration happened (or did not happen)\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Date administration happened (or did not happen) -
- * Type: date
- * Path: MedicationAdministration.occurence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter -* [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: MedicationAdministration.encounter | MedicationRequest.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="MedicationAdministration.encounter | MedicationRequest.encounter", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter -* [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: MedicationAdministration.encounter | MedicationRequest.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("MedicationAdministration:encounter").toLocked(); - - /** - * Search parameter: medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - @SearchParamDefinition(name="medication", path="MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication reference\r\n", type="reference" ) - public static final String SP_MEDICATION = "medication"; - /** - * Fluent Client search parameter constant for medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEDICATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationAdministration:medication". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION = new ca.uhn.fhir.model.api.Include("MedicationAdministration:medication").toLocked(); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - @SearchParamDefinition(name="status", path="MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status\r\n* [MedicationRequest](medicationrequest.html): Status of the prescription\r\n* [MedicationUsage](medicationusage.html): Return statements that match the given status\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationDispense.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationDispense.java index 23afc8a68..65fcd3de0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationDispense.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationDispense.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -131,6 +131,7 @@ public class MedicationDispense extends DomainResource { case STOPPED: return "stopped"; case DECLINED: return "declined"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -145,6 +146,7 @@ public class MedicationDispense extends DomainResource { case STOPPED: return "http://hl7.org/fhir/CodeSystem/medicationdispense-status"; case DECLINED: return "http://hl7.org/fhir/CodeSystem/medicationdispense-status"; case UNKNOWN: return "http://hl7.org/fhir/CodeSystem/medicationdispense-status"; + case NULL: return null; default: return "?"; } } @@ -159,6 +161,7 @@ public class MedicationDispense extends DomainResource { case STOPPED: return "Actions implied by the dispense have been permanently halted, before all of them occurred."; case DECLINED: return "The dispense was declined and not performed."; case UNKNOWN: return "The authoring system does not know which of the status values applies for this medication dispense. Note: this concept is not to be used for other - one of the listed statuses is presumed to apply, it's just now known which one."; + case NULL: return null; default: return "?"; } } @@ -173,6 +176,7 @@ public class MedicationDispense extends DomainResource { case STOPPED: return "Stopped"; case DECLINED: return "Declined"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -856,10 +860,10 @@ public class MedicationDispense extends DomainResource { /** * Indicates the reason why a dispense was not performed. */ - @Child(name = "statusReason", type = {CodeableReference.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "notPerformedReason", type = {CodeableReference.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Why a dispense was not performed", formalDefinition="Indicates the reason why a dispense was not performed." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicationdispense-status-reason") - protected CodeableReference statusReason; + protected CodeableReference notPerformedReason; /** * The date (and maybe time) when the status of the dispense record changed. @@ -1011,21 +1015,14 @@ public class MedicationDispense extends DomainResource { @Description(shortDefinition="Whether a substitution was performed on the dispense", formalDefinition="Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done." ) protected MedicationDispenseSubstitutionComponent substitution; - /** - * 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, duplicate therapy, dosage alert etc. - */ - @Child(name = "detectedIssue", type = {DetectedIssue.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Clinical issue with action", formalDefinition="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, duplicate therapy, dosage alert etc." ) - protected List detectedIssue; - /** * A summary of the events of interest that have occurred, such as when the dispense was verified. */ - @Child(name = "eventHistory", type = {Provenance.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "eventHistory", type = {Provenance.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="A list of relevant lifecycle events", formalDefinition="A summary of the events of interest that have occurred, such as when the dispense was verified." ) protected List eventHistory; - private static final long serialVersionUID = 1657556656L; + private static final long serialVersionUID = 85319789L; /** * Constructor @@ -1249,26 +1246,26 @@ public class MedicationDispense extends DomainResource { } /** - * @return {@link #statusReason} (Indicates the reason why a dispense was not performed.) + * @return {@link #notPerformedReason} (Indicates the reason why a dispense was not performed.) */ - public CodeableReference getStatusReason() { - if (this.statusReason == null) + public CodeableReference getNotPerformedReason() { + if (this.notPerformedReason == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MedicationDispense.statusReason"); + throw new Error("Attempt to auto-create MedicationDispense.notPerformedReason"); else if (Configuration.doAutoCreate()) - this.statusReason = new CodeableReference(); // cc - return this.statusReason; + this.notPerformedReason = new CodeableReference(); // cc + return this.notPerformedReason; } - public boolean hasStatusReason() { - return this.statusReason != null && !this.statusReason.isEmpty(); + public boolean hasNotPerformedReason() { + return this.notPerformedReason != null && !this.notPerformedReason.isEmpty(); } /** - * @param value {@link #statusReason} (Indicates the reason why a dispense was not performed.) + * @param value {@link #notPerformedReason} (Indicates the reason why a dispense was not performed.) */ - public MedicationDispense setStatusReason(CodeableReference value) { - this.statusReason = value; + public MedicationDispense setNotPerformedReason(CodeableReference value) { + this.notPerformedReason = value; return this; } @@ -2104,59 +2101,6 @@ public class MedicationDispense extends DomainResource { return this; } - /** - * @return {@link #detectedIssue} (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, duplicate therapy, dosage alert etc.) - */ - public List getDetectedIssue() { - if (this.detectedIssue == null) - this.detectedIssue = new ArrayList(); - return this.detectedIssue; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MedicationDispense setDetectedIssue(List theDetectedIssue) { - this.detectedIssue = theDetectedIssue; - return this; - } - - public boolean hasDetectedIssue() { - if (this.detectedIssue == null) - return false; - for (Reference item : this.detectedIssue) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addDetectedIssue() { //3 - Reference t = new Reference(); - if (this.detectedIssue == null) - this.detectedIssue = new ArrayList(); - this.detectedIssue.add(t); - return t; - } - - public MedicationDispense addDetectedIssue(Reference t) { //3 - if (t == null) - return this; - if (this.detectedIssue == null) - this.detectedIssue = new ArrayList(); - this.detectedIssue.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #detectedIssue}, creating it if it does not already exist {3} - */ - public Reference getDetectedIssueFirstRep() { - if (getDetectedIssue().isEmpty()) { - addDetectedIssue(); - } - return getDetectedIssue().get(0); - } - /** * @return {@link #eventHistory} (A summary of the events of interest that have occurred, such as when the dispense was verified.) */ @@ -2216,7 +2160,7 @@ public class MedicationDispense extends DomainResource { children.add(new Property("basedOn", "Reference(CarePlan)", "A plan that is fulfilled in whole or in part by this MedicationDispense.", 0, java.lang.Integer.MAX_VALUE, basedOn)); children.add(new Property("partOf", "Reference(Procedure|MedicationAdministration)", "The procedure or medication administration that triggered the dispense.", 0, java.lang.Integer.MAX_VALUE, partOf)); children.add(new Property("status", "code", "A code specifying the state of the set of dispense events.", 0, 1, status)); - children.add(new Property("statusReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was not performed.", 0, 1, statusReason)); + children.add(new Property("notPerformedReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was not performed.", 0, 1, notPerformedReason)); children.add(new Property("statusChanged", "dateTime", "The date (and maybe time) when the status of the dispense record changed.", 0, 1, statusChanged)); children.add(new Property("category", "CodeableConcept", "Indicates the type of medication dispense (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).", 0, java.lang.Integer.MAX_VALUE, category)); children.add(new Property("medication", "CodeableReference(Medication)", "Identifies the medication supplied. 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.", 0, 1, medication)); @@ -2238,7 +2182,6 @@ public class MedicationDispense extends DomainResource { children.add(new Property("renderedDosageInstruction", "string", "The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", 0, 1, renderedDosageInstruction)); children.add(new Property("dosageInstruction", "Dosage", "Indicates how the medication is to be used by the patient.", 0, java.lang.Integer.MAX_VALUE, dosageInstruction)); children.add(new Property("substitution", "", "Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.", 0, 1, substitution)); - children.add(new Property("detectedIssue", "Reference(DetectedIssue)", "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, duplicate therapy, dosage alert etc.", 0, java.lang.Integer.MAX_VALUE, detectedIssue)); children.add(new Property("eventHistory", "Reference(Provenance)", "A summary of the events of interest that have occurred, such as when the dispense was verified.", 0, java.lang.Integer.MAX_VALUE, eventHistory)); } @@ -2249,7 +2192,7 @@ public class MedicationDispense extends DomainResource { case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan)", "A plan that is fulfilled in whole or in part by this MedicationDispense.", 0, java.lang.Integer.MAX_VALUE, basedOn); case -995410646: /*partOf*/ return new Property("partOf", "Reference(Procedure|MedicationAdministration)", "The procedure or medication administration that triggered the dispense.", 0, java.lang.Integer.MAX_VALUE, partOf); case -892481550: /*status*/ return new Property("status", "code", "A code specifying the state of the set of dispense events.", 0, 1, status); - case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was not performed.", 0, 1, statusReason); + case -820839727: /*notPerformedReason*/ return new Property("notPerformedReason", "CodeableReference(DetectedIssue)", "Indicates the reason why a dispense was not performed.", 0, 1, notPerformedReason); case -1174686110: /*statusChanged*/ return new Property("statusChanged", "dateTime", "The date (and maybe time) when the status of the dispense record changed.", 0, 1, statusChanged); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Indicates the type of medication dispense (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).", 0, java.lang.Integer.MAX_VALUE, category); case 1998965455: /*medication*/ return new Property("medication", "CodeableReference(Medication)", "Identifies the medication supplied. 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.", 0, 1, medication); @@ -2271,7 +2214,6 @@ public class MedicationDispense extends DomainResource { case 1718902050: /*renderedDosageInstruction*/ return new Property("renderedDosageInstruction", "string", "The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", 0, 1, renderedDosageInstruction); case -1201373865: /*dosageInstruction*/ return new Property("dosageInstruction", "Dosage", "Indicates how the medication is to be used by the patient.", 0, java.lang.Integer.MAX_VALUE, dosageInstruction); case 826147581: /*substitution*/ return new Property("substitution", "", "Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.", 0, 1, substitution); - case 51602295: /*detectedIssue*/ return new Property("detectedIssue", "Reference(DetectedIssue)", "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, duplicate therapy, dosage alert etc.", 0, java.lang.Integer.MAX_VALUE, detectedIssue); case 1835190426: /*eventHistory*/ return new Property("eventHistory", "Reference(Provenance)", "A summary of the events of interest that have occurred, such as when the dispense was verified.", 0, java.lang.Integer.MAX_VALUE, eventHistory); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2285,7 +2227,7 @@ public class MedicationDispense extends DomainResource { case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference case -995410646: /*partOf*/ return this.partOf == null ? new Base[0] : this.partOf.toArray(new Base[this.partOf.size()]); // Reference case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration - case 2051346646: /*statusReason*/ return this.statusReason == null ? new Base[0] : new Base[] {this.statusReason}; // CodeableReference + case -820839727: /*notPerformedReason*/ return this.notPerformedReason == null ? new Base[0] : new Base[] {this.notPerformedReason}; // CodeableReference case -1174686110: /*statusChanged*/ return this.statusChanged == null ? new Base[0] : new Base[] {this.statusChanged}; // DateTimeType case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case 1998965455: /*medication*/ return this.medication == null ? new Base[0] : new Base[] {this.medication}; // CodeableReference @@ -2307,7 +2249,6 @@ public class MedicationDispense extends DomainResource { case 1718902050: /*renderedDosageInstruction*/ return this.renderedDosageInstruction == null ? new Base[0] : new Base[] {this.renderedDosageInstruction}; // StringType case -1201373865: /*dosageInstruction*/ return this.dosageInstruction == null ? new Base[0] : this.dosageInstruction.toArray(new Base[this.dosageInstruction.size()]); // Dosage case 826147581: /*substitution*/ return this.substitution == null ? new Base[0] : new Base[] {this.substitution}; // MedicationDispenseSubstitutionComponent - case 51602295: /*detectedIssue*/ return this.detectedIssue == null ? new Base[0] : this.detectedIssue.toArray(new Base[this.detectedIssue.size()]); // Reference case 1835190426: /*eventHistory*/ return this.eventHistory == null ? new Base[0] : this.eventHistory.toArray(new Base[this.eventHistory.size()]); // Reference default: return super.getProperty(hash, name, checkValid); } @@ -2330,8 +2271,8 @@ public class MedicationDispense extends DomainResource { value = new MedicationDispenseStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration return value; - case 2051346646: // statusReason - this.statusReason = TypeConvertor.castToCodeableReference(value); // CodeableReference + case -820839727: // notPerformedReason + this.notPerformedReason = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case -1174686110: // statusChanged this.statusChanged = TypeConvertor.castToDateTime(value); // DateTimeType @@ -2396,9 +2337,6 @@ public class MedicationDispense extends DomainResource { case 826147581: // substitution this.substitution = (MedicationDispenseSubstitutionComponent) value; // MedicationDispenseSubstitutionComponent return value; - case 51602295: // detectedIssue - this.getDetectedIssue().add(TypeConvertor.castToReference(value)); // Reference - return value; case 1835190426: // eventHistory this.getEventHistory().add(TypeConvertor.castToReference(value)); // Reference return value; @@ -2418,8 +2356,8 @@ public class MedicationDispense extends DomainResource { } else if (name.equals("status")) { value = new MedicationDispenseStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration - } else if (name.equals("statusReason")) { - this.statusReason = TypeConvertor.castToCodeableReference(value); // CodeableReference + } else if (name.equals("notPerformedReason")) { + this.notPerformedReason = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("statusChanged")) { this.statusChanged = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("category")) { @@ -2462,8 +2400,6 @@ public class MedicationDispense extends DomainResource { this.getDosageInstruction().add(TypeConvertor.castToDosage(value)); } else if (name.equals("substitution")) { this.substitution = (MedicationDispenseSubstitutionComponent) value; // MedicationDispenseSubstitutionComponent - } else if (name.equals("detectedIssue")) { - this.getDetectedIssue().add(TypeConvertor.castToReference(value)); } else if (name.equals("eventHistory")) { this.getEventHistory().add(TypeConvertor.castToReference(value)); } else @@ -2478,7 +2414,7 @@ public class MedicationDispense extends DomainResource { case -332612366: return addBasedOn(); case -995410646: return addPartOf(); case -892481550: return getStatusElement(); - case 2051346646: return getStatusReason(); + case -820839727: return getNotPerformedReason(); case -1174686110: return getStatusChangedElement(); case 50511102: return addCategory(); case 1998965455: return getMedication(); @@ -2500,7 +2436,6 @@ public class MedicationDispense extends DomainResource { case 1718902050: return getRenderedDosageInstructionElement(); case -1201373865: return addDosageInstruction(); case 826147581: return getSubstitution(); - case 51602295: return addDetectedIssue(); case 1835190426: return addEventHistory(); default: return super.makeProperty(hash, name); } @@ -2514,7 +2449,7 @@ public class MedicationDispense extends DomainResource { case -332612366: /*basedOn*/ return new String[] {"Reference"}; case -995410646: /*partOf*/ return new String[] {"Reference"}; case -892481550: /*status*/ return new String[] {"code"}; - case 2051346646: /*statusReason*/ return new String[] {"CodeableReference"}; + case -820839727: /*notPerformedReason*/ return new String[] {"CodeableReference"}; case -1174686110: /*statusChanged*/ return new String[] {"dateTime"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"}; case 1998965455: /*medication*/ return new String[] {"CodeableReference"}; @@ -2536,7 +2471,6 @@ public class MedicationDispense extends DomainResource { case 1718902050: /*renderedDosageInstruction*/ return new String[] {"string"}; case -1201373865: /*dosageInstruction*/ return new String[] {"Dosage"}; case 826147581: /*substitution*/ return new String[] {}; - case 51602295: /*detectedIssue*/ return new String[] {"Reference"}; case 1835190426: /*eventHistory*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -2557,9 +2491,9 @@ public class MedicationDispense extends DomainResource { else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type MedicationDispense.status"); } - else if (name.equals("statusReason")) { - this.statusReason = new CodeableReference(); - return this.statusReason; + else if (name.equals("notPerformedReason")) { + this.notPerformedReason = new CodeableReference(); + return this.notPerformedReason; } else if (name.equals("statusChanged")) { throw new FHIRException("Cannot call addChild on a primitive type MedicationDispense.statusChanged"); @@ -2633,9 +2567,6 @@ public class MedicationDispense extends DomainResource { this.substitution = new MedicationDispenseSubstitutionComponent(); return this.substitution; } - else if (name.equals("detectedIssue")) { - return addDetectedIssue(); - } else if (name.equals("eventHistory")) { return addEventHistory(); } @@ -2672,7 +2603,7 @@ public class MedicationDispense extends DomainResource { dst.partOf.add(i.copy()); }; dst.status = status == null ? null : status.copy(); - dst.statusReason = statusReason == null ? null : statusReason.copy(); + dst.notPerformedReason = notPerformedReason == null ? null : notPerformedReason.copy(); dst.statusChanged = statusChanged == null ? null : statusChanged.copy(); if (category != null) { dst.category = new ArrayList(); @@ -2722,11 +2653,6 @@ public class MedicationDispense extends DomainResource { dst.dosageInstruction.add(i.copy()); }; dst.substitution = substitution == null ? null : substitution.copy(); - if (detectedIssue != null) { - dst.detectedIssue = new ArrayList(); - for (Reference i : detectedIssue) - dst.detectedIssue.add(i.copy()); - }; if (eventHistory != null) { dst.eventHistory = new ArrayList(); for (Reference i : eventHistory) @@ -2746,16 +2672,17 @@ public class MedicationDispense extends DomainResource { return false; MedicationDispense o = (MedicationDispense) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(partOf, o.partOf, true) - && compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(statusChanged, o.statusChanged, true) - && compareDeep(category, o.category, true) && compareDeep(medication, o.medication, true) && compareDeep(subject, o.subject, true) - && compareDeep(encounter, o.encounter, true) && compareDeep(supportingInformation, o.supportingInformation, true) - && compareDeep(performer, o.performer, true) && compareDeep(location, o.location, true) && compareDeep(authorizingPrescription, o.authorizingPrescription, true) + && compareDeep(status, o.status, true) && compareDeep(notPerformedReason, o.notPerformedReason, true) + && compareDeep(statusChanged, o.statusChanged, true) && compareDeep(category, o.category, true) + && compareDeep(medication, o.medication, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) + && compareDeep(supportingInformation, o.supportingInformation, true) && compareDeep(performer, o.performer, true) + && compareDeep(location, o.location, true) && compareDeep(authorizingPrescription, o.authorizingPrescription, true) && compareDeep(type, o.type, true) && compareDeep(quantity, o.quantity, true) && compareDeep(daysSupply, o.daysSupply, true) && compareDeep(recorded, o.recorded, true) && compareDeep(whenPrepared, o.whenPrepared, true) && compareDeep(whenHandedOver, o.whenHandedOver, true) && compareDeep(destination, o.destination, true) && compareDeep(receiver, o.receiver, true) && compareDeep(note, o.note, true) && compareDeep(renderedDosageInstruction, o.renderedDosageInstruction, true) && compareDeep(dosageInstruction, o.dosageInstruction, true) - && compareDeep(substitution, o.substitution, true) && compareDeep(detectedIssue, o.detectedIssue, true) - && compareDeep(eventHistory, o.eventHistory, true); + && compareDeep(substitution, o.substitution, true) && compareDeep(eventHistory, o.eventHistory, true) + ; } @Override @@ -2772,11 +2699,10 @@ public class MedicationDispense extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, basedOn, partOf - , status, statusReason, statusChanged, category, medication, subject, encounter + , status, notPerformedReason, statusChanged, category, medication, subject, encounter , supportingInformation, performer, location, authorizingPrescription, type, quantity , daysSupply, recorded, whenPrepared, whenHandedOver, destination, receiver, note - , renderedDosageInstruction, dosageInstruction, substitution, detectedIssue, eventHistory - ); + , renderedDosageInstruction, dosageInstruction, substitution, eventHistory); } @Override @@ -2784,600 +2710,6 @@ public class MedicationDispense extends DomainResource { return ResourceType.MedicationDispense; } - /** - * Search parameter: destination - *

- * Description: Returns dispenses that should be sent to a specific destination
- * Type: reference
- * Path: MedicationDispense.destination
- *

- */ - @SearchParamDefinition(name="destination", path="MedicationDispense.destination", description="Returns dispenses that should be sent to a specific destination", type="reference", target={Location.class } ) - public static final String SP_DESTINATION = "destination"; - /** - * Fluent Client search parameter constant for destination - *

- * Description: Returns dispenses that should be sent to a specific destination
- * Type: reference
- * Path: MedicationDispense.destination
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DESTINATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DESTINATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:destination". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DESTINATION = new ca.uhn.fhir.model.api.Include("MedicationDispense:destination").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: Returns dispenses with a specific encounter
- * Type: reference
- * Path: MedicationDispense.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="MedicationDispense.encounter", description="Returns dispenses with a specific encounter", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Returns dispenses with a specific encounter
- * Type: reference
- * Path: MedicationDispense.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("MedicationDispense:encounter").toLocked(); - - /** - * Search parameter: location - *

- * Description: Returns dispense for a given location
- * Type: reference
- * Path: MedicationDispense.location
- *

- */ - @SearchParamDefinition(name="location", path="MedicationDispense.location", description="Returns dispense for a given location", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Returns dispense for a given location
- * Type: reference
- * Path: MedicationDispense.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("MedicationDispense:location").toLocked(); - - /** - * Search parameter: performer - *

- * Description: Returns dispenses performed by a specific individual
- * Type: reference
- * Path: MedicationDispense.performer.actor
- *

- */ - @SearchParamDefinition(name="performer", path="MedicationDispense.performer.actor", description="Returns dispenses performed by a specific individual", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Returns dispenses performed by a specific individual
- * Type: reference
- * Path: MedicationDispense.performer.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("MedicationDispense:performer").toLocked(); - - /** - * Search parameter: receiver - *

- * Description: The identity of a receiver to list dispenses for
- * Type: reference
- * Path: MedicationDispense.receiver
- *

- */ - @SearchParamDefinition(name="receiver", path="MedicationDispense.receiver", description="The identity of a receiver to list dispenses for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_RECEIVER = "receiver"; - /** - * Fluent Client search parameter constant for receiver - *

- * Description: The identity of a receiver to list dispenses for
- * Type: reference
- * Path: MedicationDispense.receiver
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECEIVER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECEIVER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:receiver". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECEIVER = new ca.uhn.fhir.model.api.Include("MedicationDispense:receiver").toLocked(); - - /** - * Search parameter: recorded - *

- * Description: Returns dispenses where dispensing activity began on this date
- * Type: date
- * Path: MedicationDispense.recorded
- *

- */ - @SearchParamDefinition(name="recorded", path="MedicationDispense.recorded", description="Returns dispenses where dispensing activity began on this date", type="date" ) - public static final String SP_RECORDED = "recorded"; - /** - * Fluent Client search parameter constant for recorded - *

- * Description: Returns dispenses where dispensing activity began on this date
- * Type: date
- * Path: MedicationDispense.recorded
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam RECORDED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_RECORDED); - - /** - * Search parameter: responsibleparty - *

- * Description: Returns dispenses with the specified responsible party
- * Type: reference
- * Path: MedicationDispense.substitution.responsibleParty
- *

- */ - @SearchParamDefinition(name="responsibleparty", path="MedicationDispense.substitution.responsibleParty", description="Returns dispenses with the specified responsible party", type="reference", target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_RESPONSIBLEPARTY = "responsibleparty"; - /** - * Fluent Client search parameter constant for responsibleparty - *

- * Description: Returns dispenses with the specified responsible party
- * Type: reference
- * Path: MedicationDispense.substitution.responsibleParty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESPONSIBLEPARTY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESPONSIBLEPARTY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:responsibleparty". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESPONSIBLEPARTY = new ca.uhn.fhir.model.api.Include("MedicationDispense:responsibleparty").toLocked(); - - /** - * Search parameter: subject - *

- * Description: The identity of a patient for whom to list dispenses
- * Type: reference
- * Path: MedicationDispense.subject
- *

- */ - @SearchParamDefinition(name="subject", path="MedicationDispense.subject", description="The identity of a patient for whom to list dispenses", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a patient for whom to list dispenses
- * Type: reference
- * Path: MedicationDispense.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("MedicationDispense:subject").toLocked(); - - /** - * Search parameter: type - *

- * Description: Returns dispenses of a specific type
- * Type: token
- * Path: MedicationDispense.type
- *

- */ - @SearchParamDefinition(name="type", path="MedicationDispense.type", description="Returns dispenses of a specific type", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Returns dispenses of a specific type
- * Type: token
- * Path: MedicationDispense.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: whenhandedover - *

- * Description: Returns dispenses handed over on this date
- * Type: date
- * Path: MedicationDispense.whenHandedOver
- *

- */ - @SearchParamDefinition(name="whenhandedover", path="MedicationDispense.whenHandedOver", description="Returns dispenses handed over on this date", type="date" ) - public static final String SP_WHENHANDEDOVER = "whenhandedover"; - /** - * Fluent Client search parameter constant for whenhandedover - *

- * Description: Returns dispenses handed over on this date
- * Type: date
- * Path: MedicationDispense.whenHandedOver
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam WHENHANDEDOVER = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_WHENHANDEDOVER); - - /** - * Search parameter: whenprepared - *

- * Description: Returns dispenses prepared on this date
- * Type: date
- * Path: MedicationDispense.whenPrepared
- *

- */ - @SearchParamDefinition(name="whenprepared", path="MedicationDispense.whenPrepared", description="Returns dispenses prepared on this date", type="date" ) - public static final String SP_WHENPREPARED = "whenprepared"; - /** - * Fluent Client search parameter constant for whenprepared - *

- * Description: Returns dispenses prepared on this date
- * Type: date
- * Path: MedicationDispense.whenPrepared
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam WHENPREPARED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_WHENPREPARED); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("MedicationDispense:patient").toLocked(); - - /** - * Search parameter: medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - @SearchParamDefinition(name="medication", path="MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication reference\r\n", type="reference" ) - public static final String SP_MEDICATION = "medication"; - /** - * Fluent Client search parameter constant for medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEDICATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:medication". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION = new ca.uhn.fhir.model.api.Include("MedicationDispense:medication").toLocked(); - - /** - * Search parameter: prescription - *

- * Description: Multiple Resources: - -* [MedicationDispense](medicationdispense.html): The identity of a prescription to list dispenses from -
- * Type: reference
- * Path: MedicationDispense.authorizingPrescription
- *

- */ - @SearchParamDefinition(name="prescription", path="MedicationDispense.authorizingPrescription", description="Multiple Resources: \r\n\r\n* [MedicationDispense](medicationdispense.html): The identity of a prescription to list dispenses from\r\n", type="reference", target={MedicationRequest.class } ) - public static final String SP_PRESCRIPTION = "prescription"; - /** - * Fluent Client search parameter constant for prescription - *

- * Description: Multiple Resources: - -* [MedicationDispense](medicationdispense.html): The identity of a prescription to list dispenses from -
- * Type: reference
- * Path: MedicationDispense.authorizingPrescription
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIPTION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRESCRIPTION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationDispense:prescription". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIPTION = new ca.uhn.fhir.model.api.Include("MedicationDispense:prescription").toLocked(); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - @SearchParamDefinition(name="status", path="MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status\r\n* [MedicationRequest](medicationrequest.html): Status of the prescription\r\n* [MedicationUsage](medicationusage.html): Return statements that match the given status\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationKnowledge.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationKnowledge.java index 86ffdd9be..e6e48f1a1 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationKnowledge.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationKnowledge.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class MedicationKnowledge extends DomainResource { case ACTIVE: return "active"; case ENTEREDINERROR: return "entered-in-error"; case INACTIVE: return "inactive"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class MedicationKnowledge extends DomainResource { case ACTIVE: return "http://hl7.org/fhir/CodeSystem/medicationknowledge-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/medicationknowledge-status"; case INACTIVE: return "http://hl7.org/fhir/CodeSystem/medicationknowledge-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class MedicationKnowledge extends DomainResource { case ACTIVE: return "The medication referred to by this MedicationKnowledge is in active use within the drug database or inventory system."; case ENTEREDINERROR: return "The medication referred to by this MedicationKnowledge was entered in error within the drug database or inventory system."; case INACTIVE: return "The medication referred to by this MedicationKnowledge is not in active use within the drug database or inventory system."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class MedicationKnowledge extends DomainResource { case ACTIVE: return "Active"; case ENTEREDINERROR: return "Entered in Error"; case INACTIVE: return "Inactive"; + case NULL: return null; default: return "?"; } } @@ -2914,6 +2918,654 @@ public class MedicationKnowledge extends DomainResource { } + } + + @Block() + public static class MedicationKnowledgeStorageGuidelineComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Reference to additional information about the storage guidelines. + */ + @Child(name = "reference", type = {UriType.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Reference to additional information", formalDefinition="Reference to additional information about the storage guidelines." ) + protected UriType reference; + + /** + * Additional notes about the storage. + */ + @Child(name = "note", type = {Annotation.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Additional storage notes", formalDefinition="Additional notes about the storage." ) + protected List note; + + /** + * Duration that the medication remains stable if the environmentalSetting is respected. + */ + @Child(name = "stabilityDuration", type = {Duration.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Duration remains stable", formalDefinition="Duration that the medication remains stable if the environmentalSetting is respected." ) + protected Duration stabilityDuration; + + /** + * Describes a setting/value on the environment for the adequate storage of the medication and other substances. Environment settings may involve temperature, humidity, or exposure to light. + */ + @Child(name = "environmentalSetting", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Setting or value of environment for adequate storage", formalDefinition="Describes a setting/value on the environment for the adequate storage of the medication and other substances. Environment settings may involve temperature, humidity, or exposure to light." ) + protected List environmentalSetting; + + private static final long serialVersionUID = -304442588L; + + /** + * Constructor + */ + public MedicationKnowledgeStorageGuidelineComponent() { + super(); + } + + /** + * @return {@link #reference} (Reference to additional information about the storage guidelines.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value + */ + public UriType getReferenceElement() { + if (this.reference == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MedicationKnowledgeStorageGuidelineComponent.reference"); + else if (Configuration.doAutoCreate()) + this.reference = new UriType(); // bb + return this.reference; + } + + public boolean hasReferenceElement() { + return this.reference != null && !this.reference.isEmpty(); + } + + public boolean hasReference() { + return this.reference != null && !this.reference.isEmpty(); + } + + /** + * @param value {@link #reference} (Reference to additional information about the storage guidelines.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value + */ + public MedicationKnowledgeStorageGuidelineComponent setReferenceElement(UriType value) { + this.reference = value; + return this; + } + + /** + * @return Reference to additional information about the storage guidelines. + */ + public String getReference() { + return this.reference == null ? null : this.reference.getValue(); + } + + /** + * @param value Reference to additional information about the storage guidelines. + */ + public MedicationKnowledgeStorageGuidelineComponent setReference(String value) { + if (Utilities.noString(value)) + this.reference = null; + else { + if (this.reference == null) + this.reference = new UriType(); + this.reference.setValue(value); + } + return this; + } + + /** + * @return {@link #note} (Additional notes about the storage.) + */ + public List getNote() { + if (this.note == null) + this.note = new ArrayList(); + return this.note; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationKnowledgeStorageGuidelineComponent setNote(List theNote) { + this.note = theNote; + return this; + } + + public boolean hasNote() { + if (this.note == null) + return false; + for (Annotation item : this.note) + if (!item.isEmpty()) + return true; + return false; + } + + public Annotation addNote() { //3 + Annotation t = new Annotation(); + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return t; + } + + public MedicationKnowledgeStorageGuidelineComponent addNote(Annotation t) { //3 + if (t == null) + return this; + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} + */ + public Annotation getNoteFirstRep() { + if (getNote().isEmpty()) { + addNote(); + } + return getNote().get(0); + } + + /** + * @return {@link #stabilityDuration} (Duration that the medication remains stable if the environmentalSetting is respected.) + */ + public Duration getStabilityDuration() { + if (this.stabilityDuration == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MedicationKnowledgeStorageGuidelineComponent.stabilityDuration"); + else if (Configuration.doAutoCreate()) + this.stabilityDuration = new Duration(); // cc + return this.stabilityDuration; + } + + public boolean hasStabilityDuration() { + return this.stabilityDuration != null && !this.stabilityDuration.isEmpty(); + } + + /** + * @param value {@link #stabilityDuration} (Duration that the medication remains stable if the environmentalSetting is respected.) + */ + public MedicationKnowledgeStorageGuidelineComponent setStabilityDuration(Duration value) { + this.stabilityDuration = value; + return this; + } + + /** + * @return {@link #environmentalSetting} (Describes a setting/value on the environment for the adequate storage of the medication and other substances. Environment settings may involve temperature, humidity, or exposure to light.) + */ + public List getEnvironmentalSetting() { + if (this.environmentalSetting == null) + this.environmentalSetting = new ArrayList(); + return this.environmentalSetting; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationKnowledgeStorageGuidelineComponent setEnvironmentalSetting(List theEnvironmentalSetting) { + this.environmentalSetting = theEnvironmentalSetting; + return this; + } + + public boolean hasEnvironmentalSetting() { + if (this.environmentalSetting == null) + return false; + for (MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent item : this.environmentalSetting) + if (!item.isEmpty()) + return true; + return false; + } + + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent addEnvironmentalSetting() { //3 + MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent t = new MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(); + if (this.environmentalSetting == null) + this.environmentalSetting = new ArrayList(); + this.environmentalSetting.add(t); + return t; + } + + public MedicationKnowledgeStorageGuidelineComponent addEnvironmentalSetting(MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent t) { //3 + if (t == null) + return this; + if (this.environmentalSetting == null) + this.environmentalSetting = new ArrayList(); + this.environmentalSetting.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #environmentalSetting}, creating it if it does not already exist {3} + */ + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent getEnvironmentalSettingFirstRep() { + if (getEnvironmentalSetting().isEmpty()) { + addEnvironmentalSetting(); + } + return getEnvironmentalSetting().get(0); + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("reference", "uri", "Reference to additional information about the storage guidelines.", 0, 1, reference)); + children.add(new Property("note", "Annotation", "Additional notes about the storage.", 0, java.lang.Integer.MAX_VALUE, note)); + children.add(new Property("stabilityDuration", "Duration", "Duration that the medication remains stable if the environmentalSetting is respected.", 0, 1, stabilityDuration)); + children.add(new Property("environmentalSetting", "", "Describes a setting/value on the environment for the adequate storage of the medication and other substances. Environment settings may involve temperature, humidity, or exposure to light.", 0, java.lang.Integer.MAX_VALUE, environmentalSetting)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -925155509: /*reference*/ return new Property("reference", "uri", "Reference to additional information about the storage guidelines.", 0, 1, reference); + case 3387378: /*note*/ return new Property("note", "Annotation", "Additional notes about the storage.", 0, java.lang.Integer.MAX_VALUE, note); + case 1823268957: /*stabilityDuration*/ return new Property("stabilityDuration", "Duration", "Duration that the medication remains stable if the environmentalSetting is respected.", 0, 1, stabilityDuration); + case 105846514: /*environmentalSetting*/ return new Property("environmentalSetting", "", "Describes a setting/value on the environment for the adequate storage of the medication and other substances. Environment settings may involve temperature, humidity, or exposure to light.", 0, java.lang.Integer.MAX_VALUE, environmentalSetting); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // UriType + case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation + case 1823268957: /*stabilityDuration*/ return this.stabilityDuration == null ? new Base[0] : new Base[] {this.stabilityDuration}; // Duration + case 105846514: /*environmentalSetting*/ return this.environmentalSetting == null ? new Base[0] : this.environmentalSetting.toArray(new Base[this.environmentalSetting.size()]); // MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case -925155509: // reference + this.reference = TypeConvertor.castToUri(value); // UriType + return value; + case 3387378: // note + this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation + return value; + case 1823268957: // stabilityDuration + this.stabilityDuration = TypeConvertor.castToDuration(value); // Duration + return value; + case 105846514: // environmentalSetting + this.getEnvironmentalSetting().add((MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent) value); // MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("reference")) { + this.reference = TypeConvertor.castToUri(value); // UriType + } else if (name.equals("note")) { + this.getNote().add(TypeConvertor.castToAnnotation(value)); + } else if (name.equals("stabilityDuration")) { + this.stabilityDuration = TypeConvertor.castToDuration(value); // Duration + } else if (name.equals("environmentalSetting")) { + this.getEnvironmentalSetting().add((MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent) value); + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -925155509: return getReferenceElement(); + case 3387378: return addNote(); + case 1823268957: return getStabilityDuration(); + case 105846514: return addEnvironmentalSetting(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -925155509: /*reference*/ return new String[] {"uri"}; + case 3387378: /*note*/ return new String[] {"Annotation"}; + case 1823268957: /*stabilityDuration*/ return new String[] {"Duration"}; + case 105846514: /*environmentalSetting*/ return new String[] {}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("reference")) { + throw new FHIRException("Cannot call addChild on a primitive type MedicationKnowledge.storageGuideline.reference"); + } + else if (name.equals("note")) { + return addNote(); + } + else if (name.equals("stabilityDuration")) { + this.stabilityDuration = new Duration(); + return this.stabilityDuration; + } + else if (name.equals("environmentalSetting")) { + return addEnvironmentalSetting(); + } + else + return super.addChild(name); + } + + public MedicationKnowledgeStorageGuidelineComponent copy() { + MedicationKnowledgeStorageGuidelineComponent dst = new MedicationKnowledgeStorageGuidelineComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(MedicationKnowledgeStorageGuidelineComponent dst) { + super.copyValues(dst); + dst.reference = reference == null ? null : reference.copy(); + if (note != null) { + dst.note = new ArrayList(); + for (Annotation i : note) + dst.note.add(i.copy()); + }; + dst.stabilityDuration = stabilityDuration == null ? null : stabilityDuration.copy(); + if (environmentalSetting != null) { + dst.environmentalSetting = new ArrayList(); + for (MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent i : environmentalSetting) + dst.environmentalSetting.add(i.copy()); + }; + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof MedicationKnowledgeStorageGuidelineComponent)) + return false; + MedicationKnowledgeStorageGuidelineComponent o = (MedicationKnowledgeStorageGuidelineComponent) other_; + return compareDeep(reference, o.reference, true) && compareDeep(note, o.note, true) && compareDeep(stabilityDuration, o.stabilityDuration, true) + && compareDeep(environmentalSetting, o.environmentalSetting, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof MedicationKnowledgeStorageGuidelineComponent)) + return false; + MedicationKnowledgeStorageGuidelineComponent o = (MedicationKnowledgeStorageGuidelineComponent) other_; + return compareValues(reference, o.reference, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(reference, note, stabilityDuration + , environmentalSetting); + } + + public String fhirType() { + return "MedicationKnowledge.storageGuideline"; + + } + + } + + @Block() + public static class MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Identifies the category or type of setting (e.g., type of location, temperature, humidity). + */ + @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Categorization of the setting", formalDefinition="Identifies the category or type of setting (e.g., type of location, temperature, humidity)." ) + protected CodeableConcept type; + + /** + * Value associated to the setting. E.g., 40° – 50°F for temperature. + */ + @Child(name = "value", type = {Quantity.class, Range.class, CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Value of the setting", formalDefinition="Value associated to the setting. E.g., 40° – 50°F for temperature." ) + protected DataType value; + + private static final long serialVersionUID = -1659186716L; + + /** + * Constructor + */ + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent() { + super(); + } + + /** + * Constructor + */ + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(CodeableConcept type, DataType value) { + super(); + this.setType(type); + this.setValue(value); + } + + /** + * @return {@link #type} (Identifies the category or type of setting (e.g., type of location, temperature, humidity).) + */ + public CodeableConcept getType() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent.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} (Identifies the category or type of setting (e.g., type of location, temperature, humidity).) + */ + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent setType(CodeableConcept value) { + this.type = value; + return this; + } + + /** + * @return {@link #value} (Value associated to the setting. E.g., 40° – 50°F for temperature.) + */ + public DataType getValue() { + return this.value; + } + + /** + * @return {@link #value} (Value associated to the setting. E.g., 40° – 50°F for temperature.) + */ + public Quantity getValueQuantity() throws FHIRException { + if (this.value == null) + this.value = new Quantity(); + if (!(this.value instanceof Quantity)) + throw new FHIRException("Type mismatch: the type Quantity was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Quantity) this.value; + } + + public boolean hasValueQuantity() { + return this != null && this.value instanceof Quantity; + } + + /** + * @return {@link #value} (Value associated to the setting. E.g., 40° – 50°F for temperature.) + */ + public Range getValueRange() throws FHIRException { + if (this.value == null) + this.value = new Range(); + if (!(this.value instanceof Range)) + throw new FHIRException("Type mismatch: the type Range was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Range) this.value; + } + + public boolean hasValueRange() { + return this != null && this.value instanceof Range; + } + + /** + * @return {@link #value} (Value associated to the setting. E.g., 40° – 50°F for temperature.) + */ + public CodeableConcept getValueCodeableConcept() throws FHIRException { + if (this.value == null) + this.value = new CodeableConcept(); + if (!(this.value instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeableConcept) this.value; + } + + public boolean hasValueCodeableConcept() { + return this != null && this.value instanceof CodeableConcept; + } + + public boolean hasValue() { + return this.value != null && !this.value.isEmpty(); + } + + /** + * @param value {@link #value} (Value associated to the setting. E.g., 40° – 50°F for temperature.) + */ + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent setValue(DataType value) { + if (value != null && !(value instanceof Quantity || value instanceof Range || value instanceof CodeableConcept)) + throw new Error("Not the right type for MedicationKnowledge.storageGuideline.environmentalSetting.value[x]: "+value.fhirType()); + this.value = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("type", "CodeableConcept", "Identifies the category or type of setting (e.g., type of location, temperature, humidity).", 0, 1, type)); + children.add(new Property("value[x]", "Quantity|Range|CodeableConcept", "Value associated to the setting. E.g., 40° – 50°F for temperature.", 0, 1, value)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Identifies the category or type of setting (e.g., type of location, temperature, humidity).", 0, 1, type); + case -1410166417: /*value[x]*/ return new Property("value[x]", "Quantity|Range|CodeableConcept", "Value associated to the setting. E.g., 40° – 50°F for temperature.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "Quantity|Range|CodeableConcept", "Value associated to the setting. E.g., 40° – 50°F for temperature.", 0, 1, value); + case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "Value associated to the setting. E.g., 40° – 50°F for temperature.", 0, 1, value); + case 2030761548: /*valueRange*/ return new Property("value[x]", "Range", "Value associated to the setting. E.g., 40° – 50°F for temperature.", 0, 1, value); + case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "Value associated to the setting. E.g., 40° – 50°F for temperature.", 0, 1, value); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept + case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3575610: // type + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 111972721: // value + this.value = TypeConvertor.castToType(value); // DataType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("type")) { + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("value[x]")) { + this.value = TypeConvertor.castToType(value); // DataType + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: return getType(); + case -1410166417: return getValue(); + case 111972721: return getValue(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return new String[] {"CodeableConcept"}; + case 111972721: /*value*/ return new String[] {"Quantity", "Range", "CodeableConcept"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("type")) { + this.type = new CodeableConcept(); + return this.type; + } + else if (name.equals("valueQuantity")) { + this.value = new Quantity(); + return this.value; + } + else if (name.equals("valueRange")) { + this.value = new Range(); + return this.value; + } + else if (name.equals("valueCodeableConcept")) { + this.value = new CodeableConcept(); + return this.value; + } + else + return super.addChild(name); + } + + public MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent copy() { + MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent dst = new MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent dst) { + super.copyValues(dst); + dst.type = type == null ? null : type.copy(); + dst.value = value == null ? null : value.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent)) + return false; + MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent o = (MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent) other_; + return compareDeep(type, o.type, true) && compareDeep(value, o.value, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent)) + return false; + MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent o = (MedicationKnowledgeStorageGuidelineEnvironmentalSettingComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, value); + } + + public String fhirType() { + return "MedicationKnowledge.storageGuideline.environmentalSetting"; + + } + } @Block() @@ -4925,21 +5577,28 @@ public class MedicationKnowledge extends DomainResource { @Description(shortDefinition="Potential clinical issue with or between medication(s)", formalDefinition="Potential clinical issue with or between medication(s) (for example, drug-drug interaction, drug-disease contraindication, drug-allergy interaction, etc.)." ) protected List clinicalUseIssue; + /** + * Information on how the medication should be stored, for example, refrigeration temperatures and length of stability at a given temperature. + */ + @Child(name = "storageGuideline", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="How the medication should be stored", formalDefinition="Information on how the medication should be stored, for example, refrigeration temperatures and length of stability at a given temperature." ) + protected List storageGuideline; + /** * Regulatory information about a medication. */ - @Child(name = "regulatory", type = {}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "regulatory", type = {}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Regulatory information about a medication", formalDefinition="Regulatory information about a medication." ) protected List regulatory; /** * Along with the link to a Medicinal Product Definition resource, this information provides common definitional elements that are needed to understand the specific medication that is being described. */ - @Child(name = "definitional", type = {}, order=18, min=0, max=1, modifier=false, summary=false) + @Child(name = "definitional", type = {}, order=19, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Minimal definition information about the medication", formalDefinition="Along with the link to a Medicinal Product Definition resource, this information provides common definitional elements that are needed to understand the specific medication that is being described." ) protected MedicationKnowledgeDefinitionalComponent definitional; - private static final long serialVersionUID = 259479639L; + private static final long serialVersionUID = -814493741L; /** * Constructor @@ -5791,6 +6450,59 @@ public class MedicationKnowledge extends DomainResource { return getClinicalUseIssue().get(0); } + /** + * @return {@link #storageGuideline} (Information on how the medication should be stored, for example, refrigeration temperatures and length of stability at a given temperature.) + */ + public List getStorageGuideline() { + if (this.storageGuideline == null) + this.storageGuideline = new ArrayList(); + return this.storageGuideline; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationKnowledge setStorageGuideline(List theStorageGuideline) { + this.storageGuideline = theStorageGuideline; + return this; + } + + public boolean hasStorageGuideline() { + if (this.storageGuideline == null) + return false; + for (MedicationKnowledgeStorageGuidelineComponent item : this.storageGuideline) + if (!item.isEmpty()) + return true; + return false; + } + + public MedicationKnowledgeStorageGuidelineComponent addStorageGuideline() { //3 + MedicationKnowledgeStorageGuidelineComponent t = new MedicationKnowledgeStorageGuidelineComponent(); + if (this.storageGuideline == null) + this.storageGuideline = new ArrayList(); + this.storageGuideline.add(t); + return t; + } + + public MedicationKnowledge addStorageGuideline(MedicationKnowledgeStorageGuidelineComponent t) { //3 + if (t == null) + return this; + if (this.storageGuideline == null) + this.storageGuideline = new ArrayList(); + this.storageGuideline.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #storageGuideline}, creating it if it does not already exist {3} + */ + public MedicationKnowledgeStorageGuidelineComponent getStorageGuidelineFirstRep() { + if (getStorageGuideline().isEmpty()) { + addStorageGuideline(); + } + return getStorageGuideline().get(0); + } + /** * @return {@link #regulatory} (Regulatory information about a medication.) */ @@ -5887,6 +6599,7 @@ public class MedicationKnowledge extends DomainResource { children.add(new Property("medicineClassification", "", "Categorization of the medication within a formulary or classification system.", 0, java.lang.Integer.MAX_VALUE, medicineClassification)); children.add(new Property("packaging", "", "Information that only applies to packages (not products).", 0, java.lang.Integer.MAX_VALUE, packaging)); children.add(new Property("clinicalUseIssue", "Reference(ClinicalUseDefinition)", "Potential clinical issue with or between medication(s) (for example, drug-drug interaction, drug-disease contraindication, drug-allergy interaction, etc.).", 0, java.lang.Integer.MAX_VALUE, clinicalUseIssue)); + children.add(new Property("storageGuideline", "", "Information on how the medication should be stored, for example, refrigeration temperatures and length of stability at a given temperature.", 0, java.lang.Integer.MAX_VALUE, storageGuideline)); children.add(new Property("regulatory", "", "Regulatory information about a medication.", 0, java.lang.Integer.MAX_VALUE, regulatory)); children.add(new Property("definitional", "", "Along with the link to a Medicinal Product Definition resource, this information provides common definitional elements that are needed to understand the specific medication that is being described.", 0, 1, definitional)); } @@ -5911,6 +6624,7 @@ public class MedicationKnowledge extends DomainResource { case 1791551680: /*medicineClassification*/ return new Property("medicineClassification", "", "Categorization of the medication within a formulary or classification system.", 0, java.lang.Integer.MAX_VALUE, medicineClassification); case 1802065795: /*packaging*/ return new Property("packaging", "", "Information that only applies to packages (not products).", 0, java.lang.Integer.MAX_VALUE, packaging); case 251885509: /*clinicalUseIssue*/ return new Property("clinicalUseIssue", "Reference(ClinicalUseDefinition)", "Potential clinical issue with or between medication(s) (for example, drug-drug interaction, drug-disease contraindication, drug-allergy interaction, etc.).", 0, java.lang.Integer.MAX_VALUE, clinicalUseIssue); + case 1618773173: /*storageGuideline*/ return new Property("storageGuideline", "", "Information on how the medication should be stored, for example, refrigeration temperatures and length of stability at a given temperature.", 0, java.lang.Integer.MAX_VALUE, storageGuideline); case -27327848: /*regulatory*/ return new Property("regulatory", "", "Regulatory information about a medication.", 0, java.lang.Integer.MAX_VALUE, regulatory); case 101791934: /*definitional*/ return new Property("definitional", "", "Along with the link to a Medicinal Product Definition resource, this information provides common definitional elements that are needed to understand the specific medication that is being described.", 0, 1, definitional); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -5938,6 +6652,7 @@ public class MedicationKnowledge extends DomainResource { case 1791551680: /*medicineClassification*/ return this.medicineClassification == null ? new Base[0] : this.medicineClassification.toArray(new Base[this.medicineClassification.size()]); // MedicationKnowledgeMedicineClassificationComponent case 1802065795: /*packaging*/ return this.packaging == null ? new Base[0] : this.packaging.toArray(new Base[this.packaging.size()]); // MedicationKnowledgePackagingComponent case 251885509: /*clinicalUseIssue*/ return this.clinicalUseIssue == null ? new Base[0] : this.clinicalUseIssue.toArray(new Base[this.clinicalUseIssue.size()]); // Reference + case 1618773173: /*storageGuideline*/ return this.storageGuideline == null ? new Base[0] : this.storageGuideline.toArray(new Base[this.storageGuideline.size()]); // MedicationKnowledgeStorageGuidelineComponent case -27327848: /*regulatory*/ return this.regulatory == null ? new Base[0] : this.regulatory.toArray(new Base[this.regulatory.size()]); // MedicationKnowledgeRegulatoryComponent case 101791934: /*definitional*/ return this.definitional == null ? new Base[0] : new Base[] {this.definitional}; // MedicationKnowledgeDefinitionalComponent default: return super.getProperty(hash, name, checkValid); @@ -6000,6 +6715,9 @@ public class MedicationKnowledge extends DomainResource { case 251885509: // clinicalUseIssue this.getClinicalUseIssue().add(TypeConvertor.castToReference(value)); // Reference return value; + case 1618773173: // storageGuideline + this.getStorageGuideline().add((MedicationKnowledgeStorageGuidelineComponent) value); // MedicationKnowledgeStorageGuidelineComponent + return value; case -27327848: // regulatory this.getRegulatory().add((MedicationKnowledgeRegulatoryComponent) value); // MedicationKnowledgeRegulatoryComponent return value; @@ -6048,6 +6766,8 @@ public class MedicationKnowledge extends DomainResource { this.getPackaging().add((MedicationKnowledgePackagingComponent) value); } else if (name.equals("clinicalUseIssue")) { this.getClinicalUseIssue().add(TypeConvertor.castToReference(value)); + } else if (name.equals("storageGuideline")) { + this.getStorageGuideline().add((MedicationKnowledgeStorageGuidelineComponent) value); } else if (name.equals("regulatory")) { this.getRegulatory().add((MedicationKnowledgeRegulatoryComponent) value); } else if (name.equals("definitional")) { @@ -6077,6 +6797,7 @@ public class MedicationKnowledge extends DomainResource { case 1791551680: return addMedicineClassification(); case 1802065795: return addPackaging(); case 251885509: return addClinicalUseIssue(); + case 1618773173: return addStorageGuideline(); case -27327848: return addRegulatory(); case 101791934: return getDefinitional(); default: return super.makeProperty(hash, name); @@ -6104,6 +6825,7 @@ public class MedicationKnowledge extends DomainResource { case 1791551680: /*medicineClassification*/ return new String[] {}; case 1802065795: /*packaging*/ return new String[] {}; case 251885509: /*clinicalUseIssue*/ return new String[] {"Reference"}; + case 1618773173: /*storageGuideline*/ return new String[] {}; case -27327848: /*regulatory*/ return new String[] {}; case 101791934: /*definitional*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); @@ -6166,6 +6888,9 @@ public class MedicationKnowledge extends DomainResource { else if (name.equals("clinicalUseIssue")) { return addClinicalUseIssue(); } + else if (name.equals("storageGuideline")) { + return addStorageGuideline(); + } else if (name.equals("regulatory")) { return addRegulatory(); } @@ -6259,6 +6984,11 @@ public class MedicationKnowledge extends DomainResource { for (Reference i : clinicalUseIssue) dst.clinicalUseIssue.add(i.copy()); }; + if (storageGuideline != null) { + dst.storageGuideline = new ArrayList(); + for (MedicationKnowledgeStorageGuidelineComponent i : storageGuideline) + dst.storageGuideline.add(i.copy()); + }; if (regulatory != null) { dst.regulatory = new ArrayList(); for (MedicationKnowledgeRegulatoryComponent i : regulatory) @@ -6286,8 +7016,8 @@ public class MedicationKnowledge extends DomainResource { && compareDeep(cost, o.cost, true) && compareDeep(monitoringProgram, o.monitoringProgram, true) && compareDeep(indicationGuideline, o.indicationGuideline, true) && compareDeep(medicineClassification, o.medicineClassification, true) && compareDeep(packaging, o.packaging, true) && compareDeep(clinicalUseIssue, o.clinicalUseIssue, true) - && compareDeep(regulatory, o.regulatory, true) && compareDeep(definitional, o.definitional, true) - ; + && compareDeep(storageGuideline, o.storageGuideline, true) && compareDeep(regulatory, o.regulatory, true) + && compareDeep(definitional, o.definitional, true); } @Override @@ -6305,7 +7035,8 @@ public class MedicationKnowledge extends DomainResource { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, code, status , author, intendedJurisdiction, name, relatedMedicationKnowledge, associatedMedication , productType, monograph, preparationInstruction, cost, monitoringProgram, indicationGuideline - , medicineClassification, packaging, clinicalUseIssue, regulatory, definitional); + , medicineClassification, packaging, clinicalUseIssue, storageGuideline, regulatory + , definitional); } @Override @@ -6313,338 +7044,6 @@ public class MedicationKnowledge extends DomainResource { return ResourceType.MedicationKnowledge; } - /** - * Search parameter: classification-type - *

- * Description: The type of category for the medication (for example, therapeutic classification, therapeutic sub-classification)
- * Type: token
- * Path: MedicationKnowledge.medicineClassification.type
- *

- */ - @SearchParamDefinition(name="classification-type", path="MedicationKnowledge.medicineClassification.type", description="The type of category for the medication (for example, therapeutic classification, therapeutic sub-classification)", type="token" ) - public static final String SP_CLASSIFICATION_TYPE = "classification-type"; - /** - * Fluent Client search parameter constant for classification-type - *

- * Description: The type of category for the medication (for example, therapeutic classification, therapeutic sub-classification)
- * Type: token
- * Path: MedicationKnowledge.medicineClassification.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASSIFICATION_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLASSIFICATION_TYPE); - - /** - * Search parameter: classification - *

- * Description: Specific category assigned to the medication
- * Type: token
- * Path: MedicationKnowledge.medicineClassification.classification
- *

- */ - @SearchParamDefinition(name="classification", path="MedicationKnowledge.medicineClassification.classification", description="Specific category assigned to the medication", type="token" ) - public static final String SP_CLASSIFICATION = "classification"; - /** - * Fluent Client search parameter constant for classification - *

- * Description: Specific category assigned to the medication
- * Type: token
- * Path: MedicationKnowledge.medicineClassification.classification
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASSIFICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLASSIFICATION); - - /** - * Search parameter: code - *

- * Description: Code that identifies this medication
- * Type: token
- * Path: MedicationKnowledge.code
- *

- */ - @SearchParamDefinition(name="code", path="MedicationKnowledge.code", description="Code that identifies this medication", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Code that identifies this medication
- * Type: token
- * Path: MedicationKnowledge.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: doseform - *

- * Description: powder | tablets | capsule +
- * Type: token
- * Path: MedicationKnowledge.definitional.doseForm
- *

- */ - @SearchParamDefinition(name="doseform", path="MedicationKnowledge.definitional.doseForm", description="powder | tablets | capsule +", type="token" ) - public static final String SP_DOSEFORM = "doseform"; - /** - * Fluent Client search parameter constant for doseform - *

- * Description: powder | tablets | capsule +
- * Type: token
- * Path: MedicationKnowledge.definitional.doseForm
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOSEFORM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOSEFORM); - - /** - * Search parameter: identifier - *

- * Description: Business identifier for this medication
- * Type: token
- * Path: MedicationKnowledge.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="MedicationKnowledge.identifier", description="Business identifier for this medication", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier for this medication
- * Type: token
- * Path: MedicationKnowledge.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: ingredient-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: MedicationKnowledge.definitional.ingredient.item.concept
- *

- */ - @SearchParamDefinition(name="ingredient-code", path="MedicationKnowledge.definitional.ingredient.item.concept", description="Reference to a concept (by class)", type="token" ) - public static final String SP_INGREDIENT_CODE = "ingredient-code"; - /** - * Fluent Client search parameter constant for ingredient-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: MedicationKnowledge.definitional.ingredient.item.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INGREDIENT_CODE); - - /** - * Search parameter: ingredient - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: MedicationKnowledge.definitional.ingredient.item.reference
- *

- */ - @SearchParamDefinition(name="ingredient", path="MedicationKnowledge.definitional.ingredient.item.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_INGREDIENT = "ingredient"; - /** - * Fluent Client search parameter constant for ingredient - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: MedicationKnowledge.definitional.ingredient.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INGREDIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INGREDIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationKnowledge:ingredient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INGREDIENT = new ca.uhn.fhir.model.api.Include("MedicationKnowledge:ingredient").toLocked(); - - /** - * Search parameter: monitoring-program-name - *

- * Description: Name of the reviewing program
- * Type: token
- * Path: MedicationKnowledge.monitoringProgram.name
- *

- */ - @SearchParamDefinition(name="monitoring-program-name", path="MedicationKnowledge.monitoringProgram.name", description="Name of the reviewing program", type="token" ) - public static final String SP_MONITORING_PROGRAM_NAME = "monitoring-program-name"; - /** - * Fluent Client search parameter constant for monitoring-program-name - *

- * Description: Name of the reviewing program
- * Type: token
- * Path: MedicationKnowledge.monitoringProgram.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MONITORING_PROGRAM_NAME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MONITORING_PROGRAM_NAME); - - /** - * Search parameter: monitoring-program-type - *

- * Description: Type of program under which the medication is monitored
- * Type: token
- * Path: MedicationKnowledge.monitoringProgram.type
- *

- */ - @SearchParamDefinition(name="monitoring-program-type", path="MedicationKnowledge.monitoringProgram.type", description="Type of program under which the medication is monitored", type="token" ) - public static final String SP_MONITORING_PROGRAM_TYPE = "monitoring-program-type"; - /** - * Fluent Client search parameter constant for monitoring-program-type - *

- * Description: Type of program under which the medication is monitored
- * Type: token
- * Path: MedicationKnowledge.monitoringProgram.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MONITORING_PROGRAM_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MONITORING_PROGRAM_TYPE); - - /** - * Search parameter: monograph-type - *

- * Description: The category of medication document
- * Type: token
- * Path: MedicationKnowledge.monograph.type
- *

- */ - @SearchParamDefinition(name="monograph-type", path="MedicationKnowledge.monograph.type", description="The category of medication document", type="token" ) - public static final String SP_MONOGRAPH_TYPE = "monograph-type"; - /** - * Fluent Client search parameter constant for monograph-type - *

- * Description: The category of medication document
- * Type: token
- * Path: MedicationKnowledge.monograph.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam MONOGRAPH_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_MONOGRAPH_TYPE); - - /** - * Search parameter: monograph - *

- * Description: Associated documentation about the medication
- * Type: reference
- * Path: MedicationKnowledge.monograph.source
- *

- */ - @SearchParamDefinition(name="monograph", path="MedicationKnowledge.monograph.source", description="Associated documentation about the medication", type="reference", target={DocumentReference.class } ) - public static final String SP_MONOGRAPH = "monograph"; - /** - * Fluent Client search parameter constant for monograph - *

- * Description: Associated documentation about the medication
- * Type: reference
- * Path: MedicationKnowledge.monograph.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MONOGRAPH = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MONOGRAPH); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationKnowledge:monograph". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MONOGRAPH = new ca.uhn.fhir.model.api.Include("MedicationKnowledge:monograph").toLocked(); - - /** - * Search parameter: packaging-cost-concept - *

- * Description: The cost of the packaged medication, if the cost is a CodeableConcept
- * Type: token
- * Path: null
- *

- */ - @SearchParamDefinition(name="packaging-cost-concept", path="", description="The cost of the packaged medication, if the cost is a CodeableConcept", type="token" ) - public static final String SP_PACKAGING_COST_CONCEPT = "packaging-cost-concept"; - /** - * Fluent Client search parameter constant for packaging-cost-concept - *

- * Description: The cost of the packaged medication, if the cost is a CodeableConcept
- * Type: token
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PACKAGING_COST_CONCEPT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PACKAGING_COST_CONCEPT); - - /** - * Search parameter: packaging-cost - *

- * Description: The cost of the packaged medication, if the cost is Money
- * Type: quantity
- * Path: null
- *

- */ - @SearchParamDefinition(name="packaging-cost", path="", description="The cost of the packaged medication, if the cost is Money", type="quantity" ) - public static final String SP_PACKAGING_COST = "packaging-cost"; - /** - * Fluent Client search parameter constant for packaging-cost - *

- * Description: The cost of the packaged medication, if the cost is Money
- * Type: quantity
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam PACKAGING_COST = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_PACKAGING_COST); - - /** - * Search parameter: product-type - *

- * Description: Category of the medication or product
- * Type: token
- * Path: MedicationKnowledge.productType
- *

- */ - @SearchParamDefinition(name="product-type", path="MedicationKnowledge.productType", description="Category of the medication or product", type="token" ) - public static final String SP_PRODUCT_TYPE = "product-type"; - /** - * Fluent Client search parameter constant for product-type - *

- * Description: Category of the medication or product
- * Type: token
- * Path: MedicationKnowledge.productType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRODUCT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRODUCT_TYPE); - - /** - * Search parameter: source-cost - *

- * Description: The source or owner for the price information
- * Type: token
- * Path: MedicationKnowledge.cost.source
- *

- */ - @SearchParamDefinition(name="source-cost", path="MedicationKnowledge.cost.source", description="The source or owner for the price information", type="token" ) - public static final String SP_SOURCE_COST = "source-cost"; - /** - * Fluent Client search parameter constant for source-cost - *

- * Description: The source or owner for the price information
- * Type: token
- * Path: MedicationKnowledge.cost.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SOURCE_COST = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SOURCE_COST); - - /** - * Search parameter: status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: MedicationKnowledge.status
- *

- */ - @SearchParamDefinition(name="status", path="MedicationKnowledge.status", description="active | inactive | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: MedicationKnowledge.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationRequest.java index 5df926ac9..77b092df1 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -79,7 +79,7 @@ public class MedicationRequest extends DomainResource { */ FILLERORDER, /** - * The request represents an instance for the particular order, for example a medication administration record. + * The request represents an instance for the particular order and is used to generate a schedule of requests on a medication administration record (MAR). */ INSTANCEORDER, /** @@ -124,6 +124,7 @@ public class MedicationRequest extends DomainResource { case FILLERORDER: return "filler-order"; case INSTANCEORDER: return "instance-order"; case OPTION: return "option"; + case NULL: return null; default: return "?"; } } @@ -137,6 +138,7 @@ public class MedicationRequest extends DomainResource { case FILLERORDER: return "http://hl7.org/fhir/CodeSystem/medicationrequest-intent"; case INSTANCEORDER: return "http://hl7.org/fhir/CodeSystem/medicationrequest-intent"; case OPTION: return "http://hl7.org/fhir/CodeSystem/medicationrequest-intent"; + case NULL: return null; default: return "?"; } } @@ -148,8 +150,9 @@ public class MedicationRequest extends DomainResource { case ORIGINALORDER: return "The request represents the original authorization for the medication request."; case REFLEXORDER: return "The request represents an automatically generated supplemental authorization for action based on a parent authorization together with initial results of the action taken against that parent authorization.."; case FILLERORDER: return "The request represents the view of an authorization instantiated by a fulfilling system representing the details of the fulfiller's intention to act upon a submitted order."; - case INSTANCEORDER: return "The request represents an instance for the particular order, for example a medication administration record."; + case INSTANCEORDER: return "The request represents an instance for the particular order and is used to generate a schedule of requests on a medication administration record (MAR)."; case OPTION: return "The request represents a component or option for a RequestGroup that establishes timing, conditionality and/or other constraints among a set of requests."; + case NULL: return null; default: return "?"; } } @@ -163,6 +166,7 @@ public class MedicationRequest extends DomainResource { case FILLERORDER: return "Filler Order"; case INSTANCEORDER: return "Instance Order"; case OPTION: return "Option"; + case NULL: return null; default: return "?"; } } @@ -319,6 +323,7 @@ public class MedicationRequest extends DomainResource { case ENTEREDINERROR: return "entered-in-error"; case DRAFT: return "draft"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -333,6 +338,7 @@ public class MedicationRequest extends DomainResource { case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/medicationrequest-status"; case DRAFT: return "http://hl7.org/fhir/CodeSystem/medicationrequest-status"; case UNKNOWN: return "http://hl7.org/fhir/CodeSystem/medicationrequest-status"; + case NULL: return null; default: return "?"; } } @@ -347,6 +353,7 @@ public class MedicationRequest extends DomainResource { case ENTEREDINERROR: return "The request was recorded against the wrong patient or for some reason should not have been recorded (e.g. wrong medication, wrong dose, etc). Some of the actions that are implied by the medication request may have occurred. For example, the medication may have been dispensed and the patient may have taken some of the medication."; case DRAFT: return "The request is not yet 'actionable', e.g. it is a work in progress, requires sign-off, verification or needs to be run through decision support process."; case UNKNOWN: return "The authoring/source system does not know which of the status values currently applies for this request. Note: This concept is not to be used for 'other' - one of the listed statuses is presumed to apply, but the authoring/source system does not know which."; + case NULL: return null; default: return "?"; } } @@ -361,6 +368,7 @@ public class MedicationRequest extends DomainResource { case ENTEREDINERROR: return "Entered in Error"; case DRAFT: return "Draft"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -457,9 +465,9 @@ public class MedicationRequest extends DomainResource { /** * The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions. */ - @Child(name = "effectiveDosePeriod", type = {DateTimeType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "effectiveDosePeriod", type = {Period.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Period over which the medication is to be taken", formalDefinition="The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions." ) - protected DateTimeType effectiveDosePeriod; + protected Period effectiveDosePeriod; /** * Specific instructions for how the medication is to be used by the patient. @@ -468,7 +476,7 @@ public class MedicationRequest extends DomainResource { @Description(shortDefinition="Specific instructions for how the medication should be taken", formalDefinition="Specific instructions for how the medication is to be used by the patient." ) protected List dosageInstruction; - private static final long serialVersionUID = -1972272013L; + private static final long serialVersionUID = 1772757503L; /** * Constructor @@ -527,54 +535,29 @@ public class MedicationRequest extends DomainResource { } /** - * @return {@link #effectiveDosePeriod} (The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.). This is the underlying object with id, value and extensions. The accessor "getEffectiveDosePeriod" gives direct access to the value + * @return {@link #effectiveDosePeriod} (The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.) */ - public DateTimeType getEffectiveDosePeriodElement() { + public Period getEffectiveDosePeriod() { if (this.effectiveDosePeriod == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create MedicationRequestDoseComponent.effectiveDosePeriod"); else if (Configuration.doAutoCreate()) - this.effectiveDosePeriod = new DateTimeType(); // bb + this.effectiveDosePeriod = new Period(); // cc return this.effectiveDosePeriod; } - public boolean hasEffectiveDosePeriodElement() { - return this.effectiveDosePeriod != null && !this.effectiveDosePeriod.isEmpty(); - } - public boolean hasEffectiveDosePeriod() { return this.effectiveDosePeriod != null && !this.effectiveDosePeriod.isEmpty(); } /** - * @param value {@link #effectiveDosePeriod} (The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.). This is the underlying object with id, value and extensions. The accessor "getEffectiveDosePeriod" gives direct access to the value + * @param value {@link #effectiveDosePeriod} (The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.) */ - public MedicationRequestDoseComponent setEffectiveDosePeriodElement(DateTimeType value) { + public MedicationRequestDoseComponent setEffectiveDosePeriod(Period value) { this.effectiveDosePeriod = value; return this; } - /** - * @return The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions. - */ - public Date getEffectiveDosePeriod() { - return this.effectiveDosePeriod == null ? null : this.effectiveDosePeriod.getValue(); - } - - /** - * @param value The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions. - */ - public MedicationRequestDoseComponent setEffectiveDosePeriod(Date value) { - if (value == null) - this.effectiveDosePeriod = null; - else { - if (this.effectiveDosePeriod == null) - this.effectiveDosePeriod = new DateTimeType(); - this.effectiveDosePeriod.setValue(value); - } - return this; - } - /** * @return {@link #dosageInstruction} (Specific instructions for how the medication is to be used by the patient.) */ @@ -631,7 +614,7 @@ public class MedicationRequest extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("renderedDosageInstruction", "string", "The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", 0, 1, renderedDosageInstruction)); - children.add(new Property("effectiveDosePeriod", "dateTime", "The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.", 0, 1, effectiveDosePeriod)); + children.add(new Property("effectiveDosePeriod", "Period", "The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.", 0, 1, effectiveDosePeriod)); children.add(new Property("dosageInstruction", "Dosage", "Specific instructions for how the medication is to be used by the patient.", 0, java.lang.Integer.MAX_VALUE, dosageInstruction)); } @@ -639,7 +622,7 @@ public class MedicationRequest extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 1718902050: /*renderedDosageInstruction*/ return new Property("renderedDosageInstruction", "string", "The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", 0, 1, renderedDosageInstruction); - case 322608453: /*effectiveDosePeriod*/ return new Property("effectiveDosePeriod", "dateTime", "The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.", 0, 1, effectiveDosePeriod); + case 322608453: /*effectiveDosePeriod*/ return new Property("effectiveDosePeriod", "Period", "The period over which the medication is to be taken. Where there are multiple dosageInstruction lines (for example, tapering doses), this is the earliest date and the latest end date of the dosageInstructions.", 0, 1, effectiveDosePeriod); case -1201373865: /*dosageInstruction*/ return new Property("dosageInstruction", "Dosage", "Specific instructions for how the medication is to be used by the patient.", 0, java.lang.Integer.MAX_VALUE, dosageInstruction); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -650,7 +633,7 @@ public class MedicationRequest extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case 1718902050: /*renderedDosageInstruction*/ return this.renderedDosageInstruction == null ? new Base[0] : new Base[] {this.renderedDosageInstruction}; // StringType - case 322608453: /*effectiveDosePeriod*/ return this.effectiveDosePeriod == null ? new Base[0] : new Base[] {this.effectiveDosePeriod}; // DateTimeType + case 322608453: /*effectiveDosePeriod*/ return this.effectiveDosePeriod == null ? new Base[0] : new Base[] {this.effectiveDosePeriod}; // Period case -1201373865: /*dosageInstruction*/ return this.dosageInstruction == null ? new Base[0] : this.dosageInstruction.toArray(new Base[this.dosageInstruction.size()]); // Dosage default: return super.getProperty(hash, name, checkValid); } @@ -664,7 +647,7 @@ public class MedicationRequest extends DomainResource { this.renderedDosageInstruction = TypeConvertor.castToString(value); // StringType return value; case 322608453: // effectiveDosePeriod - this.effectiveDosePeriod = TypeConvertor.castToDateTime(value); // DateTimeType + this.effectiveDosePeriod = TypeConvertor.castToPeriod(value); // Period return value; case -1201373865: // dosageInstruction this.getDosageInstruction().add(TypeConvertor.castToDosage(value)); // Dosage @@ -679,7 +662,7 @@ public class MedicationRequest extends DomainResource { if (name.equals("renderedDosageInstruction")) { this.renderedDosageInstruction = TypeConvertor.castToString(value); // StringType } else if (name.equals("effectiveDosePeriod")) { - this.effectiveDosePeriod = TypeConvertor.castToDateTime(value); // DateTimeType + this.effectiveDosePeriod = TypeConvertor.castToPeriod(value); // Period } else if (name.equals("dosageInstruction")) { this.getDosageInstruction().add(TypeConvertor.castToDosage(value)); } else @@ -691,7 +674,7 @@ public class MedicationRequest extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 1718902050: return getRenderedDosageInstructionElement(); - case 322608453: return getEffectiveDosePeriodElement(); + case 322608453: return getEffectiveDosePeriod(); case -1201373865: return addDosageInstruction(); default: return super.makeProperty(hash, name); } @@ -702,7 +685,7 @@ public class MedicationRequest extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case 1718902050: /*renderedDosageInstruction*/ return new String[] {"string"}; - case 322608453: /*effectiveDosePeriod*/ return new String[] {"dateTime"}; + case 322608453: /*effectiveDosePeriod*/ return new String[] {"Period"}; case -1201373865: /*dosageInstruction*/ return new String[] {"Dosage"}; default: return super.getTypesForProperty(hash, name); } @@ -715,7 +698,8 @@ public class MedicationRequest extends DomainResource { throw new FHIRException("Cannot call addChild on a primitive type MedicationRequest.dose.renderedDosageInstruction"); } else if (name.equals("effectiveDosePeriod")) { - throw new FHIRException("Cannot call addChild on a primitive type MedicationRequest.dose.effectiveDosePeriod"); + this.effectiveDosePeriod = new Period(); + return this.effectiveDosePeriod; } else if (name.equals("dosageInstruction")) { return addDosageInstruction(); @@ -759,8 +743,7 @@ public class MedicationRequest extends DomainResource { if (!(other_ instanceof MedicationRequestDoseComponent)) return false; MedicationRequestDoseComponent o = (MedicationRequestDoseComponent) other_; - return compareValues(renderedDosageInstruction, o.renderedDosageInstruction, true) && compareValues(effectiveDosePeriod, o.effectiveDosePeriod, true) - ; + return compareValues(renderedDosageInstruction, o.renderedDosageInstruction, true); } public boolean isEmpty() { @@ -1918,9 +1901,9 @@ public class MedicationRequest extends DomainResource { /** * The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person. */ - @Child(name = "informationSource", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=15, min=0, max=1, modifier=false, summary=false) + @Child(name = "informationSource", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="The person or organization who provided the information about this request, if the source is someone other than the requestor", formalDefinition="The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person." ) - protected Reference informationSource; + protected List informationSource; /** * The Encounter during which this [x] was created or to which the creation of this record is tightly associated. @@ -1968,21 +1951,28 @@ public class MedicationRequest extends DomainResource { /** * The specified desired performer of the medication treatment (e.g. the performer of the medication administration). */ - @Child(name = "performer", type = {Practitioner.class, PractitionerRole.class, Organization.class, Patient.class, Device.class, RelatedPerson.class, CareTeam.class, HealthcareService.class}, order=22, min=0, max=1, modifier=false, summary=false) + @Child(name = "performer", type = {Practitioner.class, PractitionerRole.class, Organization.class, Patient.class, Device.class, RelatedPerson.class, CareTeam.class, HealthcareService.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Intended performer of administration", formalDefinition="The specified desired performer of the medication treatment (e.g. the performer of the medication administration)." ) - protected Reference performer; + protected List performer; + + /** + * The intended type of device that is to be used for the administration of the medication (for example, PCA Pump). + */ + @Child(name = "device", type = {CodeableReference.class}, order=23, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Intended type of device for the administration", formalDefinition="The intended type of device that is to be used for the administration of the medication (for example, PCA Pump)." ) + protected CodeableReference device; /** * The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order. */ - @Child(name = "recorder", type = {Practitioner.class, PractitionerRole.class}, order=23, min=0, max=1, modifier=false, summary=false) + @Child(name = "recorder", type = {Practitioner.class, PractitionerRole.class}, order=24, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Person who entered the request", formalDefinition="The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order." ) protected Reference recorder; /** * The reason or the indication for ordering or not ordering the medication. */ - @Child(name = "reason", type = {CodeableReference.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reason", type = {CodeableReference.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Reason or indication for ordering or not ordering the medication", formalDefinition="The reason or the indication for ordering or not ordering the medication." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code") protected List reason; @@ -1990,7 +1980,7 @@ public class MedicationRequest extends DomainResource { /** * The description of the overall pattern of the administration of the medication to the patient. */ - @Child(name = "courseOfTherapyType", type = {CodeableConcept.class}, order=25, min=0, max=1, modifier=false, summary=false) + @Child(name = "courseOfTherapyType", type = {CodeableConcept.class}, order=26, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Overall pattern of medication administration", formalDefinition="The description of the overall pattern of the administration of the medication to the patient." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy") protected CodeableConcept courseOfTherapyType; @@ -1998,45 +1988,38 @@ public class MedicationRequest extends DomainResource { /** * Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service. */ - @Child(name = "insurance", type = {Coverage.class, ClaimResponse.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "insurance", type = {Coverage.class, ClaimResponse.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Associated insurance coverage", formalDefinition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service." ) protected List insurance; /** * Extra information about the prescription that could not be conveyed by the other attributes. */ - @Child(name = "note", type = {Annotation.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Information about the prescription", formalDefinition="Extra information about the prescription that could not be conveyed by the other attributes." ) protected List note; /** * Indicates how the medication is to be used by the patient. */ - @Child(name = "dose", type = {}, order=28, min=0, max=1, modifier=false, summary=false) + @Child(name = "dose", type = {}, order=29, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="How the medication should be taken", formalDefinition="Indicates how the medication is to be used by the patient." ) protected MedicationRequestDoseComponent dose; /** * Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department. */ - @Child(name = "dispenseRequest", type = {}, order=29, min=0, max=1, modifier=false, summary=false) + @Child(name = "dispenseRequest", type = {}, order=30, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Medication supply authorization", formalDefinition="Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department." ) protected MedicationRequestDispenseRequestComponent dispenseRequest; /** * 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. This block explains the prescriber's intent. If nothing is specified substitution may be done. */ - @Child(name = "substitution", type = {}, order=30, min=0, max=1, modifier=false, summary=false) + @Child(name = "substitution", type = {}, order=31, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Any restrictions on medication substitution", formalDefinition="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. This block explains the prescriber's intent. If nothing is specified substitution may be done." ) protected MedicationRequestSubstitutionComponent substitution; - /** - * 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, duplicate therapy, dosage alert etc. - */ - @Child(name = "detectedIssue", type = {DetectedIssue.class}, order=31, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Clinical Issue with action", formalDefinition="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, duplicate therapy, dosage alert etc." ) - protected List detectedIssue; - /** * Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource. */ @@ -2044,7 +2027,7 @@ public class MedicationRequest extends DomainResource { @Description(shortDefinition="A list of events of interest in the lifecycle", formalDefinition="Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource." ) protected List eventHistory; - private static final long serialVersionUID = 1972091574L; + private static final long serialVersionUID = 731059762L; /** * Constructor @@ -2701,25 +2684,54 @@ public class MedicationRequest extends DomainResource { /** * @return {@link #informationSource} (The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.) */ - public Reference getInformationSource() { + public List getInformationSource() { if (this.informationSource == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MedicationRequest.informationSource"); - else if (Configuration.doAutoCreate()) - this.informationSource = new Reference(); // cc + this.informationSource = new ArrayList(); return this.informationSource; } + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationRequest setInformationSource(List theInformationSource) { + this.informationSource = theInformationSource; + return this; + } + public boolean hasInformationSource() { - return this.informationSource != null && !this.informationSource.isEmpty(); + if (this.informationSource == null) + return false; + for (Reference item : this.informationSource) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addInformationSource() { //3 + Reference t = new Reference(); + if (this.informationSource == null) + this.informationSource = new ArrayList(); + this.informationSource.add(t); + return t; + } + + public MedicationRequest addInformationSource(Reference t) { //3 + if (t == null) + return this; + if (this.informationSource == null) + this.informationSource = new ArrayList(); + this.informationSource.add(t); + return this; } /** - * @param value {@link #informationSource} (The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.) + * @return The first repetition of repeating field {@link #informationSource}, creating it if it does not already exist {3} */ - public MedicationRequest setInformationSource(Reference value) { - this.informationSource = value; - return this; + public Reference getInformationSourceFirstRep() { + if (getInformationSource().isEmpty()) { + addInformationSource(); + } + return getInformationSource().get(0); } /** @@ -2944,24 +2956,77 @@ public class MedicationRequest extends DomainResource { /** * @return {@link #performer} (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).) */ - public Reference getPerformer() { + public List getPerformer() { if (this.performer == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MedicationRequest.performer"); - else if (Configuration.doAutoCreate()) - this.performer = new Reference(); // cc + this.performer = new ArrayList(); return this.performer; } + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationRequest setPerformer(List thePerformer) { + this.performer = thePerformer; + return this; + } + public boolean hasPerformer() { - return this.performer != null && !this.performer.isEmpty(); + if (this.performer == null) + return false; + for (Reference item : this.performer) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addPerformer() { //3 + Reference t = new Reference(); + if (this.performer == null) + this.performer = new ArrayList(); + this.performer.add(t); + return t; + } + + public MedicationRequest addPerformer(Reference t) { //3 + if (t == null) + return this; + if (this.performer == null) + this.performer = new ArrayList(); + this.performer.add(t); + return this; } /** - * @param value {@link #performer} (The specified desired performer of the medication treatment (e.g. the performer of the medication administration).) + * @return The first repetition of repeating field {@link #performer}, creating it if it does not already exist {3} */ - public MedicationRequest setPerformer(Reference value) { - this.performer = value; + public Reference getPerformerFirstRep() { + if (getPerformer().isEmpty()) { + addPerformer(); + } + return getPerformer().get(0); + } + + /** + * @return {@link #device} (The intended type of device that is to be used for the administration of the medication (for example, PCA Pump).) + */ + public CodeableReference getDevice() { + if (this.device == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MedicationRequest.device"); + else if (Configuration.doAutoCreate()) + this.device = new CodeableReference(); // cc + return this.device; + } + + public boolean hasDevice() { + return this.device != null && !this.device.isEmpty(); + } + + /** + * @param value {@link #device} (The intended type of device that is to be used for the administration of the medication (for example, PCA Pump).) + */ + public MedicationRequest setDevice(CodeableReference value) { + this.device = value; return this; } @@ -3244,59 +3309,6 @@ public class MedicationRequest extends DomainResource { return this; } - /** - * @return {@link #detectedIssue} (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, duplicate therapy, dosage alert etc.) - */ - public List getDetectedIssue() { - if (this.detectedIssue == null) - this.detectedIssue = new ArrayList(); - return this.detectedIssue; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MedicationRequest setDetectedIssue(List theDetectedIssue) { - this.detectedIssue = theDetectedIssue; - return this; - } - - public boolean hasDetectedIssue() { - if (this.detectedIssue == null) - return false; - for (Reference item : this.detectedIssue) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addDetectedIssue() { //3 - Reference t = new Reference(); - if (this.detectedIssue == null) - this.detectedIssue = new ArrayList(); - this.detectedIssue.add(t); - return t; - } - - public MedicationRequest addDetectedIssue(Reference t) { //3 - if (t == null) - return this; - if (this.detectedIssue == null) - this.detectedIssue = new ArrayList(); - this.detectedIssue.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #detectedIssue}, creating it if it does not already exist {3} - */ - public Reference getDetectedIssueFirstRep() { - if (getDetectedIssue().isEmpty()) { - addDetectedIssue(); - } - return getDetectedIssue().get(0); - } - /** * @return {@link #eventHistory} (Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.) */ @@ -3367,14 +3379,15 @@ public class MedicationRequest extends DomainResource { children.add(new Property("doNotPerform", "boolean", "If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.", 0, 1, doNotPerform)); children.add(new Property("medication", "CodeableReference(Medication)", "Identifies the medication being requested. 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.", 0, 1, medication)); children.add(new Property("subject", "Reference(Patient|Group)", "A link to a resource representing the person or set of individuals to whom the medication will be given.", 0, 1, subject)); - children.add(new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.", 0, 1, informationSource)); + children.add(new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.", 0, java.lang.Integer.MAX_VALUE, informationSource)); children.add(new Property("encounter", "Reference(Encounter)", "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", 0, 1, encounter)); children.add(new Property("supportingInformation", "Reference(Any)", "Information to support fulfilling (i.e. dispensing or administering) of the medication, for example, patient height and weight, a MedicationUsage for the patient).", 0, java.lang.Integer.MAX_VALUE, supportingInformation)); children.add(new Property("authoredOn", "dateTime", "The date (and perhaps time) when the prescription was initially written or authored on.", 0, 1, authoredOn)); children.add(new Property("requester", "Reference(Practitioner|PractitionerRole|Organization|Patient|RelatedPerson|Device)", "The individual, organization, or device that initiated the request and has responsibility for its activation.", 0, 1, requester)); children.add(new Property("reported", "boolean", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", 0, 1, reported)); children.add(new Property("performerType", "CodeableConcept", "Indicates the type of performer of the administration of the medication.", 0, 1, performerType)); - children.add(new Property("performer", "Reference(Practitioner|PractitionerRole|Organization|Patient|Device|RelatedPerson|CareTeam|HealthcareService)", "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", 0, 1, performer)); + children.add(new Property("performer", "Reference(Practitioner|PractitionerRole|Organization|Patient|Device|RelatedPerson|CareTeam|HealthcareService)", "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", 0, java.lang.Integer.MAX_VALUE, performer)); + children.add(new Property("device", "CodeableReference(DeviceDefinition)", "The intended type of device that is to be used for the administration of the medication (for example, PCA Pump).", 0, 1, device)); children.add(new Property("recorder", "Reference(Practitioner|PractitionerRole)", "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", 0, 1, recorder)); children.add(new Property("reason", "CodeableReference(Condition|Observation)", "The reason or the indication for ordering or not ordering the medication.", 0, java.lang.Integer.MAX_VALUE, reason)); children.add(new Property("courseOfTherapyType", "CodeableConcept", "The description of the overall pattern of the administration of the medication to the patient.", 0, 1, courseOfTherapyType)); @@ -3383,7 +3396,6 @@ public class MedicationRequest extends DomainResource { children.add(new Property("dose", "", "Indicates how the medication is to be used by the patient.", 0, 1, dose)); children.add(new Property("dispenseRequest", "", "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", 0, 1, dispenseRequest)); children.add(new Property("substitution", "", "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. This block explains the prescriber's intent. If nothing is specified substitution may be done.", 0, 1, substitution)); - children.add(new Property("detectedIssue", "Reference(DetectedIssue)", "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, duplicate therapy, dosage alert etc.", 0, java.lang.Integer.MAX_VALUE, detectedIssue)); children.add(new Property("eventHistory", "Reference(Provenance)", "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", 0, java.lang.Integer.MAX_VALUE, eventHistory)); } @@ -3405,14 +3417,15 @@ public class MedicationRequest extends DomainResource { case -1788508167: /*doNotPerform*/ return new Property("doNotPerform", "boolean", "If true, indicates that the provider is asking for the patient to either stop taking or to not start taking the specified medication. For example, the patient is taking an existing medication and the provider is changing their medication. They want to create two seperate requests: one to stop using the current medication and another to start the new medication.", 0, 1, doNotPerform); case 1998965455: /*medication*/ return new Property("medication", "CodeableReference(Medication)", "Identifies the medication being requested. 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.", 0, 1, medication); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group)", "A link to a resource representing the person or set of individuals to whom the medication will be given.", 0, 1, subject); - case -2123220889: /*informationSource*/ return new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.", 0, 1, informationSource); + case -2123220889: /*informationSource*/ return new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization who provided the information about this request, if the source is someone other than the requestor. This is often used when the MedicationRequest is reported by another person.", 0, java.lang.Integer.MAX_VALUE, informationSource); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", 0, 1, encounter); case -1248768647: /*supportingInformation*/ return new Property("supportingInformation", "Reference(Any)", "Information to support fulfilling (i.e. dispensing or administering) of the medication, for example, patient height and weight, a MedicationUsage for the patient).", 0, java.lang.Integer.MAX_VALUE, supportingInformation); case -1500852503: /*authoredOn*/ return new Property("authoredOn", "dateTime", "The date (and perhaps time) when the prescription was initially written or authored on.", 0, 1, authoredOn); case 693933948: /*requester*/ return new Property("requester", "Reference(Practitioner|PractitionerRole|Organization|Patient|RelatedPerson|Device)", "The individual, organization, or device that initiated the request and has responsibility for its activation.", 0, 1, requester); case -427039533: /*reported*/ return new Property("reported", "boolean", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", 0, 1, reported); case -901444568: /*performerType*/ return new Property("performerType", "CodeableConcept", "Indicates the type of performer of the administration of the medication.", 0, 1, performerType); - case 481140686: /*performer*/ return new Property("performer", "Reference(Practitioner|PractitionerRole|Organization|Patient|Device|RelatedPerson|CareTeam|HealthcareService)", "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", 0, 1, performer); + case 481140686: /*performer*/ return new Property("performer", "Reference(Practitioner|PractitionerRole|Organization|Patient|Device|RelatedPerson|CareTeam|HealthcareService)", "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", 0, java.lang.Integer.MAX_VALUE, performer); + case -1335157162: /*device*/ return new Property("device", "CodeableReference(DeviceDefinition)", "The intended type of device that is to be used for the administration of the medication (for example, PCA Pump).", 0, 1, device); case -799233858: /*recorder*/ return new Property("recorder", "Reference(Practitioner|PractitionerRole)", "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", 0, 1, recorder); case -934964668: /*reason*/ return new Property("reason", "CodeableReference(Condition|Observation)", "The reason or the indication for ordering or not ordering the medication.", 0, java.lang.Integer.MAX_VALUE, reason); case -447282031: /*courseOfTherapyType*/ return new Property("courseOfTherapyType", "CodeableConcept", "The description of the overall pattern of the administration of the medication to the patient.", 0, 1, courseOfTherapyType); @@ -3421,7 +3434,6 @@ public class MedicationRequest extends DomainResource { case 3089437: /*dose*/ return new Property("dose", "", "Indicates how the medication is to be used by the patient.", 0, 1, dose); case 824620658: /*dispenseRequest*/ return new Property("dispenseRequest", "", "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", 0, 1, dispenseRequest); case 826147581: /*substitution*/ return new Property("substitution", "", "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. This block explains the prescriber's intent. If nothing is specified substitution may be done.", 0, 1, substitution); - case 51602295: /*detectedIssue*/ return new Property("detectedIssue", "Reference(DetectedIssue)", "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, duplicate therapy, dosage alert etc.", 0, java.lang.Integer.MAX_VALUE, detectedIssue); case 1835190426: /*eventHistory*/ return new Property("eventHistory", "Reference(Provenance)", "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", 0, java.lang.Integer.MAX_VALUE, eventHistory); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3446,14 +3458,15 @@ public class MedicationRequest extends DomainResource { case -1788508167: /*doNotPerform*/ return this.doNotPerform == null ? new Base[0] : new Base[] {this.doNotPerform}; // BooleanType case 1998965455: /*medication*/ return this.medication == null ? new Base[0] : new Base[] {this.medication}; // CodeableReference case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference - case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : new Base[] {this.informationSource}; // Reference + case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : this.informationSource.toArray(new Base[this.informationSource.size()]); // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case -1248768647: /*supportingInformation*/ return this.supportingInformation == null ? new Base[0] : this.supportingInformation.toArray(new Base[this.supportingInformation.size()]); // Reference case -1500852503: /*authoredOn*/ return this.authoredOn == null ? new Base[0] : new Base[] {this.authoredOn}; // DateTimeType case 693933948: /*requester*/ return this.requester == null ? new Base[0] : new Base[] {this.requester}; // Reference case -427039533: /*reported*/ return this.reported == null ? new Base[0] : new Base[] {this.reported}; // BooleanType case -901444568: /*performerType*/ return this.performerType == null ? new Base[0] : new Base[] {this.performerType}; // CodeableConcept - case 481140686: /*performer*/ return this.performer == null ? new Base[0] : new Base[] {this.performer}; // Reference + case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // Reference + case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // CodeableReference case -799233858: /*recorder*/ return this.recorder == null ? new Base[0] : new Base[] {this.recorder}; // Reference case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableReference case -447282031: /*courseOfTherapyType*/ return this.courseOfTherapyType == null ? new Base[0] : new Base[] {this.courseOfTherapyType}; // CodeableConcept @@ -3462,7 +3475,6 @@ public class MedicationRequest extends DomainResource { case 3089437: /*dose*/ return this.dose == null ? new Base[0] : new Base[] {this.dose}; // MedicationRequestDoseComponent case 824620658: /*dispenseRequest*/ return this.dispenseRequest == null ? new Base[0] : new Base[] {this.dispenseRequest}; // MedicationRequestDispenseRequestComponent case 826147581: /*substitution*/ return this.substitution == null ? new Base[0] : new Base[] {this.substitution}; // MedicationRequestSubstitutionComponent - case 51602295: /*detectedIssue*/ return this.detectedIssue == null ? new Base[0] : this.detectedIssue.toArray(new Base[this.detectedIssue.size()]); // Reference case 1835190426: /*eventHistory*/ return this.eventHistory == null ? new Base[0] : this.eventHistory.toArray(new Base[this.eventHistory.size()]); // Reference default: return super.getProperty(hash, name, checkValid); } @@ -3521,7 +3533,7 @@ public class MedicationRequest extends DomainResource { this.subject = TypeConvertor.castToReference(value); // Reference return value; case -2123220889: // informationSource - this.informationSource = TypeConvertor.castToReference(value); // Reference + this.getInformationSource().add(TypeConvertor.castToReference(value)); // Reference return value; case 1524132147: // encounter this.encounter = TypeConvertor.castToReference(value); // Reference @@ -3542,7 +3554,10 @@ public class MedicationRequest extends DomainResource { this.performerType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case 481140686: // performer - this.performer = TypeConvertor.castToReference(value); // Reference + this.getPerformer().add(TypeConvertor.castToReference(value)); // Reference + return value; + case -1335157162: // device + this.device = TypeConvertor.castToCodeableReference(value); // CodeableReference return value; case -799233858: // recorder this.recorder = TypeConvertor.castToReference(value); // Reference @@ -3568,9 +3583,6 @@ public class MedicationRequest extends DomainResource { case 826147581: // substitution this.substitution = (MedicationRequestSubstitutionComponent) value; // MedicationRequestSubstitutionComponent return value; - case 51602295: // detectedIssue - this.getDetectedIssue().add(TypeConvertor.castToReference(value)); // Reference - return value; case 1835190426: // eventHistory this.getEventHistory().add(TypeConvertor.castToReference(value)); // Reference return value; @@ -3615,7 +3627,7 @@ public class MedicationRequest extends DomainResource { } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference } else if (name.equals("informationSource")) { - this.informationSource = TypeConvertor.castToReference(value); // Reference + this.getInformationSource().add(TypeConvertor.castToReference(value)); } else if (name.equals("encounter")) { this.encounter = TypeConvertor.castToReference(value); // Reference } else if (name.equals("supportingInformation")) { @@ -3629,7 +3641,9 @@ public class MedicationRequest extends DomainResource { } else if (name.equals("performerType")) { this.performerType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("performer")) { - this.performer = TypeConvertor.castToReference(value); // Reference + this.getPerformer().add(TypeConvertor.castToReference(value)); + } else if (name.equals("device")) { + this.device = TypeConvertor.castToCodeableReference(value); // CodeableReference } else if (name.equals("recorder")) { this.recorder = TypeConvertor.castToReference(value); // Reference } else if (name.equals("reason")) { @@ -3646,8 +3660,6 @@ public class MedicationRequest extends DomainResource { this.dispenseRequest = (MedicationRequestDispenseRequestComponent) value; // MedicationRequestDispenseRequestComponent } else if (name.equals("substitution")) { this.substitution = (MedicationRequestSubstitutionComponent) value; // MedicationRequestSubstitutionComponent - } else if (name.equals("detectedIssue")) { - this.getDetectedIssue().add(TypeConvertor.castToReference(value)); } else if (name.equals("eventHistory")) { this.getEventHistory().add(TypeConvertor.castToReference(value)); } else @@ -3673,14 +3685,15 @@ public class MedicationRequest extends DomainResource { case -1788508167: return getDoNotPerformElement(); case 1998965455: return getMedication(); case -1867885268: return getSubject(); - case -2123220889: return getInformationSource(); + case -2123220889: return addInformationSource(); case 1524132147: return getEncounter(); case -1248768647: return addSupportingInformation(); case -1500852503: return getAuthoredOnElement(); case 693933948: return getRequester(); case -427039533: return getReportedElement(); case -901444568: return getPerformerType(); - case 481140686: return getPerformer(); + case 481140686: return addPerformer(); + case -1335157162: return getDevice(); case -799233858: return getRecorder(); case -934964668: return addReason(); case -447282031: return getCourseOfTherapyType(); @@ -3689,7 +3702,6 @@ public class MedicationRequest extends DomainResource { case 3089437: return getDose(); case 824620658: return getDispenseRequest(); case 826147581: return getSubstitution(); - case 51602295: return addDetectedIssue(); case 1835190426: return addEventHistory(); default: return super.makeProperty(hash, name); } @@ -3722,6 +3734,7 @@ public class MedicationRequest extends DomainResource { case -427039533: /*reported*/ return new String[] {"boolean"}; case -901444568: /*performerType*/ return new String[] {"CodeableConcept"}; case 481140686: /*performer*/ return new String[] {"Reference"}; + case -1335157162: /*device*/ return new String[] {"CodeableReference"}; case -799233858: /*recorder*/ return new String[] {"Reference"}; case -934964668: /*reason*/ return new String[] {"CodeableReference"}; case -447282031: /*courseOfTherapyType*/ return new String[] {"CodeableConcept"}; @@ -3730,7 +3743,6 @@ public class MedicationRequest extends DomainResource { case 3089437: /*dose*/ return new String[] {}; case 824620658: /*dispenseRequest*/ return new String[] {}; case 826147581: /*substitution*/ return new String[] {}; - case 51602295: /*detectedIssue*/ return new String[] {"Reference"}; case 1835190426: /*eventHistory*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -3790,8 +3802,7 @@ public class MedicationRequest extends DomainResource { return this.subject; } else if (name.equals("informationSource")) { - this.informationSource = new Reference(); - return this.informationSource; + return addInformationSource(); } else if (name.equals("encounter")) { this.encounter = new Reference(); @@ -3815,8 +3826,11 @@ public class MedicationRequest extends DomainResource { return this.performerType; } else if (name.equals("performer")) { - this.performer = new Reference(); - return this.performer; + return addPerformer(); + } + else if (name.equals("device")) { + this.device = new CodeableReference(); + return this.device; } else if (name.equals("recorder")) { this.recorder = new Reference(); @@ -3847,9 +3861,6 @@ public class MedicationRequest extends DomainResource { this.substitution = new MedicationRequestSubstitutionComponent(); return this.substitution; } - else if (name.equals("detectedIssue")) { - return addDetectedIssue(); - } else if (name.equals("eventHistory")) { return addEventHistory(); } @@ -3905,7 +3916,11 @@ public class MedicationRequest extends DomainResource { dst.doNotPerform = doNotPerform == null ? null : doNotPerform.copy(); dst.medication = medication == null ? null : medication.copy(); dst.subject = subject == null ? null : subject.copy(); - dst.informationSource = informationSource == null ? null : informationSource.copy(); + if (informationSource != null) { + dst.informationSource = new ArrayList(); + for (Reference i : informationSource) + dst.informationSource.add(i.copy()); + }; dst.encounter = encounter == null ? null : encounter.copy(); if (supportingInformation != null) { dst.supportingInformation = new ArrayList(); @@ -3916,7 +3931,12 @@ public class MedicationRequest extends DomainResource { dst.requester = requester == null ? null : requester.copy(); dst.reported = reported == null ? null : reported.copy(); dst.performerType = performerType == null ? null : performerType.copy(); - dst.performer = performer == null ? null : performer.copy(); + if (performer != null) { + dst.performer = new ArrayList(); + for (Reference i : performer) + dst.performer.add(i.copy()); + }; + dst.device = device == null ? null : device.copy(); dst.recorder = recorder == null ? null : recorder.copy(); if (reason != null) { dst.reason = new ArrayList(); @@ -3937,11 +3957,6 @@ public class MedicationRequest extends DomainResource { dst.dose = dose == null ? null : dose.copy(); dst.dispenseRequest = dispenseRequest == null ? null : dispenseRequest.copy(); dst.substitution = substitution == null ? null : substitution.copy(); - if (detectedIssue != null) { - dst.detectedIssue = new ArrayList(); - for (Reference i : detectedIssue) - dst.detectedIssue.add(i.copy()); - }; if (eventHistory != null) { dst.eventHistory = new ArrayList(); for (Reference i : eventHistory) @@ -3970,10 +3985,10 @@ public class MedicationRequest extends DomainResource { && compareDeep(encounter, o.encounter, true) && compareDeep(supportingInformation, o.supportingInformation, true) && compareDeep(authoredOn, o.authoredOn, true) && compareDeep(requester, o.requester, true) && compareDeep(reported, o.reported, true) && compareDeep(performerType, o.performerType, true) && compareDeep(performer, o.performer, true) - && compareDeep(recorder, o.recorder, true) && compareDeep(reason, o.reason, true) && compareDeep(courseOfTherapyType, o.courseOfTherapyType, true) - && compareDeep(insurance, o.insurance, true) && compareDeep(note, o.note, true) && compareDeep(dose, o.dose, true) - && compareDeep(dispenseRequest, o.dispenseRequest, true) && compareDeep(substitution, o.substitution, true) - && compareDeep(detectedIssue, o.detectedIssue, true) && compareDeep(eventHistory, o.eventHistory, true) + && compareDeep(device, o.device, true) && compareDeep(recorder, o.recorder, true) && compareDeep(reason, o.reason, true) + && compareDeep(courseOfTherapyType, o.courseOfTherapyType, true) && compareDeep(insurance, o.insurance, true) + && compareDeep(note, o.note, true) && compareDeep(dose, o.dose, true) && compareDeep(dispenseRequest, o.dispenseRequest, true) + && compareDeep(substitution, o.substitution, true) && compareDeep(eventHistory, o.eventHistory, true) ; } @@ -3995,8 +4010,8 @@ public class MedicationRequest extends DomainResource { , instantiatesUri, basedOn, priorPrescription, groupIdentifier, status, statusReason , statusChanged, intent, category, priority, doNotPerform, medication, subject , informationSource, encounter, supportingInformation, authoredOn, requester, reported - , performerType, performer, recorder, reason, courseOfTherapyType, insurance, note - , dose, dispenseRequest, substitution, detectedIssue, eventHistory); + , performerType, performer, device, recorder, reason, courseOfTherapyType, insurance + , note, dose, dispenseRequest, substitution, eventHistory); } @Override @@ -4004,564 +4019,6 @@ public class MedicationRequest extends DomainResource { return ResourceType.MedicationRequest; } - /** - * Search parameter: authoredon - *

- * Description: Return prescriptions written on this date
- * Type: date
- * Path: MedicationRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="authoredon", path="MedicationRequest.authoredOn", description="Return prescriptions written on this date", type="date" ) - public static final String SP_AUTHOREDON = "authoredon"; - /** - * Fluent Client search parameter constant for authoredon - *

- * Description: Return prescriptions written on this date
- * Type: date
- * Path: MedicationRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHOREDON = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHOREDON); - - /** - * Search parameter: category - *

- * Description: Returns prescriptions with different categories
- * Type: token
- * Path: MedicationRequest.category
- *

- */ - @SearchParamDefinition(name="category", path="MedicationRequest.category", description="Returns prescriptions with different categories", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Returns prescriptions with different categories
- * Type: token
- * Path: MedicationRequest.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: combo-date - *

- * Description: Returns medication request to be administered on a specific date or within a date range
- * Type: date
- * Path: MedicationRequest.dose.dosageInstruction.timing.event | (MedicationRequest.dose.dosageInstruction.timing.repeat.bounds as Period)
- *

- */ - @SearchParamDefinition(name="combo-date", path="MedicationRequest.dose.dosageInstruction.timing.event | (MedicationRequest.dose.dosageInstruction.timing.repeat.bounds as Period)", description="Returns medication request to be administered on a specific date or within a date range", type="date" ) - public static final String SP_COMBO_DATE = "combo-date"; - /** - * Fluent Client search parameter constant for combo-date - *

- * Description: Returns medication request to be administered on a specific date or within a date range
- * Type: date
- * Path: MedicationRequest.dose.dosageInstruction.timing.event | (MedicationRequest.dose.dosageInstruction.timing.repeat.bounds as Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam COMBO_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_COMBO_DATE); - - /** - * Search parameter: intended-dispenser - *

- * Description: Returns prescriptions intended to be dispensed by this Organization
- * Type: reference
- * Path: MedicationRequest.dispenseRequest.dispenser
- *

- */ - @SearchParamDefinition(name="intended-dispenser", path="MedicationRequest.dispenseRequest.dispenser", description="Returns prescriptions intended to be dispensed by this Organization", type="reference", target={Organization.class } ) - public static final String SP_INTENDED_DISPENSER = "intended-dispenser"; - /** - * Fluent Client search parameter constant for intended-dispenser - *

- * Description: Returns prescriptions intended to be dispensed by this Organization
- * Type: reference
- * Path: MedicationRequest.dispenseRequest.dispenser
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_DISPENSER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INTENDED_DISPENSER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:intended-dispenser". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_DISPENSER = new ca.uhn.fhir.model.api.Include("MedicationRequest:intended-dispenser").toLocked(); - - /** - * Search parameter: intended-performer - *

- * Description: Returns the intended performer of the administration of the medication request
- * Type: reference
- * Path: MedicationRequest.performer
- *

- */ - @SearchParamDefinition(name="intended-performer", path="MedicationRequest.performer", description="Returns the intended performer of the administration of the medication request", type="reference", target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_INTENDED_PERFORMER = "intended-performer"; - /** - * Fluent Client search parameter constant for intended-performer - *

- * Description: Returns the intended performer of the administration of the medication request
- * Type: reference
- * Path: MedicationRequest.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INTENDED_PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INTENDED_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:intended-performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INTENDED_PERFORMER = new ca.uhn.fhir.model.api.Include("MedicationRequest:intended-performer").toLocked(); - - /** - * Search parameter: intended-performertype - *

- * Description: Returns requests for a specific type of performer
- * Type: token
- * Path: MedicationRequest.performerType
- *

- */ - @SearchParamDefinition(name="intended-performertype", path="MedicationRequest.performerType", description="Returns requests for a specific type of performer", type="token" ) - public static final String SP_INTENDED_PERFORMERTYPE = "intended-performertype"; - /** - * Fluent Client search parameter constant for intended-performertype - *

- * Description: Returns requests for a specific type of performer
- * Type: token
- * Path: MedicationRequest.performerType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENDED_PERFORMERTYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENDED_PERFORMERTYPE); - - /** - * Search parameter: intent - *

- * Description: Returns prescriptions with different intents
- * Type: token
- * Path: MedicationRequest.intent
- *

- */ - @SearchParamDefinition(name="intent", path="MedicationRequest.intent", description="Returns prescriptions with different intents", type="token" ) - public static final String SP_INTENT = "intent"; - /** - * Fluent Client search parameter constant for intent - *

- * Description: Returns prescriptions with different intents
- * Type: token
- * Path: MedicationRequest.intent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENT); - - /** - * Search parameter: priority - *

- * Description: Returns prescriptions with different priorities
- * Type: token
- * Path: MedicationRequest.priority
- *

- */ - @SearchParamDefinition(name="priority", path="MedicationRequest.priority", description="Returns prescriptions with different priorities", type="token" ) - public static final String SP_PRIORITY = "priority"; - /** - * Fluent Client search parameter constant for priority - *

- * Description: Returns prescriptions with different priorities
- * Type: token
- * Path: MedicationRequest.priority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRIORITY); - - /** - * Search parameter: requester - *

- * Description: Returns prescriptions prescribed by this prescriber
- * Type: reference
- * Path: MedicationRequest.requester
- *

- */ - @SearchParamDefinition(name="requester", path="MedicationRequest.requester", description="Returns prescriptions prescribed by this prescriber", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_REQUESTER = "requester"; - /** - * Fluent Client search parameter constant for requester - *

- * Description: Returns prescriptions prescribed by this prescriber
- * Type: reference
- * Path: MedicationRequest.requester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:requester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER = new ca.uhn.fhir.model.api.Include("MedicationRequest:requester").toLocked(); - - /** - * Search parameter: subject - *

- * Description: The identity of a patient to list orders for
- * Type: reference
- * Path: MedicationRequest.subject
- *

- */ - @SearchParamDefinition(name="subject", path="MedicationRequest.subject", description="The identity of a patient to list orders for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a patient to list orders for
- * Type: reference
- * Path: MedicationRequest.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("MedicationRequest:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("MedicationRequest:patient").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter -* [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: MedicationAdministration.encounter | MedicationRequest.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="MedicationAdministration.encounter | MedicationRequest.encounter", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations that share this encounter -* [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: MedicationAdministration.encounter | MedicationRequest.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("MedicationRequest:encounter").toLocked(); - - /** - * Search parameter: medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - @SearchParamDefinition(name="medication", path="MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication reference\r\n", type="reference" ) - public static final String SP_MEDICATION = "medication"; - /** - * Fluent Client search parameter constant for medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEDICATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationRequest:medication". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION = new ca.uhn.fhir.model.api.Include("MedicationRequest:medication").toLocked(); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - @SearchParamDefinition(name="status", path="MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status\r\n* [MedicationRequest](medicationrequest.html): Status of the prescription\r\n* [MedicationUsage](medicationusage.html): Return statements that match the given status\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationUsage.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationUsage.java index 6df85f02c..6eb63cf2f 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationUsage.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicationUsage.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -91,6 +91,7 @@ public class MedicationUsage extends DomainResource { case RECORDED: return "recorded"; case ENTEREDINERROR: return "entered-in-error"; case DRAFT: return "draft"; + case NULL: return null; default: return "?"; } } @@ -99,6 +100,7 @@ public class MedicationUsage extends DomainResource { case RECORDED: return "http://hl7.org/fhir/CodeSystem/medication-usage-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/CodeSystem/medication-usage-status"; case DRAFT: return "http://hl7.org/fhir/CodeSystem/medication-usage-status"; + case NULL: return null; default: return "?"; } } @@ -107,6 +109,7 @@ public class MedicationUsage extends DomainResource { case RECORDED: return "The action of recording the medication statement is finished."; case ENTEREDINERROR: return "Some of the actions that are implied by the medication usage may have occurred. For example, the patient may have taken some of the medication. Clinical decision support systems should take this status into account."; case DRAFT: return "The medication usage is draft or preliminary."; + case NULL: return null; default: return "?"; } } @@ -115,6 +118,7 @@ public class MedicationUsage extends DomainResource { case RECORDED: return "Recorded"; case ENTEREDINERROR: return "Entered in Error"; case DRAFT: return "Draft"; + case NULL: return null; default: return "?"; } } @@ -381,10 +385,17 @@ public class MedicationUsage extends DomainResource { @Description(shortDefinition="External identifier", formalDefinition="Identifiers associated with this Medication Usage 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. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server." ) protected List identifier; + /** + * A larger event of which this particular MedicationUsage is a component or step. + */ + @Child(name = "partOf", type = {Procedure.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Part of referenced event", formalDefinition="A larger event of which this particular MedicationUsage is a component or step." ) + protected List partOf; + /** * A code representing the status of recording the medication usage. */ - @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) + @Child(name = "status", type = {CodeType.class}, order=2, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="recorded | entered-in-error | draft", formalDefinition="A code representing the status of recording the medication usage." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-usage-status") protected Enumeration status; @@ -392,7 +403,7 @@ public class MedicationUsage extends DomainResource { /** * Type of medication usage (for example, drug classification like ATC, where meds would be administered, legal category of the medication.). */ - @Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "category", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Type of medication usage", formalDefinition="Type of medication usage (for example, drug classification like ATC, where meds would be administered, legal category of the medication.)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicationrequest-admin-location") protected List category; @@ -400,7 +411,7 @@ public class MedicationUsage extends DomainResource { /** * 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. */ - @Child(name = "medication", type = {CodeableReference.class}, order=3, min=1, max=1, modifier=false, summary=true) + @Child(name = "medication", type = {CodeableReference.class}, order=4, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="What medication was taken", formalDefinition="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." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-codes") protected CodeableReference medication; @@ -408,49 +419,49 @@ public class MedicationUsage extends DomainResource { /** * The person, animal or group who is/was taking the medication. */ - @Child(name = "subject", type = {Patient.class, Group.class}, order=4, min=1, max=1, modifier=false, summary=true) + @Child(name = "subject", type = {Patient.class, Group.class}, order=5, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Who is/was taking the medication", formalDefinition="The person, animal or group who is/was taking the medication." ) protected Reference subject; /** * The encounter that establishes the context for this MedicationUsage. */ - @Child(name = "encounter", type = {Encounter.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Child(name = "encounter", type = {Encounter.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Encounter associated with MedicationUsage", formalDefinition="The encounter that establishes the context for this MedicationUsage." ) protected Reference encounter; /** * The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationUsage.adherence element is Not Taking). */ - @Child(name = "effective", type = {DateTimeType.class, Period.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "effective", type = {DateTimeType.class, Period.class}, order=7, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The date/time or interval when the medication is/was/will be taken", formalDefinition="The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationUsage.adherence element is Not Taking)." ) protected DataType effective; /** * The date when the Medication Usage was asserted by the information source. */ - @Child(name = "dateAsserted", type = {DateTimeType.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "dateAsserted", type = {DateTimeType.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="When the usage was asserted?", formalDefinition="The date when the Medication Usage was asserted by the information source." ) protected DateTimeType dateAsserted; /** * The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest. */ - @Child(name = "informationSource", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "informationSource", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Organization.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Person or organization that provided the information about the taking of this medication", formalDefinition="The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest." ) - protected Reference informationSource; + protected List informationSource; /** * Allows linking the MedicationUsage to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationUsage. */ - @Child(name = "derivedFrom", type = {Reference.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "derivedFrom", type = {Reference.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Link to information used to derive the MedicationUsage", formalDefinition="Allows linking the MedicationUsage to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationUsage." ) protected List derivedFrom; /** * A concept, Condition or observation that supports why the medication is being/was taken. */ - @Child(name = "reason", type = {CodeableReference.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "reason", type = {CodeableReference.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Reason for why the medication is being/was taken", formalDefinition="A concept, Condition or observation that supports why the medication is being/was taken." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/condition-code") protected List reason; @@ -458,32 +469,39 @@ public class MedicationUsage extends DomainResource { /** * Provides extra information about the Medication Usage that is not conveyed by the other attributes. */ - @Child(name = "note", type = {Annotation.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Further information about the usage", formalDefinition="Provides extra information about the Medication Usage that is not conveyed by the other attributes." ) protected List note; + /** + * Link to information that is relevant to a medication usage, for example, illicit drug use, gestational age, etc. + */ + @Child(name = "relatedClinicalInformation", type = {Observation.class, Condition.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Link to information relevant to the usage of a medication", formalDefinition="Link to information that is relevant to a medication usage, for example, illicit drug use, gestational age, etc." ) + protected List relatedClinicalInformation; + /** * The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses. */ - @Child(name = "renderedDosageInstruction", type = {StringType.class}, order=12, min=0, max=1, modifier=false, summary=false) + @Child(name = "renderedDosageInstruction", type = {StringType.class}, order=14, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Full representation of the dosage instructions", formalDefinition="The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses." ) protected StringType renderedDosageInstruction; /** * Indicates how the medication is/was or should be taken by the patient. */ - @Child(name = "dosage", type = {Dosage.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "dosage", type = {Dosage.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Details of how medication is/was taken or should be taken", formalDefinition="Indicates how the medication is/was or should be taken by the patient." ) protected List dosage; /** * Indicates if the medication is being consumed or administered as instructed. */ - @Child(name = "adherence", type = {}, order=14, min=0, max=1, modifier=false, summary=true) + @Child(name = "adherence", type = {}, order=16, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Indicates if the medication is being consumed or administered as instructed", formalDefinition="Indicates if the medication is being consumed or administered as instructed." ) protected MedicationUsageAdherenceComponent adherence; - private static final long serialVersionUID = -577376700L; + private static final long serialVersionUID = -483194372L; /** * Constructor @@ -555,6 +573,59 @@ public class MedicationUsage extends DomainResource { return getIdentifier().get(0); } + /** + * @return {@link #partOf} (A larger event of which this particular MedicationUsage is a component or step.) + */ + public List getPartOf() { + if (this.partOf == null) + this.partOf = new ArrayList(); + return this.partOf; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationUsage setPartOf(List thePartOf) { + this.partOf = thePartOf; + return this; + } + + public boolean hasPartOf() { + if (this.partOf == null) + return false; + for (Reference item : this.partOf) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addPartOf() { //3 + Reference t = new Reference(); + if (this.partOf == null) + this.partOf = new ArrayList(); + this.partOf.add(t); + return t; + } + + public MedicationUsage addPartOf(Reference t) { //3 + if (t == null) + return this; + if (this.partOf == null) + this.partOf = new ArrayList(); + this.partOf.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #partOf}, creating it if it does not already exist {3} + */ + public Reference getPartOfFirstRep() { + if (getPartOf().isEmpty()) { + addPartOf(); + } + return getPartOf().get(0); + } + /** * @return {@link #status} (A code representing the status of recording the medication usage.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ @@ -828,25 +899,54 @@ public class MedicationUsage extends DomainResource { /** * @return {@link #informationSource} (The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest.) */ - public Reference getInformationSource() { + public List getInformationSource() { if (this.informationSource == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MedicationUsage.informationSource"); - else if (Configuration.doAutoCreate()) - this.informationSource = new Reference(); // cc + this.informationSource = new ArrayList(); return this.informationSource; } + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationUsage setInformationSource(List theInformationSource) { + this.informationSource = theInformationSource; + return this; + } + public boolean hasInformationSource() { - return this.informationSource != null && !this.informationSource.isEmpty(); + if (this.informationSource == null) + return false; + for (Reference item : this.informationSource) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addInformationSource() { //3 + Reference t = new Reference(); + if (this.informationSource == null) + this.informationSource = new ArrayList(); + this.informationSource.add(t); + return t; + } + + public MedicationUsage addInformationSource(Reference t) { //3 + if (t == null) + return this; + if (this.informationSource == null) + this.informationSource = new ArrayList(); + this.informationSource.add(t); + return this; } /** - * @param value {@link #informationSource} (The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest.) + * @return The first repetition of repeating field {@link #informationSource}, creating it if it does not already exist {3} */ - public MedicationUsage setInformationSource(Reference value) { - this.informationSource = value; - return this; + public Reference getInformationSourceFirstRep() { + if (getInformationSource().isEmpty()) { + addInformationSource(); + } + return getInformationSource().get(0); } /** @@ -1008,6 +1108,59 @@ public class MedicationUsage extends DomainResource { return getNote().get(0); } + /** + * @return {@link #relatedClinicalInformation} (Link to information that is relevant to a medication usage, for example, illicit drug use, gestational age, etc.) + */ + public List getRelatedClinicalInformation() { + if (this.relatedClinicalInformation == null) + this.relatedClinicalInformation = new ArrayList(); + return this.relatedClinicalInformation; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicationUsage setRelatedClinicalInformation(List theRelatedClinicalInformation) { + this.relatedClinicalInformation = theRelatedClinicalInformation; + return this; + } + + public boolean hasRelatedClinicalInformation() { + if (this.relatedClinicalInformation == null) + return false; + for (Reference item : this.relatedClinicalInformation) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addRelatedClinicalInformation() { //3 + Reference t = new Reference(); + if (this.relatedClinicalInformation == null) + this.relatedClinicalInformation = new ArrayList(); + this.relatedClinicalInformation.add(t); + return t; + } + + public MedicationUsage addRelatedClinicalInformation(Reference t) { //3 + if (t == null) + return this; + if (this.relatedClinicalInformation == null) + this.relatedClinicalInformation = new ArrayList(); + this.relatedClinicalInformation.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #relatedClinicalInformation}, creating it if it does not already exist {3} + */ + public Reference getRelatedClinicalInformationFirstRep() { + if (getRelatedClinicalInformation().isEmpty()) { + addRelatedClinicalInformation(); + } + return getRelatedClinicalInformation().get(0); + } + /** * @return {@link #renderedDosageInstruction} (The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.). This is the underlying object with id, value and extensions. The accessor "getRenderedDosageInstruction" gives direct access to the value */ @@ -1137,6 +1290,7 @@ public class MedicationUsage extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("identifier", "Identifier", "Identifiers associated with this Medication Usage 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. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("partOf", "Reference(Procedure)", "A larger event of which this particular MedicationUsage is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf)); children.add(new Property("status", "code", "A code representing the status of recording the medication usage.", 0, 1, status)); children.add(new Property("category", "CodeableConcept", "Type of medication usage (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).", 0, java.lang.Integer.MAX_VALUE, category)); children.add(new Property("medication", "CodeableReference(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.", 0, 1, medication)); @@ -1144,10 +1298,11 @@ public class MedicationUsage extends DomainResource { children.add(new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this MedicationUsage.", 0, 1, encounter)); children.add(new Property("effective[x]", "dateTime|Period", "The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationUsage.adherence element is Not Taking).", 0, 1, effective)); children.add(new Property("dateAsserted", "dateTime", "The date when the Medication Usage was asserted by the information source.", 0, 1, dateAsserted)); - children.add(new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest.", 0, 1, informationSource)); + children.add(new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest.", 0, java.lang.Integer.MAX_VALUE, informationSource)); children.add(new Property("derivedFrom", "Reference(Any)", "Allows linking the MedicationUsage to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationUsage.", 0, java.lang.Integer.MAX_VALUE, derivedFrom)); children.add(new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport)", "A concept, Condition or observation that supports why the medication is being/was taken.", 0, java.lang.Integer.MAX_VALUE, reason)); children.add(new Property("note", "Annotation", "Provides extra information about the Medication Usage that is not conveyed by the other attributes.", 0, java.lang.Integer.MAX_VALUE, note)); + children.add(new Property("relatedClinicalInformation", "Reference(Observation|Condition)", "Link to information that is relevant to a medication usage, for example, illicit drug use, gestational age, etc.", 0, java.lang.Integer.MAX_VALUE, relatedClinicalInformation)); children.add(new Property("renderedDosageInstruction", "string", "The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", 0, 1, renderedDosageInstruction)); children.add(new Property("dosage", "Dosage", "Indicates how the medication is/was or should be taken by the patient.", 0, java.lang.Integer.MAX_VALUE, dosage)); children.add(new Property("adherence", "", "Indicates if the medication is being consumed or administered as instructed.", 0, 1, adherence)); @@ -1157,6 +1312,7 @@ public class MedicationUsage extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifiers associated with this Medication Usage 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. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -995410646: /*partOf*/ return new Property("partOf", "Reference(Procedure)", "A larger event of which this particular MedicationUsage is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf); case -892481550: /*status*/ return new Property("status", "code", "A code representing the status of recording the medication usage.", 0, 1, status); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Type of medication usage (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).", 0, java.lang.Integer.MAX_VALUE, category); case 1998965455: /*medication*/ return new Property("medication", "CodeableReference(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.", 0, 1, medication); @@ -1167,10 +1323,11 @@ public class MedicationUsage extends DomainResource { case -275306910: /*effectiveDateTime*/ return new Property("effective[x]", "dateTime", "The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationUsage.adherence element is Not Taking).", 0, 1, effective); case -403934648: /*effectivePeriod*/ return new Property("effective[x]", "Period", "The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationUsage.adherence element is Not Taking).", 0, 1, effective); case -1980855245: /*dateAsserted*/ return new Property("dateAsserted", "dateTime", "The date when the Medication Usage was asserted by the information source.", 0, 1, dateAsserted); - case -2123220889: /*informationSource*/ return new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest.", 0, 1, informationSource); + case -2123220889: /*informationSource*/ return new Property("informationSource", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Organization)", "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationUsage is derived from other resources, e.g. Claim or MedicationRequest.", 0, java.lang.Integer.MAX_VALUE, informationSource); case 1077922663: /*derivedFrom*/ return new Property("derivedFrom", "Reference(Any)", "Allows linking the MedicationUsage to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationUsage.", 0, java.lang.Integer.MAX_VALUE, derivedFrom); case -934964668: /*reason*/ return new Property("reason", "CodeableReference(Condition|Observation|DiagnosticReport)", "A concept, Condition or observation that supports why the medication is being/was taken.", 0, java.lang.Integer.MAX_VALUE, reason); case 3387378: /*note*/ return new Property("note", "Annotation", "Provides extra information about the Medication Usage that is not conveyed by the other attributes.", 0, java.lang.Integer.MAX_VALUE, note); + case 1040787950: /*relatedClinicalInformation*/ return new Property("relatedClinicalInformation", "Reference(Observation|Condition)", "Link to information that is relevant to a medication usage, for example, illicit drug use, gestational age, etc.", 0, java.lang.Integer.MAX_VALUE, relatedClinicalInformation); case 1718902050: /*renderedDosageInstruction*/ return new Property("renderedDosageInstruction", "string", "The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", 0, 1, renderedDosageInstruction); case -1326018889: /*dosage*/ return new Property("dosage", "Dosage", "Indicates how the medication is/was or should be taken by the patient.", 0, java.lang.Integer.MAX_VALUE, dosage); case -231003683: /*adherence*/ return new Property("adherence", "", "Indicates if the medication is being consumed or administered as instructed.", 0, 1, adherence); @@ -1183,6 +1340,7 @@ public class MedicationUsage extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier + case -995410646: /*partOf*/ return this.partOf == null ? new Base[0] : this.partOf.toArray(new Base[this.partOf.size()]); // Reference case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept case 1998965455: /*medication*/ return this.medication == null ? new Base[0] : new Base[] {this.medication}; // CodeableReference @@ -1190,10 +1348,11 @@ public class MedicationUsage extends DomainResource { case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case -1468651097: /*effective*/ return this.effective == null ? new Base[0] : new Base[] {this.effective}; // DataType case -1980855245: /*dateAsserted*/ return this.dateAsserted == null ? new Base[0] : new Base[] {this.dateAsserted}; // DateTimeType - case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : new Base[] {this.informationSource}; // Reference + case -2123220889: /*informationSource*/ return this.informationSource == null ? new Base[0] : this.informationSource.toArray(new Base[this.informationSource.size()]); // Reference case 1077922663: /*derivedFrom*/ return this.derivedFrom == null ? new Base[0] : this.derivedFrom.toArray(new Base[this.derivedFrom.size()]); // Reference case -934964668: /*reason*/ return this.reason == null ? new Base[0] : this.reason.toArray(new Base[this.reason.size()]); // CodeableReference case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation + case 1040787950: /*relatedClinicalInformation*/ return this.relatedClinicalInformation == null ? new Base[0] : this.relatedClinicalInformation.toArray(new Base[this.relatedClinicalInformation.size()]); // Reference case 1718902050: /*renderedDosageInstruction*/ return this.renderedDosageInstruction == null ? new Base[0] : new Base[] {this.renderedDosageInstruction}; // StringType case -1326018889: /*dosage*/ return this.dosage == null ? new Base[0] : this.dosage.toArray(new Base[this.dosage.size()]); // Dosage case -231003683: /*adherence*/ return this.adherence == null ? new Base[0] : new Base[] {this.adherence}; // MedicationUsageAdherenceComponent @@ -1208,6 +1367,9 @@ public class MedicationUsage extends DomainResource { case -1618432855: // identifier this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier return value; + case -995410646: // partOf + this.getPartOf().add(TypeConvertor.castToReference(value)); // Reference + return value; case -892481550: // status value = new MedicationUsageStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration @@ -1231,7 +1393,7 @@ public class MedicationUsage extends DomainResource { this.dateAsserted = TypeConvertor.castToDateTime(value); // DateTimeType return value; case -2123220889: // informationSource - this.informationSource = TypeConvertor.castToReference(value); // Reference + this.getInformationSource().add(TypeConvertor.castToReference(value)); // Reference return value; case 1077922663: // derivedFrom this.getDerivedFrom().add(TypeConvertor.castToReference(value)); // Reference @@ -1242,6 +1404,9 @@ public class MedicationUsage extends DomainResource { case 3387378: // note this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation return value; + case 1040787950: // relatedClinicalInformation + this.getRelatedClinicalInformation().add(TypeConvertor.castToReference(value)); // Reference + return value; case 1718902050: // renderedDosageInstruction this.renderedDosageInstruction = TypeConvertor.castToString(value); // StringType return value; @@ -1260,6 +1425,8 @@ public class MedicationUsage extends DomainResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("identifier")) { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); + } else if (name.equals("partOf")) { + this.getPartOf().add(TypeConvertor.castToReference(value)); } else if (name.equals("status")) { value = new MedicationUsageStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration @@ -1276,13 +1443,15 @@ public class MedicationUsage extends DomainResource { } else if (name.equals("dateAsserted")) { this.dateAsserted = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("informationSource")) { - this.informationSource = TypeConvertor.castToReference(value); // Reference + this.getInformationSource().add(TypeConvertor.castToReference(value)); } else if (name.equals("derivedFrom")) { this.getDerivedFrom().add(TypeConvertor.castToReference(value)); } else if (name.equals("reason")) { this.getReason().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("note")) { this.getNote().add(TypeConvertor.castToAnnotation(value)); + } else if (name.equals("relatedClinicalInformation")) { + this.getRelatedClinicalInformation().add(TypeConvertor.castToReference(value)); } else if (name.equals("renderedDosageInstruction")) { this.renderedDosageInstruction = TypeConvertor.castToString(value); // StringType } else if (name.equals("dosage")) { @@ -1298,6 +1467,7 @@ public class MedicationUsage extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1618432855: return addIdentifier(); + case -995410646: return addPartOf(); case -892481550: return getStatusElement(); case 50511102: return addCategory(); case 1998965455: return getMedication(); @@ -1306,10 +1476,11 @@ public class MedicationUsage extends DomainResource { case 247104889: return getEffective(); case -1468651097: return getEffective(); case -1980855245: return getDateAssertedElement(); - case -2123220889: return getInformationSource(); + case -2123220889: return addInformationSource(); case 1077922663: return addDerivedFrom(); case -934964668: return addReason(); case 3387378: return addNote(); + case 1040787950: return addRelatedClinicalInformation(); case 1718902050: return getRenderedDosageInstructionElement(); case -1326018889: return addDosage(); case -231003683: return getAdherence(); @@ -1322,6 +1493,7 @@ public class MedicationUsage extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; + case -995410646: /*partOf*/ return new String[] {"Reference"}; case -892481550: /*status*/ return new String[] {"code"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"}; case 1998965455: /*medication*/ return new String[] {"CodeableReference"}; @@ -1333,6 +1505,7 @@ public class MedicationUsage extends DomainResource { case 1077922663: /*derivedFrom*/ return new String[] {"Reference"}; case -934964668: /*reason*/ return new String[] {"CodeableReference"}; case 3387378: /*note*/ return new String[] {"Annotation"}; + case 1040787950: /*relatedClinicalInformation*/ return new String[] {"Reference"}; case 1718902050: /*renderedDosageInstruction*/ return new String[] {"string"}; case -1326018889: /*dosage*/ return new String[] {"Dosage"}; case -231003683: /*adherence*/ return new String[] {}; @@ -1346,6 +1519,9 @@ public class MedicationUsage extends DomainResource { if (name.equals("identifier")) { return addIdentifier(); } + else if (name.equals("partOf")) { + return addPartOf(); + } else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type MedicationUsage.status"); } @@ -1376,8 +1552,7 @@ public class MedicationUsage extends DomainResource { throw new FHIRException("Cannot call addChild on a primitive type MedicationUsage.dateAsserted"); } else if (name.equals("informationSource")) { - this.informationSource = new Reference(); - return this.informationSource; + return addInformationSource(); } else if (name.equals("derivedFrom")) { return addDerivedFrom(); @@ -1388,6 +1563,9 @@ public class MedicationUsage extends DomainResource { else if (name.equals("note")) { return addNote(); } + else if (name.equals("relatedClinicalInformation")) { + return addRelatedClinicalInformation(); + } else if (name.equals("renderedDosageInstruction")) { throw new FHIRException("Cannot call addChild on a primitive type MedicationUsage.renderedDosageInstruction"); } @@ -1420,6 +1598,11 @@ public class MedicationUsage extends DomainResource { for (Identifier i : identifier) dst.identifier.add(i.copy()); }; + if (partOf != null) { + dst.partOf = new ArrayList(); + for (Reference i : partOf) + dst.partOf.add(i.copy()); + }; dst.status = status == null ? null : status.copy(); if (category != null) { dst.category = new ArrayList(); @@ -1431,7 +1614,11 @@ public class MedicationUsage extends DomainResource { dst.encounter = encounter == null ? null : encounter.copy(); dst.effective = effective == null ? null : effective.copy(); dst.dateAsserted = dateAsserted == null ? null : dateAsserted.copy(); - dst.informationSource = informationSource == null ? null : informationSource.copy(); + if (informationSource != null) { + dst.informationSource = new ArrayList(); + for (Reference i : informationSource) + dst.informationSource.add(i.copy()); + }; if (derivedFrom != null) { dst.derivedFrom = new ArrayList(); for (Reference i : derivedFrom) @@ -1447,6 +1634,11 @@ public class MedicationUsage extends DomainResource { for (Annotation i : note) dst.note.add(i.copy()); }; + if (relatedClinicalInformation != null) { + dst.relatedClinicalInformation = new ArrayList(); + for (Reference i : relatedClinicalInformation) + dst.relatedClinicalInformation.add(i.copy()); + }; dst.renderedDosageInstruction = renderedDosageInstruction == null ? null : renderedDosageInstruction.copy(); if (dosage != null) { dst.dosage = new ArrayList(); @@ -1467,12 +1659,13 @@ public class MedicationUsage extends DomainResource { if (!(other_ instanceof MedicationUsage)) return false; MedicationUsage o = (MedicationUsage) other_; - return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(category, o.category, true) - && compareDeep(medication, o.medication, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) - && compareDeep(effective, o.effective, true) && compareDeep(dateAsserted, o.dateAsserted, true) + return compareDeep(identifier, o.identifier, true) && compareDeep(partOf, o.partOf, true) && compareDeep(status, o.status, true) + && compareDeep(category, o.category, true) && compareDeep(medication, o.medication, true) && compareDeep(subject, o.subject, true) + && compareDeep(encounter, o.encounter, true) && compareDeep(effective, o.effective, true) && compareDeep(dateAsserted, o.dateAsserted, true) && compareDeep(informationSource, o.informationSource, true) && compareDeep(derivedFrom, o.derivedFrom, true) - && compareDeep(reason, o.reason, true) && compareDeep(note, o.note, true) && compareDeep(renderedDosageInstruction, o.renderedDosageInstruction, true) - && compareDeep(dosage, o.dosage, true) && compareDeep(adherence, o.adherence, true); + && compareDeep(reason, o.reason, true) && compareDeep(note, o.note, true) && compareDeep(relatedClinicalInformation, o.relatedClinicalInformation, true) + && compareDeep(renderedDosageInstruction, o.renderedDosageInstruction, true) && compareDeep(dosage, o.dosage, true) + && compareDeep(adherence, o.adherence, true); } @Override @@ -1487,9 +1680,10 @@ public class MedicationUsage extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, category - , medication, subject, encounter, effective, dateAsserted, informationSource, derivedFrom - , reason, note, renderedDosageInstruction, dosage, adherence); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, partOf, status + , category, medication, subject, encounter, effective, dateAsserted, informationSource + , derivedFrom, reason, note, relatedClinicalInformation, renderedDosageInstruction + , dosage, adherence); } @Override @@ -1497,444 +1691,6 @@ public class MedicationUsage extends DomainResource { return ResourceType.MedicationUsage; } - /** - * Search parameter: adherence - *

- * Description: Returns statements based on adherence or compliance
- * Type: token
- * Path: MedicationUsage.adherence
- *

- */ - @SearchParamDefinition(name="adherence", path="MedicationUsage.adherence", description="Returns statements based on adherence or compliance", type="token" ) - public static final String SP_ADHERENCE = "adherence"; - /** - * Fluent Client search parameter constant for adherence - *

- * Description: Returns statements based on adherence or compliance
- * Type: token
- * Path: MedicationUsage.adherence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADHERENCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADHERENCE); - - /** - * Search parameter: category - *

- * Description: Returns statements of this category of MedicationUsage
- * Type: token
- * Path: MedicationUsage.category
- *

- */ - @SearchParamDefinition(name="category", path="MedicationUsage.category", description="Returns statements of this category of MedicationUsage", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Returns statements of this category of MedicationUsage
- * Type: token
- * Path: MedicationUsage.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: effective - *

- * Description: Date when patient was taking (or not taking) the medication
- * Type: date
- * Path: MedicationUsage.effective
- *

- */ - @SearchParamDefinition(name="effective", path="MedicationUsage.effective", description="Date when patient was taking (or not taking) the medication", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: Date when patient was taking (or not taking) the medication
- * Type: date
- * Path: MedicationUsage.effective
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: encounter - *

- * Description: Returns statements for a specific encounter
- * Type: reference
- * Path: MedicationUsage.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="MedicationUsage.encounter", description="Returns statements for a specific encounter", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Returns statements for a specific encounter
- * Type: reference
- * Path: MedicationUsage.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationUsage:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("MedicationUsage:encounter").toLocked(); - - /** - * Search parameter: source - *

- * Description: Who or where the information in the statement came from
- * Type: reference
- * Path: MedicationUsage.informationSource
- *

- */ - @SearchParamDefinition(name="source", path="MedicationUsage.informationSource", description="Who or where the information in the statement came from", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: Who or where the information in the statement came from
- * Type: reference
- * Path: MedicationUsage.informationSource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationUsage:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("MedicationUsage:source").toLocked(); - - /** - * Search parameter: subject - *

- * Description: The identity of a patient, animal or group to list statements for
- * Type: reference
- * Path: MedicationUsage.subject
- *

- */ - @SearchParamDefinition(name="subject", path="MedicationUsage.subject", description="The identity of a patient, animal or group to list statements for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a patient, animal or group to list statements for
- * Type: reference
- * Path: MedicationUsage.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationUsage:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("MedicationUsage:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationUsage:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("MedicationUsage:patient").toLocked(); - - /** - * Search parameter: medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - @SearchParamDefinition(name="medication", path="MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication reference\r\n", type="reference" ) - public static final String SP_MEDICATION = "medication"; - /** - * Fluent Client search parameter constant for medication - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication reference -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource -* [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference -* [MedicationUsage](medicationusage.html): Return statements of this medication reference -
- * Type: reference
- * Path: MedicationAdministration.medication.reference | MedicationDispense.medication.reference | MedicationRequest.medication.reference | MedicationUsage.medication.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEDICATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicationUsage:medication". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION = new ca.uhn.fhir.model.api.Include("MedicationUsage:medication").toLocked(); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - @SearchParamDefinition(name="status", path="MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status", description="Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status\r\n* [MedicationRequest](medicationrequest.html): Status of the prescription\r\n* [MedicationUsage](medicationusage.html): Return statements that match the given status\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) -* [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status -* [MedicationRequest](medicationrequest.html): Status of the prescription -* [MedicationUsage](medicationusage.html): Return statements that match the given status -
- * Type: token
- * Path: MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationUsage.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicinalProductDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicinalProductDefinition.java index a3f80d5d4..9161f83a4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicinalProductDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MedicinalProductDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -48,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs). + * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.). */ @ResourceDef(name="MedicinalProductDefinition", profile="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition") public class MedicinalProductDefinition extends DomainResource { @@ -60,6 +60,7 @@ public class MedicinalProductDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Allows the contact to be classified, for example QPPV, Pharmacovigilance Enquiry Information", formalDefinition="Allows the contact to be classified, for example QPPV, Pharmacovigilance Enquiry Information." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-contact-type") protected CodeableConcept type; /** @@ -276,6 +277,7 @@ public class MedicinalProductDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary", formalDefinition="Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-name-type") protected CodeableConcept type; /** @@ -286,10 +288,10 @@ public class MedicinalProductDefinition extends DomainResource { protected List namePart; /** - * Country where the name applies. + * Country and jurisdiction where the name applies, and associated language. */ @Child(name = "countryLanguage", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Country where the name applies", formalDefinition="Country where the name applies." ) + @Description(shortDefinition="Country and jurisdiction where the name applies", formalDefinition="Country and jurisdiction where the name applies, and associated language." ) protected List countryLanguage; private static final long serialVersionUID = 829861294L; @@ -432,7 +434,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #countryLanguage} (Country where the name applies.) + * @return {@link #countryLanguage} (Country and jurisdiction where the name applies, and associated language.) */ public List getCountryLanguage() { if (this.countryLanguage == null) @@ -489,7 +491,7 @@ public class MedicinalProductDefinition extends DomainResource { children.add(new Property("productName", "string", "The full product name.", 0, 1, productName)); children.add(new Property("type", "CodeableConcept", "Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary.", 0, 1, type)); children.add(new Property("namePart", "", "Coding words or phrases of the name.", 0, java.lang.Integer.MAX_VALUE, namePart)); - children.add(new Property("countryLanguage", "", "Country where the name applies.", 0, java.lang.Integer.MAX_VALUE, countryLanguage)); + children.add(new Property("countryLanguage", "", "Country and jurisdiction where the name applies, and associated language.", 0, java.lang.Integer.MAX_VALUE, countryLanguage)); } @Override @@ -498,7 +500,7 @@ public class MedicinalProductDefinition extends DomainResource { case -1491817446: /*productName*/ return new Property("productName", "string", "The full product name.", 0, 1, productName); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary.", 0, 1, type); case 1840452894: /*namePart*/ return new Property("namePart", "", "Coding words or phrases of the name.", 0, java.lang.Integer.MAX_VALUE, namePart); - case -141141746: /*countryLanguage*/ return new Property("countryLanguage", "", "Country where the name applies.", 0, java.lang.Integer.MAX_VALUE, countryLanguage); + case -141141746: /*countryLanguage*/ return new Property("countryLanguage", "", "Country and jurisdiction where the name applies, and associated language.", 0, java.lang.Integer.MAX_VALUE, countryLanguage); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -663,6 +665,7 @@ public class MedicinalProductDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Identifying type for this part of the name (e.g. strength part)", formalDefinition="Identifying type for this part of the name (e.g. strength part)." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-name-part-type") protected CodeableConcept type; private static final long serialVersionUID = -1359126549L; @@ -886,13 +889,15 @@ public class MedicinalProductDefinition extends DomainResource { */ @Child(name = "country", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Country code for where this name applies", formalDefinition="Country code for where this name applies." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/country") protected CodeableConcept country; /** - * Jurisdiction code for where this name applies. + * Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region). */ @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Jurisdiction code for where this name applies", formalDefinition="Jurisdiction code for where this name applies." ) + @Description(shortDefinition="Jurisdiction code for where this name applies", formalDefinition="Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region)." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") protected CodeableConcept jurisdiction; /** @@ -900,6 +905,7 @@ public class MedicinalProductDefinition extends DomainResource { */ @Child(name = "language", type = {CodeableConcept.class}, order=3, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Language code for this name", formalDefinition="Language code for this name." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/languages") protected CodeableConcept language; private static final long serialVersionUID = 1627157564L; @@ -945,7 +951,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #jurisdiction} (Jurisdiction code for where this name applies.) + * @return {@link #jurisdiction} (Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region).) */ public CodeableConcept getJurisdiction() { if (this.jurisdiction == null) @@ -961,7 +967,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @param value {@link #jurisdiction} (Jurisdiction code for where this name applies.) + * @param value {@link #jurisdiction} (Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region).) */ public MedicinalProductDefinitionNameCountryLanguageComponent setJurisdiction(CodeableConcept value) { this.jurisdiction = value; @@ -995,7 +1001,7 @@ public class MedicinalProductDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("country", "CodeableConcept", "Country code for where this name applies.", 0, 1, country)); - children.add(new Property("jurisdiction", "CodeableConcept", "Jurisdiction code for where this name applies.", 0, 1, jurisdiction)); + children.add(new Property("jurisdiction", "CodeableConcept", "Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region).", 0, 1, jurisdiction)); children.add(new Property("language", "CodeableConcept", "Language code for this name.", 0, 1, language)); } @@ -1003,7 +1009,7 @@ public class MedicinalProductDefinition extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 957831062: /*country*/ return new Property("country", "CodeableConcept", "Country code for where this name applies.", 0, 1, country); - case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "Jurisdiction code for where this name applies.", 0, 1, jurisdiction); + case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region).", 0, 1, jurisdiction); case -1613589672: /*language*/ return new Property("language", "CodeableConcept", "Language code for this name.", 0, 1, language); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1147,10 +1153,11 @@ public class MedicinalProductDefinition extends DomainResource { protected CodeableReference product; /** - * The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version. + * The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version. */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version", formalDefinition="The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version." ) + @Description(shortDefinition="The type of relationship, for instance branded to generic or virtual to actual product", formalDefinition="The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-cross-reference-type") protected CodeableConcept type; private static final long serialVersionUID = -1746125578L; @@ -1195,7 +1202,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #type} (The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version.) + * @return {@link #type} (The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version.) */ public CodeableConcept getType() { if (this.type == null) @@ -1211,7 +1218,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @param value {@link #type} (The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version.) + * @param value {@link #type} (The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version.) */ public MedicinalProductDefinitionCrossReferenceComponent setType(CodeableConcept value) { this.type = value; @@ -1221,14 +1228,14 @@ public class MedicinalProductDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("product", "CodeableReference(MedicinalProductDefinition)", "Reference to another product, e.g. for linking authorised to investigational product.", 0, 1, product)); - children.add(new Property("type", "CodeableConcept", "The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version.", 0, 1, type)); + children.add(new Property("type", "CodeableConcept", "The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version.", 0, 1, type)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -309474065: /*product*/ return new Property("product", "CodeableReference(MedicinalProductDefinition)", "Reference to another product, e.g. for linking authorised to investigational product.", 0, 1, product); - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of relationship, for instance branded to generic, product to development product (investigational), parallel import version.", 0, 1, type); + case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version.", 0, 1, type); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1352,7 +1359,7 @@ public class MedicinalProductDefinition extends DomainResource { * The type of manufacturing operation e.g. manufacturing itself, re-packaging. For the authorization of this, a RegulatedAuthorization would point to the same plan or activity referenced here. */ @Child(name = "type", type = {CodeableReference.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The type of manufacturing operation e.g. manufacturing itself, re-packaging. For the authorization of this, a RegulatedAuthorization would point to the same plan or activity referenced here", formalDefinition="The type of manufacturing operation e.g. manufacturing itself, re-packaging. For the authorization of this, a RegulatedAuthorization would point to the same plan or activity referenced here." ) + @Description(shortDefinition="The type of manufacturing operation e.g. manufacturing itself, re-packaging", formalDefinition="The type of manufacturing operation e.g. manufacturing itself, re-packaging. For the authorization of this, a RegulatedAuthorization would point to the same plan or activity referenced here." ) protected CodeableReference type; /** @@ -1366,14 +1373,15 @@ public class MedicinalProductDefinition extends DomainResource { * The organization or establishment responsible for (or associated with) the particular process or step, examples include the manufacturer, importer, agent. */ @Child(name = "organization", type = {Organization.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The organization or establishment responsible for (or associated with) the particular process or step, examples include the manufacturer, importer, agent", formalDefinition="The organization or establishment responsible for (or associated with) the particular process or step, examples include the manufacturer, importer, agent." ) + @Description(shortDefinition="The organization responsible for the particular process, e.g. the manufacturer or importer", formalDefinition="The organization or establishment responsible for (or associated with) the particular process or step, examples include the manufacturer, importer, agent." ) protected List organization; /** * Specifies whether this particular business or manufacturing process is considered proprietary or confidential. */ @Child(name = "confidentialityIndicator", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Specifies whether this particular business or manufacturing process is considered proprietary or confidential", formalDefinition="Specifies whether this particular business or manufacturing process is considered proprietary or confidential." ) + @Description(shortDefinition="Specifies whether this process is considered proprietary or confidential", formalDefinition="Specifies whether this particular business or manufacturing process is considered proprietary or confidential." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-confidentiality") protected CodeableConcept confidentialityIndicator; private static final long serialVersionUID = 1036054906L; @@ -1680,13 +1688,14 @@ public class MedicinalProductDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="A code expressing the type of characteristic", formalDefinition="A code expressing the type of characteristic." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-characteristic-codes") protected CodeableConcept type; /** - * A value for the characteristic. + * A value for the characteristic.text. */ - @Child(name = "value", type = {CodeableConcept.class, Quantity.class, DateType.class, BooleanType.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A value for the characteristic", formalDefinition="A value for the characteristic." ) + @Child(name = "value", type = {CodeableConcept.class, StringType.class, Quantity.class, IntegerType.class, DateType.class, BooleanType.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="A value for the characteristic", formalDefinition="A value for the characteristic.text." ) protected DataType value; private static final long serialVersionUID = -1659186716L; @@ -1731,14 +1740,14 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the characteristic.text.) */ public DataType getValue() { return this.value; } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the characteristic.text.) */ public CodeableConcept getValueCodeableConcept() throws FHIRException { if (this.value == null) @@ -1753,7 +1762,22 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the characteristic.text.) + */ + public StringType getValueStringType() throws FHIRException { + if (this.value == null) + this.value = new StringType(); + if (!(this.value instanceof StringType)) + throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (StringType) this.value; + } + + public boolean hasValueStringType() { + return this != null && this.value instanceof StringType; + } + + /** + * @return {@link #value} (A value for the characteristic.text.) */ public Quantity getValueQuantity() throws FHIRException { if (this.value == null) @@ -1768,7 +1792,22 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the characteristic.text.) + */ + public IntegerType getValueIntegerType() throws FHIRException { + if (this.value == null) + this.value = new IntegerType(); + if (!(this.value instanceof IntegerType)) + throw new FHIRException("Type mismatch: the type IntegerType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IntegerType) this.value; + } + + public boolean hasValueIntegerType() { + return this != null && this.value instanceof IntegerType; + } + + /** + * @return {@link #value} (A value for the characteristic.text.) */ public DateType getValueDateType() throws FHIRException { if (this.value == null) @@ -1783,7 +1822,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the characteristic.text.) */ public BooleanType getValueBooleanType() throws FHIRException { if (this.value == null) @@ -1798,7 +1837,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the characteristic.text.) */ public Attachment getValueAttachment() throws FHIRException { if (this.value == null) @@ -1817,10 +1856,10 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @param value {@link #value} (A value for the characteristic.) + * @param value {@link #value} (A value for the characteristic.text.) */ public MedicinalProductDefinitionCharacteristicComponent setValue(DataType value) { - if (value != null && !(value instanceof CodeableConcept || value instanceof Quantity || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment)) + if (value != null && !(value instanceof CodeableConcept || value instanceof StringType || value instanceof Quantity || value instanceof IntegerType || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment)) throw new Error("Not the right type for MedicinalProductDefinition.characteristic.value[x]: "+value.fhirType()); this.value = value; return this; @@ -1829,20 +1868,22 @@ public class MedicinalProductDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type)); - children.add(new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value)); + children.add(new Property("value[x]", "CodeableConcept|string|Quantity|integer|date|boolean|Attachment", "A value for the characteristic.text.", 0, 1, value)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type); - case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value); - case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value); - case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the characteristic.", 0, 1, value); - case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the characteristic.", 0, 1, value); - case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the characteristic.", 0, 1, value); - case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the characteristic.", 0, 1, value); - case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the characteristic.", 0, 1, value); + case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|string|Quantity|integer|date|boolean|Attachment", "A value for the characteristic.text.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|string|Quantity|integer|date|boolean|Attachment", "A value for the characteristic.text.", 0, 1, value); + case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the characteristic.text.", 0, 1, value); + case -1424603934: /*valueString*/ return new Property("value[x]", "string", "A value for the characteristic.text.", 0, 1, value); + case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the characteristic.text.", 0, 1, value); + case -1668204915: /*valueInteger*/ return new Property("value[x]", "integer", "A value for the characteristic.text.", 0, 1, value); + case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the characteristic.text.", 0, 1, value); + case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the characteristic.text.", 0, 1, value); + case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the characteristic.text.", 0, 1, value); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1898,7 +1939,7 @@ public class MedicinalProductDefinition extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case 3575610: /*type*/ return new String[] {"CodeableConcept"}; - case 111972721: /*value*/ return new String[] {"CodeableConcept", "Quantity", "date", "boolean", "Attachment"}; + case 111972721: /*value*/ return new String[] {"CodeableConcept", "string", "Quantity", "integer", "date", "boolean", "Attachment"}; default: return super.getTypesForProperty(hash, name); } @@ -1914,10 +1955,18 @@ public class MedicinalProductDefinition extends DomainResource { this.value = new CodeableConcept(); return this.value; } + else if (name.equals("valueString")) { + this.value = new StringType(); + return this.value; + } else if (name.equals("valueQuantity")) { this.value = new Quantity(); return this.value; } + else if (name.equals("valueInteger")) { + this.value = new IntegerType(); + return this.value; + } else if (name.equals("valueDate")) { this.value = new DateType(); return this.value; @@ -1978,10 +2027,10 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * Business identifier for this product. Could be an MPID. + * Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code. */ @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Business identifier for this product. Could be an MPID", formalDefinition="Business identifier for this product. Could be an MPID." ) + @Description(shortDefinition="Business identifier for this product. Could be an MPID", formalDefinition="Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code." ) protected List identifier; /** @@ -2004,14 +2053,14 @@ public class MedicinalProductDefinition extends DomainResource { * A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product. */ @Child(name = "version", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product", formalDefinition="A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product." ) + @Description(shortDefinition="A business identifier relating to a specific version of the product", formalDefinition="A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product." ) protected StringType version; /** * The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status. */ @Child(name = "status", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=true, summary=true) - @Description(shortDefinition="The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status", formalDefinition="The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status." ) + @Description(shortDefinition="The status within the lifecycle of this product record", formalDefinition="The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; @@ -2030,18 +2079,18 @@ public class MedicinalProductDefinition extends DomainResource { protected MarkdownType description; /** - * The dose form for a single part product, or combined form of a multiple part product. + * The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm). */ @Child(name = "combinedPharmaceuticalDoseForm", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The dose form for a single part product, or combined form of a multiple part product", formalDefinition="The dose form for a single part product, or combined form of a multiple part product." ) + @Description(shortDefinition="The dose form for a single part product, or combined form of a multiple part product", formalDefinition="The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/combined-dose-form") protected CodeableConcept combinedPharmaceuticalDoseForm; /** - * The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. + * The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together. */ @Child(name = "route", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource", formalDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource." ) + @Description(shortDefinition="The path by which the product is taken into or makes contact with the body", formalDefinition="The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/route-codes") protected List route; @@ -2049,7 +2098,7 @@ public class MedicinalProductDefinition extends DomainResource { * Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate. */ @Child(name = "indication", type = {MarkdownType.class}, order=9, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate", formalDefinition="Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate." ) + @Description(shortDefinition="Description of indication(s) for this product, used when structured indications are not required", formalDefinition="Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate." ) protected MarkdownType indication; /** @@ -2061,127 +2110,140 @@ public class MedicinalProductDefinition extends DomainResource { protected CodeableConcept legalStatusOfSupply; /** - * Whether the Medicinal Product is subject to additional monitoring for regulatory reasons. + * Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements. */ @Child(name = "additionalMonitoringIndicator", type = {CodeableConcept.class}, order=11, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Whether the Medicinal Product is subject to additional monitoring for regulatory reasons", formalDefinition="Whether the Medicinal Product is subject to additional monitoring for regulatory reasons." ) + @Description(shortDefinition="Whether the Medicinal Product is subject to additional monitoring for regulatory reasons", formalDefinition="Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-additional-monitoring") protected CodeableConcept additionalMonitoringIndicator; /** - * Whether the Medicinal Product is subject to special measures for regulatory reasons. + * Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies. */ @Child(name = "specialMeasures", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Whether the Medicinal Product is subject to special measures for regulatory reasons", formalDefinition="Whether the Medicinal Product is subject to special measures for regulatory reasons." ) + @Description(shortDefinition="Whether the Medicinal Product is subject to special measures for regulatory reasons", formalDefinition="Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-special-measures") protected List specialMeasures; /** - * If authorised for use in children. + * If authorised for use in children, or infants, neonates etc. */ @Child(name = "pediatricUseIndicator", type = {CodeableConcept.class}, order=13, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="If authorised for use in children", formalDefinition="If authorised for use in children." ) + @Description(shortDefinition="If authorised for use in children", formalDefinition="If authorised for use in children, or infants, neonates etc." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-pediatric-use") protected CodeableConcept pediatricUseIndicator; /** - * Allows the product to be classified by various systems. + * Allows the product to be classified by various systems, commonly WHO ATC. */ @Child(name = "classification", type = {CodeableConcept.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Allows the product to be classified by various systems", formalDefinition="Allows the product to be classified by various systems." ) + @Description(shortDefinition="Allows the product to be classified by various systems", formalDefinition="Allows the product to be classified by various systems, commonly WHO ATC." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-classification-codes") protected List classification; /** - * Marketing status of the medicinal product, in contrast to marketing authorization. + * Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization). */ @Child(name = "marketingStatus", type = {MarketingStatus.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Marketing status of the medicinal product, in contrast to marketing authorization", formalDefinition="Marketing status of the medicinal product, in contrast to marketing authorization." ) + @Description(shortDefinition="Marketing status of the medicinal product, in contrast to marketing authorization", formalDefinition="Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization)." ) protected List marketingStatus; /** - * Package representation for the product. See also the PackagedProductDefinition resource. + * Package type for the product. See also the PackagedProductDefinition resource. */ @Child(name = "packagedMedicinalProduct", type = {CodeableConcept.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Package representation for the product", formalDefinition="Package representation for the product. See also the PackagedProductDefinition resource." ) + @Description(shortDefinition="Package type for the product", formalDefinition="Package type for the product. See also the PackagedProductDefinition resource." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-package-type") protected List packagedMedicinalProduct; + /** + * A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item). + */ + @Child(name = "comprisedOf", type = {ManufacturedItemDefinition.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="A medicinal manufactured item that this product consists of, such as a tablet or capsule", formalDefinition="A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item)." ) + protected List comprisedOf; + /** * The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes. */ - @Child(name = "ingredient", type = {CodeableConcept.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes", formalDefinition="The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes." ) + @Child(name = "ingredient", type = {CodeableConcept.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="The ingredients of this medicinal product - when not detailed in other resources", formalDefinition="The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-codes") protected List ingredient; /** - * Any component of the drug product which is not the chemical entity defined as the drug substance or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products. + * Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products. */ - @Child(name = "impurity", type = {CodeableReference.class}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Any component of the drug product which is not the chemical entity defined as the drug substance or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products", formalDefinition="Any component of the drug product which is not the chemical entity defined as the drug substance or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products." ) + @Child(name = "impurity", type = {CodeableReference.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product", formalDefinition="Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-codes") protected List impurity; /** * Additional information or supporting documentation about the medicinal product. */ - @Child(name = "attachedDocument", type = {DocumentReference.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Additional information or supporting documentation about the medicinal product", formalDefinition="Additional information or supporting documentation about the medicinal product." ) + @Child(name = "attachedDocument", type = {DocumentReference.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Additional documentation about the medicinal product", formalDefinition="Additional information or supporting documentation about the medicinal product." ) protected List attachedDocument; /** * A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products. */ - @Child(name = "masterFile", type = {DocumentReference.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "masterFile", type = {DocumentReference.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="A master file for the medicinal product (e.g. Pharmacovigilance System Master File)", formalDefinition="A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products." ) protected List masterFile; /** * A product specific contact, person (in a role), or an organization. */ - @Child(name = "contact", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "contact", type = {}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="A product specific contact, person (in a role), or an organization", formalDefinition="A product specific contact, person (in a role), or an organization." ) protected List contact; /** * Clinical trials or studies that this product is involved in. */ - @Child(name = "clinicalTrial", type = {ResearchStudy.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "clinicalTrial", type = {ResearchStudy.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Clinical trials or studies that this product is involved in", formalDefinition="Clinical trials or studies that this product is involved in." ) protected List clinicalTrial; /** - * A code that this product is known by, usually within some formal terminology. Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations. + * A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations. */ - @Child(name = "code", type = {Coding.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A code that this product is known by, within some formal terminology", formalDefinition="A code that this product is known by, usually within some formal terminology. Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations." ) + @Child(name = "code", type = {Coding.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="A code that this product is known by, within some formal terminology", formalDefinition="A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-codes") protected List code; /** * The product's name, including full name and possibly coded parts. */ - @Child(name = "name", type = {}, order=24, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "name", type = {}, order=25, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The product's name, including full name and possibly coded parts", formalDefinition="The product's name, including full name and possibly coded parts." ) protected List name; /** - * Reference to another product, e.g. for linking authorised to investigational product. + * Reference to another product, e.g. for linking authorised to investigational product, or a virtual product. */ - @Child(name = "crossReference", type = {}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Reference to another product, e.g. for linking authorised to investigational product", formalDefinition="Reference to another product, e.g. for linking authorised to investigational product." ) + @Child(name = "crossReference", type = {}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Reference to another product, e.g. for linking authorised to investigational product", formalDefinition="Reference to another product, e.g. for linking authorised to investigational product, or a virtual product." ) protected List crossReference; /** * A manufacturing or administrative process or step associated with (or performed on) the medicinal product. */ - @Child(name = "operation", type = {}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A manufacturing or administrative process or step associated with (or performed on) the medicinal product", formalDefinition="A manufacturing or administrative process or step associated with (or performed on) the medicinal product." ) + @Child(name = "operation", type = {}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="A manufacturing or administrative process for the medicinal product", formalDefinition="A manufacturing or administrative process or step associated with (or performed on) the medicinal product." ) protected List operation; /** * Allows the key product features to be recorded, such as "sugar free", "modified release", "parallel import". */ - @Child(name = "characteristic", type = {}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\"", formalDefinition="Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\"." ) + @Child(name = "characteristic", type = {}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Key product features such as \"sugar free\", \"modified release\"", formalDefinition="Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\"." ) protected List characteristic; - private static final long serialVersionUID = -2099569280L; + private static final long serialVersionUID = 1105265034L; /** * Constructor @@ -2199,7 +2261,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #identifier} (Business identifier for this product. Could be an MPID.) + * @return {@link #identifier} (Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.) */ public List getIdentifier() { if (this.identifier == null) @@ -2471,7 +2533,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #combinedPharmaceuticalDoseForm} (The dose form for a single part product, or combined form of a multiple part product.) + * @return {@link #combinedPharmaceuticalDoseForm} (The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).) */ public CodeableConcept getCombinedPharmaceuticalDoseForm() { if (this.combinedPharmaceuticalDoseForm == null) @@ -2487,7 +2549,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @param value {@link #combinedPharmaceuticalDoseForm} (The dose form for a single part product, or combined form of a multiple part product.) + * @param value {@link #combinedPharmaceuticalDoseForm} (The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).) */ public MedicinalProductDefinition setCombinedPharmaceuticalDoseForm(CodeableConcept value) { this.combinedPharmaceuticalDoseForm = value; @@ -2495,7 +2557,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #route} (The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource.) + * @return {@link #route} (The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.) */ public List getRoute() { if (this.route == null) @@ -2621,7 +2683,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #additionalMonitoringIndicator} (Whether the Medicinal Product is subject to additional monitoring for regulatory reasons.) + * @return {@link #additionalMonitoringIndicator} (Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.) */ public CodeableConcept getAdditionalMonitoringIndicator() { if (this.additionalMonitoringIndicator == null) @@ -2637,7 +2699,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @param value {@link #additionalMonitoringIndicator} (Whether the Medicinal Product is subject to additional monitoring for regulatory reasons.) + * @param value {@link #additionalMonitoringIndicator} (Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.) */ public MedicinalProductDefinition setAdditionalMonitoringIndicator(CodeableConcept value) { this.additionalMonitoringIndicator = value; @@ -2645,7 +2707,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #specialMeasures} (Whether the Medicinal Product is subject to special measures for regulatory reasons.) + * @return {@link #specialMeasures} (Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.) */ public List getSpecialMeasures() { if (this.specialMeasures == null) @@ -2698,7 +2760,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #pediatricUseIndicator} (If authorised for use in children.) + * @return {@link #pediatricUseIndicator} (If authorised for use in children, or infants, neonates etc.) */ public CodeableConcept getPediatricUseIndicator() { if (this.pediatricUseIndicator == null) @@ -2714,7 +2776,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @param value {@link #pediatricUseIndicator} (If authorised for use in children.) + * @param value {@link #pediatricUseIndicator} (If authorised for use in children, or infants, neonates etc.) */ public MedicinalProductDefinition setPediatricUseIndicator(CodeableConcept value) { this.pediatricUseIndicator = value; @@ -2722,7 +2784,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #classification} (Allows the product to be classified by various systems.) + * @return {@link #classification} (Allows the product to be classified by various systems, commonly WHO ATC.) */ public List getClassification() { if (this.classification == null) @@ -2775,7 +2837,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #marketingStatus} (Marketing status of the medicinal product, in contrast to marketing authorization.) + * @return {@link #marketingStatus} (Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).) */ public List getMarketingStatus() { if (this.marketingStatus == null) @@ -2828,7 +2890,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #packagedMedicinalProduct} (Package representation for the product. See also the PackagedProductDefinition resource.) + * @return {@link #packagedMedicinalProduct} (Package type for the product. See also the PackagedProductDefinition resource.) */ public List getPackagedMedicinalProduct() { if (this.packagedMedicinalProduct == null) @@ -2880,6 +2942,59 @@ public class MedicinalProductDefinition extends DomainResource { return getPackagedMedicinalProduct().get(0); } + /** + * @return {@link #comprisedOf} (A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item).) + */ + public List getComprisedOf() { + if (this.comprisedOf == null) + this.comprisedOf = new ArrayList(); + return this.comprisedOf; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MedicinalProductDefinition setComprisedOf(List theComprisedOf) { + this.comprisedOf = theComprisedOf; + return this; + } + + public boolean hasComprisedOf() { + if (this.comprisedOf == null) + return false; + for (Reference item : this.comprisedOf) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addComprisedOf() { //3 + Reference t = new Reference(); + if (this.comprisedOf == null) + this.comprisedOf = new ArrayList(); + this.comprisedOf.add(t); + return t; + } + + public MedicinalProductDefinition addComprisedOf(Reference t) { //3 + if (t == null) + return this; + if (this.comprisedOf == null) + this.comprisedOf = new ArrayList(); + this.comprisedOf.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #comprisedOf}, creating it if it does not already exist {3} + */ + public Reference getComprisedOfFirstRep() { + if (getComprisedOf().isEmpty()) { + addComprisedOf(); + } + return getComprisedOf().get(0); + } + /** * @return {@link #ingredient} (The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.) */ @@ -2934,7 +3049,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #impurity} (Any component of the drug product which is not the chemical entity defined as the drug substance or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.) + * @return {@link #impurity} (Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.) */ public List getImpurity() { if (this.impurity == null) @@ -3199,7 +3314,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #code} (A code that this product is known by, usually within some formal terminology. Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.) + * @return {@link #code} (A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.) */ public List getCode() { if (this.code == null) @@ -3305,7 +3420,7 @@ public class MedicinalProductDefinition extends DomainResource { } /** - * @return {@link #crossReference} (Reference to another product, e.g. for linking authorised to investigational product.) + * @return {@link #crossReference} (Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.) */ public List getCrossReference() { if (this.crossReference == null) @@ -3465,32 +3580,33 @@ public class MedicinalProductDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "Business identifier for this product. Could be an MPID.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("identifier", "Identifier", "Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("type", "CodeableConcept", "Regulatory type, e.g. Investigational or Authorized.", 0, 1, type)); children.add(new Property("domain", "CodeableConcept", "If this medicine applies to human or veterinary uses.", 0, 1, domain)); children.add(new Property("version", "string", "A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product.", 0, 1, version)); children.add(new Property("status", "CodeableConcept", "The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status.", 0, 1, status)); children.add(new Property("statusDate", "dateTime", "The date at which the given status became applicable.", 0, 1, statusDate)); children.add(new Property("description", "markdown", "General description of this product.", 0, 1, description)); - children.add(new Property("combinedPharmaceuticalDoseForm", "CodeableConcept", "The dose form for a single part product, or combined form of a multiple part product.", 0, 1, combinedPharmaceuticalDoseForm)); - children.add(new Property("route", "CodeableConcept", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource.", 0, java.lang.Integer.MAX_VALUE, route)); + children.add(new Property("combinedPharmaceuticalDoseForm", "CodeableConcept", "The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).", 0, 1, combinedPharmaceuticalDoseForm)); + children.add(new Property("route", "CodeableConcept", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.", 0, java.lang.Integer.MAX_VALUE, route)); children.add(new Property("indication", "markdown", "Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate.", 0, 1, indication)); children.add(new Property("legalStatusOfSupply", "CodeableConcept", "The legal status of supply of the medicinal product as classified by the regulator.", 0, 1, legalStatusOfSupply)); - children.add(new Property("additionalMonitoringIndicator", "CodeableConcept", "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons.", 0, 1, additionalMonitoringIndicator)); - children.add(new Property("specialMeasures", "CodeableConcept", "Whether the Medicinal Product is subject to special measures for regulatory reasons.", 0, java.lang.Integer.MAX_VALUE, specialMeasures)); - children.add(new Property("pediatricUseIndicator", "CodeableConcept", "If authorised for use in children.", 0, 1, pediatricUseIndicator)); - children.add(new Property("classification", "CodeableConcept", "Allows the product to be classified by various systems.", 0, java.lang.Integer.MAX_VALUE, classification)); - children.add(new Property("marketingStatus", "MarketingStatus", "Marketing status of the medicinal product, in contrast to marketing authorization.", 0, java.lang.Integer.MAX_VALUE, marketingStatus)); - children.add(new Property("packagedMedicinalProduct", "CodeableConcept", "Package representation for the product. See also the PackagedProductDefinition resource.", 0, java.lang.Integer.MAX_VALUE, packagedMedicinalProduct)); + children.add(new Property("additionalMonitoringIndicator", "CodeableConcept", "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.", 0, 1, additionalMonitoringIndicator)); + children.add(new Property("specialMeasures", "CodeableConcept", "Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.", 0, java.lang.Integer.MAX_VALUE, specialMeasures)); + children.add(new Property("pediatricUseIndicator", "CodeableConcept", "If authorised for use in children, or infants, neonates etc.", 0, 1, pediatricUseIndicator)); + children.add(new Property("classification", "CodeableConcept", "Allows the product to be classified by various systems, commonly WHO ATC.", 0, java.lang.Integer.MAX_VALUE, classification)); + children.add(new Property("marketingStatus", "MarketingStatus", "Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).", 0, java.lang.Integer.MAX_VALUE, marketingStatus)); + children.add(new Property("packagedMedicinalProduct", "CodeableConcept", "Package type for the product. See also the PackagedProductDefinition resource.", 0, java.lang.Integer.MAX_VALUE, packagedMedicinalProduct)); + children.add(new Property("comprisedOf", "Reference(ManufacturedItemDefinition)", "A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item).", 0, java.lang.Integer.MAX_VALUE, comprisedOf)); children.add(new Property("ingredient", "CodeableConcept", "The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.", 0, java.lang.Integer.MAX_VALUE, ingredient)); - children.add(new Property("impurity", "CodeableReference(SubstanceDefinition)", "Any component of the drug product which is not the chemical entity defined as the drug substance or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.", 0, java.lang.Integer.MAX_VALUE, impurity)); + children.add(new Property("impurity", "CodeableReference(SubstanceDefinition)", "Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.", 0, java.lang.Integer.MAX_VALUE, impurity)); children.add(new Property("attachedDocument", "Reference(DocumentReference)", "Additional information or supporting documentation about the medicinal product.", 0, java.lang.Integer.MAX_VALUE, attachedDocument)); children.add(new Property("masterFile", "Reference(DocumentReference)", "A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products.", 0, java.lang.Integer.MAX_VALUE, masterFile)); children.add(new Property("contact", "", "A product specific contact, person (in a role), or an organization.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("clinicalTrial", "Reference(ResearchStudy)", "Clinical trials or studies that this product is involved in.", 0, java.lang.Integer.MAX_VALUE, clinicalTrial)); - children.add(new Property("code", "Coding", "A code that this product is known by, usually within some formal terminology. Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.", 0, java.lang.Integer.MAX_VALUE, code)); + children.add(new Property("code", "Coding", "A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.", 0, java.lang.Integer.MAX_VALUE, code)); children.add(new Property("name", "", "The product's name, including full name and possibly coded parts.", 0, java.lang.Integer.MAX_VALUE, name)); - children.add(new Property("crossReference", "", "Reference to another product, e.g. for linking authorised to investigational product.", 0, java.lang.Integer.MAX_VALUE, crossReference)); + children.add(new Property("crossReference", "", "Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.", 0, java.lang.Integer.MAX_VALUE, crossReference)); children.add(new Property("operation", "", "A manufacturing or administrative process or step associated with (or performed on) the medicinal product.", 0, java.lang.Integer.MAX_VALUE, operation)); children.add(new Property("characteristic", "", "Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\".", 0, java.lang.Integer.MAX_VALUE, characteristic)); } @@ -3498,32 +3614,33 @@ public class MedicinalProductDefinition extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this product. Could be an MPID.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.", 0, java.lang.Integer.MAX_VALUE, identifier); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Regulatory type, e.g. Investigational or Authorized.", 0, 1, type); case -1326197564: /*domain*/ return new Property("domain", "CodeableConcept", "If this medicine applies to human or veterinary uses.", 0, 1, domain); case 351608024: /*version*/ return new Property("version", "string", "A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product.", 0, 1, version); case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status.", 0, 1, status); case 247524032: /*statusDate*/ return new Property("statusDate", "dateTime", "The date at which the given status became applicable.", 0, 1, statusDate); case -1724546052: /*description*/ return new Property("description", "markdown", "General description of this product.", 0, 1, description); - case -1992898487: /*combinedPharmaceuticalDoseForm*/ return new Property("combinedPharmaceuticalDoseForm", "CodeableConcept", "The dose form for a single part product, or combined form of a multiple part product.", 0, 1, combinedPharmaceuticalDoseForm); - case 108704329: /*route*/ return new Property("route", "CodeableConcept", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource.", 0, java.lang.Integer.MAX_VALUE, route); + case -1992898487: /*combinedPharmaceuticalDoseForm*/ return new Property("combinedPharmaceuticalDoseForm", "CodeableConcept", "The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).", 0, 1, combinedPharmaceuticalDoseForm); + case 108704329: /*route*/ return new Property("route", "CodeableConcept", "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.", 0, java.lang.Integer.MAX_VALUE, route); case -597168804: /*indication*/ return new Property("indication", "markdown", "Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate.", 0, 1, indication); case -844874031: /*legalStatusOfSupply*/ return new Property("legalStatusOfSupply", "CodeableConcept", "The legal status of supply of the medicinal product as classified by the regulator.", 0, 1, legalStatusOfSupply); - case 1935999744: /*additionalMonitoringIndicator*/ return new Property("additionalMonitoringIndicator", "CodeableConcept", "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons.", 0, 1, additionalMonitoringIndicator); - case 975102638: /*specialMeasures*/ return new Property("specialMeasures", "CodeableConcept", "Whether the Medicinal Product is subject to special measures for regulatory reasons.", 0, java.lang.Integer.MAX_VALUE, specialMeasures); - case -1515533081: /*pediatricUseIndicator*/ return new Property("pediatricUseIndicator", "CodeableConcept", "If authorised for use in children.", 0, 1, pediatricUseIndicator); - case 382350310: /*classification*/ return new Property("classification", "CodeableConcept", "Allows the product to be classified by various systems.", 0, java.lang.Integer.MAX_VALUE, classification); - case 70767032: /*marketingStatus*/ return new Property("marketingStatus", "MarketingStatus", "Marketing status of the medicinal product, in contrast to marketing authorization.", 0, java.lang.Integer.MAX_VALUE, marketingStatus); - case -361025513: /*packagedMedicinalProduct*/ return new Property("packagedMedicinalProduct", "CodeableConcept", "Package representation for the product. See also the PackagedProductDefinition resource.", 0, java.lang.Integer.MAX_VALUE, packagedMedicinalProduct); + case 1935999744: /*additionalMonitoringIndicator*/ return new Property("additionalMonitoringIndicator", "CodeableConcept", "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.", 0, 1, additionalMonitoringIndicator); + case 975102638: /*specialMeasures*/ return new Property("specialMeasures", "CodeableConcept", "Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.", 0, java.lang.Integer.MAX_VALUE, specialMeasures); + case -1515533081: /*pediatricUseIndicator*/ return new Property("pediatricUseIndicator", "CodeableConcept", "If authorised for use in children, or infants, neonates etc.", 0, 1, pediatricUseIndicator); + case 382350310: /*classification*/ return new Property("classification", "CodeableConcept", "Allows the product to be classified by various systems, commonly WHO ATC.", 0, java.lang.Integer.MAX_VALUE, classification); + case 70767032: /*marketingStatus*/ return new Property("marketingStatus", "MarketingStatus", "Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).", 0, java.lang.Integer.MAX_VALUE, marketingStatus); + case -361025513: /*packagedMedicinalProduct*/ return new Property("packagedMedicinalProduct", "CodeableConcept", "Package type for the product. See also the PackagedProductDefinition resource.", 0, java.lang.Integer.MAX_VALUE, packagedMedicinalProduct); + case 1546078211: /*comprisedOf*/ return new Property("comprisedOf", "Reference(ManufacturedItemDefinition)", "A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item).", 0, java.lang.Integer.MAX_VALUE, comprisedOf); case -206409263: /*ingredient*/ return new Property("ingredient", "CodeableConcept", "The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.", 0, java.lang.Integer.MAX_VALUE, ingredient); - case -416837467: /*impurity*/ return new Property("impurity", "CodeableReference(SubstanceDefinition)", "Any component of the drug product which is not the chemical entity defined as the drug substance or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.", 0, java.lang.Integer.MAX_VALUE, impurity); + case -416837467: /*impurity*/ return new Property("impurity", "CodeableReference(SubstanceDefinition)", "Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.", 0, java.lang.Integer.MAX_VALUE, impurity); case -513945889: /*attachedDocument*/ return new Property("attachedDocument", "Reference(DocumentReference)", "Additional information or supporting documentation about the medicinal product.", 0, java.lang.Integer.MAX_VALUE, attachedDocument); case -2039573762: /*masterFile*/ return new Property("masterFile", "Reference(DocumentReference)", "A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products.", 0, java.lang.Integer.MAX_VALUE, masterFile); case 951526432: /*contact*/ return new Property("contact", "", "A product specific contact, person (in a role), or an organization.", 0, java.lang.Integer.MAX_VALUE, contact); case 1232866243: /*clinicalTrial*/ return new Property("clinicalTrial", "Reference(ResearchStudy)", "Clinical trials or studies that this product is involved in.", 0, java.lang.Integer.MAX_VALUE, clinicalTrial); - case 3059181: /*code*/ return new Property("code", "Coding", "A code that this product is known by, usually within some formal terminology. Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.", 0, java.lang.Integer.MAX_VALUE, code); + case 3059181: /*code*/ return new Property("code", "Coding", "A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.", 0, java.lang.Integer.MAX_VALUE, code); case 3373707: /*name*/ return new Property("name", "", "The product's name, including full name and possibly coded parts.", 0, java.lang.Integer.MAX_VALUE, name); - case -986968341: /*crossReference*/ return new Property("crossReference", "", "Reference to another product, e.g. for linking authorised to investigational product.", 0, java.lang.Integer.MAX_VALUE, crossReference); + case -986968341: /*crossReference*/ return new Property("crossReference", "", "Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.", 0, java.lang.Integer.MAX_VALUE, crossReference); case 1662702951: /*operation*/ return new Property("operation", "", "A manufacturing or administrative process or step associated with (or performed on) the medicinal product.", 0, java.lang.Integer.MAX_VALUE, operation); case 366313883: /*characteristic*/ return new Property("characteristic", "", "Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\".", 0, java.lang.Integer.MAX_VALUE, characteristic); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -3551,6 +3668,7 @@ public class MedicinalProductDefinition extends DomainResource { case 382350310: /*classification*/ return this.classification == null ? new Base[0] : this.classification.toArray(new Base[this.classification.size()]); // CodeableConcept case 70767032: /*marketingStatus*/ return this.marketingStatus == null ? new Base[0] : this.marketingStatus.toArray(new Base[this.marketingStatus.size()]); // MarketingStatus case -361025513: /*packagedMedicinalProduct*/ return this.packagedMedicinalProduct == null ? new Base[0] : this.packagedMedicinalProduct.toArray(new Base[this.packagedMedicinalProduct.size()]); // CodeableConcept + case 1546078211: /*comprisedOf*/ return this.comprisedOf == null ? new Base[0] : this.comprisedOf.toArray(new Base[this.comprisedOf.size()]); // Reference case -206409263: /*ingredient*/ return this.ingredient == null ? new Base[0] : this.ingredient.toArray(new Base[this.ingredient.size()]); // CodeableConcept case -416837467: /*impurity*/ return this.impurity == null ? new Base[0] : this.impurity.toArray(new Base[this.impurity.size()]); // CodeableReference case -513945889: /*attachedDocument*/ return this.attachedDocument == null ? new Base[0] : this.attachedDocument.toArray(new Base[this.attachedDocument.size()]); // Reference @@ -3621,6 +3739,9 @@ public class MedicinalProductDefinition extends DomainResource { case -361025513: // packagedMedicinalProduct this.getPackagedMedicinalProduct().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; + case 1546078211: // comprisedOf + this.getComprisedOf().add(TypeConvertor.castToReference(value)); // Reference + return value; case -206409263: // ingredient this.getIngredient().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; @@ -3695,6 +3816,8 @@ public class MedicinalProductDefinition extends DomainResource { this.getMarketingStatus().add(TypeConvertor.castToMarketingStatus(value)); } else if (name.equals("packagedMedicinalProduct")) { this.getPackagedMedicinalProduct().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("comprisedOf")) { + this.getComprisedOf().add(TypeConvertor.castToReference(value)); } else if (name.equals("ingredient")) { this.getIngredient().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("impurity")) { @@ -3742,6 +3865,7 @@ public class MedicinalProductDefinition extends DomainResource { case 382350310: return addClassification(); case 70767032: return addMarketingStatus(); case -361025513: return addPackagedMedicinalProduct(); + case 1546078211: return addComprisedOf(); case -206409263: return addIngredient(); case -416837467: return addImpurity(); case -513945889: return addAttachedDocument(); @@ -3778,6 +3902,7 @@ public class MedicinalProductDefinition extends DomainResource { case 382350310: /*classification*/ return new String[] {"CodeableConcept"}; case 70767032: /*marketingStatus*/ return new String[] {"MarketingStatus"}; case -361025513: /*packagedMedicinalProduct*/ return new String[] {"CodeableConcept"}; + case 1546078211: /*comprisedOf*/ return new String[] {"Reference"}; case -206409263: /*ingredient*/ return new String[] {"CodeableConcept"}; case -416837467: /*impurity*/ return new String[] {"CodeableReference"}; case -513945889: /*attachedDocument*/ return new String[] {"Reference"}; @@ -3854,6 +3979,9 @@ public class MedicinalProductDefinition extends DomainResource { else if (name.equals("packagedMedicinalProduct")) { return addPackagedMedicinalProduct(); } + else if (name.equals("comprisedOf")) { + return addComprisedOf(); + } else if (name.equals("ingredient")) { return addIngredient(); } @@ -3945,6 +4073,11 @@ public class MedicinalProductDefinition extends DomainResource { for (CodeableConcept i : packagedMedicinalProduct) dst.packagedMedicinalProduct.add(i.copy()); }; + if (comprisedOf != null) { + dst.comprisedOf = new ArrayList(); + for (Reference i : comprisedOf) + dst.comprisedOf.add(i.copy()); + }; if (ingredient != null) { dst.ingredient = new ArrayList(); for (CodeableConcept i : ingredient) @@ -4020,7 +4153,8 @@ public class MedicinalProductDefinition extends DomainResource { && compareDeep(additionalMonitoringIndicator, o.additionalMonitoringIndicator, true) && compareDeep(specialMeasures, o.specialMeasures, true) && compareDeep(pediatricUseIndicator, o.pediatricUseIndicator, true) && compareDeep(classification, o.classification, true) && compareDeep(marketingStatus, o.marketingStatus, true) && compareDeep(packagedMedicinalProduct, o.packagedMedicinalProduct, true) - && compareDeep(ingredient, o.ingredient, true) && compareDeep(impurity, o.impurity, true) && compareDeep(attachedDocument, o.attachedDocument, true) + && compareDeep(comprisedOf, o.comprisedOf, true) && compareDeep(ingredient, o.ingredient, true) + && compareDeep(impurity, o.impurity, true) && compareDeep(attachedDocument, o.attachedDocument, true) && compareDeep(masterFile, o.masterFile, true) && compareDeep(contact, o.contact, true) && compareDeep(clinicalTrial, o.clinicalTrial, true) && compareDeep(code, o.code, true) && compareDeep(name, o.name, true) && compareDeep(crossReference, o.crossReference, true) && compareDeep(operation, o.operation, true) && compareDeep(characteristic, o.characteristic, true) @@ -4042,8 +4176,8 @@ public class MedicinalProductDefinition extends DomainResource { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, domain , version, status, statusDate, description, combinedPharmaceuticalDoseForm, route , indication, legalStatusOfSupply, additionalMonitoringIndicator, specialMeasures, pediatricUseIndicator - , classification, marketingStatus, packagedMedicinalProduct, ingredient, impurity - , attachedDocument, masterFile, contact, clinicalTrial, code, name, crossReference + , classification, marketingStatus, packagedMedicinalProduct, comprisedOf, ingredient + , impurity, attachedDocument, masterFile, contact, clinicalTrial, code, name, crossReference , operation, characteristic); } @@ -4052,258 +4186,6 @@ public class MedicinalProductDefinition extends DomainResource { return ResourceType.MedicinalProductDefinition; } - /** - * Search parameter: characteristic-type - *

- * Description: A category for the characteristic
- * Type: token
- * Path: MedicinalProductDefinition.characteristic.type
- *

- */ - @SearchParamDefinition(name="characteristic-type", path="MedicinalProductDefinition.characteristic.type", description="A category for the characteristic", type="token" ) - public static final String SP_CHARACTERISTIC_TYPE = "characteristic-type"; - /** - * Fluent Client search parameter constant for characteristic-type - *

- * Description: A category for the characteristic
- * Type: token
- * Path: MedicinalProductDefinition.characteristic.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CHARACTERISTIC_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CHARACTERISTIC_TYPE); - - /** - * Search parameter: characteristic - *

- * Description: Allows the key product features to be recorded, such as "sugar free", "modified release", "parallel import"
- * Type: token
- * Path: MedicinalProductDefinition.characteristic.value
- *

- */ - @SearchParamDefinition(name="characteristic", path="MedicinalProductDefinition.characteristic.value", description="Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\"", type="token" ) - public static final String SP_CHARACTERISTIC = "characteristic"; - /** - * Fluent Client search parameter constant for characteristic - *

- * Description: Allows the key product features to be recorded, such as "sugar free", "modified release", "parallel import"
- * Type: token
- * Path: MedicinalProductDefinition.characteristic.value
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CHARACTERISTIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CHARACTERISTIC); - - /** - * Search parameter: contact - *

- * Description: A product specific contact, person (in a role), or an organization
- * Type: reference
- * Path: MedicinalProductDefinition.contact.contact
- *

- */ - @SearchParamDefinition(name="contact", path="MedicinalProductDefinition.contact.contact", description="A product specific contact, person (in a role), or an organization", type="reference", target={Organization.class, PractitionerRole.class } ) - public static final String SP_CONTACT = "contact"; - /** - * Fluent Client search parameter constant for contact - *

- * Description: A product specific contact, person (in a role), or an organization
- * Type: reference
- * Path: MedicinalProductDefinition.contact.contact
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTACT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTACT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicinalProductDefinition:contact". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTACT = new ca.uhn.fhir.model.api.Include("MedicinalProductDefinition:contact").toLocked(); - - /** - * Search parameter: domain - *

- * Description: If this medicine applies to human or veterinary uses
- * Type: token
- * Path: MedicinalProductDefinition.domain
- *

- */ - @SearchParamDefinition(name="domain", path="MedicinalProductDefinition.domain", description="If this medicine applies to human or veterinary uses", type="token" ) - public static final String SP_DOMAIN = "domain"; - /** - * Fluent Client search parameter constant for domain - *

- * Description: If this medicine applies to human or veterinary uses
- * Type: token
- * Path: MedicinalProductDefinition.domain
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOMAIN = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOMAIN); - - /** - * Search parameter: identifier - *

- * Description: Business identifier for this product. Could be an MPID
- * Type: token
- * Path: MedicinalProductDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="MedicinalProductDefinition.identifier", description="Business identifier for this product. Could be an MPID", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier for this product. Could be an MPID
- * Type: token
- * Path: MedicinalProductDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: ingredient - *

- * Description: An ingredient of this product
- * Type: token
- * Path: MedicinalProductDefinition.ingredient
- *

- */ - @SearchParamDefinition(name="ingredient", path="MedicinalProductDefinition.ingredient", description="An ingredient of this product", type="token" ) - public static final String SP_INGREDIENT = "ingredient"; - /** - * Fluent Client search parameter constant for ingredient - *

- * Description: An ingredient of this product
- * Type: token
- * Path: MedicinalProductDefinition.ingredient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INGREDIENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INGREDIENT); - - /** - * Search parameter: master-file - *

- * Description: A master file for to the medicinal product (e.g. Pharmacovigilance System Master File)
- * Type: reference
- * Path: MedicinalProductDefinition.masterFile
- *

- */ - @SearchParamDefinition(name="master-file", path="MedicinalProductDefinition.masterFile", description="A master file for to the medicinal product (e.g. Pharmacovigilance System Master File)", type="reference", target={DocumentReference.class } ) - public static final String SP_MASTER_FILE = "master-file"; - /** - * Fluent Client search parameter constant for master-file - *

- * Description: A master file for to the medicinal product (e.g. Pharmacovigilance System Master File)
- * Type: reference
- * Path: MedicinalProductDefinition.masterFile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MASTER_FILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MASTER_FILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MedicinalProductDefinition:master-file". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MASTER_FILE = new ca.uhn.fhir.model.api.Include("MedicinalProductDefinition:master-file").toLocked(); - - /** - * Search parameter: name-language - *

- * Description: Language code for this name
- * Type: token
- * Path: MedicinalProductDefinition.name.countryLanguage.language
- *

- */ - @SearchParamDefinition(name="name-language", path="MedicinalProductDefinition.name.countryLanguage.language", description="Language code for this name", type="token" ) - public static final String SP_NAME_LANGUAGE = "name-language"; - /** - * Fluent Client search parameter constant for name-language - *

- * Description: Language code for this name
- * Type: token
- * Path: MedicinalProductDefinition.name.countryLanguage.language
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam NAME_LANGUAGE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_NAME_LANGUAGE); - - /** - * Search parameter: name - *

- * Description: The full product name
- * Type: string
- * Path: MedicinalProductDefinition.name.productName
- *

- */ - @SearchParamDefinition(name="name", path="MedicinalProductDefinition.name.productName", description="The full product name", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: The full product name
- * Type: string
- * Path: MedicinalProductDefinition.name.productName
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: product-classification - *

- * Description: Allows the product to be classified by various systems
- * Type: token
- * Path: MedicinalProductDefinition.classification
- *

- */ - @SearchParamDefinition(name="product-classification", path="MedicinalProductDefinition.classification", description="Allows the product to be classified by various systems", type="token" ) - public static final String SP_PRODUCT_CLASSIFICATION = "product-classification"; - /** - * Fluent Client search parameter constant for product-classification - *

- * Description: Allows the product to be classified by various systems
- * Type: token
- * Path: MedicinalProductDefinition.classification
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRODUCT_CLASSIFICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRODUCT_CLASSIFICATION); - - /** - * Search parameter: status - *

- * Description: The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status
- * Type: token
- * Path: MedicinalProductDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="MedicinalProductDefinition.status", description="The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status
- * Type: token
- * Path: MedicinalProductDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: type - *

- * Description: Regulatory type, e.g. Investigational or Authorized
- * Type: token
- * Path: MedicinalProductDefinition.type
- *

- */ - @SearchParamDefinition(name="type", path="MedicinalProductDefinition.type", description="Regulatory type, e.g. Investigational or Authorized", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Regulatory type, e.g. Investigational or Authorized
- * Type: token
- * Path: MedicinalProductDefinition.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageDefinition.java index 13b95bacf..2326aa197 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class MessageDefinition extends CanonicalResource { case CONSEQUENCE: return "consequence"; case CURRENCY: return "currency"; case NOTIFICATION: return "notification"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class MessageDefinition extends CanonicalResource { 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 NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class MessageDefinition extends CanonicalResource { case CONSEQUENCE: return "The message represents/requests a change that should not be processed more than once; e.g., making a booking for an appointment."; case CURRENCY: return "The message represents a response to query for current information. Retrospective processing is wrong and/or wasteful."; case NOTIFICATION: return "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."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class MessageDefinition extends CanonicalResource { case CONSEQUENCE: return "Consequence"; case CURRENCY: return "Currency"; case NOTIFICATION: return "Notification"; + case NULL: return null; default: return "?"; } } @@ -204,6 +208,7 @@ public class MessageDefinition extends CanonicalResource { case ONERROR: return "on-error"; case NEVER: return "never"; case ONSUCCESS: return "on-success"; + case NULL: return null; default: return "?"; } } @@ -213,6 +218,7 @@ public class MessageDefinition extends CanonicalResource { case ONERROR: return "http://hl7.org/fhir/messageheader-response-request"; case NEVER: return "http://hl7.org/fhir/messageheader-response-request"; case ONSUCCESS: return "http://hl7.org/fhir/messageheader-response-request"; + case NULL: return null; default: return "?"; } } @@ -222,6 +228,7 @@ public class MessageDefinition extends CanonicalResource { case ONERROR: return "initiator expects a response only if in error."; case NEVER: return "initiator does not expect a response."; case ONSUCCESS: return "initiator expects a response only if successful."; + case NULL: return null; default: return "?"; } } @@ -231,6 +238,7 @@ public class MessageDefinition extends CanonicalResource { case ONERROR: return "Error/reject conditions only"; case NEVER: return "Never"; case ONSUCCESS: return "Successful completion only"; + case NULL: return null; default: return "?"; } } @@ -1101,11 +1109,11 @@ public class MessageDefinition extends CanonicalResource { /** * Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources. */ - @Child(name = "graph", type = {CanonicalType.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "graph", type = {CanonicalType.class}, order=23, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Canonical reference to a GraphDefinition", formalDefinition="Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources." ) - protected List graph; + protected CanonicalType graph; - private static final long serialVersionUID = -1567425385L; + private static final long serialVersionUID = -1381412553L; /** * Constructor @@ -2290,64 +2298,52 @@ public class MessageDefinition extends CanonicalResource { } /** - * @return {@link #graph} (Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.) + * @return {@link #graph} (Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.). This is the underlying object with id, value and extensions. The accessor "getGraph" gives direct access to the value */ - public List getGraph() { + public CanonicalType getGraphElement() { if (this.graph == null) - this.graph = new ArrayList(); + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MessageDefinition.graph"); + else if (Configuration.doAutoCreate()) + this.graph = new CanonicalType(); // bb return this.graph; } - /** - * @return Returns a reference to this for easy method chaining - */ - public MessageDefinition setGraph(List theGraph) { - this.graph = theGraph; - return this; + public boolean hasGraphElement() { + return this.graph != null && !this.graph.isEmpty(); } public boolean hasGraph() { - if (this.graph == null) - return false; - for (CanonicalType item : this.graph) - if (!item.isEmpty()) - return true; - return false; + return this.graph != null && !this.graph.isEmpty(); } /** - * @return {@link #graph} (Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.) + * @param value {@link #graph} (Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.). This is the underlying object with id, value and extensions. The accessor "getGraph" gives direct access to the value */ - public CanonicalType addGraphElement() {//2 - CanonicalType t = new CanonicalType(); - if (this.graph == null) - this.graph = new ArrayList(); - this.graph.add(t); - return t; - } - - /** - * @param value {@link #graph} (Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.) - */ - public MessageDefinition addGraph(String value) { //1 - CanonicalType t = new CanonicalType(); - t.setValue(value); - if (this.graph == null) - this.graph = new ArrayList(); - this.graph.add(t); + public MessageDefinition setGraphElement(CanonicalType value) { + this.graph = value; return this; } /** - * @param value {@link #graph} (Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.) + * @return Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources. */ - public boolean hasGraph(String value) { - if (this.graph == null) - return false; - for (CanonicalType v : this.graph) - if (v.getValue().equals(value)) // canonical - return true; - return false; + public String getGraph() { + return this.graph == null ? null : this.graph.getValue(); + } + + /** + * @param value Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources. + */ + public MessageDefinition setGraph(String value) { + if (Utilities.noString(value)) + this.graph = null; + else { + if (this.graph == null) + this.graph = new CanonicalType(); + this.graph.setValue(value); + } + return this; } protected void listChildren(List children) { @@ -2375,7 +2371,7 @@ public class MessageDefinition extends CanonicalResource { children.add(new Property("focus", "", "Identifies the resource (or resources) that are being addressed by the event. For example, the Encounter for an admit message or two Account records for a merge.", 0, java.lang.Integer.MAX_VALUE, focus)); children.add(new Property("responseRequired", "code", "Declare at a message definition level whether a response is required or only upon error or success, or never.", 0, 1, responseRequired)); children.add(new Property("allowedResponse", "", "Indicates what types of messages may be sent as an application-level response to this message.", 0, java.lang.Integer.MAX_VALUE, allowedResponse)); - children.add(new Property("graph", "canonical(GraphDefinition)", "Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.", 0, java.lang.Integer.MAX_VALUE, graph)); + children.add(new Property("graph", "canonical(GraphDefinition)", "Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.", 0, 1, graph)); } @Override @@ -2407,7 +2403,7 @@ public class MessageDefinition extends CanonicalResource { case 97604824: /*focus*/ return new Property("focus", "", "Identifies the resource (or resources) that are being addressed by the event. For example, the Encounter for an admit message or two Account records for a merge.", 0, java.lang.Integer.MAX_VALUE, focus); case 791597824: /*responseRequired*/ return new Property("responseRequired", "code", "Declare at a message definition level whether a response is required or only upon error or success, or never.", 0, 1, responseRequired); case -1130933751: /*allowedResponse*/ return new Property("allowedResponse", "", "Indicates what types of messages may be sent as an application-level response to this message.", 0, java.lang.Integer.MAX_VALUE, allowedResponse); - case 98615630: /*graph*/ return new Property("graph", "canonical(GraphDefinition)", "Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.", 0, java.lang.Integer.MAX_VALUE, graph); + case 98615630: /*graph*/ return new Property("graph", "canonical(GraphDefinition)", "Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.", 0, 1, graph); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2439,7 +2435,7 @@ public class MessageDefinition extends CanonicalResource { case 97604824: /*focus*/ return this.focus == null ? new Base[0] : this.focus.toArray(new Base[this.focus.size()]); // MessageDefinitionFocusComponent case 791597824: /*responseRequired*/ return this.responseRequired == null ? new Base[0] : new Base[] {this.responseRequired}; // Enumeration case -1130933751: /*allowedResponse*/ return this.allowedResponse == null ? new Base[0] : this.allowedResponse.toArray(new Base[this.allowedResponse.size()]); // MessageDefinitionAllowedResponseComponent - case 98615630: /*graph*/ return this.graph == null ? new Base[0] : this.graph.toArray(new Base[this.graph.size()]); // CanonicalType + case 98615630: /*graph*/ return this.graph == null ? new Base[0] : new Base[] {this.graph}; // CanonicalType default: return super.getProperty(hash, name, checkValid); } @@ -2521,7 +2517,7 @@ public class MessageDefinition extends CanonicalResource { this.getAllowedResponse().add((MessageDefinitionAllowedResponseComponent) value); // MessageDefinitionAllowedResponseComponent return value; case 98615630: // graph - this.getGraph().add(TypeConvertor.castToCanonical(value)); // CanonicalType + this.graph = TypeConvertor.castToCanonical(value); // CanonicalType return value; default: return super.setProperty(hash, name, value); } @@ -2580,7 +2576,7 @@ public class MessageDefinition extends CanonicalResource { } else if (name.equals("allowedResponse")) { this.getAllowedResponse().add((MessageDefinitionAllowedResponseComponent) value); } else if (name.equals("graph")) { - this.getGraph().add(TypeConvertor.castToCanonical(value)); + this.graph = TypeConvertor.castToCanonical(value); // CanonicalType } else return super.setProperty(name, value); return value; @@ -2613,7 +2609,7 @@ public class MessageDefinition extends CanonicalResource { case 97604824: return addFocus(); case 791597824: return getResponseRequiredElement(); case -1130933751: return addAllowedResponse(); - case 98615630: return addGraphElement(); + case 98615630: return getGraphElement(); default: return super.makeProperty(hash, name); } @@ -2802,11 +2798,7 @@ public class MessageDefinition extends CanonicalResource { for (MessageDefinitionAllowedResponseComponent i : allowedResponse) dst.allowedResponse.add(i.copy()); }; - if (graph != null) { - dst.graph = new ArrayList(); - for (CanonicalType i : graph) - dst.graph.add(i.copy()); - }; + dst.graph = graph == null ? null : graph.copy(); } protected MessageDefinition typedCopy() { @@ -2859,848 +2851,6 @@ public class MessageDefinition extends CanonicalResource { return ResourceType.MessageDefinition; } - /** - * Search parameter: category - *

- * Description: The behavior associated with the message
- * Type: token
- * Path: MessageDefinition.category
- *

- */ - @SearchParamDefinition(name="category", path="MessageDefinition.category", description="The behavior associated with the message", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: The behavior associated with the message
- * Type: token
- * Path: MessageDefinition.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: event - *

- * Description: The event that triggers the message or link to the event definition.
- * Type: token
- * Path: MessageDefinition.event
- *

- */ - @SearchParamDefinition(name="event", path="MessageDefinition.event", description="The event that triggers the message or link to the event definition.", type="token" ) - public static final String SP_EVENT = "event"; - /** - * Fluent Client search parameter constant for event - *

- * Description: The event that triggers the message or link to the event definition.
- * Type: token
- * Path: MessageDefinition.event
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EVENT); - - /** - * Search parameter: focus - *

- * Description: A resource that is a permitted focus of the message
- * Type: token
- * Path: MessageDefinition.focus.code
- *

- */ - @SearchParamDefinition(name="focus", path="MessageDefinition.focus.code", description="A resource that is a permitted focus of the message", type="token" ) - public static final String SP_FOCUS = "focus"; - /** - * Fluent Client search parameter constant for focus - *

- * Description: A resource that is a permitted focus of the message
- * Type: token
- * Path: MessageDefinition.focus.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FOCUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FOCUS); - - /** - * Search parameter: parent - *

- * Description: A resource that is the parent of the definition
- * Type: reference
- * Path: MessageDefinition.parent
- *

- */ - @SearchParamDefinition(name="parent", path="MessageDefinition.parent", description="A resource that is the parent of the definition", type="reference", target={ActivityDefinition.class, PlanDefinition.class } ) - public static final String SP_PARENT = "parent"; - /** - * Fluent Client search parameter constant for parent - *

- * Description: A resource that is the parent of the definition
- * Type: reference
- * Path: MessageDefinition.parent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageDefinition:parent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT = new ca.uhn.fhir.model.api.Include("MessageDefinition:parent").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageHeader.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageHeader.java index 9c768b168..94fe2ea8e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageHeader.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MessageHeader.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class MessageHeader extends DomainResource { case OK: return "ok"; case TRANSIENTERROR: return "transient-error"; case FATALERROR: return "fatal-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class MessageHeader extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class MessageHeader extends DomainResource { case OK: return "The message was accepted and processed without error."; case TRANSIENTERROR: return "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."; case FATALERROR: return "The message was rejected because of a problem with the content. There is no point in re-sending without change. The response narrative SHALL describe the issue."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class MessageHeader extends DomainResource { case OK: return "OK"; case TRANSIENTERROR: return "Transient Error"; case FATALERROR: return "Fatal Error"; + case NULL: return null; default: return "?"; } } @@ -180,7 +184,7 @@ public class MessageHeader extends DomainResource { /** * Indicates where the message should be routed to. */ - @Child(name = "endpoint", type = {UrlType.class}, order=3, min=1, max=1, modifier=false, summary=true) + @Child(name = "endpoint", type = {UrlType.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Actual destination address or id", formalDefinition="Indicates where the message should be routed to." ) protected UrlType endpoint; @@ -200,14 +204,6 @@ public class MessageHeader extends DomainResource { super(); } - /** - * Constructor - */ - public MessageDestinationComponent(String endpoint) { - super(); - this.setEndpoint(endpoint); - } - /** * @return {@link #name} (Human-readable name for the target system.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ @@ -320,9 +316,13 @@ public class MessageHeader extends DomainResource { * @param value Indicates where the message should be routed to. */ public MessageDestinationComponent setEndpoint(String value) { + if (Utilities.noString(value)) + this.endpoint = null; + else { if (this.endpoint == null) this.endpoint = new UrlType(); this.endpoint.setValue(value); + } return this; } @@ -541,7 +541,7 @@ public class MessageHeader extends DomainResource { /** * Identifies the routing target to send acknowledgements to. */ - @Child(name = "endpoint", type = {UrlType.class}, order=5, min=1, max=1, modifier=false, summary=true) + @Child(name = "endpoint", type = {UrlType.class}, order=5, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Actual message source address or id", formalDefinition="Identifies the routing target to send acknowledgements to." ) protected UrlType endpoint; @@ -554,14 +554,6 @@ public class MessageHeader extends DomainResource { super(); } - /** - * Constructor - */ - public MessageSourceComponent(String endpoint) { - super(); - this.setEndpoint(endpoint); - } - /** * @return {@link #name} (Human-readable name for the source system.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ @@ -772,9 +764,13 @@ public class MessageHeader extends DomainResource { * @param value Identifies the routing target to send acknowledgements to. */ public MessageSourceComponent setEndpoint(String value) { + if (Utilities.noString(value)) + this.endpoint = null; + else { if (this.endpoint == null) this.endpoint = new UrlType(); this.endpoint.setValue(value); + } return this; } @@ -955,9 +951,9 @@ public class MessageHeader extends DomainResource { /** * The MessageHeader.id of the message to which this message is a response. */ - @Child(name = "identifier", type = {IdType.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Child(name = "identifier", type = {Identifier.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Id of original message", formalDefinition="The MessageHeader.id of the message to which this message is a response." ) - protected IdType identifier; + protected Identifier identifier; /** * Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not. @@ -974,7 +970,7 @@ public class MessageHeader extends DomainResource { @Description(shortDefinition="Specific list of hints/warnings/errors", formalDefinition="Full details of any issues found in the message." ) protected Reference details; - private static final long serialVersionUID = 399636654L; + private static final long serialVersionUID = 1091046778L; /** * Constructor @@ -986,57 +982,36 @@ public class MessageHeader extends DomainResource { /** * Constructor */ - public MessageHeaderResponseComponent(String identifier, ResponseType code) { + public MessageHeaderResponseComponent(Identifier identifier, ResponseType code) { super(); this.setIdentifier(identifier); this.setCode(code); } /** - * @return {@link #identifier} (The MessageHeader.id of the message to which this message is a response.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value + * @return {@link #identifier} (The MessageHeader.id of the message to which this message is a response.) */ - public IdType getIdentifierElement() { + public Identifier getIdentifier() { if (this.identifier == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create MessageHeaderResponseComponent.identifier"); else if (Configuration.doAutoCreate()) - this.identifier = new IdType(); // bb + this.identifier = new Identifier(); // cc return this.identifier; } - public boolean hasIdentifierElement() { - return this.identifier != null && !this.identifier.isEmpty(); - } - public boolean hasIdentifier() { return this.identifier != null && !this.identifier.isEmpty(); } /** - * @param value {@link #identifier} (The MessageHeader.id of the message to which this message is a response.). This is the underlying object with id, value and extensions. The accessor "getIdentifier" gives direct access to the value + * @param value {@link #identifier} (The MessageHeader.id of the message to which this message is a response.) */ - public MessageHeaderResponseComponent setIdentifierElement(IdType value) { + public MessageHeaderResponseComponent setIdentifier(Identifier value) { this.identifier = value; return this; } - /** - * @return The MessageHeader.id of the message to which this message is a response. - */ - public String getIdentifier() { - return this.identifier == null ? null : this.identifier.getValue(); - } - - /** - * @param value The MessageHeader.id of the message to which this message is a response. - */ - public MessageHeaderResponseComponent setIdentifier(String value) { - if (this.identifier == null) - this.identifier = new IdType(); - this.identifier.setValue(value); - return this; - } - /** * @return {@link #code} (Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value */ @@ -1108,7 +1083,7 @@ public class MessageHeader extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "id", "The MessageHeader.id of the message to which this message is a response.", 0, 1, identifier)); + children.add(new Property("identifier", "Identifier", "The MessageHeader.id of the message to which this message is a response.", 0, 1, identifier)); children.add(new Property("code", "code", "Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not.", 0, 1, code)); children.add(new Property("details", "Reference(OperationOutcome)", "Full details of any issues found in the message.", 0, 1, details)); } @@ -1116,7 +1091,7 @@ public class MessageHeader extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "id", "The MessageHeader.id of the message to which this message is a response.", 0, 1, identifier); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "The MessageHeader.id of the message to which this message is a response.", 0, 1, identifier); case 3059181: /*code*/ return new Property("code", "code", "Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not.", 0, 1, code); case 1557721666: /*details*/ return new Property("details", "Reference(OperationOutcome)", "Full details of any issues found in the message.", 0, 1, details); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1127,7 +1102,7 @@ public class MessageHeader extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : new Base[] {this.identifier}; // IdType + case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : new Base[] {this.identifier}; // Identifier case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // Enumeration case 1557721666: /*details*/ return this.details == null ? new Base[0] : new Base[] {this.details}; // Reference default: return super.getProperty(hash, name, checkValid); @@ -1139,7 +1114,7 @@ public class MessageHeader extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case -1618432855: // identifier - this.identifier = TypeConvertor.castToId(value); // IdType + this.identifier = TypeConvertor.castToIdentifier(value); // Identifier return value; case 3059181: // code value = new ResponseTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); @@ -1156,7 +1131,7 @@ public class MessageHeader extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("identifier")) { - this.identifier = TypeConvertor.castToId(value); // IdType + this.identifier = TypeConvertor.castToIdentifier(value); // Identifier } else if (name.equals("code")) { value = new ResponseTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); this.code = (Enumeration) value; // Enumeration @@ -1170,7 +1145,7 @@ public class MessageHeader extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case -1618432855: return getIdentifierElement(); + case -1618432855: return getIdentifier(); case 3059181: return getCodeElement(); case 1557721666: return getDetails(); default: return super.makeProperty(hash, name); @@ -1181,7 +1156,7 @@ public class MessageHeader extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case -1618432855: /*identifier*/ return new String[] {"id"}; + case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case 3059181: /*code*/ return new String[] {"code"}; case 1557721666: /*details*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); @@ -1192,7 +1167,8 @@ public class MessageHeader extends DomainResource { @Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { - throw new FHIRException("Cannot call addChild on a primitive type MessageHeader.response.identifier"); + this.identifier = new Identifier(); + return this.identifier; } else if (name.equals("code")) { throw new FHIRException("Cannot call addChild on a primitive type MessageHeader.response.code"); @@ -1236,7 +1212,7 @@ public class MessageHeader extends DomainResource { if (!(other_ instanceof MessageHeaderResponseComponent)) return false; MessageHeaderResponseComponent o = (MessageHeaderResponseComponent) other_; - return compareValues(identifier, o.identifier, true) && compareValues(code, o.code, true); + return compareValues(code, o.code, true); } public boolean isEmpty() { @@ -1281,10 +1257,10 @@ public class MessageHeader extends DomainResource { protected Reference enterer; /** - * The logical author of the message - the person or device that decided the described event should happen. When 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 personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions. */ @Child(name = "author", type = {Practitioner.class, PractitionerRole.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The source of the decision", formalDefinition="The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions." ) + @Description(shortDefinition="The source of the decision", formalDefinition="The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions." ) protected Reference author; /** @@ -1501,7 +1477,7 @@ public class MessageHeader extends DomainResource { } /** - * @return {@link #author} (The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.) + * @return {@link #author} (The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.) */ public Reference getAuthor() { if (this.author == null) @@ -1517,7 +1493,7 @@ public class MessageHeader extends DomainResource { } /** - * @param value {@link #author} (The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.) + * @param value {@link #author} (The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.) */ public MessageHeader setAuthor(Reference value) { this.author = value; @@ -1728,7 +1704,7 @@ public class MessageHeader extends DomainResource { children.add(new Property("destination", "", "The destination application which the message is intended for.", 0, java.lang.Integer.MAX_VALUE, destination)); children.add(new Property("sender", "Reference(Practitioner|PractitionerRole|Organization)", "Identifies the sending system to allow the use of a trust relationship.", 0, 1, sender)); children.add(new Property("enterer", "Reference(Practitioner|PractitionerRole)", "The person or device that performed the data entry leading to this message. When there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.", 0, 1, enterer)); - children.add(new Property("author", "Reference(Practitioner|PractitionerRole)", "The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.", 0, 1, author)); + children.add(new Property("author", "Reference(Practitioner|PractitionerRole)", "The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.", 0, 1, author)); children.add(new Property("source", "", "The source application from which this message originated.", 0, 1, source)); children.add(new Property("responsible", "Reference(Practitioner|PractitionerRole|Organization)", "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.", 0, 1, responsible)); children.add(new Property("reason", "CodeableConcept", "Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.", 0, 1, reason)); @@ -1747,7 +1723,7 @@ public class MessageHeader extends DomainResource { case -1429847026: /*destination*/ return new Property("destination", "", "The destination application which the message is intended for.", 0, java.lang.Integer.MAX_VALUE, destination); case -905962955: /*sender*/ return new Property("sender", "Reference(Practitioner|PractitionerRole|Organization)", "Identifies the sending system to allow the use of a trust relationship.", 0, 1, sender); case -1591951995: /*enterer*/ return new Property("enterer", "Reference(Practitioner|PractitionerRole)", "The person or device that performed the data entry leading to this message. When there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.", 0, 1, enterer); - case -1406328437: /*author*/ return new Property("author", "Reference(Practitioner|PractitionerRole)", "The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.", 0, 1, author); + case -1406328437: /*author*/ return new Property("author", "Reference(Practitioner|PractitionerRole)", "The logical author of the message - the personor device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.", 0, 1, author); case -896505829: /*source*/ return new Property("source", "", "The source application from which this message originated.", 0, 1, source); case 1847674614: /*responsible*/ return new Property("responsible", "Reference(Practitioner|PractitionerRole|Organization)", "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.", 0, 1, responsible); case -934964668: /*reason*/ return new Property("reason", "CodeableConcept", "Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.", 0, 1, reason); @@ -2010,328 +1986,6 @@ public class MessageHeader extends DomainResource { return ResourceType.MessageHeader; } - /** - * Search parameter: author - *

- * Description: The source of the decision
- * Type: reference
- * Path: MessageHeader.author
- *

- */ - @SearchParamDefinition(name="author", path="MessageHeader.author", description="The source of the decision", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: The source of the decision
- * Type: reference
- * Path: MessageHeader.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("MessageHeader:author").toLocked(); - - /** - * Search parameter: code - *

- * Description: ok | transient-error | fatal-error
- * Type: token
- * Path: MessageHeader.response.code
- *

- */ - @SearchParamDefinition(name="code", path="MessageHeader.response.code", description="ok | transient-error | fatal-error", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: ok | transient-error | fatal-error
- * Type: token
- * Path: MessageHeader.response.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: destination-uri - *

- * Description: Actual destination address or id
- * Type: uri
- * Path: MessageHeader.destination.endpoint
- *

- */ - @SearchParamDefinition(name="destination-uri", path="MessageHeader.destination.endpoint", description="Actual destination address or id", type="uri" ) - public static final String SP_DESTINATION_URI = "destination-uri"; - /** - * Fluent Client search parameter constant for destination-uri - *

- * Description: Actual destination address or id
- * Type: uri
- * Path: MessageHeader.destination.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam DESTINATION_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_DESTINATION_URI); - - /** - * Search parameter: destination - *

- * Description: Name of system
- * Type: string
- * Path: MessageHeader.destination.name
- *

- */ - @SearchParamDefinition(name="destination", path="MessageHeader.destination.name", description="Name of system", type="string" ) - public static final String SP_DESTINATION = "destination"; - /** - * Fluent Client search parameter constant for destination - *

- * Description: Name of system
- * Type: string
- * Path: MessageHeader.destination.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESTINATION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESTINATION); - - /** - * Search parameter: enterer - *

- * Description: The source of the data entry
- * Type: reference
- * Path: MessageHeader.enterer
- *

- */ - @SearchParamDefinition(name="enterer", path="MessageHeader.enterer", description="The source of the data entry", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_ENTERER = "enterer"; - /** - * Fluent Client search parameter constant for enterer - *

- * Description: The source of the data entry
- * Type: reference
- * Path: MessageHeader.enterer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTERER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTERER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:enterer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTERER = new ca.uhn.fhir.model.api.Include("MessageHeader:enterer").toLocked(); - - /** - * Search parameter: event - *

- * Description: Code for the event this message represents or link to event definition
- * Type: token
- * Path: MessageHeader.event
- *

- */ - @SearchParamDefinition(name="event", path="MessageHeader.event", description="Code for the event this message represents or link to event definition", type="token" ) - public static final String SP_EVENT = "event"; - /** - * Fluent Client search parameter constant for event - *

- * Description: Code for the event this message represents or link to event definition
- * Type: token
- * Path: MessageHeader.event
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EVENT); - - /** - * Search parameter: focus - *

- * Description: The actual content of the message
- * Type: reference
- * Path: MessageHeader.focus
- *

- */ - @SearchParamDefinition(name="focus", path="MessageHeader.focus", description="The actual content of the message", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_FOCUS = "focus"; - /** - * Fluent Client search parameter constant for focus - *

- * Description: The actual content of the message
- * Type: reference
- * Path: MessageHeader.focus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FOCUS); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:focus". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS = new ca.uhn.fhir.model.api.Include("MessageHeader:focus").toLocked(); - - /** - * Search parameter: receiver - *

- * Description: Intended "real-world" recipient for the data
- * Type: reference
- * Path: MessageHeader.destination.receiver
- *

- */ - @SearchParamDefinition(name="receiver", path="MessageHeader.destination.receiver", description="Intended \"real-world\" recipient for the data", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_RECEIVER = "receiver"; - /** - * Fluent Client search parameter constant for receiver - *

- * Description: Intended "real-world" recipient for the data
- * Type: reference
- * Path: MessageHeader.destination.receiver
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECEIVER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECEIVER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:receiver". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECEIVER = new ca.uhn.fhir.model.api.Include("MessageHeader:receiver").toLocked(); - - /** - * Search parameter: response-id - *

- * Description: Id of original message
- * Type: token
- * Path: MessageHeader.response.identifier
- *

- */ - @SearchParamDefinition(name="response-id", path="MessageHeader.response.identifier", description="Id of original message", type="token" ) - public static final String SP_RESPONSE_ID = "response-id"; - /** - * Fluent Client search parameter constant for response-id - *

- * Description: Id of original message
- * Type: token
- * Path: MessageHeader.response.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESPONSE_ID = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RESPONSE_ID); - - /** - * Search parameter: responsible - *

- * Description: Final responsibility for event
- * Type: reference
- * Path: MessageHeader.responsible
- *

- */ - @SearchParamDefinition(name="responsible", path="MessageHeader.responsible", description="Final responsibility for event", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_RESPONSIBLE = "responsible"; - /** - * Fluent Client search parameter constant for responsible - *

- * Description: Final responsibility for event
- * Type: reference
- * Path: MessageHeader.responsible
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESPONSIBLE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESPONSIBLE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:responsible". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESPONSIBLE = new ca.uhn.fhir.model.api.Include("MessageHeader:responsible").toLocked(); - - /** - * Search parameter: sender - *

- * Description: Real world sender of the message
- * Type: reference
- * Path: MessageHeader.sender
- *

- */ - @SearchParamDefinition(name="sender", path="MessageHeader.sender", description="Real world sender of the message", type="reference", target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_SENDER = "sender"; - /** - * Fluent Client search parameter constant for sender - *

- * Description: Real world sender of the message
- * Type: reference
- * Path: MessageHeader.sender
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SENDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SENDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:sender". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SENDER = new ca.uhn.fhir.model.api.Include("MessageHeader:sender").toLocked(); - - /** - * Search parameter: source-uri - *

- * Description: Actual message source address or id
- * Type: uri
- * Path: MessageHeader.source.endpoint
- *

- */ - @SearchParamDefinition(name="source-uri", path="MessageHeader.source.endpoint", description="Actual message source address or id", type="uri" ) - public static final String SP_SOURCE_URI = "source-uri"; - /** - * Fluent Client search parameter constant for source-uri - *

- * Description: Actual message source address or id
- * Type: uri
- * Path: MessageHeader.source.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam SOURCE_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_SOURCE_URI); - - /** - * Search parameter: source - *

- * Description: Name of system
- * Type: string
- * Path: MessageHeader.source.name
- *

- */ - @SearchParamDefinition(name="source", path="MessageHeader.source.name", description="Name of system", type="string" ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: Name of system
- * Type: string
- * Path: MessageHeader.source.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam SOURCE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_SOURCE); - - /** - * Search parameter: target - *

- * Description: Particular delivery destination within the destination
- * Type: reference
- * Path: MessageHeader.destination.target
- *

- */ - @SearchParamDefinition(name="target", path="MessageHeader.destination.target", description="Particular delivery destination within the destination", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class } ) - public static final String SP_TARGET = "target"; - /** - * Fluent Client search parameter constant for target - *

- * Description: Particular delivery destination within the destination
- * Type: reference
- * Path: MessageHeader.destination.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MessageHeader:target". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET = new ca.uhn.fhir.model.api.Include("MessageHeader:target").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Meta.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Meta.java index c2ba0abd1..e9e2d36c2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Meta.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Meta.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MetadataResource.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MetadataResource.java index 486259a6b..2115f3197 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MetadataResource.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MetadataResource.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -135,7 +135,7 @@ public abstract class MetadataResource extends CanonicalResource { return Integer.MAX_VALUE; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the metadata resource. Topics provide a high-level categorization of the metadata resource that can be useful for filtering and searching.) */ public abstract List getTopic(); /** diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MolecularSequence.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MolecularSequence.java index ac5343a18..83ff4a05b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MolecularSequence.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/MolecularSequence.java @@ -29,12 +29,11 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; import java.util.List; -import java.math.*; import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.r5.model.Enumerations.*; import org.hl7.fhir.instance.model.api.IBaseBackboneElement; @@ -49,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * Raw data describing a biological sequence. + * Representation of a molecular sequence. */ @ResourceDef(name="MolecularSequence", profile="http://hl7.org/fhir/StructureDefinition/MolecularSequence") public class MolecularSequence extends DomainResource { @@ -83,6 +82,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case SENSE: return "sense"; case ANTISENSE: return "antisense"; + case NULL: return null; default: return "?"; } } @@ -90,6 +90,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case SENSE: return "http://hl7.org/fhir/orientation-type"; case ANTISENSE: return "http://hl7.org/fhir/orientation-type"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case SENSE: return "Sense orientation of reference sequence."; case ANTISENSE: return "Antisense orientation of reference sequence."; + case NULL: return null; default: return "?"; } } @@ -104,6 +106,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case SENSE: return "Sense orientation of referenceSeq"; case ANTISENSE: return "Antisense orientation of referenceSeq"; + case NULL: return null; default: return "?"; } } @@ -146,254 +149,6 @@ public class MolecularSequence extends DomainResource { } } - public enum QualityType { - /** - * INDEL Comparison. - */ - INDEL, - /** - * SNP Comparison. - */ - SNP, - /** - * UNKNOWN Comparison. - */ - UNKNOWN, - /** - * added to help the parsers with the generic types - */ - NULL; - public static QualityType fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("indel".equals(codeString)) - return INDEL; - if ("snp".equals(codeString)) - return SNP; - if ("unknown".equals(codeString)) - return UNKNOWN; - if (Configuration.isAcceptInvalidEnums()) - return null; - else - throw new FHIRException("Unknown QualityType code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case INDEL: return "indel"; - case SNP: return "snp"; - case UNKNOWN: return "unknown"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case INDEL: return "http://hl7.org/fhir/quality-type"; - case SNP: return "http://hl7.org/fhir/quality-type"; - case UNKNOWN: return "http://hl7.org/fhir/quality-type"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case INDEL: return "INDEL Comparison."; - case SNP: return "SNP Comparison."; - case UNKNOWN: return "UNKNOWN Comparison."; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case INDEL: return "INDEL Comparison"; - case SNP: return "SNP Comparison"; - case UNKNOWN: return "UNKNOWN Comparison"; - default: return "?"; - } - } - } - - public static class QualityTypeEnumFactory implements EnumFactory { - public QualityType fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("indel".equals(codeString)) - return QualityType.INDEL; - if ("snp".equals(codeString)) - return QualityType.SNP; - if ("unknown".equals(codeString)) - return QualityType.UNKNOWN; - throw new IllegalArgumentException("Unknown QualityType code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("indel".equals(codeString)) - return new Enumeration(this, QualityType.INDEL); - if ("snp".equals(codeString)) - return new Enumeration(this, QualityType.SNP); - if ("unknown".equals(codeString)) - return new Enumeration(this, QualityType.UNKNOWN); - throw new FHIRException("Unknown QualityType code '"+codeString+"'"); - } - public String toCode(QualityType code) { - if (code == QualityType.INDEL) - return "indel"; - if (code == QualityType.SNP) - return "snp"; - if (code == QualityType.UNKNOWN) - return "unknown"; - return "?"; - } - public String toSystem(QualityType code) { - return code.getSystem(); - } - } - - public enum RepositoryType { - /** - * When URL is clicked, the resource can be seen directly (by webpage or by download link format). - */ - DIRECTLINK, - /** - * When the API method (e.g. [base_url]/[parameter]) related with the URL of the website is executed, the resource can be seen directly (usually in JSON or XML format). - */ - OPENAPI, - /** - * When logged into the website, the resource can be seen. - */ - LOGIN, - /** - * When logged in and follow the API in the website related with URL, the resource can be seen. - */ - OAUTH, - /** - * Some other complicated or particular way to get resource from URL. - */ - OTHER, - /** - * added to help the parsers with the generic types - */ - NULL; - public static RepositoryType fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("directlink".equals(codeString)) - return DIRECTLINK; - if ("openapi".equals(codeString)) - return OPENAPI; - if ("login".equals(codeString)) - return LOGIN; - if ("oauth".equals(codeString)) - return OAUTH; - if ("other".equals(codeString)) - return OTHER; - if (Configuration.isAcceptInvalidEnums()) - return null; - else - throw new FHIRException("Unknown RepositoryType code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case DIRECTLINK: return "directlink"; - case OPENAPI: return "openapi"; - case LOGIN: return "login"; - case OAUTH: return "oauth"; - case OTHER: return "other"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case DIRECTLINK: return "http://hl7.org/fhir/repository-type"; - case OPENAPI: return "http://hl7.org/fhir/repository-type"; - case LOGIN: return "http://hl7.org/fhir/repository-type"; - case OAUTH: return "http://hl7.org/fhir/repository-type"; - case OTHER: return "http://hl7.org/fhir/repository-type"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case DIRECTLINK: return "When URL is clicked, the resource can be seen directly (by webpage or by download link format)."; - case OPENAPI: return "When the API method (e.g. [base_url]/[parameter]) related with the URL of the website is executed, the resource can be seen directly (usually in JSON or XML format)."; - case LOGIN: return "When logged into the website, the resource can be seen."; - case OAUTH: return "When logged in and follow the API in the website related with URL, the resource can be seen."; - case OTHER: return "Some other complicated or particular way to get resource from URL."; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case DIRECTLINK: return "Click and see"; - case OPENAPI: return "The URL is the RESTful or other kind of API that can access to the result."; - case LOGIN: return "Result cannot be access unless an account is logged in"; - case OAUTH: return "Result need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)"; - case OTHER: return "Some other complicated or particular way to get resource from URL."; - default: return "?"; - } - } - } - - public static class RepositoryTypeEnumFactory implements EnumFactory { - public RepositoryType fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("directlink".equals(codeString)) - return RepositoryType.DIRECTLINK; - if ("openapi".equals(codeString)) - return RepositoryType.OPENAPI; - if ("login".equals(codeString)) - return RepositoryType.LOGIN; - if ("oauth".equals(codeString)) - return RepositoryType.OAUTH; - if ("other".equals(codeString)) - return RepositoryType.OTHER; - throw new IllegalArgumentException("Unknown RepositoryType code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("directlink".equals(codeString)) - return new Enumeration(this, RepositoryType.DIRECTLINK); - if ("openapi".equals(codeString)) - return new Enumeration(this, RepositoryType.OPENAPI); - if ("login".equals(codeString)) - return new Enumeration(this, RepositoryType.LOGIN); - if ("oauth".equals(codeString)) - return new Enumeration(this, RepositoryType.OAUTH); - if ("other".equals(codeString)) - return new Enumeration(this, RepositoryType.OTHER); - throw new FHIRException("Unknown RepositoryType code '"+codeString+"'"); - } - public String toCode(RepositoryType code) { - if (code == RepositoryType.DIRECTLINK) - return "directlink"; - if (code == RepositoryType.OPENAPI) - return "openapi"; - if (code == RepositoryType.LOGIN) - return "login"; - if (code == RepositoryType.OAUTH) - return "oauth"; - if (code == RepositoryType.OTHER) - return "other"; - return "?"; - } - public String toSystem(RepositoryType code) { - return code.getSystem(); - } - } - public enum SequenceType { /** * Amino acid sequence. @@ -430,6 +185,7 @@ public class MolecularSequence extends DomainResource { case AA: return "aa"; case DNA: return "dna"; case RNA: return "rna"; + case NULL: return null; default: return "?"; } } @@ -438,6 +194,7 @@ public class MolecularSequence extends DomainResource { case AA: return "http://hl7.org/fhir/sequence-type"; case DNA: return "http://hl7.org/fhir/sequence-type"; case RNA: return "http://hl7.org/fhir/sequence-type"; + case NULL: return null; default: return "?"; } } @@ -446,6 +203,7 @@ public class MolecularSequence extends DomainResource { case AA: return "Amino acid sequence."; case DNA: return "DNA Sequence."; case RNA: return "RNA Sequence."; + case NULL: return null; default: return "?"; } } @@ -454,6 +212,7 @@ public class MolecularSequence extends DomainResource { case AA: return "AA Sequence"; case DNA: return "DNA Sequence"; case RNA: return "RNA Sequence"; + case NULL: return null; default: return "?"; } } @@ -531,6 +290,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case WATSON: return "watson"; case CRICK: return "crick"; + case NULL: return null; default: return "?"; } } @@ -538,6 +298,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case WATSON: return "http://hl7.org/fhir/strand-type"; case CRICK: return "http://hl7.org/fhir/strand-type"; + case NULL: return null; default: return "?"; } } @@ -545,6 +306,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case WATSON: return "Watson strand of reference sequence."; case CRICK: return "Crick strand of reference sequence."; + case NULL: return null; default: return "?"; } } @@ -552,6 +314,7 @@ public class MolecularSequence extends DomainResource { switch (this) { case WATSON: return "Watson strand of referenceSeq"; case CRICK: return "Crick strand of referenceSeq"; + case NULL: return null; default: return "?"; } } @@ -595,52 +358,342 @@ public class MolecularSequence extends DomainResource { } @Block() - public static class MolecularSequenceReferenceSeqComponent extends BackboneElement implements IBaseBackboneElement { + public static class MolecularSequenceRelativeComponent extends BackboneElement implements IBaseBackboneElement { + /** + * These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail. + */ + @Child(name = "coordinateSystem", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Ways of identifying nucleotides or amino acids within a sequence", formalDefinition="These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://loinc.org/LL5323-2/") + protected CodeableConcept coordinateSystem; + + /** + * A sequence that is used as a reference to describe variants that are present in a sequence analyzed. + */ + @Child(name = "reference", type = {}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="A sequence used as reference", formalDefinition="A sequence that is used as a reference to describe variants that are present in a sequence analyzed." ) + protected MolecularSequenceRelativeReferenceComponent reference; + + /** + * Changes in sequence from the reference. + */ + @Child(name = "edit", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Changes in sequence from the reference", formalDefinition="Changes in sequence from the reference." ) + protected List edit; + + private static final long serialVersionUID = 1575876090L; + + /** + * Constructor + */ + public MolecularSequenceRelativeComponent() { + super(); + } + + /** + * Constructor + */ + public MolecularSequenceRelativeComponent(CodeableConcept coordinateSystem) { + super(); + this.setCoordinateSystem(coordinateSystem); + } + + /** + * @return {@link #coordinateSystem} (These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail.) + */ + public CodeableConcept getCoordinateSystem() { + if (this.coordinateSystem == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MolecularSequenceRelativeComponent.coordinateSystem"); + else if (Configuration.doAutoCreate()) + this.coordinateSystem = new CodeableConcept(); // cc + return this.coordinateSystem; + } + + public boolean hasCoordinateSystem() { + return this.coordinateSystem != null && !this.coordinateSystem.isEmpty(); + } + + /** + * @param value {@link #coordinateSystem} (These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail.) + */ + public MolecularSequenceRelativeComponent setCoordinateSystem(CodeableConcept value) { + this.coordinateSystem = value; + return this; + } + + /** + * @return {@link #reference} (A sequence that is used as a reference to describe variants that are present in a sequence analyzed.) + */ + public MolecularSequenceRelativeReferenceComponent getReference() { + if (this.reference == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MolecularSequenceRelativeComponent.reference"); + else if (Configuration.doAutoCreate()) + this.reference = new MolecularSequenceRelativeReferenceComponent(); // cc + return this.reference; + } + + public boolean hasReference() { + return this.reference != null && !this.reference.isEmpty(); + } + + /** + * @param value {@link #reference} (A sequence that is used as a reference to describe variants that are present in a sequence analyzed.) + */ + public MolecularSequenceRelativeComponent setReference(MolecularSequenceRelativeReferenceComponent value) { + this.reference = value; + return this; + } + + /** + * @return {@link #edit} (Changes in sequence from the reference.) + */ + public List getEdit() { + if (this.edit == null) + this.edit = new ArrayList(); + return this.edit; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public MolecularSequenceRelativeComponent setEdit(List theEdit) { + this.edit = theEdit; + return this; + } + + public boolean hasEdit() { + if (this.edit == null) + return false; + for (MolecularSequenceRelativeEditComponent item : this.edit) + if (!item.isEmpty()) + return true; + return false; + } + + public MolecularSequenceRelativeEditComponent addEdit() { //3 + MolecularSequenceRelativeEditComponent t = new MolecularSequenceRelativeEditComponent(); + if (this.edit == null) + this.edit = new ArrayList(); + this.edit.add(t); + return t; + } + + public MolecularSequenceRelativeComponent addEdit(MolecularSequenceRelativeEditComponent t) { //3 + if (t == null) + return this; + if (this.edit == null) + this.edit = new ArrayList(); + this.edit.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #edit}, creating it if it does not already exist {3} + */ + public MolecularSequenceRelativeEditComponent getEditFirstRep() { + if (getEdit().isEmpty()) { + addEdit(); + } + return getEdit().get(0); + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("coordinateSystem", "CodeableConcept", "These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail.", 0, 1, coordinateSystem)); + children.add(new Property("reference", "", "A sequence that is used as a reference to describe variants that are present in a sequence analyzed.", 0, 1, reference)); + children.add(new Property("edit", "", "Changes in sequence from the reference.", 0, java.lang.Integer.MAX_VALUE, edit)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 354212295: /*coordinateSystem*/ return new Property("coordinateSystem", "CodeableConcept", "These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail.", 0, 1, coordinateSystem); + case -925155509: /*reference*/ return new Property("reference", "", "A sequence that is used as a reference to describe variants that are present in a sequence analyzed.", 0, 1, reference); + case 3108362: /*edit*/ return new Property("edit", "", "Changes in sequence from the reference.", 0, java.lang.Integer.MAX_VALUE, edit); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 354212295: /*coordinateSystem*/ return this.coordinateSystem == null ? new Base[0] : new Base[] {this.coordinateSystem}; // CodeableConcept + case -925155509: /*reference*/ return this.reference == null ? new Base[0] : new Base[] {this.reference}; // MolecularSequenceRelativeReferenceComponent + case 3108362: /*edit*/ return this.edit == null ? new Base[0] : this.edit.toArray(new Base[this.edit.size()]); // MolecularSequenceRelativeEditComponent + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 354212295: // coordinateSystem + this.coordinateSystem = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -925155509: // reference + this.reference = (MolecularSequenceRelativeReferenceComponent) value; // MolecularSequenceRelativeReferenceComponent + return value; + case 3108362: // edit + this.getEdit().add((MolecularSequenceRelativeEditComponent) value); // MolecularSequenceRelativeEditComponent + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("coordinateSystem")) { + this.coordinateSystem = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("reference")) { + this.reference = (MolecularSequenceRelativeReferenceComponent) value; // MolecularSequenceRelativeReferenceComponent + } else if (name.equals("edit")) { + this.getEdit().add((MolecularSequenceRelativeEditComponent) value); + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 354212295: return getCoordinateSystem(); + case -925155509: return getReference(); + case 3108362: return addEdit(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 354212295: /*coordinateSystem*/ return new String[] {"CodeableConcept"}; + case -925155509: /*reference*/ return new String[] {}; + case 3108362: /*edit*/ return new String[] {}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("coordinateSystem")) { + this.coordinateSystem = new CodeableConcept(); + return this.coordinateSystem; + } + else if (name.equals("reference")) { + this.reference = new MolecularSequenceRelativeReferenceComponent(); + return this.reference; + } + else if (name.equals("edit")) { + return addEdit(); + } + else + return super.addChild(name); + } + + public MolecularSequenceRelativeComponent copy() { + MolecularSequenceRelativeComponent dst = new MolecularSequenceRelativeComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(MolecularSequenceRelativeComponent dst) { + super.copyValues(dst); + dst.coordinateSystem = coordinateSystem == null ? null : coordinateSystem.copy(); + dst.reference = reference == null ? null : reference.copy(); + if (edit != null) { + dst.edit = new ArrayList(); + for (MolecularSequenceRelativeEditComponent i : edit) + dst.edit.add(i.copy()); + }; + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof MolecularSequenceRelativeComponent)) + return false; + MolecularSequenceRelativeComponent o = (MolecularSequenceRelativeComponent) other_; + return compareDeep(coordinateSystem, o.coordinateSystem, true) && compareDeep(reference, o.reference, true) + && compareDeep(edit, o.edit, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof MolecularSequenceRelativeComponent)) + return false; + MolecularSequenceRelativeComponent o = (MolecularSequenceRelativeComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(coordinateSystem, reference + , edit); + } + + public String fhirType() { + return "MolecularSequence.relative"; + + } + + } + + @Block() + public static class MolecularSequenceRelativeReferenceComponent extends BackboneElement implements IBaseBackboneElement { + /** + * The reference assembly used for reference, e.g. GRCh38. + */ + @Child(name = "referenceSequenceAssembly", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="The reference assembly used for reference, e.g. GRCh38", formalDefinition="The reference assembly used for reference, e.g. GRCh38." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://loinc.org/LL1040-6/") + protected CodeableConcept referenceSequenceAssembly; + /** * Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)). */ - @Child(name = "chromosome", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Chromosome containing genetic finding", formalDefinition="Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340))." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/chromosome-human") + @Child(name = "chromosome", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Chromosome Identifier", formalDefinition="Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340))." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://loinc.org/LL2938-0/") protected CodeableConcept chromosome; /** - * The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used. + * The reference sequence that represents the starting sequence. */ - @Child(name = "genomeBuild", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'", formalDefinition="The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used." ) - protected StringType genomeBuild; + @Child(name = "referenceSequence", type = {CodeableConcept.class, StringType.class, MolecularSequence.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="The reference sequence that represents the starting sequence", formalDefinition="The reference sequence that represents the starting sequence." ) + protected DataType referenceSequence; + + /** + * Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem. + */ + @Child(name = "windowStart", type = {IntegerType.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Start position of the window on the reference sequence", formalDefinition="Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem." ) + protected IntegerType windowStart; + + /** + * End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem. + */ + @Child(name = "windowEnd", type = {IntegerType.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="End position of the window on the reference sequence", formalDefinition="End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem." ) + protected IntegerType windowEnd; /** * A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the "sense" strand, and the opposite complementary strand is the "antisense" strand. */ - @Child(name = "orientation", type = {CodeType.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Child(name = "orientation", type = {CodeType.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="sense | antisense", formalDefinition="A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the \"sense\" strand, and the opposite complementary strand is the \"antisense\" strand." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/orientation-type") protected Enumeration orientation; - /** - * Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences. - */ - @Child(name = "referenceSeqId", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Reference identifier", formalDefinition="Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/sequence-referenceSeq") - protected CodeableConcept referenceSeqId; - - /** - * A pointer to another MolecularSequence entity as reference sequence. - */ - @Child(name = "referenceSeqPointer", type = {MolecularSequence.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A pointer to another MolecularSequence entity as reference sequence", formalDefinition="A pointer to another MolecularSequence entity as reference sequence." ) - protected Reference referenceSeqPointer; - - /** - * A string like "ACGT". - */ - @Child(name = "referenceSeqString", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A string to represent reference sequence", formalDefinition="A string like \"ACGT\"." ) - protected StringType referenceSeqString; - /** * An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm. */ @@ -649,36 +702,46 @@ public class MolecularSequence extends DomainResource { @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/strand-type") protected Enumeration strand; - /** - * Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - @Child(name = "windowStart", type = {IntegerType.class}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Start position of the window on the reference sequence", formalDefinition="Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive." ) - protected IntegerType windowStart; - - /** - * End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - @Child(name = "windowEnd", type = {IntegerType.class}, order=9, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="End position of the window on the reference sequence", formalDefinition="End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position." ) - protected IntegerType windowEnd; - - private static final long serialVersionUID = -257666326L; + private static final long serialVersionUID = -1431377311L; /** * Constructor */ - public MolecularSequenceReferenceSeqComponent() { + public MolecularSequenceRelativeReferenceComponent() { super(); } + /** + * @return {@link #referenceSequenceAssembly} (The reference assembly used for reference, e.g. GRCh38.) + */ + public CodeableConcept getReferenceSequenceAssembly() { + if (this.referenceSequenceAssembly == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MolecularSequenceRelativeReferenceComponent.referenceSequenceAssembly"); + else if (Configuration.doAutoCreate()) + this.referenceSequenceAssembly = new CodeableConcept(); // cc + return this.referenceSequenceAssembly; + } + + public boolean hasReferenceSequenceAssembly() { + return this.referenceSequenceAssembly != null && !this.referenceSequenceAssembly.isEmpty(); + } + + /** + * @param value {@link #referenceSequenceAssembly} (The reference assembly used for reference, e.g. GRCh38.) + */ + public MolecularSequenceRelativeReferenceComponent setReferenceSequenceAssembly(CodeableConcept value) { + this.referenceSequenceAssembly = value; + return this; + } + /** * @return {@link #chromosome} (Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).) */ public CodeableConcept getChromosome() { if (this.chromosome == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.chromosome"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeReferenceComponent.chromosome"); else if (Configuration.doAutoCreate()) this.chromosome = new CodeableConcept(); // cc return this.chromosome; @@ -691,57 +754,164 @@ public class MolecularSequence extends DomainResource { /** * @param value {@link #chromosome} (Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).) */ - public MolecularSequenceReferenceSeqComponent setChromosome(CodeableConcept value) { + public MolecularSequenceRelativeReferenceComponent setChromosome(CodeableConcept value) { this.chromosome = value; return this; } /** - * @return {@link #genomeBuild} (The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used.). This is the underlying object with id, value and extensions. The accessor "getGenomeBuild" gives direct access to the value + * @return {@link #referenceSequence} (The reference sequence that represents the starting sequence.) */ - public StringType getGenomeBuildElement() { - if (this.genomeBuild == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.genomeBuild"); - else if (Configuration.doAutoCreate()) - this.genomeBuild = new StringType(); // bb - return this.genomeBuild; - } - - public boolean hasGenomeBuildElement() { - return this.genomeBuild != null && !this.genomeBuild.isEmpty(); - } - - public boolean hasGenomeBuild() { - return this.genomeBuild != null && !this.genomeBuild.isEmpty(); + public DataType getReferenceSequence() { + return this.referenceSequence; } /** - * @param value {@link #genomeBuild} (The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used.). This is the underlying object with id, value and extensions. The accessor "getGenomeBuild" gives direct access to the value + * @return {@link #referenceSequence} (The reference sequence that represents the starting sequence.) */ - public MolecularSequenceReferenceSeqComponent setGenomeBuildElement(StringType value) { - this.genomeBuild = value; + public CodeableConcept getReferenceSequenceCodeableConcept() throws FHIRException { + if (this.referenceSequence == null) + this.referenceSequence = new CodeableConcept(); + if (!(this.referenceSequence instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.referenceSequence.getClass().getName()+" was encountered"); + return (CodeableConcept) this.referenceSequence; + } + + public boolean hasReferenceSequenceCodeableConcept() { + return this != null && this.referenceSequence instanceof CodeableConcept; + } + + /** + * @return {@link #referenceSequence} (The reference sequence that represents the starting sequence.) + */ + public StringType getReferenceSequenceStringType() throws FHIRException { + if (this.referenceSequence == null) + this.referenceSequence = new StringType(); + if (!(this.referenceSequence instanceof StringType)) + throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.referenceSequence.getClass().getName()+" was encountered"); + return (StringType) this.referenceSequence; + } + + public boolean hasReferenceSequenceStringType() { + return this != null && this.referenceSequence instanceof StringType; + } + + /** + * @return {@link #referenceSequence} (The reference sequence that represents the starting sequence.) + */ + public Reference getReferenceSequenceReference() throws FHIRException { + if (this.referenceSequence == null) + this.referenceSequence = new Reference(); + if (!(this.referenceSequence instanceof Reference)) + throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.referenceSequence.getClass().getName()+" was encountered"); + return (Reference) this.referenceSequence; + } + + public boolean hasReferenceSequenceReference() { + return this != null && this.referenceSequence instanceof Reference; + } + + public boolean hasReferenceSequence() { + return this.referenceSequence != null && !this.referenceSequence.isEmpty(); + } + + /** + * @param value {@link #referenceSequence} (The reference sequence that represents the starting sequence.) + */ + public MolecularSequenceRelativeReferenceComponent setReferenceSequence(DataType value) { + if (value != null && !(value instanceof CodeableConcept || value instanceof StringType || value instanceof Reference)) + throw new Error("Not the right type for MolecularSequence.relative.reference.referenceSequence[x]: "+value.fhirType()); + this.referenceSequence = value; return this; } /** - * @return The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used. + * @return {@link #windowStart} (Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.). This is the underlying object with id, value and extensions. The accessor "getWindowStart" gives direct access to the value */ - public String getGenomeBuild() { - return this.genomeBuild == null ? null : this.genomeBuild.getValue(); + public IntegerType getWindowStartElement() { + if (this.windowStart == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MolecularSequenceRelativeReferenceComponent.windowStart"); + else if (Configuration.doAutoCreate()) + this.windowStart = new IntegerType(); // bb + return this.windowStart; + } + + public boolean hasWindowStartElement() { + return this.windowStart != null && !this.windowStart.isEmpty(); + } + + public boolean hasWindowStart() { + return this.windowStart != null && !this.windowStart.isEmpty(); } /** - * @param value The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used. + * @param value {@link #windowStart} (Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.). This is the underlying object with id, value and extensions. The accessor "getWindowStart" gives direct access to the value */ - public MolecularSequenceReferenceSeqComponent setGenomeBuild(String value) { - if (Utilities.noString(value)) - this.genomeBuild = null; - else { - if (this.genomeBuild == null) - this.genomeBuild = new StringType(); - this.genomeBuild.setValue(value); - } + public MolecularSequenceRelativeReferenceComponent setWindowStartElement(IntegerType value) { + this.windowStart = value; + return this; + } + + /** + * @return Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem. + */ + public int getWindowStart() { + return this.windowStart == null || this.windowStart.isEmpty() ? 0 : this.windowStart.getValue(); + } + + /** + * @param value Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem. + */ + public MolecularSequenceRelativeReferenceComponent setWindowStart(int value) { + if (this.windowStart == null) + this.windowStart = new IntegerType(); + this.windowStart.setValue(value); + return this; + } + + /** + * @return {@link #windowEnd} (End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.). This is the underlying object with id, value and extensions. The accessor "getWindowEnd" gives direct access to the value + */ + public IntegerType getWindowEndElement() { + if (this.windowEnd == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create MolecularSequenceRelativeReferenceComponent.windowEnd"); + else if (Configuration.doAutoCreate()) + this.windowEnd = new IntegerType(); // bb + return this.windowEnd; + } + + public boolean hasWindowEndElement() { + return this.windowEnd != null && !this.windowEnd.isEmpty(); + } + + public boolean hasWindowEnd() { + return this.windowEnd != null && !this.windowEnd.isEmpty(); + } + + /** + * @param value {@link #windowEnd} (End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.). This is the underlying object with id, value and extensions. The accessor "getWindowEnd" gives direct access to the value + */ + public MolecularSequenceRelativeReferenceComponent setWindowEndElement(IntegerType value) { + this.windowEnd = value; + return this; + } + + /** + * @return End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem. + */ + public int getWindowEnd() { + return this.windowEnd == null || this.windowEnd.isEmpty() ? 0 : this.windowEnd.getValue(); + } + + /** + * @param value End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem. + */ + public MolecularSequenceRelativeReferenceComponent setWindowEnd(int value) { + if (this.windowEnd == null) + this.windowEnd = new IntegerType(); + this.windowEnd.setValue(value); return this; } @@ -751,7 +921,7 @@ public class MolecularSequence extends DomainResource { public Enumeration getOrientationElement() { if (this.orientation == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.orientation"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeReferenceComponent.orientation"); else if (Configuration.doAutoCreate()) this.orientation = new Enumeration(new OrientationTypeEnumFactory()); // bb return this.orientation; @@ -768,7 +938,7 @@ public class MolecularSequence extends DomainResource { /** * @param value {@link #orientation} (A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the "sense" strand, and the opposite complementary strand is the "antisense" strand.). This is the underlying object with id, value and extensions. The accessor "getOrientation" gives direct access to the value */ - public MolecularSequenceReferenceSeqComponent setOrientationElement(Enumeration value) { + public MolecularSequenceRelativeReferenceComponent setOrientationElement(Enumeration value) { this.orientation = value; return this; } @@ -783,7 +953,7 @@ public class MolecularSequence extends DomainResource { /** * @param value A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the "sense" strand, and the opposite complementary strand is the "antisense" strand. */ - public MolecularSequenceReferenceSeqComponent setOrientation(OrientationType value) { + public MolecularSequenceRelativeReferenceComponent setOrientation(OrientationType value) { if (value == null) this.orientation = null; else { @@ -794,110 +964,13 @@ public class MolecularSequence extends DomainResource { return this; } - /** - * @return {@link #referenceSeqId} (Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.) - */ - public CodeableConcept getReferenceSeqId() { - if (this.referenceSeqId == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.referenceSeqId"); - else if (Configuration.doAutoCreate()) - this.referenceSeqId = new CodeableConcept(); // cc - return this.referenceSeqId; - } - - public boolean hasReferenceSeqId() { - return this.referenceSeqId != null && !this.referenceSeqId.isEmpty(); - } - - /** - * @param value {@link #referenceSeqId} (Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.) - */ - public MolecularSequenceReferenceSeqComponent setReferenceSeqId(CodeableConcept value) { - this.referenceSeqId = value; - return this; - } - - /** - * @return {@link #referenceSeqPointer} (A pointer to another MolecularSequence entity as reference sequence.) - */ - public Reference getReferenceSeqPointer() { - if (this.referenceSeqPointer == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.referenceSeqPointer"); - else if (Configuration.doAutoCreate()) - this.referenceSeqPointer = new Reference(); // cc - return this.referenceSeqPointer; - } - - public boolean hasReferenceSeqPointer() { - return this.referenceSeqPointer != null && !this.referenceSeqPointer.isEmpty(); - } - - /** - * @param value {@link #referenceSeqPointer} (A pointer to another MolecularSequence entity as reference sequence.) - */ - public MolecularSequenceReferenceSeqComponent setReferenceSeqPointer(Reference value) { - this.referenceSeqPointer = value; - return this; - } - - /** - * @return {@link #referenceSeqString} (A string like "ACGT".). This is the underlying object with id, value and extensions. The accessor "getReferenceSeqString" gives direct access to the value - */ - public StringType getReferenceSeqStringElement() { - if (this.referenceSeqString == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.referenceSeqString"); - else if (Configuration.doAutoCreate()) - this.referenceSeqString = new StringType(); // bb - return this.referenceSeqString; - } - - public boolean hasReferenceSeqStringElement() { - return this.referenceSeqString != null && !this.referenceSeqString.isEmpty(); - } - - public boolean hasReferenceSeqString() { - return this.referenceSeqString != null && !this.referenceSeqString.isEmpty(); - } - - /** - * @param value {@link #referenceSeqString} (A string like "ACGT".). This is the underlying object with id, value and extensions. The accessor "getReferenceSeqString" gives direct access to the value - */ - public MolecularSequenceReferenceSeqComponent setReferenceSeqStringElement(StringType value) { - this.referenceSeqString = value; - return this; - } - - /** - * @return A string like "ACGT". - */ - public String getReferenceSeqString() { - return this.referenceSeqString == null ? null : this.referenceSeqString.getValue(); - } - - /** - * @param value A string like "ACGT". - */ - public MolecularSequenceReferenceSeqComponent setReferenceSeqString(String value) { - if (Utilities.noString(value)) - this.referenceSeqString = null; - else { - if (this.referenceSeqString == null) - this.referenceSeqString = new StringType(); - this.referenceSeqString.setValue(value); - } - return this; - } - /** * @return {@link #strand} (An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.). This is the underlying object with id, value and extensions. The accessor "getStrand" gives direct access to the value */ public Enumeration getStrandElement() { if (this.strand == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.strand"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeReferenceComponent.strand"); else if (Configuration.doAutoCreate()) this.strand = new Enumeration(new StrandTypeEnumFactory()); // bb return this.strand; @@ -914,7 +987,7 @@ public class MolecularSequence extends DomainResource { /** * @param value {@link #strand} (An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.). This is the underlying object with id, value and extensions. The accessor "getStrand" gives direct access to the value */ - public MolecularSequenceReferenceSeqComponent setStrandElement(Enumeration value) { + public MolecularSequenceRelativeReferenceComponent setStrandElement(Enumeration value) { this.strand = value; return this; } @@ -929,7 +1002,7 @@ public class MolecularSequence extends DomainResource { /** * @param value An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm. */ - public MolecularSequenceReferenceSeqComponent setStrand(StrandType value) { + public MolecularSequenceRelativeReferenceComponent setStrand(StrandType value) { if (value == null) this.strand = null; else { @@ -940,121 +1013,31 @@ public class MolecularSequence extends DomainResource { return this; } - /** - * @return {@link #windowStart} (Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getWindowStart" gives direct access to the value - */ - public IntegerType getWindowStartElement() { - if (this.windowStart == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.windowStart"); - else if (Configuration.doAutoCreate()) - this.windowStart = new IntegerType(); // bb - return this.windowStart; - } - - public boolean hasWindowStartElement() { - return this.windowStart != null && !this.windowStart.isEmpty(); - } - - public boolean hasWindowStart() { - return this.windowStart != null && !this.windowStart.isEmpty(); - } - - /** - * @param value {@link #windowStart} (Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getWindowStart" gives direct access to the value - */ - public MolecularSequenceReferenceSeqComponent setWindowStartElement(IntegerType value) { - this.windowStart = value; - return this; - } - - /** - * @return Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public int getWindowStart() { - return this.windowStart == null || this.windowStart.isEmpty() ? 0 : this.windowStart.getValue(); - } - - /** - * @param value Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public MolecularSequenceReferenceSeqComponent setWindowStart(int value) { - if (this.windowStart == null) - this.windowStart = new IntegerType(); - this.windowStart.setValue(value); - return this; - } - - /** - * @return {@link #windowEnd} (End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getWindowEnd" gives direct access to the value - */ - public IntegerType getWindowEndElement() { - if (this.windowEnd == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceReferenceSeqComponent.windowEnd"); - else if (Configuration.doAutoCreate()) - this.windowEnd = new IntegerType(); // bb - return this.windowEnd; - } - - public boolean hasWindowEndElement() { - return this.windowEnd != null && !this.windowEnd.isEmpty(); - } - - public boolean hasWindowEnd() { - return this.windowEnd != null && !this.windowEnd.isEmpty(); - } - - /** - * @param value {@link #windowEnd} (End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getWindowEnd" gives direct access to the value - */ - public MolecularSequenceReferenceSeqComponent setWindowEndElement(IntegerType value) { - this.windowEnd = value; - return this; - } - - /** - * @return End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public int getWindowEnd() { - return this.windowEnd == null || this.windowEnd.isEmpty() ? 0 : this.windowEnd.getValue(); - } - - /** - * @param value End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public MolecularSequenceReferenceSeqComponent setWindowEnd(int value) { - if (this.windowEnd == null) - this.windowEnd = new IntegerType(); - this.windowEnd.setValue(value); - return this; - } - protected void listChildren(List children) { super.listChildren(children); + children.add(new Property("referenceSequenceAssembly", "CodeableConcept", "The reference assembly used for reference, e.g. GRCh38.", 0, 1, referenceSequenceAssembly)); children.add(new Property("chromosome", "CodeableConcept", "Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).", 0, 1, chromosome)); - children.add(new Property("genomeBuild", "string", "The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used.", 0, 1, genomeBuild)); + children.add(new Property("referenceSequence[x]", "CodeableConcept|string|Reference(MolecularSequence)", "The reference sequence that represents the starting sequence.", 0, 1, referenceSequence)); + children.add(new Property("windowStart", "integer", "Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.", 0, 1, windowStart)); + children.add(new Property("windowEnd", "integer", "End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.", 0, 1, windowEnd)); children.add(new Property("orientation", "code", "A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the \"sense\" strand, and the opposite complementary strand is the \"antisense\" strand.", 0, 1, orientation)); - children.add(new Property("referenceSeqId", "CodeableConcept", "Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.", 0, 1, referenceSeqId)); - children.add(new Property("referenceSeqPointer", "Reference(MolecularSequence)", "A pointer to another MolecularSequence entity as reference sequence.", 0, 1, referenceSeqPointer)); - children.add(new Property("referenceSeqString", "string", "A string like \"ACGT\".", 0, 1, referenceSeqString)); children.add(new Property("strand", "code", "An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.", 0, 1, strand)); - children.add(new Property("windowStart", "integer", "Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, windowStart)); - children.add(new Property("windowEnd", "integer", "End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, windowEnd)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { + case 1430214194: /*referenceSequenceAssembly*/ return new Property("referenceSequenceAssembly", "CodeableConcept", "The reference assembly used for reference, e.g. GRCh38.", 0, 1, referenceSequenceAssembly); case -1499470472: /*chromosome*/ return new Property("chromosome", "CodeableConcept", "Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).", 0, 1, chromosome); - case 1061239735: /*genomeBuild*/ return new Property("genomeBuild", "string", "The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'. Version number must be included if a versioned release of a primary build was used.", 0, 1, genomeBuild); + case -596785964: /*referenceSequence[x]*/ return new Property("referenceSequence[x]", "CodeableConcept|string|Reference(MolecularSequence)", "The reference sequence that represents the starting sequence.", 0, 1, referenceSequence); + case 1501798444: /*referenceSequence*/ return new Property("referenceSequence[x]", "CodeableConcept|string|Reference(MolecularSequence)", "The reference sequence that represents the starting sequence.", 0, 1, referenceSequence); + case -1155978795: /*referenceSequenceCodeableConcept*/ return new Property("referenceSequence[x]", "CodeableConcept", "The reference sequence that represents the starting sequence.", 0, 1, referenceSequence); + case 2081954653: /*referenceSequenceString*/ return new Property("referenceSequence[x]", "string", "The reference sequence that represents the starting sequence.", 0, 1, referenceSequence); + case -847433601: /*referenceSequenceReference*/ return new Property("referenceSequence[x]", "Reference(MolecularSequence)", "The reference sequence that represents the starting sequence.", 0, 1, referenceSequence); + case 1903685202: /*windowStart*/ return new Property("windowStart", "integer", "Start position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.", 0, 1, windowStart); + case -217026869: /*windowEnd*/ return new Property("windowEnd", "integer", "End position of the window on the reference sequence. This value should honor the rules of the coordinateSystem.", 0, 1, windowEnd); case -1439500848: /*orientation*/ return new Property("orientation", "code", "A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the \"sense\" strand, and the opposite complementary strand is the \"antisense\" strand.", 0, 1, orientation); - case -1911500465: /*referenceSeqId*/ return new Property("referenceSeqId", "CodeableConcept", "Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.", 0, 1, referenceSeqId); - case 1923414665: /*referenceSeqPointer*/ return new Property("referenceSeqPointer", "Reference(MolecularSequence)", "A pointer to another MolecularSequence entity as reference sequence.", 0, 1, referenceSeqPointer); - case -1648301499: /*referenceSeqString*/ return new Property("referenceSeqString", "string", "A string like \"ACGT\".", 0, 1, referenceSeqString); case -891993594: /*strand*/ return new Property("strand", "code", "An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.", 0, 1, strand); - case 1903685202: /*windowStart*/ return new Property("windowStart", "integer", "Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, windowStart); - case -217026869: /*windowEnd*/ return new Property("windowEnd", "integer", "End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, windowEnd); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1063,15 +1046,13 @@ public class MolecularSequence extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { + case 1430214194: /*referenceSequenceAssembly*/ return this.referenceSequenceAssembly == null ? new Base[0] : new Base[] {this.referenceSequenceAssembly}; // CodeableConcept case -1499470472: /*chromosome*/ return this.chromosome == null ? new Base[0] : new Base[] {this.chromosome}; // CodeableConcept - case 1061239735: /*genomeBuild*/ return this.genomeBuild == null ? new Base[0] : new Base[] {this.genomeBuild}; // StringType - case -1439500848: /*orientation*/ return this.orientation == null ? new Base[0] : new Base[] {this.orientation}; // Enumeration - case -1911500465: /*referenceSeqId*/ return this.referenceSeqId == null ? new Base[0] : new Base[] {this.referenceSeqId}; // CodeableConcept - case 1923414665: /*referenceSeqPointer*/ return this.referenceSeqPointer == null ? new Base[0] : new Base[] {this.referenceSeqPointer}; // Reference - case -1648301499: /*referenceSeqString*/ return this.referenceSeqString == null ? new Base[0] : new Base[] {this.referenceSeqString}; // StringType - case -891993594: /*strand*/ return this.strand == null ? new Base[0] : new Base[] {this.strand}; // Enumeration + case 1501798444: /*referenceSequence*/ return this.referenceSequence == null ? new Base[0] : new Base[] {this.referenceSequence}; // DataType case 1903685202: /*windowStart*/ return this.windowStart == null ? new Base[0] : new Base[] {this.windowStart}; // IntegerType case -217026869: /*windowEnd*/ return this.windowEnd == null ? new Base[0] : new Base[] {this.windowEnd}; // IntegerType + case -1439500848: /*orientation*/ return this.orientation == null ? new Base[0] : new Base[] {this.orientation}; // Enumeration + case -891993594: /*strand*/ return this.strand == null ? new Base[0] : new Base[] {this.strand}; // Enumeration default: return super.getProperty(hash, name, checkValid); } @@ -1080,28 +1061,14 @@ public class MolecularSequence extends DomainResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { + case 1430214194: // referenceSequenceAssembly + this.referenceSequenceAssembly = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; case -1499470472: // chromosome this.chromosome = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; - case 1061239735: // genomeBuild - this.genomeBuild = TypeConvertor.castToString(value); // StringType - return value; - case -1439500848: // orientation - value = new OrientationTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.orientation = (Enumeration) value; // Enumeration - return value; - case -1911500465: // referenceSeqId - this.referenceSeqId = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case 1923414665: // referenceSeqPointer - this.referenceSeqPointer = TypeConvertor.castToReference(value); // Reference - return value; - case -1648301499: // referenceSeqString - this.referenceSeqString = TypeConvertor.castToString(value); // StringType - return value; - case -891993594: // strand - value = new StrandTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.strand = (Enumeration) value; // Enumeration + case 1501798444: // referenceSequence + this.referenceSequence = TypeConvertor.castToType(value); // DataType return value; case 1903685202: // windowStart this.windowStart = TypeConvertor.castToInteger(value); // IntegerType @@ -1109,6 +1076,14 @@ public class MolecularSequence extends DomainResource { case -217026869: // windowEnd this.windowEnd = TypeConvertor.castToInteger(value); // IntegerType return value; + case -1439500848: // orientation + value = new OrientationTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.orientation = (Enumeration) value; // Enumeration + return value; + case -891993594: // strand + value = new StrandTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.strand = (Enumeration) value; // Enumeration + return value; default: return super.setProperty(hash, name, value); } @@ -1116,26 +1091,22 @@ public class MolecularSequence extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("chromosome")) { + if (name.equals("referenceSequenceAssembly")) { + this.referenceSequenceAssembly = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("chromosome")) { this.chromosome = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("genomeBuild")) { - this.genomeBuild = TypeConvertor.castToString(value); // StringType - } else if (name.equals("orientation")) { - value = new OrientationTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.orientation = (Enumeration) value; // Enumeration - } else if (name.equals("referenceSeqId")) { - this.referenceSeqId = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("referenceSeqPointer")) { - this.referenceSeqPointer = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("referenceSeqString")) { - this.referenceSeqString = TypeConvertor.castToString(value); // StringType - } else if (name.equals("strand")) { - value = new StrandTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.strand = (Enumeration) value; // Enumeration + } else if (name.equals("referenceSequence[x]")) { + this.referenceSequence = TypeConvertor.castToType(value); // DataType } else if (name.equals("windowStart")) { this.windowStart = TypeConvertor.castToInteger(value); // IntegerType } else if (name.equals("windowEnd")) { this.windowEnd = TypeConvertor.castToInteger(value); // IntegerType + } else if (name.equals("orientation")) { + value = new OrientationTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.orientation = (Enumeration) value; // Enumeration + } else if (name.equals("strand")) { + value = new StrandTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.strand = (Enumeration) value; // Enumeration } else return super.setProperty(name, value); return value; @@ -1144,15 +1115,14 @@ public class MolecularSequence extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { + case 1430214194: return getReferenceSequenceAssembly(); case -1499470472: return getChromosome(); - case 1061239735: return getGenomeBuildElement(); - case -1439500848: return getOrientationElement(); - case -1911500465: return getReferenceSeqId(); - case 1923414665: return getReferenceSeqPointer(); - case -1648301499: return getReferenceSeqStringElement(); - case -891993594: return getStrandElement(); + case -596785964: return getReferenceSequence(); + case 1501798444: return getReferenceSequence(); case 1903685202: return getWindowStartElement(); case -217026869: return getWindowEndElement(); + case -1439500848: return getOrientationElement(); + case -891993594: return getStrandElement(); default: return super.makeProperty(hash, name); } @@ -1161,15 +1131,13 @@ public class MolecularSequence extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { + case 1430214194: /*referenceSequenceAssembly*/ return new String[] {"CodeableConcept"}; case -1499470472: /*chromosome*/ return new String[] {"CodeableConcept"}; - case 1061239735: /*genomeBuild*/ return new String[] {"string"}; - case -1439500848: /*orientation*/ return new String[] {"code"}; - case -1911500465: /*referenceSeqId*/ return new String[] {"CodeableConcept"}; - case 1923414665: /*referenceSeqPointer*/ return new String[] {"Reference"}; - case -1648301499: /*referenceSeqString*/ return new String[] {"string"}; - case -891993594: /*strand*/ return new String[] {"code"}; + case 1501798444: /*referenceSequence*/ return new String[] {"CodeableConcept", "string", "Reference"}; case 1903685202: /*windowStart*/ return new String[] {"integer"}; case -217026869: /*windowEnd*/ return new String[] {"integer"}; + case -1439500848: /*orientation*/ return new String[] {"code"}; + case -891993594: /*strand*/ return new String[] {"code"}; default: return super.getTypesForProperty(hash, name); } @@ -1177,70 +1145,69 @@ public class MolecularSequence extends DomainResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("chromosome")) { + if (name.equals("referenceSequenceAssembly")) { + this.referenceSequenceAssembly = new CodeableConcept(); + return this.referenceSequenceAssembly; + } + else if (name.equals("chromosome")) { this.chromosome = new CodeableConcept(); return this.chromosome; } - else if (name.equals("genomeBuild")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.referenceSeq.genomeBuild"); + else if (name.equals("referenceSequenceCodeableConcept")) { + this.referenceSequence = new CodeableConcept(); + return this.referenceSequence; } - else if (name.equals("orientation")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.referenceSeq.orientation"); + else if (name.equals("referenceSequenceString")) { + this.referenceSequence = new StringType(); + return this.referenceSequence; } - else if (name.equals("referenceSeqId")) { - this.referenceSeqId = new CodeableConcept(); - return this.referenceSeqId; - } - else if (name.equals("referenceSeqPointer")) { - this.referenceSeqPointer = new Reference(); - return this.referenceSeqPointer; - } - else if (name.equals("referenceSeqString")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.referenceSeq.referenceSeqString"); - } - else if (name.equals("strand")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.referenceSeq.strand"); + else if (name.equals("referenceSequenceReference")) { + this.referenceSequence = new Reference(); + return this.referenceSequence; } else if (name.equals("windowStart")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.referenceSeq.windowStart"); + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.reference.windowStart"); } else if (name.equals("windowEnd")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.referenceSeq.windowEnd"); + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.reference.windowEnd"); + } + else if (name.equals("orientation")) { + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.reference.orientation"); + } + else if (name.equals("strand")) { + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.reference.strand"); } else return super.addChild(name); } - public MolecularSequenceReferenceSeqComponent copy() { - MolecularSequenceReferenceSeqComponent dst = new MolecularSequenceReferenceSeqComponent(); + public MolecularSequenceRelativeReferenceComponent copy() { + MolecularSequenceRelativeReferenceComponent dst = new MolecularSequenceRelativeReferenceComponent(); copyValues(dst); return dst; } - public void copyValues(MolecularSequenceReferenceSeqComponent dst) { + public void copyValues(MolecularSequenceRelativeReferenceComponent dst) { super.copyValues(dst); + dst.referenceSequenceAssembly = referenceSequenceAssembly == null ? null : referenceSequenceAssembly.copy(); dst.chromosome = chromosome == null ? null : chromosome.copy(); - dst.genomeBuild = genomeBuild == null ? null : genomeBuild.copy(); - dst.orientation = orientation == null ? null : orientation.copy(); - dst.referenceSeqId = referenceSeqId == null ? null : referenceSeqId.copy(); - dst.referenceSeqPointer = referenceSeqPointer == null ? null : referenceSeqPointer.copy(); - dst.referenceSeqString = referenceSeqString == null ? null : referenceSeqString.copy(); - dst.strand = strand == null ? null : strand.copy(); + dst.referenceSequence = referenceSequence == null ? null : referenceSequence.copy(); dst.windowStart = windowStart == null ? null : windowStart.copy(); dst.windowEnd = windowEnd == null ? null : windowEnd.copy(); + dst.orientation = orientation == null ? null : orientation.copy(); + dst.strand = strand == null ? null : strand.copy(); } @Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof MolecularSequenceReferenceSeqComponent)) + if (!(other_ instanceof MolecularSequenceRelativeReferenceComponent)) return false; - MolecularSequenceReferenceSeqComponent o = (MolecularSequenceReferenceSeqComponent) other_; - return compareDeep(chromosome, o.chromosome, true) && compareDeep(genomeBuild, o.genomeBuild, true) - && compareDeep(orientation, o.orientation, true) && compareDeep(referenceSeqId, o.referenceSeqId, true) - && compareDeep(referenceSeqPointer, o.referenceSeqPointer, true) && compareDeep(referenceSeqString, o.referenceSeqString, true) - && compareDeep(strand, o.strand, true) && compareDeep(windowStart, o.windowStart, true) && compareDeep(windowEnd, o.windowEnd, true) + MolecularSequenceRelativeReferenceComponent o = (MolecularSequenceRelativeReferenceComponent) other_; + return compareDeep(referenceSequenceAssembly, o.referenceSequenceAssembly, true) && compareDeep(chromosome, o.chromosome, true) + && compareDeep(referenceSequence, o.referenceSequence, true) && compareDeep(windowStart, o.windowStart, true) + && compareDeep(windowEnd, o.windowEnd, true) && compareDeep(orientation, o.orientation, true) && compareDeep(strand, o.strand, true) ; } @@ -1248,87 +1215,71 @@ public class MolecularSequence extends DomainResource { public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof MolecularSequenceReferenceSeqComponent)) + if (!(other_ instanceof MolecularSequenceRelativeReferenceComponent)) return false; - MolecularSequenceReferenceSeqComponent o = (MolecularSequenceReferenceSeqComponent) other_; - return compareValues(genomeBuild, o.genomeBuild, true) && compareValues(orientation, o.orientation, true) - && compareValues(referenceSeqString, o.referenceSeqString, true) && compareValues(strand, o.strand, true) - && compareValues(windowStart, o.windowStart, true) && compareValues(windowEnd, o.windowEnd, true); + MolecularSequenceRelativeReferenceComponent o = (MolecularSequenceRelativeReferenceComponent) other_; + return compareValues(windowStart, o.windowStart, true) && compareValues(windowEnd, o.windowEnd, true) + && compareValues(orientation, o.orientation, true) && compareValues(strand, o.strand, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(chromosome, genomeBuild, orientation - , referenceSeqId, referenceSeqPointer, referenceSeqString, strand, windowStart, windowEnd - ); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(referenceSequenceAssembly, chromosome + , referenceSequence, windowStart, windowEnd, orientation, strand); } public String fhirType() { - return "MolecularSequence.referenceSeq"; + return "MolecularSequence.relative.reference"; } } @Block() - public static class MolecularSequenceVariantComponent extends BackboneElement implements IBaseBackboneElement { + public static class MolecularSequenceRelativeEditComponent extends BackboneElement implements IBaseBackboneElement { /** - * Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. + * Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. */ @Child(name = "start", type = {IntegerType.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Start position of the variant on the reference sequence", formalDefinition="Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive." ) + @Description(shortDefinition="Start position of the edit on the reference sequence", formalDefinition="Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive." ) protected IntegerType start; /** - * End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. + * End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. */ @Child(name = "end", type = {IntegerType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="End position of the variant on the reference sequence", formalDefinition="End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position." ) + @Description(shortDefinition="End position of the edit on the reference sequence", formalDefinition="End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position." ) protected IntegerType end; /** - * An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + * Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. */ @Child(name = "observedAllele", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Allele that was observed", formalDefinition="An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end." ) + @Description(shortDefinition="Allele that was observed", formalDefinition="Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end." ) protected StringType observedAllele; /** - * An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + * Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. */ @Child(name = "referenceAllele", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Allele in the reference sequence", formalDefinition="An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end." ) + @Description(shortDefinition="Allele in the reference sequence", formalDefinition="Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end." ) protected StringType referenceAllele; - /** - * Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm). - */ - @Child(name = "cigar", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Extended CIGAR string for aligning the sequence with reference bases", formalDefinition="Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm)." ) - protected StringType cigar; - - /** - * A pointer to an Observation containing variant information. - */ - @Child(name = "variantPointer", type = {Observation.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Pointer to observed variant information", formalDefinition="A pointer to an Observation containing variant information." ) - protected Reference variantPointer; - - private static final long serialVersionUID = -1012918644L; + private static final long serialVersionUID = -405313764L; /** * Constructor */ - public MolecularSequenceVariantComponent() { + public MolecularSequenceRelativeEditComponent() { super(); } /** - * @return {@link #start} (Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value + * @return {@link #start} (Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value */ public IntegerType getStartElement() { if (this.start == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceVariantComponent.start"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeEditComponent.start"); else if (Configuration.doAutoCreate()) this.start = new IntegerType(); // bb return this.start; @@ -1343,24 +1294,24 @@ public class MolecularSequence extends DomainResource { } /** - * @param value {@link #start} (Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value + * @param value {@link #start} (Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value */ - public MolecularSequenceVariantComponent setStartElement(IntegerType value) { + public MolecularSequenceRelativeEditComponent setStartElement(IntegerType value) { this.start = value; return this; } /** - * @return Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. + * @return Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. */ public int getStart() { return this.start == null || this.start.isEmpty() ? 0 : this.start.getValue(); } /** - * @param value Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. + * @param value Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. */ - public MolecularSequenceVariantComponent setStart(int value) { + public MolecularSequenceRelativeEditComponent setStart(int value) { if (this.start == null) this.start = new IntegerType(); this.start.setValue(value); @@ -1368,12 +1319,12 @@ public class MolecularSequence extends DomainResource { } /** - * @return {@link #end} (End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value + * @return {@link #end} (End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value */ public IntegerType getEndElement() { if (this.end == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceVariantComponent.end"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeEditComponent.end"); else if (Configuration.doAutoCreate()) this.end = new IntegerType(); // bb return this.end; @@ -1388,24 +1339,24 @@ public class MolecularSequence extends DomainResource { } /** - * @param value {@link #end} (End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value + * @param value {@link #end} (End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value */ - public MolecularSequenceVariantComponent setEndElement(IntegerType value) { + public MolecularSequenceRelativeEditComponent setEndElement(IntegerType value) { this.end = value; return this; } /** - * @return End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. + * @return End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. */ public int getEnd() { return this.end == null || this.end.isEmpty() ? 0 : this.end.getValue(); } /** - * @param value End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. + * @param value End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. */ - public MolecularSequenceVariantComponent setEnd(int value) { + public MolecularSequenceRelativeEditComponent setEnd(int value) { if (this.end == null) this.end = new IntegerType(); this.end.setValue(value); @@ -1413,12 +1364,12 @@ public class MolecularSequence extends DomainResource { } /** - * @return {@link #observedAllele} (An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getObservedAllele" gives direct access to the value + * @return {@link #observedAllele} (Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getObservedAllele" gives direct access to the value */ public StringType getObservedAlleleElement() { if (this.observedAllele == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceVariantComponent.observedAllele"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeEditComponent.observedAllele"); else if (Configuration.doAutoCreate()) this.observedAllele = new StringType(); // bb return this.observedAllele; @@ -1433,24 +1384,24 @@ public class MolecularSequence extends DomainResource { } /** - * @param value {@link #observedAllele} (An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getObservedAllele" gives direct access to the value + * @param value {@link #observedAllele} (Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getObservedAllele" gives direct access to the value */ - public MolecularSequenceVariantComponent setObservedAlleleElement(StringType value) { + public MolecularSequenceRelativeEditComponent setObservedAlleleElement(StringType value) { this.observedAllele = value; return this; } /** - * @return An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + * @return Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. */ public String getObservedAllele() { return this.observedAllele == null ? null : this.observedAllele.getValue(); } /** - * @param value An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + * @param value Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. */ - public MolecularSequenceVariantComponent setObservedAllele(String value) { + public MolecularSequenceRelativeEditComponent setObservedAllele(String value) { if (Utilities.noString(value)) this.observedAllele = null; else { @@ -1462,12 +1413,12 @@ public class MolecularSequence extends DomainResource { } /** - * @return {@link #referenceAllele} (An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getReferenceAllele" gives direct access to the value + * @return {@link #referenceAllele} (Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getReferenceAllele" gives direct access to the value */ public StringType getReferenceAlleleElement() { if (this.referenceAllele == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceVariantComponent.referenceAllele"); + throw new Error("Attempt to auto-create MolecularSequenceRelativeEditComponent.referenceAllele"); else if (Configuration.doAutoCreate()) this.referenceAllele = new StringType(); // bb return this.referenceAllele; @@ -1482,24 +1433,24 @@ public class MolecularSequence extends DomainResource { } /** - * @param value {@link #referenceAllele} (An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getReferenceAllele" gives direct access to the value + * @param value {@link #referenceAllele} (Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.). This is the underlying object with id, value and extensions. The accessor "getReferenceAllele" gives direct access to the value */ - public MolecularSequenceVariantComponent setReferenceAlleleElement(StringType value) { + public MolecularSequenceRelativeEditComponent setReferenceAlleleElement(StringType value) { this.referenceAllele = value; return this; } /** - * @return An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + * @return Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. */ public String getReferenceAllele() { return this.referenceAllele == null ? null : this.referenceAllele.getValue(); } /** - * @param value An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + * @param value Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. */ - public MolecularSequenceVariantComponent setReferenceAllele(String value) { + public MolecularSequenceRelativeEditComponent setReferenceAllele(String value) { if (Utilities.noString(value)) this.referenceAllele = null; else { @@ -1510,98 +1461,21 @@ public class MolecularSequence extends DomainResource { return this; } - /** - * @return {@link #cigar} (Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).). This is the underlying object with id, value and extensions. The accessor "getCigar" gives direct access to the value - */ - public StringType getCigarElement() { - if (this.cigar == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceVariantComponent.cigar"); - else if (Configuration.doAutoCreate()) - this.cigar = new StringType(); // bb - return this.cigar; - } - - public boolean hasCigarElement() { - return this.cigar != null && !this.cigar.isEmpty(); - } - - public boolean hasCigar() { - return this.cigar != null && !this.cigar.isEmpty(); - } - - /** - * @param value {@link #cigar} (Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).). This is the underlying object with id, value and extensions. The accessor "getCigar" gives direct access to the value - */ - public MolecularSequenceVariantComponent setCigarElement(StringType value) { - this.cigar = value; - return this; - } - - /** - * @return Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm). - */ - public String getCigar() { - return this.cigar == null ? null : this.cigar.getValue(); - } - - /** - * @param value Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm). - */ - public MolecularSequenceVariantComponent setCigar(String value) { - if (Utilities.noString(value)) - this.cigar = null; - else { - if (this.cigar == null) - this.cigar = new StringType(); - this.cigar.setValue(value); - } - return this; - } - - /** - * @return {@link #variantPointer} (A pointer to an Observation containing variant information.) - */ - public Reference getVariantPointer() { - if (this.variantPointer == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceVariantComponent.variantPointer"); - else if (Configuration.doAutoCreate()) - this.variantPointer = new Reference(); // cc - return this.variantPointer; - } - - public boolean hasVariantPointer() { - return this.variantPointer != null && !this.variantPointer.isEmpty(); - } - - /** - * @param value {@link #variantPointer} (A pointer to an Observation containing variant information.) - */ - public MolecularSequenceVariantComponent setVariantPointer(Reference value) { - this.variantPointer = value; - return this; - } - protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("start", "integer", "Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start)); - children.add(new Property("end", "integer", "End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end)); - children.add(new Property("observedAllele", "string", "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, observedAllele)); - children.add(new Property("referenceAllele", "string", "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, referenceAllele)); - children.add(new Property("cigar", "string", "Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).", 0, 1, cigar)); - children.add(new Property("variantPointer", "Reference(Observation)", "A pointer to an Observation containing variant information.", 0, 1, variantPointer)); + children.add(new Property("start", "integer", "Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start)); + children.add(new Property("end", "integer", "End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end)); + children.add(new Property("observedAllele", "string", "Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, observedAllele)); + children.add(new Property("referenceAllele", "string", "Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, referenceAllele)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 109757538: /*start*/ return new Property("start", "integer", "Start position of the variant on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start); - case 100571: /*end*/ return new Property("end", "integer", "End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end); - case -1418745787: /*observedAllele*/ return new Property("observedAllele", "string", "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, observedAllele); - case 364045960: /*referenceAllele*/ return new Property("referenceAllele", "string", "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, referenceAllele); - case 94658738: /*cigar*/ return new Property("cigar", "string", "Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm).", 0, 1, cigar); - case -1654319624: /*variantPointer*/ return new Property("variantPointer", "Reference(Observation)", "A pointer to an Observation containing variant information.", 0, 1, variantPointer); + case 109757538: /*start*/ return new Property("start", "integer", "Start position of the edit on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start); + case 100571: /*end*/ return new Property("end", "integer", "End position of the edit on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end); + case -1418745787: /*observedAllele*/ return new Property("observedAllele", "string", "Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, observedAllele); + case 364045960: /*referenceAllele*/ return new Property("referenceAllele", "string", "Allele in the reference sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end.", 0, 1, referenceAllele); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1614,8 +1488,6 @@ public class MolecularSequence extends DomainResource { case 100571: /*end*/ return this.end == null ? new Base[0] : new Base[] {this.end}; // IntegerType case -1418745787: /*observedAllele*/ return this.observedAllele == null ? new Base[0] : new Base[] {this.observedAllele}; // StringType case 364045960: /*referenceAllele*/ return this.referenceAllele == null ? new Base[0] : new Base[] {this.referenceAllele}; // StringType - case 94658738: /*cigar*/ return this.cigar == null ? new Base[0] : new Base[] {this.cigar}; // StringType - case -1654319624: /*variantPointer*/ return this.variantPointer == null ? new Base[0] : new Base[] {this.variantPointer}; // Reference default: return super.getProperty(hash, name, checkValid); } @@ -1636,12 +1508,6 @@ public class MolecularSequence extends DomainResource { case 364045960: // referenceAllele this.referenceAllele = TypeConvertor.castToString(value); // StringType return value; - case 94658738: // cigar - this.cigar = TypeConvertor.castToString(value); // StringType - return value; - case -1654319624: // variantPointer - this.variantPointer = TypeConvertor.castToReference(value); // Reference - return value; default: return super.setProperty(hash, name, value); } @@ -1657,10 +1523,6 @@ public class MolecularSequence extends DomainResource { this.observedAllele = TypeConvertor.castToString(value); // StringType } else if (name.equals("referenceAllele")) { this.referenceAllele = TypeConvertor.castToString(value); // StringType - } else if (name.equals("cigar")) { - this.cigar = TypeConvertor.castToString(value); // StringType - } else if (name.equals("variantPointer")) { - this.variantPointer = TypeConvertor.castToReference(value); // Reference } else return super.setProperty(name, value); return value; @@ -1673,8 +1535,6 @@ public class MolecularSequence extends DomainResource { case 100571: return getEndElement(); case -1418745787: return getObservedAlleleElement(); case 364045960: return getReferenceAlleleElement(); - case 94658738: return getCigarElement(); - case -1654319624: return getVariantPointer(); default: return super.makeProperty(hash, name); } @@ -1687,8 +1547,6 @@ public class MolecularSequence extends DomainResource { case 100571: /*end*/ return new String[] {"integer"}; case -1418745787: /*observedAllele*/ return new String[] {"string"}; case 364045960: /*referenceAllele*/ return new String[] {"string"}; - case 94658738: /*cigar*/ return new String[] {"string"}; - case -1654319624: /*variantPointer*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -1697,3423 +1555,74 @@ public class MolecularSequence extends DomainResource { @Override public Base addChild(String name) throws FHIRException { if (name.equals("start")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.variant.start"); + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.edit.start"); } else if (name.equals("end")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.variant.end"); + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.edit.end"); } else if (name.equals("observedAllele")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.variant.observedAllele"); + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.edit.observedAllele"); } else if (name.equals("referenceAllele")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.variant.referenceAllele"); - } - else if (name.equals("cigar")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.variant.cigar"); - } - else if (name.equals("variantPointer")) { - this.variantPointer = new Reference(); - return this.variantPointer; + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.relative.edit.referenceAllele"); } else return super.addChild(name); } - public MolecularSequenceVariantComponent copy() { - MolecularSequenceVariantComponent dst = new MolecularSequenceVariantComponent(); + public MolecularSequenceRelativeEditComponent copy() { + MolecularSequenceRelativeEditComponent dst = new MolecularSequenceRelativeEditComponent(); copyValues(dst); return dst; } - public void copyValues(MolecularSequenceVariantComponent dst) { + public void copyValues(MolecularSequenceRelativeEditComponent dst) { super.copyValues(dst); dst.start = start == null ? null : start.copy(); dst.end = end == null ? null : end.copy(); dst.observedAllele = observedAllele == null ? null : observedAllele.copy(); dst.referenceAllele = referenceAllele == null ? null : referenceAllele.copy(); - dst.cigar = cigar == null ? null : cigar.copy(); - dst.variantPointer = variantPointer == null ? null : variantPointer.copy(); } @Override public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof MolecularSequenceVariantComponent)) + if (!(other_ instanceof MolecularSequenceRelativeEditComponent)) return false; - MolecularSequenceVariantComponent o = (MolecularSequenceVariantComponent) other_; + MolecularSequenceRelativeEditComponent o = (MolecularSequenceRelativeEditComponent) other_; return compareDeep(start, o.start, true) && compareDeep(end, o.end, true) && compareDeep(observedAllele, o.observedAllele, true) - && compareDeep(referenceAllele, o.referenceAllele, true) && compareDeep(cigar, o.cigar, true) && compareDeep(variantPointer, o.variantPointer, true) - ; + && compareDeep(referenceAllele, o.referenceAllele, true); } @Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof MolecularSequenceVariantComponent)) + if (!(other_ instanceof MolecularSequenceRelativeEditComponent)) return false; - MolecularSequenceVariantComponent o = (MolecularSequenceVariantComponent) other_; + MolecularSequenceRelativeEditComponent o = (MolecularSequenceRelativeEditComponent) other_; return compareValues(start, o.start, true) && compareValues(end, o.end, true) && compareValues(observedAllele, o.observedAllele, true) - && compareValues(referenceAllele, o.referenceAllele, true) && compareValues(cigar, o.cigar, true); + && compareValues(referenceAllele, o.referenceAllele, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(start, end, observedAllele - , referenceAllele, cigar, variantPointer); + , referenceAllele); } public String fhirType() { - return "MolecularSequence.variant"; - - } - - } - - @Block() - public static class MolecularSequenceQualityComponent extends BackboneElement implements IBaseBackboneElement { - /** - * INDEL / SNP / Undefined variant. - */ - @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="indel | snp | unknown", formalDefinition="INDEL / SNP / Undefined variant." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/quality-type") - protected Enumeration type; - - /** - * Gold standard sequence used for comparing against. - */ - @Child(name = "standardSequence", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Standard sequence for comparison", formalDefinition="Gold standard sequence used for comparing against." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence") - protected CodeableConcept standardSequence; - - /** - * Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - @Child(name = "start", type = {IntegerType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Start position of the sequence", formalDefinition="Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive." ) - protected IntegerType start; - - /** - * End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - @Child(name = "end", type = {IntegerType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="End position of the sequence", formalDefinition="End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position." ) - protected IntegerType end; - - /** - * The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)). - */ - @Child(name = "score", type = {Quantity.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Quality score for the comparison", formalDefinition="The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685))." ) - protected Quantity score; - - /** - * Which method is used to get sequence quality. - */ - @Child(name = "method", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Method to get quality", formalDefinition="Which method is used to get sequence quality." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/sequence-quality-method") - protected CodeableConcept method; - - /** - * True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - @Child(name = "truthTP", type = {DecimalType.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="True positives from the perspective of the truth data", formalDefinition="True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event." ) - protected DecimalType truthTP; - - /** - * True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - @Child(name = "queryTP", type = {DecimalType.class}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="True positives from the perspective of the query data", formalDefinition="True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event." ) - protected DecimalType queryTP; - - /** - * False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here. - */ - @Child(name = "truthFN", type = {DecimalType.class}, order=9, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="False negatives", formalDefinition="False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here." ) - protected DecimalType truthFN; - - /** - * False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here. - */ - @Child(name = "queryFP", type = {DecimalType.class}, order=10, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="False positives", formalDefinition="False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here." ) - protected DecimalType queryFP; - - /** - * The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar). - */ - @Child(name = "gtFP", type = {DecimalType.class}, order=11, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="False positives where the non-REF alleles in the Truth and Query Call Sets match", formalDefinition="The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar)." ) - protected DecimalType gtFP; - - /** - * QUERY.TP / (QUERY.TP + QUERY.FP). - */ - @Child(name = "precision", type = {DecimalType.class}, order=12, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Precision of comparison", formalDefinition="QUERY.TP / (QUERY.TP + QUERY.FP)." ) - protected DecimalType precision; - - /** - * TRUTH.TP / (TRUTH.TP + TRUTH.FN). - */ - @Child(name = "recall", type = {DecimalType.class}, order=13, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Recall of comparison", formalDefinition="TRUTH.TP / (TRUTH.TP + TRUTH.FN)." ) - protected DecimalType recall; - - /** - * Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall). - */ - @Child(name = "fScore", type = {DecimalType.class}, order=14, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="F-score", formalDefinition="Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall)." ) - protected DecimalType fScore; - - /** - * Receiver Operator Characteristic (ROC) Curve to give sensitivity/specificity tradeoff. - */ - @Child(name = "roc", type = {}, order=15, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Receiver Operator Characteristic (ROC) Curve", formalDefinition="Receiver Operator Characteristic (ROC) Curve to give sensitivity/specificity tradeoff." ) - protected MolecularSequenceQualityRocComponent roc; - - private static final long serialVersionUID = -811933526L; - - /** - * Constructor - */ - public MolecularSequenceQualityComponent() { - super(); - } - - /** - * Constructor - */ - public MolecularSequenceQualityComponent(QualityType type) { - super(); - this.setType(type); - } - - /** - * @return {@link #type} (INDEL / SNP / Undefined variant.). 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 MolecularSequenceQualityComponent.type"); - else if (Configuration.doAutoCreate()) - this.type = new Enumeration(new QualityTypeEnumFactory()); // 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} (INDEL / SNP / Undefined variant.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value - */ - public MolecularSequenceQualityComponent setTypeElement(Enumeration value) { - this.type = value; - return this; - } - - /** - * @return INDEL / SNP / Undefined variant. - */ - public QualityType getType() { - return this.type == null ? null : this.type.getValue(); - } - - /** - * @param value INDEL / SNP / Undefined variant. - */ - public MolecularSequenceQualityComponent setType(QualityType value) { - if (this.type == null) - this.type = new Enumeration(new QualityTypeEnumFactory()); - this.type.setValue(value); - return this; - } - - /** - * @return {@link #standardSequence} (Gold standard sequence used for comparing against.) - */ - public CodeableConcept getStandardSequence() { - if (this.standardSequence == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.standardSequence"); - else if (Configuration.doAutoCreate()) - this.standardSequence = new CodeableConcept(); // cc - return this.standardSequence; - } - - public boolean hasStandardSequence() { - return this.standardSequence != null && !this.standardSequence.isEmpty(); - } - - /** - * @param value {@link #standardSequence} (Gold standard sequence used for comparing against.) - */ - public MolecularSequenceQualityComponent setStandardSequence(CodeableConcept value) { - this.standardSequence = value; - return this; - } - - /** - * @return {@link #start} (Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value - */ - public IntegerType getStartElement() { - if (this.start == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.start"); - else if (Configuration.doAutoCreate()) - this.start = new IntegerType(); // bb - return this.start; - } - - public boolean hasStartElement() { - return this.start != null && !this.start.isEmpty(); - } - - public boolean hasStart() { - return this.start != null && !this.start.isEmpty(); - } - - /** - * @param value {@link #start} (Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value - */ - public MolecularSequenceQualityComponent setStartElement(IntegerType value) { - this.start = value; - return this; - } - - /** - * @return Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public int getStart() { - return this.start == null || this.start.isEmpty() ? 0 : this.start.getValue(); - } - - /** - * @param value Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public MolecularSequenceQualityComponent setStart(int value) { - if (this.start == null) - this.start = new IntegerType(); - this.start.setValue(value); - return this; - } - - /** - * @return {@link #end} (End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value - */ - public IntegerType getEndElement() { - if (this.end == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.end"); - else if (Configuration.doAutoCreate()) - this.end = new IntegerType(); // bb - return this.end; - } - - public boolean hasEndElement() { - return this.end != null && !this.end.isEmpty(); - } - - public boolean hasEnd() { - return this.end != null && !this.end.isEmpty(); - } - - /** - * @param value {@link #end} (End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value - */ - public MolecularSequenceQualityComponent setEndElement(IntegerType value) { - this.end = value; - return this; - } - - /** - * @return End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public int getEnd() { - return this.end == null || this.end.isEmpty() ? 0 : this.end.getValue(); - } - - /** - * @param value End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public MolecularSequenceQualityComponent setEnd(int value) { - if (this.end == null) - this.end = new IntegerType(); - this.end.setValue(value); - return this; - } - - /** - * @return {@link #score} (The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).) - */ - public Quantity getScore() { - if (this.score == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.score"); - else if (Configuration.doAutoCreate()) - this.score = new Quantity(); // cc - return this.score; - } - - public boolean hasScore() { - return this.score != null && !this.score.isEmpty(); - } - - /** - * @param value {@link #score} (The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).) - */ - public MolecularSequenceQualityComponent setScore(Quantity value) { - this.score = value; - return this; - } - - /** - * @return {@link #method} (Which method is used to get sequence quality.) - */ - public CodeableConcept getMethod() { - if (this.method == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.method"); - else if (Configuration.doAutoCreate()) - this.method = new CodeableConcept(); // cc - return this.method; - } - - public boolean hasMethod() { - return this.method != null && !this.method.isEmpty(); - } - - /** - * @param value {@link #method} (Which method is used to get sequence quality.) - */ - public MolecularSequenceQualityComponent setMethod(CodeableConcept value) { - this.method = value; - return this; - } - - /** - * @return {@link #truthTP} (True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getTruthTP" gives direct access to the value - */ - public DecimalType getTruthTPElement() { - if (this.truthTP == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.truthTP"); - else if (Configuration.doAutoCreate()) - this.truthTP = new DecimalType(); // bb - return this.truthTP; - } - - public boolean hasTruthTPElement() { - return this.truthTP != null && !this.truthTP.isEmpty(); - } - - public boolean hasTruthTP() { - return this.truthTP != null && !this.truthTP.isEmpty(); - } - - /** - * @param value {@link #truthTP} (True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getTruthTP" gives direct access to the value - */ - public MolecularSequenceQualityComponent setTruthTPElement(DecimalType value) { - this.truthTP = value; - return this; - } - - /** - * @return True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public BigDecimal getTruthTP() { - return this.truthTP == null ? null : this.truthTP.getValue(); - } - - /** - * @param value True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public MolecularSequenceQualityComponent setTruthTP(BigDecimal value) { - if (value == null) - this.truthTP = null; - else { - if (this.truthTP == null) - this.truthTP = new DecimalType(); - this.truthTP.setValue(value); - } - return this; - } - - /** - * @param value True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public MolecularSequenceQualityComponent setTruthTP(long value) { - this.truthTP = new DecimalType(); - this.truthTP.setValue(value); - return this; - } - - /** - * @param value True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public MolecularSequenceQualityComponent setTruthTP(double value) { - this.truthTP = new DecimalType(); - this.truthTP.setValue(value); - return this; - } - - /** - * @return {@link #queryTP} (True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getQueryTP" gives direct access to the value - */ - public DecimalType getQueryTPElement() { - if (this.queryTP == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.queryTP"); - else if (Configuration.doAutoCreate()) - this.queryTP = new DecimalType(); // bb - return this.queryTP; - } - - public boolean hasQueryTPElement() { - return this.queryTP != null && !this.queryTP.isEmpty(); - } - - public boolean hasQueryTP() { - return this.queryTP != null && !this.queryTP.isEmpty(); - } - - /** - * @param value {@link #queryTP} (True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getQueryTP" gives direct access to the value - */ - public MolecularSequenceQualityComponent setQueryTPElement(DecimalType value) { - this.queryTP = value; - return this; - } - - /** - * @return True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public BigDecimal getQueryTP() { - return this.queryTP == null ? null : this.queryTP.getValue(); - } - - /** - * @param value True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public MolecularSequenceQualityComponent setQueryTP(BigDecimal value) { - if (value == null) - this.queryTP = null; - else { - if (this.queryTP == null) - this.queryTP = new DecimalType(); - this.queryTP.setValue(value); - } - return this; - } - - /** - * @param value True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public MolecularSequenceQualityComponent setQueryTP(long value) { - this.queryTP = new DecimalType(); - this.queryTP.setValue(value); - return this; - } - - /** - * @param value True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event. - */ - public MolecularSequenceQualityComponent setQueryTP(double value) { - this.queryTP = new DecimalType(); - this.queryTP.setValue(value); - return this; - } - - /** - * @return {@link #truthFN} (False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getTruthFN" gives direct access to the value - */ - public DecimalType getTruthFNElement() { - if (this.truthFN == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.truthFN"); - else if (Configuration.doAutoCreate()) - this.truthFN = new DecimalType(); // bb - return this.truthFN; - } - - public boolean hasTruthFNElement() { - return this.truthFN != null && !this.truthFN.isEmpty(); - } - - public boolean hasTruthFN() { - return this.truthFN != null && !this.truthFN.isEmpty(); - } - - /** - * @param value {@link #truthFN} (False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getTruthFN" gives direct access to the value - */ - public MolecularSequenceQualityComponent setTruthFNElement(DecimalType value) { - this.truthFN = value; - return this; - } - - /** - * @return False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here. - */ - public BigDecimal getTruthFN() { - return this.truthFN == null ? null : this.truthFN.getValue(); - } - - /** - * @param value False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here. - */ - public MolecularSequenceQualityComponent setTruthFN(BigDecimal value) { - if (value == null) - this.truthFN = null; - else { - if (this.truthFN == null) - this.truthFN = new DecimalType(); - this.truthFN.setValue(value); - } - return this; - } - - /** - * @param value False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here. - */ - public MolecularSequenceQualityComponent setTruthFN(long value) { - this.truthFN = new DecimalType(); - this.truthFN.setValue(value); - return this; - } - - /** - * @param value False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here. - */ - public MolecularSequenceQualityComponent setTruthFN(double value) { - this.truthFN = new DecimalType(); - this.truthFN.setValue(value); - return this; - } - - /** - * @return {@link #queryFP} (False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getQueryFP" gives direct access to the value - */ - public DecimalType getQueryFPElement() { - if (this.queryFP == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.queryFP"); - else if (Configuration.doAutoCreate()) - this.queryFP = new DecimalType(); // bb - return this.queryFP; - } - - public boolean hasQueryFPElement() { - return this.queryFP != null && !this.queryFP.isEmpty(); - } - - public boolean hasQueryFP() { - return this.queryFP != null && !this.queryFP.isEmpty(); - } - - /** - * @param value {@link #queryFP} (False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getQueryFP" gives direct access to the value - */ - public MolecularSequenceQualityComponent setQueryFPElement(DecimalType value) { - this.queryFP = value; - return this; - } - - /** - * @return False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here. - */ - public BigDecimal getQueryFP() { - return this.queryFP == null ? null : this.queryFP.getValue(); - } - - /** - * @param value False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here. - */ - public MolecularSequenceQualityComponent setQueryFP(BigDecimal value) { - if (value == null) - this.queryFP = null; - else { - if (this.queryFP == null) - this.queryFP = new DecimalType(); - this.queryFP.setValue(value); - } - return this; - } - - /** - * @param value False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here. - */ - public MolecularSequenceQualityComponent setQueryFP(long value) { - this.queryFP = new DecimalType(); - this.queryFP.setValue(value); - return this; - } - - /** - * @param value False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here. - */ - public MolecularSequenceQualityComponent setQueryFP(double value) { - this.queryFP = new DecimalType(); - this.queryFP.setValue(value); - return this; - } - - /** - * @return {@link #gtFP} (The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).). This is the underlying object with id, value and extensions. The accessor "getGtFP" gives direct access to the value - */ - public DecimalType getGtFPElement() { - if (this.gtFP == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.gtFP"); - else if (Configuration.doAutoCreate()) - this.gtFP = new DecimalType(); // bb - return this.gtFP; - } - - public boolean hasGtFPElement() { - return this.gtFP != null && !this.gtFP.isEmpty(); - } - - public boolean hasGtFP() { - return this.gtFP != null && !this.gtFP.isEmpty(); - } - - /** - * @param value {@link #gtFP} (The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).). This is the underlying object with id, value and extensions. The accessor "getGtFP" gives direct access to the value - */ - public MolecularSequenceQualityComponent setGtFPElement(DecimalType value) { - this.gtFP = value; - return this; - } - - /** - * @return The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar). - */ - public BigDecimal getGtFP() { - return this.gtFP == null ? null : this.gtFP.getValue(); - } - - /** - * @param value The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar). - */ - public MolecularSequenceQualityComponent setGtFP(BigDecimal value) { - if (value == null) - this.gtFP = null; - else { - if (this.gtFP == null) - this.gtFP = new DecimalType(); - this.gtFP.setValue(value); - } - return this; - } - - /** - * @param value The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar). - */ - public MolecularSequenceQualityComponent setGtFP(long value) { - this.gtFP = new DecimalType(); - this.gtFP.setValue(value); - return this; - } - - /** - * @param value The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar). - */ - public MolecularSequenceQualityComponent setGtFP(double value) { - this.gtFP = new DecimalType(); - this.gtFP.setValue(value); - return this; - } - - /** - * @return {@link #precision} (QUERY.TP / (QUERY.TP + QUERY.FP).). This is the underlying object with id, value and extensions. The accessor "getPrecision" gives direct access to the value - */ - public DecimalType getPrecisionElement() { - if (this.precision == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.precision"); - else if (Configuration.doAutoCreate()) - this.precision = new DecimalType(); // bb - return this.precision; - } - - public boolean hasPrecisionElement() { - return this.precision != null && !this.precision.isEmpty(); - } - - public boolean hasPrecision() { - return this.precision != null && !this.precision.isEmpty(); - } - - /** - * @param value {@link #precision} (QUERY.TP / (QUERY.TP + QUERY.FP).). This is the underlying object with id, value and extensions. The accessor "getPrecision" gives direct access to the value - */ - public MolecularSequenceQualityComponent setPrecisionElement(DecimalType value) { - this.precision = value; - return this; - } - - /** - * @return QUERY.TP / (QUERY.TP + QUERY.FP). - */ - public BigDecimal getPrecision() { - return this.precision == null ? null : this.precision.getValue(); - } - - /** - * @param value QUERY.TP / (QUERY.TP + QUERY.FP). - */ - public MolecularSequenceQualityComponent setPrecision(BigDecimal value) { - if (value == null) - this.precision = null; - else { - if (this.precision == null) - this.precision = new DecimalType(); - this.precision.setValue(value); - } - return this; - } - - /** - * @param value QUERY.TP / (QUERY.TP + QUERY.FP). - */ - public MolecularSequenceQualityComponent setPrecision(long value) { - this.precision = new DecimalType(); - this.precision.setValue(value); - return this; - } - - /** - * @param value QUERY.TP / (QUERY.TP + QUERY.FP). - */ - public MolecularSequenceQualityComponent setPrecision(double value) { - this.precision = new DecimalType(); - this.precision.setValue(value); - return this; - } - - /** - * @return {@link #recall} (TRUTH.TP / (TRUTH.TP + TRUTH.FN).). This is the underlying object with id, value and extensions. The accessor "getRecall" gives direct access to the value - */ - public DecimalType getRecallElement() { - if (this.recall == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.recall"); - else if (Configuration.doAutoCreate()) - this.recall = new DecimalType(); // bb - return this.recall; - } - - public boolean hasRecallElement() { - return this.recall != null && !this.recall.isEmpty(); - } - - public boolean hasRecall() { - return this.recall != null && !this.recall.isEmpty(); - } - - /** - * @param value {@link #recall} (TRUTH.TP / (TRUTH.TP + TRUTH.FN).). This is the underlying object with id, value and extensions. The accessor "getRecall" gives direct access to the value - */ - public MolecularSequenceQualityComponent setRecallElement(DecimalType value) { - this.recall = value; - return this; - } - - /** - * @return TRUTH.TP / (TRUTH.TP + TRUTH.FN). - */ - public BigDecimal getRecall() { - return this.recall == null ? null : this.recall.getValue(); - } - - /** - * @param value TRUTH.TP / (TRUTH.TP + TRUTH.FN). - */ - public MolecularSequenceQualityComponent setRecall(BigDecimal value) { - if (value == null) - this.recall = null; - else { - if (this.recall == null) - this.recall = new DecimalType(); - this.recall.setValue(value); - } - return this; - } - - /** - * @param value TRUTH.TP / (TRUTH.TP + TRUTH.FN). - */ - public MolecularSequenceQualityComponent setRecall(long value) { - this.recall = new DecimalType(); - this.recall.setValue(value); - return this; - } - - /** - * @param value TRUTH.TP / (TRUTH.TP + TRUTH.FN). - */ - public MolecularSequenceQualityComponent setRecall(double value) { - this.recall = new DecimalType(); - this.recall.setValue(value); - return this; - } - - /** - * @return {@link #fScore} (Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).). This is the underlying object with id, value and extensions. The accessor "getFScore" gives direct access to the value - */ - public DecimalType getFScoreElement() { - if (this.fScore == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.fScore"); - else if (Configuration.doAutoCreate()) - this.fScore = new DecimalType(); // bb - return this.fScore; - } - - public boolean hasFScoreElement() { - return this.fScore != null && !this.fScore.isEmpty(); - } - - public boolean hasFScore() { - return this.fScore != null && !this.fScore.isEmpty(); - } - - /** - * @param value {@link #fScore} (Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).). This is the underlying object with id, value and extensions. The accessor "getFScore" gives direct access to the value - */ - public MolecularSequenceQualityComponent setFScoreElement(DecimalType value) { - this.fScore = value; - return this; - } - - /** - * @return Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall). - */ - public BigDecimal getFScore() { - return this.fScore == null ? null : this.fScore.getValue(); - } - - /** - * @param value Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall). - */ - public MolecularSequenceQualityComponent setFScore(BigDecimal value) { - if (value == null) - this.fScore = null; - else { - if (this.fScore == null) - this.fScore = new DecimalType(); - this.fScore.setValue(value); - } - return this; - } - - /** - * @param value Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall). - */ - public MolecularSequenceQualityComponent setFScore(long value) { - this.fScore = new DecimalType(); - this.fScore.setValue(value); - return this; - } - - /** - * @param value Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall). - */ - public MolecularSequenceQualityComponent setFScore(double value) { - this.fScore = new DecimalType(); - this.fScore.setValue(value); - return this; - } - - /** - * @return {@link #roc} (Receiver Operator Characteristic (ROC) Curve to give sensitivity/specificity tradeoff.) - */ - public MolecularSequenceQualityRocComponent getRoc() { - if (this.roc == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceQualityComponent.roc"); - else if (Configuration.doAutoCreate()) - this.roc = new MolecularSequenceQualityRocComponent(); // cc - return this.roc; - } - - public boolean hasRoc() { - return this.roc != null && !this.roc.isEmpty(); - } - - /** - * @param value {@link #roc} (Receiver Operator Characteristic (ROC) Curve to give sensitivity/specificity tradeoff.) - */ - public MolecularSequenceQualityComponent setRoc(MolecularSequenceQualityRocComponent value) { - this.roc = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("type", "code", "INDEL / SNP / Undefined variant.", 0, 1, type)); - children.add(new Property("standardSequence", "CodeableConcept", "Gold standard sequence used for comparing against.", 0, 1, standardSequence)); - children.add(new Property("start", "integer", "Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start)); - children.add(new Property("end", "integer", "End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end)); - children.add(new Property("score", "Quantity", "The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).", 0, 1, score)); - children.add(new Property("method", "CodeableConcept", "Which method is used to get sequence quality.", 0, 1, method)); - children.add(new Property("truthTP", "decimal", "True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.", 0, 1, truthTP)); - children.add(new Property("queryTP", "decimal", "True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.", 0, 1, queryTP)); - children.add(new Property("truthFN", "decimal", "False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.", 0, 1, truthFN)); - children.add(new Property("queryFP", "decimal", "False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.", 0, 1, queryFP)); - children.add(new Property("gtFP", "decimal", "The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).", 0, 1, gtFP)); - children.add(new Property("precision", "decimal", "QUERY.TP / (QUERY.TP + QUERY.FP).", 0, 1, precision)); - children.add(new Property("recall", "decimal", "TRUTH.TP / (TRUTH.TP + TRUTH.FN).", 0, 1, recall)); - children.add(new Property("fScore", "decimal", "Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).", 0, 1, fScore)); - children.add(new Property("roc", "", "Receiver Operator Characteristic (ROC) Curve to give sensitivity/specificity tradeoff.", 0, 1, roc)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3575610: /*type*/ return new Property("type", "code", "INDEL / SNP / Undefined variant.", 0, 1, type); - case -1861227106: /*standardSequence*/ return new Property("standardSequence", "CodeableConcept", "Gold standard sequence used for comparing against.", 0, 1, standardSequence); - case 109757538: /*start*/ return new Property("start", "integer", "Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start); - case 100571: /*end*/ return new Property("end", "integer", "End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end); - case 109264530: /*score*/ return new Property("score", "Quantity", "The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).", 0, 1, score); - case -1077554975: /*method*/ return new Property("method", "CodeableConcept", "Which method is used to get sequence quality.", 0, 1, method); - case -1048421849: /*truthTP*/ return new Property("truthTP", "decimal", "True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.", 0, 1, truthTP); - case 655102276: /*queryTP*/ return new Property("queryTP", "decimal", "True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.", 0, 1, queryTP); - case -1048422285: /*truthFN*/ return new Property("truthFN", "decimal", "False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.", 0, 1, truthFN); - case 655101842: /*queryFP*/ return new Property("queryFP", "decimal", "False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.", 0, 1, queryFP); - case 3182199: /*gtFP*/ return new Property("gtFP", "decimal", "The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).", 0, 1, gtFP); - case -1376177026: /*precision*/ return new Property("precision", "decimal", "QUERY.TP / (QUERY.TP + QUERY.FP).", 0, 1, precision); - case -934922479: /*recall*/ return new Property("recall", "decimal", "TRUTH.TP / (TRUTH.TP + TRUTH.FN).", 0, 1, recall); - case -1295082036: /*fScore*/ return new Property("fScore", "decimal", "Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).", 0, 1, fScore); - case 113094: /*roc*/ return new Property("roc", "", "Receiver Operator Characteristic (ROC) Curve to give sensitivity/specificity tradeoff.", 0, 1, roc); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration - case -1861227106: /*standardSequence*/ return this.standardSequence == null ? new Base[0] : new Base[] {this.standardSequence}; // CodeableConcept - case 109757538: /*start*/ return this.start == null ? new Base[0] : new Base[] {this.start}; // IntegerType - case 100571: /*end*/ return this.end == null ? new Base[0] : new Base[] {this.end}; // IntegerType - case 109264530: /*score*/ return this.score == null ? new Base[0] : new Base[] {this.score}; // Quantity - case -1077554975: /*method*/ return this.method == null ? new Base[0] : new Base[] {this.method}; // CodeableConcept - case -1048421849: /*truthTP*/ return this.truthTP == null ? new Base[0] : new Base[] {this.truthTP}; // DecimalType - case 655102276: /*queryTP*/ return this.queryTP == null ? new Base[0] : new Base[] {this.queryTP}; // DecimalType - case -1048422285: /*truthFN*/ return this.truthFN == null ? new Base[0] : new Base[] {this.truthFN}; // DecimalType - case 655101842: /*queryFP*/ return this.queryFP == null ? new Base[0] : new Base[] {this.queryFP}; // DecimalType - case 3182199: /*gtFP*/ return this.gtFP == null ? new Base[0] : new Base[] {this.gtFP}; // DecimalType - case -1376177026: /*precision*/ return this.precision == null ? new Base[0] : new Base[] {this.precision}; // DecimalType - case -934922479: /*recall*/ return this.recall == null ? new Base[0] : new Base[] {this.recall}; // DecimalType - case -1295082036: /*fScore*/ return this.fScore == null ? new Base[0] : new Base[] {this.fScore}; // DecimalType - case 113094: /*roc*/ return this.roc == null ? new Base[0] : new Base[] {this.roc}; // MolecularSequenceQualityRocComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3575610: // type - value = new QualityTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration - return value; - case -1861227106: // standardSequence - this.standardSequence = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case 109757538: // start - this.start = TypeConvertor.castToInteger(value); // IntegerType - return value; - case 100571: // end - this.end = TypeConvertor.castToInteger(value); // IntegerType - return value; - case 109264530: // score - this.score = TypeConvertor.castToQuantity(value); // Quantity - return value; - case -1077554975: // method - this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -1048421849: // truthTP - this.truthTP = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case 655102276: // queryTP - this.queryTP = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case -1048422285: // truthFN - this.truthFN = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case 655101842: // queryFP - this.queryFP = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case 3182199: // gtFP - this.gtFP = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case -1376177026: // precision - this.precision = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case -934922479: // recall - this.recall = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case -1295082036: // fScore - this.fScore = TypeConvertor.castToDecimal(value); // DecimalType - return value; - case 113094: // roc - this.roc = (MolecularSequenceQualityRocComponent) value; // MolecularSequenceQualityRocComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("type")) { - value = new QualityTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration - } else if (name.equals("standardSequence")) { - this.standardSequence = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("start")) { - this.start = TypeConvertor.castToInteger(value); // IntegerType - } else if (name.equals("end")) { - this.end = TypeConvertor.castToInteger(value); // IntegerType - } else if (name.equals("score")) { - this.score = TypeConvertor.castToQuantity(value); // Quantity - } else if (name.equals("method")) { - this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("truthTP")) { - this.truthTP = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("queryTP")) { - this.queryTP = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("truthFN")) { - this.truthFN = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("queryFP")) { - this.queryFP = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("gtFP")) { - this.gtFP = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("precision")) { - this.precision = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("recall")) { - this.recall = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("fScore")) { - this.fScore = TypeConvertor.castToDecimal(value); // DecimalType - } else if (name.equals("roc")) { - this.roc = (MolecularSequenceQualityRocComponent) value; // MolecularSequenceQualityRocComponent - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3575610: return getTypeElement(); - case -1861227106: return getStandardSequence(); - case 109757538: return getStartElement(); - case 100571: return getEndElement(); - case 109264530: return getScore(); - case -1077554975: return getMethod(); - case -1048421849: return getTruthTPElement(); - case 655102276: return getQueryTPElement(); - case -1048422285: return getTruthFNElement(); - case 655101842: return getQueryFPElement(); - case 3182199: return getGtFPElement(); - case -1376177026: return getPrecisionElement(); - case -934922479: return getRecallElement(); - case -1295082036: return getFScoreElement(); - case 113094: return getRoc(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3575610: /*type*/ return new String[] {"code"}; - case -1861227106: /*standardSequence*/ return new String[] {"CodeableConcept"}; - case 109757538: /*start*/ return new String[] {"integer"}; - case 100571: /*end*/ return new String[] {"integer"}; - case 109264530: /*score*/ return new String[] {"Quantity"}; - case -1077554975: /*method*/ return new String[] {"CodeableConcept"}; - case -1048421849: /*truthTP*/ return new String[] {"decimal"}; - case 655102276: /*queryTP*/ return new String[] {"decimal"}; - case -1048422285: /*truthFN*/ return new String[] {"decimal"}; - case 655101842: /*queryFP*/ return new String[] {"decimal"}; - case 3182199: /*gtFP*/ return new String[] {"decimal"}; - case -1376177026: /*precision*/ return new String[] {"decimal"}; - case -934922479: /*recall*/ return new String[] {"decimal"}; - case -1295082036: /*fScore*/ return new String[] {"decimal"}; - case 113094: /*roc*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("type")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.type"); - } - else if (name.equals("standardSequence")) { - this.standardSequence = new CodeableConcept(); - return this.standardSequence; - } - else if (name.equals("start")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.start"); - } - else if (name.equals("end")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.end"); - } - else if (name.equals("score")) { - this.score = new Quantity(); - return this.score; - } - else if (name.equals("method")) { - this.method = new CodeableConcept(); - return this.method; - } - else if (name.equals("truthTP")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.truthTP"); - } - else if (name.equals("queryTP")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.queryTP"); - } - else if (name.equals("truthFN")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.truthFN"); - } - else if (name.equals("queryFP")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.queryFP"); - } - else if (name.equals("gtFP")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.gtFP"); - } - else if (name.equals("precision")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.precision"); - } - else if (name.equals("recall")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.recall"); - } - else if (name.equals("fScore")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.fScore"); - } - else if (name.equals("roc")) { - this.roc = new MolecularSequenceQualityRocComponent(); - return this.roc; - } - else - return super.addChild(name); - } - - public MolecularSequenceQualityComponent copy() { - MolecularSequenceQualityComponent dst = new MolecularSequenceQualityComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(MolecularSequenceQualityComponent dst) { - super.copyValues(dst); - dst.type = type == null ? null : type.copy(); - dst.standardSequence = standardSequence == null ? null : standardSequence.copy(); - dst.start = start == null ? null : start.copy(); - dst.end = end == null ? null : end.copy(); - dst.score = score == null ? null : score.copy(); - dst.method = method == null ? null : method.copy(); - dst.truthTP = truthTP == null ? null : truthTP.copy(); - dst.queryTP = queryTP == null ? null : queryTP.copy(); - dst.truthFN = truthFN == null ? null : truthFN.copy(); - dst.queryFP = queryFP == null ? null : queryFP.copy(); - dst.gtFP = gtFP == null ? null : gtFP.copy(); - dst.precision = precision == null ? null : precision.copy(); - dst.recall = recall == null ? null : recall.copy(); - dst.fScore = fScore == null ? null : fScore.copy(); - dst.roc = roc == null ? null : roc.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof MolecularSequenceQualityComponent)) - return false; - MolecularSequenceQualityComponent o = (MolecularSequenceQualityComponent) other_; - return compareDeep(type, o.type, true) && compareDeep(standardSequence, o.standardSequence, true) - && compareDeep(start, o.start, true) && compareDeep(end, o.end, true) && compareDeep(score, o.score, true) - && compareDeep(method, o.method, true) && compareDeep(truthTP, o.truthTP, true) && compareDeep(queryTP, o.queryTP, true) - && compareDeep(truthFN, o.truthFN, true) && compareDeep(queryFP, o.queryFP, true) && compareDeep(gtFP, o.gtFP, true) - && compareDeep(precision, o.precision, true) && compareDeep(recall, o.recall, true) && compareDeep(fScore, o.fScore, true) - && compareDeep(roc, o.roc, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof MolecularSequenceQualityComponent)) - return false; - MolecularSequenceQualityComponent o = (MolecularSequenceQualityComponent) other_; - return compareValues(type, o.type, true) && compareValues(start, o.start, true) && compareValues(end, o.end, true) - && compareValues(truthTP, o.truthTP, true) && compareValues(queryTP, o.queryTP, true) && compareValues(truthFN, o.truthFN, true) - && compareValues(queryFP, o.queryFP, true) && compareValues(gtFP, o.gtFP, true) && compareValues(precision, o.precision, true) - && compareValues(recall, o.recall, true) && compareValues(fScore, o.fScore, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, standardSequence, start - , end, score, method, truthTP, queryTP, truthFN, queryFP, gtFP, precision - , recall, fScore, roc); - } - - public String fhirType() { - return "MolecularSequence.quality"; - - } - - } - - @Block() - public static class MolecularSequenceQualityRocComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Invidual data point representing the GQ (genotype quality) score threshold. - */ - @Child(name = "score", type = {IntegerType.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Genotype quality score", formalDefinition="Invidual data point representing the GQ (genotype quality) score threshold." ) - protected List score; - - /** - * The number of true positives if the GQ score threshold was set to "score" field value. - */ - @Child(name = "numTP", type = {IntegerType.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Roc score true positive numbers", formalDefinition="The number of true positives if the GQ score threshold was set to \"score\" field value." ) - protected List numTP; - - /** - * The number of false positives if the GQ score threshold was set to "score" field value. - */ - @Child(name = "numFP", type = {IntegerType.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Roc score false positive numbers", formalDefinition="The number of false positives if the GQ score threshold was set to \"score\" field value." ) - protected List numFP; - - /** - * The number of false negatives if the GQ score threshold was set to "score" field value. - */ - @Child(name = "numFN", type = {IntegerType.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Roc score false negative numbers", formalDefinition="The number of false negatives if the GQ score threshold was set to \"score\" field value." ) - protected List numFN; - - /** - * Calculated precision if the GQ score threshold was set to "score" field value. - */ - @Child(name = "precision", type = {DecimalType.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Precision of the GQ score", formalDefinition="Calculated precision if the GQ score threshold was set to \"score\" field value." ) - protected List precision; - - /** - * Calculated sensitivity if the GQ score threshold was set to "score" field value. - */ - @Child(name = "sensitivity", type = {DecimalType.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Sensitivity of the GQ score", formalDefinition="Calculated sensitivity if the GQ score threshold was set to \"score\" field value." ) - protected List sensitivity; - - /** - * Calculated fScore if the GQ score threshold was set to "score" field value. - */ - @Child(name = "fMeasure", type = {DecimalType.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="FScore of the GQ score", formalDefinition="Calculated fScore if the GQ score threshold was set to \"score\" field value." ) - protected List fMeasure; - - private static final long serialVersionUID = 1923392132L; - - /** - * Constructor - */ - public MolecularSequenceQualityRocComponent() { - super(); - } - - /** - * @return {@link #score} (Invidual data point representing the GQ (genotype quality) score threshold.) - */ - public List getScore() { - if (this.score == null) - this.score = new ArrayList(); - return this.score; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setScore(List theScore) { - this.score = theScore; - return this; - } - - public boolean hasScore() { - if (this.score == null) - return false; - for (IntegerType item : this.score) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #score} (Invidual data point representing the GQ (genotype quality) score threshold.) - */ - public IntegerType addScoreElement() {//2 - IntegerType t = new IntegerType(); - if (this.score == null) - this.score = new ArrayList(); - this.score.add(t); - return t; - } - - /** - * @param value {@link #score} (Invidual data point representing the GQ (genotype quality) score threshold.) - */ - public MolecularSequenceQualityRocComponent addScore(int value) { //1 - IntegerType t = new IntegerType(); - t.setValue(value); - if (this.score == null) - this.score = new ArrayList(); - this.score.add(t); - return this; - } - - /** - * @param value {@link #score} (Invidual data point representing the GQ (genotype quality) score threshold.) - */ - public boolean hasScore(int value) { - if (this.score == null) - return false; - for (IntegerType v : this.score) - if (v.getValue().equals(value)) // integer - return true; - return false; - } - - /** - * @return {@link #numTP} (The number of true positives if the GQ score threshold was set to "score" field value.) - */ - public List getNumTP() { - if (this.numTP == null) - this.numTP = new ArrayList(); - return this.numTP; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setNumTP(List theNumTP) { - this.numTP = theNumTP; - return this; - } - - public boolean hasNumTP() { - if (this.numTP == null) - return false; - for (IntegerType item : this.numTP) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #numTP} (The number of true positives if the GQ score threshold was set to "score" field value.) - */ - public IntegerType addNumTPElement() {//2 - IntegerType t = new IntegerType(); - if (this.numTP == null) - this.numTP = new ArrayList(); - this.numTP.add(t); - return t; - } - - /** - * @param value {@link #numTP} (The number of true positives if the GQ score threshold was set to "score" field value.) - */ - public MolecularSequenceQualityRocComponent addNumTP(int value) { //1 - IntegerType t = new IntegerType(); - t.setValue(value); - if (this.numTP == null) - this.numTP = new ArrayList(); - this.numTP.add(t); - return this; - } - - /** - * @param value {@link #numTP} (The number of true positives if the GQ score threshold was set to "score" field value.) - */ - public boolean hasNumTP(int value) { - if (this.numTP == null) - return false; - for (IntegerType v : this.numTP) - if (v.getValue().equals(value)) // integer - return true; - return false; - } - - /** - * @return {@link #numFP} (The number of false positives if the GQ score threshold was set to "score" field value.) - */ - public List getNumFP() { - if (this.numFP == null) - this.numFP = new ArrayList(); - return this.numFP; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setNumFP(List theNumFP) { - this.numFP = theNumFP; - return this; - } - - public boolean hasNumFP() { - if (this.numFP == null) - return false; - for (IntegerType item : this.numFP) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #numFP} (The number of false positives if the GQ score threshold was set to "score" field value.) - */ - public IntegerType addNumFPElement() {//2 - IntegerType t = new IntegerType(); - if (this.numFP == null) - this.numFP = new ArrayList(); - this.numFP.add(t); - return t; - } - - /** - * @param value {@link #numFP} (The number of false positives if the GQ score threshold was set to "score" field value.) - */ - public MolecularSequenceQualityRocComponent addNumFP(int value) { //1 - IntegerType t = new IntegerType(); - t.setValue(value); - if (this.numFP == null) - this.numFP = new ArrayList(); - this.numFP.add(t); - return this; - } - - /** - * @param value {@link #numFP} (The number of false positives if the GQ score threshold was set to "score" field value.) - */ - public boolean hasNumFP(int value) { - if (this.numFP == null) - return false; - for (IntegerType v : this.numFP) - if (v.getValue().equals(value)) // integer - return true; - return false; - } - - /** - * @return {@link #numFN} (The number of false negatives if the GQ score threshold was set to "score" field value.) - */ - public List getNumFN() { - if (this.numFN == null) - this.numFN = new ArrayList(); - return this.numFN; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setNumFN(List theNumFN) { - this.numFN = theNumFN; - return this; - } - - public boolean hasNumFN() { - if (this.numFN == null) - return false; - for (IntegerType item : this.numFN) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #numFN} (The number of false negatives if the GQ score threshold was set to "score" field value.) - */ - public IntegerType addNumFNElement() {//2 - IntegerType t = new IntegerType(); - if (this.numFN == null) - this.numFN = new ArrayList(); - this.numFN.add(t); - return t; - } - - /** - * @param value {@link #numFN} (The number of false negatives if the GQ score threshold was set to "score" field value.) - */ - public MolecularSequenceQualityRocComponent addNumFN(int value) { //1 - IntegerType t = new IntegerType(); - t.setValue(value); - if (this.numFN == null) - this.numFN = new ArrayList(); - this.numFN.add(t); - return this; - } - - /** - * @param value {@link #numFN} (The number of false negatives if the GQ score threshold was set to "score" field value.) - */ - public boolean hasNumFN(int value) { - if (this.numFN == null) - return false; - for (IntegerType v : this.numFN) - if (v.getValue().equals(value)) // integer - return true; - return false; - } - - /** - * @return {@link #precision} (Calculated precision if the GQ score threshold was set to "score" field value.) - */ - public List getPrecision() { - if (this.precision == null) - this.precision = new ArrayList(); - return this.precision; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setPrecision(List thePrecision) { - this.precision = thePrecision; - return this; - } - - public boolean hasPrecision() { - if (this.precision == null) - return false; - for (DecimalType item : this.precision) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #precision} (Calculated precision if the GQ score threshold was set to "score" field value.) - */ - public DecimalType addPrecisionElement() {//2 - DecimalType t = new DecimalType(); - if (this.precision == null) - this.precision = new ArrayList(); - this.precision.add(t); - return t; - } - - /** - * @param value {@link #precision} (Calculated precision if the GQ score threshold was set to "score" field value.) - */ - public MolecularSequenceQualityRocComponent addPrecision(BigDecimal value) { //1 - DecimalType t = new DecimalType(); - t.setValue(value); - if (this.precision == null) - this.precision = new ArrayList(); - this.precision.add(t); - return this; - } - - /** - * @param value {@link #precision} (Calculated precision if the GQ score threshold was set to "score" field value.) - */ - public boolean hasPrecision(BigDecimal value) { - if (this.precision == null) - return false; - for (DecimalType v : this.precision) - if (v.getValue().equals(value)) // decimal - return true; - return false; - } - - /** - * @return {@link #sensitivity} (Calculated sensitivity if the GQ score threshold was set to "score" field value.) - */ - public List getSensitivity() { - if (this.sensitivity == null) - this.sensitivity = new ArrayList(); - return this.sensitivity; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setSensitivity(List theSensitivity) { - this.sensitivity = theSensitivity; - return this; - } - - public boolean hasSensitivity() { - if (this.sensitivity == null) - return false; - for (DecimalType item : this.sensitivity) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #sensitivity} (Calculated sensitivity if the GQ score threshold was set to "score" field value.) - */ - public DecimalType addSensitivityElement() {//2 - DecimalType t = new DecimalType(); - if (this.sensitivity == null) - this.sensitivity = new ArrayList(); - this.sensitivity.add(t); - return t; - } - - /** - * @param value {@link #sensitivity} (Calculated sensitivity if the GQ score threshold was set to "score" field value.) - */ - public MolecularSequenceQualityRocComponent addSensitivity(BigDecimal value) { //1 - DecimalType t = new DecimalType(); - t.setValue(value); - if (this.sensitivity == null) - this.sensitivity = new ArrayList(); - this.sensitivity.add(t); - return this; - } - - /** - * @param value {@link #sensitivity} (Calculated sensitivity if the GQ score threshold was set to "score" field value.) - */ - public boolean hasSensitivity(BigDecimal value) { - if (this.sensitivity == null) - return false; - for (DecimalType v : this.sensitivity) - if (v.getValue().equals(value)) // decimal - return true; - return false; - } - - /** - * @return {@link #fMeasure} (Calculated fScore if the GQ score threshold was set to "score" field value.) - */ - public List getFMeasure() { - if (this.fMeasure == null) - this.fMeasure = new ArrayList(); - return this.fMeasure; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequenceQualityRocComponent setFMeasure(List theFMeasure) { - this.fMeasure = theFMeasure; - return this; - } - - public boolean hasFMeasure() { - if (this.fMeasure == null) - return false; - for (DecimalType item : this.fMeasure) - if (!item.isEmpty()) - return true; - return false; - } - - /** - * @return {@link #fMeasure} (Calculated fScore if the GQ score threshold was set to "score" field value.) - */ - public DecimalType addFMeasureElement() {//2 - DecimalType t = new DecimalType(); - if (this.fMeasure == null) - this.fMeasure = new ArrayList(); - this.fMeasure.add(t); - return t; - } - - /** - * @param value {@link #fMeasure} (Calculated fScore if the GQ score threshold was set to "score" field value.) - */ - public MolecularSequenceQualityRocComponent addFMeasure(BigDecimal value) { //1 - DecimalType t = new DecimalType(); - t.setValue(value); - if (this.fMeasure == null) - this.fMeasure = new ArrayList(); - this.fMeasure.add(t); - return this; - } - - /** - * @param value {@link #fMeasure} (Calculated fScore if the GQ score threshold was set to "score" field value.) - */ - public boolean hasFMeasure(BigDecimal value) { - if (this.fMeasure == null) - return false; - for (DecimalType v : this.fMeasure) - if (v.getValue().equals(value)) // decimal - return true; - return false; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("score", "integer", "Invidual data point representing the GQ (genotype quality) score threshold.", 0, java.lang.Integer.MAX_VALUE, score)); - children.add(new Property("numTP", "integer", "The number of true positives if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, numTP)); - children.add(new Property("numFP", "integer", "The number of false positives if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, numFP)); - children.add(new Property("numFN", "integer", "The number of false negatives if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, numFN)); - children.add(new Property("precision", "decimal", "Calculated precision if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, precision)); - children.add(new Property("sensitivity", "decimal", "Calculated sensitivity if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, sensitivity)); - children.add(new Property("fMeasure", "decimal", "Calculated fScore if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, fMeasure)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 109264530: /*score*/ return new Property("score", "integer", "Invidual data point representing the GQ (genotype quality) score threshold.", 0, java.lang.Integer.MAX_VALUE, score); - case 105180290: /*numTP*/ return new Property("numTP", "integer", "The number of true positives if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, numTP); - case 105179856: /*numFP*/ return new Property("numFP", "integer", "The number of false positives if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, numFP); - case 105179854: /*numFN*/ return new Property("numFN", "integer", "The number of false negatives if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, numFN); - case -1376177026: /*precision*/ return new Property("precision", "decimal", "Calculated precision if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, precision); - case 564403871: /*sensitivity*/ return new Property("sensitivity", "decimal", "Calculated sensitivity if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, sensitivity); - case -18997736: /*fMeasure*/ return new Property("fMeasure", "decimal", "Calculated fScore if the GQ score threshold was set to \"score\" field value.", 0, java.lang.Integer.MAX_VALUE, fMeasure); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 109264530: /*score*/ return this.score == null ? new Base[0] : this.score.toArray(new Base[this.score.size()]); // IntegerType - case 105180290: /*numTP*/ return this.numTP == null ? new Base[0] : this.numTP.toArray(new Base[this.numTP.size()]); // IntegerType - case 105179856: /*numFP*/ return this.numFP == null ? new Base[0] : this.numFP.toArray(new Base[this.numFP.size()]); // IntegerType - case 105179854: /*numFN*/ return this.numFN == null ? new Base[0] : this.numFN.toArray(new Base[this.numFN.size()]); // IntegerType - case -1376177026: /*precision*/ return this.precision == null ? new Base[0] : this.precision.toArray(new Base[this.precision.size()]); // DecimalType - case 564403871: /*sensitivity*/ return this.sensitivity == null ? new Base[0] : this.sensitivity.toArray(new Base[this.sensitivity.size()]); // DecimalType - case -18997736: /*fMeasure*/ return this.fMeasure == null ? new Base[0] : this.fMeasure.toArray(new Base[this.fMeasure.size()]); // DecimalType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 109264530: // score - this.getScore().add(TypeConvertor.castToInteger(value)); // IntegerType - return value; - case 105180290: // numTP - this.getNumTP().add(TypeConvertor.castToInteger(value)); // IntegerType - return value; - case 105179856: // numFP - this.getNumFP().add(TypeConvertor.castToInteger(value)); // IntegerType - return value; - case 105179854: // numFN - this.getNumFN().add(TypeConvertor.castToInteger(value)); // IntegerType - return value; - case -1376177026: // precision - this.getPrecision().add(TypeConvertor.castToDecimal(value)); // DecimalType - return value; - case 564403871: // sensitivity - this.getSensitivity().add(TypeConvertor.castToDecimal(value)); // DecimalType - return value; - case -18997736: // fMeasure - this.getFMeasure().add(TypeConvertor.castToDecimal(value)); // DecimalType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("score")) { - this.getScore().add(TypeConvertor.castToInteger(value)); - } else if (name.equals("numTP")) { - this.getNumTP().add(TypeConvertor.castToInteger(value)); - } else if (name.equals("numFP")) { - this.getNumFP().add(TypeConvertor.castToInteger(value)); - } else if (name.equals("numFN")) { - this.getNumFN().add(TypeConvertor.castToInteger(value)); - } else if (name.equals("precision")) { - this.getPrecision().add(TypeConvertor.castToDecimal(value)); - } else if (name.equals("sensitivity")) { - this.getSensitivity().add(TypeConvertor.castToDecimal(value)); - } else if (name.equals("fMeasure")) { - this.getFMeasure().add(TypeConvertor.castToDecimal(value)); - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 109264530: return addScoreElement(); - case 105180290: return addNumTPElement(); - case 105179856: return addNumFPElement(); - case 105179854: return addNumFNElement(); - case -1376177026: return addPrecisionElement(); - case 564403871: return addSensitivityElement(); - case -18997736: return addFMeasureElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 109264530: /*score*/ return new String[] {"integer"}; - case 105180290: /*numTP*/ return new String[] {"integer"}; - case 105179856: /*numFP*/ return new String[] {"integer"}; - case 105179854: /*numFN*/ return new String[] {"integer"}; - case -1376177026: /*precision*/ return new String[] {"decimal"}; - case 564403871: /*sensitivity*/ return new String[] {"decimal"}; - case -18997736: /*fMeasure*/ return new String[] {"decimal"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("score")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.score"); - } - else if (name.equals("numTP")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.numTP"); - } - else if (name.equals("numFP")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.numFP"); - } - else if (name.equals("numFN")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.numFN"); - } - else if (name.equals("precision")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.precision"); - } - else if (name.equals("sensitivity")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.sensitivity"); - } - else if (name.equals("fMeasure")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.quality.roc.fMeasure"); - } - else - return super.addChild(name); - } - - public MolecularSequenceQualityRocComponent copy() { - MolecularSequenceQualityRocComponent dst = new MolecularSequenceQualityRocComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(MolecularSequenceQualityRocComponent dst) { - super.copyValues(dst); - if (score != null) { - dst.score = new ArrayList(); - for (IntegerType i : score) - dst.score.add(i.copy()); - }; - if (numTP != null) { - dst.numTP = new ArrayList(); - for (IntegerType i : numTP) - dst.numTP.add(i.copy()); - }; - if (numFP != null) { - dst.numFP = new ArrayList(); - for (IntegerType i : numFP) - dst.numFP.add(i.copy()); - }; - if (numFN != null) { - dst.numFN = new ArrayList(); - for (IntegerType i : numFN) - dst.numFN.add(i.copy()); - }; - if (precision != null) { - dst.precision = new ArrayList(); - for (DecimalType i : precision) - dst.precision.add(i.copy()); - }; - if (sensitivity != null) { - dst.sensitivity = new ArrayList(); - for (DecimalType i : sensitivity) - dst.sensitivity.add(i.copy()); - }; - if (fMeasure != null) { - dst.fMeasure = new ArrayList(); - for (DecimalType i : fMeasure) - dst.fMeasure.add(i.copy()); - }; - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof MolecularSequenceQualityRocComponent)) - return false; - MolecularSequenceQualityRocComponent o = (MolecularSequenceQualityRocComponent) other_; - return compareDeep(score, o.score, true) && compareDeep(numTP, o.numTP, true) && compareDeep(numFP, o.numFP, true) - && compareDeep(numFN, o.numFN, true) && compareDeep(precision, o.precision, true) && compareDeep(sensitivity, o.sensitivity, true) - && compareDeep(fMeasure, o.fMeasure, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof MolecularSequenceQualityRocComponent)) - return false; - MolecularSequenceQualityRocComponent o = (MolecularSequenceQualityRocComponent) other_; - return compareValues(score, o.score, true) && compareValues(numTP, o.numTP, true) && compareValues(numFP, o.numFP, true) - && compareValues(numFN, o.numFN, true) && compareValues(precision, o.precision, true) && compareValues(sensitivity, o.sensitivity, true) - && compareValues(fMeasure, o.fMeasure, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(score, numTP, numFP, numFN - , precision, sensitivity, fMeasure); - } - - public String fhirType() { - return "MolecularSequence.quality.roc"; - - } - - } - - @Block() - public static class MolecularSequenceRepositoryComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource. - */ - @Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="directlink | openapi | login | oauth | other", formalDefinition="Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/repository-type") - protected Enumeration type; - - /** - * URI of an external repository which contains further details about the genetics data. - */ - @Child(name = "url", type = {UriType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="URI of the repository", formalDefinition="URI of an external repository which contains further details about the genetics data." ) - protected UriType url; - - /** - * URI of an external repository which contains further details about the genetics data. - */ - @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Repository's name", formalDefinition="URI of an external repository which contains further details about the genetics data." ) - protected StringType name; - - /** - * Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository. - */ - @Child(name = "datasetId", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Id of the dataset that used to call for dataset in repository", formalDefinition="Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository." ) - protected StringType datasetId; - - /** - * Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository. - */ - @Child(name = "variantsetId", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Id of the variantset that used to call for variantset in repository", formalDefinition="Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository." ) - protected StringType variantsetId; - - /** - * Id of the read in this external repository. - */ - @Child(name = "readsetId", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Id of the read", formalDefinition="Id of the read in this external repository." ) - protected StringType readsetId; - - private static final long serialVersionUID = -899243265L; - - /** - * Constructor - */ - public MolecularSequenceRepositoryComponent() { - super(); - } - - /** - * Constructor - */ - public MolecularSequenceRepositoryComponent(RepositoryType type) { - super(); - this.setType(type); - } - - /** - * @return {@link #type} (Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see 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) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceRepositoryComponent.type"); - else if (Configuration.doAutoCreate()) - this.type = new Enumeration(new RepositoryTypeEnumFactory()); // 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} (Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value - */ - public MolecularSequenceRepositoryComponent setTypeElement(Enumeration value) { - this.type = value; - return this; - } - - /** - * @return Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource. - */ - public RepositoryType getType() { - return this.type == null ? null : this.type.getValue(); - } - - /** - * @param value Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource. - */ - public MolecularSequenceRepositoryComponent setType(RepositoryType value) { - if (this.type == null) - this.type = new Enumeration(new RepositoryTypeEnumFactory()); - this.type.setValue(value); - return this; - } - - /** - * @return {@link #url} (URI of an external repository which contains further details about the genetics data.). 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 MolecularSequenceRepositoryComponent.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} (URI of an external repository which contains further details about the genetics data.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value - */ - public MolecularSequenceRepositoryComponent setUrlElement(UriType value) { - this.url = value; - return this; - } - - /** - * @return URI of an external repository which contains further details about the genetics data. - */ - public String getUrl() { - return this.url == null ? null : this.url.getValue(); - } - - /** - * @param value URI of an external repository which contains further details about the genetics data. - */ - public MolecularSequenceRepositoryComponent setUrl(String value) { - if (Utilities.noString(value)) - this.url = null; - else { - if (this.url == null) - this.url = new UriType(); - this.url.setValue(value); - } - return this; - } - - /** - * @return {@link #name} (URI of an external repository which contains further details about the genetics data.). 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 MolecularSequenceRepositoryComponent.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} (URI of an external repository which contains further details about the genetics data.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value - */ - public MolecularSequenceRepositoryComponent setNameElement(StringType value) { - this.name = value; - return this; - } - - /** - * @return URI of an external repository which contains further details about the genetics data. - */ - public String getName() { - return this.name == null ? null : this.name.getValue(); - } - - /** - * @param value URI of an external repository which contains further details about the genetics data. - */ - public MolecularSequenceRepositoryComponent 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 #datasetId} (Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.). This is the underlying object with id, value and extensions. The accessor "getDatasetId" gives direct access to the value - */ - public StringType getDatasetIdElement() { - if (this.datasetId == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceRepositoryComponent.datasetId"); - else if (Configuration.doAutoCreate()) - this.datasetId = new StringType(); // bb - return this.datasetId; - } - - public boolean hasDatasetIdElement() { - return this.datasetId != null && !this.datasetId.isEmpty(); - } - - public boolean hasDatasetId() { - return this.datasetId != null && !this.datasetId.isEmpty(); - } - - /** - * @param value {@link #datasetId} (Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.). This is the underlying object with id, value and extensions. The accessor "getDatasetId" gives direct access to the value - */ - public MolecularSequenceRepositoryComponent setDatasetIdElement(StringType value) { - this.datasetId = value; - return this; - } - - /** - * @return Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository. - */ - public String getDatasetId() { - return this.datasetId == null ? null : this.datasetId.getValue(); - } - - /** - * @param value Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository. - */ - public MolecularSequenceRepositoryComponent setDatasetId(String value) { - if (Utilities.noString(value)) - this.datasetId = null; - else { - if (this.datasetId == null) - this.datasetId = new StringType(); - this.datasetId.setValue(value); - } - return this; - } - - /** - * @return {@link #variantsetId} (Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.). This is the underlying object with id, value and extensions. The accessor "getVariantsetId" gives direct access to the value - */ - public StringType getVariantsetIdElement() { - if (this.variantsetId == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceRepositoryComponent.variantsetId"); - else if (Configuration.doAutoCreate()) - this.variantsetId = new StringType(); // bb - return this.variantsetId; - } - - public boolean hasVariantsetIdElement() { - return this.variantsetId != null && !this.variantsetId.isEmpty(); - } - - public boolean hasVariantsetId() { - return this.variantsetId != null && !this.variantsetId.isEmpty(); - } - - /** - * @param value {@link #variantsetId} (Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.). This is the underlying object with id, value and extensions. The accessor "getVariantsetId" gives direct access to the value - */ - public MolecularSequenceRepositoryComponent setVariantsetIdElement(StringType value) { - this.variantsetId = value; - return this; - } - - /** - * @return Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository. - */ - public String getVariantsetId() { - return this.variantsetId == null ? null : this.variantsetId.getValue(); - } - - /** - * @param value Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository. - */ - public MolecularSequenceRepositoryComponent setVariantsetId(String value) { - if (Utilities.noString(value)) - this.variantsetId = null; - else { - if (this.variantsetId == null) - this.variantsetId = new StringType(); - this.variantsetId.setValue(value); - } - return this; - } - - /** - * @return {@link #readsetId} (Id of the read in this external repository.). This is the underlying object with id, value and extensions. The accessor "getReadsetId" gives direct access to the value - */ - public StringType getReadsetIdElement() { - if (this.readsetId == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceRepositoryComponent.readsetId"); - else if (Configuration.doAutoCreate()) - this.readsetId = new StringType(); // bb - return this.readsetId; - } - - public boolean hasReadsetIdElement() { - return this.readsetId != null && !this.readsetId.isEmpty(); - } - - public boolean hasReadsetId() { - return this.readsetId != null && !this.readsetId.isEmpty(); - } - - /** - * @param value {@link #readsetId} (Id of the read in this external repository.). This is the underlying object with id, value and extensions. The accessor "getReadsetId" gives direct access to the value - */ - public MolecularSequenceRepositoryComponent setReadsetIdElement(StringType value) { - this.readsetId = value; - return this; - } - - /** - * @return Id of the read in this external repository. - */ - public String getReadsetId() { - return this.readsetId == null ? null : this.readsetId.getValue(); - } - - /** - * @param value Id of the read in this external repository. - */ - public MolecularSequenceRepositoryComponent setReadsetId(String value) { - if (Utilities.noString(value)) - this.readsetId = null; - else { - if (this.readsetId == null) - this.readsetId = new StringType(); - this.readsetId.setValue(value); - } - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("type", "code", "Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.", 0, 1, type)); - children.add(new Property("url", "uri", "URI of an external repository which contains further details about the genetics data.", 0, 1, url)); - children.add(new Property("name", "string", "URI of an external repository which contains further details about the genetics data.", 0, 1, name)); - children.add(new Property("datasetId", "string", "Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.", 0, 1, datasetId)); - children.add(new Property("variantsetId", "string", "Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.", 0, 1, variantsetId)); - children.add(new Property("readsetId", "string", "Id of the read in this external repository.", 0, 1, readsetId)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 3575610: /*type*/ return new Property("type", "code", "Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.", 0, 1, type); - case 116079: /*url*/ return new Property("url", "uri", "URI of an external repository which contains further details about the genetics data.", 0, 1, url); - case 3373707: /*name*/ return new Property("name", "string", "URI of an external repository which contains further details about the genetics data.", 0, 1, name); - case -345342029: /*datasetId*/ return new Property("datasetId", "string", "Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository.", 0, 1, datasetId); - case 1929752504: /*variantsetId*/ return new Property("variantsetId", "string", "Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository.", 0, 1, variantsetId); - case -1095407289: /*readsetId*/ return new Property("readsetId", "string", "Id of the read in this external repository.", 0, 1, readsetId); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration - case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType - case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType - case -345342029: /*datasetId*/ return this.datasetId == null ? new Base[0] : new Base[] {this.datasetId}; // StringType - case 1929752504: /*variantsetId*/ return this.variantsetId == null ? new Base[0] : new Base[] {this.variantsetId}; // StringType - case -1095407289: /*readsetId*/ return this.readsetId == null ? new Base[0] : new Base[] {this.readsetId}; // StringType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 3575610: // type - value = new RepositoryTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration - return value; - case 116079: // url - this.url = TypeConvertor.castToUri(value); // UriType - return value; - case 3373707: // name - this.name = TypeConvertor.castToString(value); // StringType - return value; - case -345342029: // datasetId - this.datasetId = TypeConvertor.castToString(value); // StringType - return value; - case 1929752504: // variantsetId - this.variantsetId = TypeConvertor.castToString(value); // StringType - return value; - case -1095407289: // readsetId - this.readsetId = TypeConvertor.castToString(value); // StringType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("type")) { - value = new RepositoryTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.type = (Enumeration) value; // Enumeration - } else if (name.equals("url")) { - this.url = TypeConvertor.castToUri(value); // UriType - } else if (name.equals("name")) { - this.name = TypeConvertor.castToString(value); // StringType - } else if (name.equals("datasetId")) { - this.datasetId = TypeConvertor.castToString(value); // StringType - } else if (name.equals("variantsetId")) { - this.variantsetId = TypeConvertor.castToString(value); // StringType - } else if (name.equals("readsetId")) { - this.readsetId = TypeConvertor.castToString(value); // StringType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3575610: return getTypeElement(); - case 116079: return getUrlElement(); - case 3373707: return getNameElement(); - case -345342029: return getDatasetIdElement(); - case 1929752504: return getVariantsetIdElement(); - case -1095407289: return getReadsetIdElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 3575610: /*type*/ return new String[] {"code"}; - case 116079: /*url*/ return new String[] {"uri"}; - case 3373707: /*name*/ return new String[] {"string"}; - case -345342029: /*datasetId*/ return new String[] {"string"}; - case 1929752504: /*variantsetId*/ return new String[] {"string"}; - case -1095407289: /*readsetId*/ return new String[] {"string"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("type")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.repository.type"); - } - else if (name.equals("url")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.repository.url"); - } - else if (name.equals("name")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.repository.name"); - } - else if (name.equals("datasetId")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.repository.datasetId"); - } - else if (name.equals("variantsetId")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.repository.variantsetId"); - } - else if (name.equals("readsetId")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.repository.readsetId"); - } - else - return super.addChild(name); - } - - public MolecularSequenceRepositoryComponent copy() { - MolecularSequenceRepositoryComponent dst = new MolecularSequenceRepositoryComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(MolecularSequenceRepositoryComponent dst) { - super.copyValues(dst); - dst.type = type == null ? null : type.copy(); - dst.url = url == null ? null : url.copy(); - dst.name = name == null ? null : name.copy(); - dst.datasetId = datasetId == null ? null : datasetId.copy(); - dst.variantsetId = variantsetId == null ? null : variantsetId.copy(); - dst.readsetId = readsetId == null ? null : readsetId.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof MolecularSequenceRepositoryComponent)) - return false; - MolecularSequenceRepositoryComponent o = (MolecularSequenceRepositoryComponent) other_; - return compareDeep(type, o.type, true) && compareDeep(url, o.url, true) && compareDeep(name, o.name, true) - && compareDeep(datasetId, o.datasetId, true) && compareDeep(variantsetId, o.variantsetId, true) - && compareDeep(readsetId, o.readsetId, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof MolecularSequenceRepositoryComponent)) - return false; - MolecularSequenceRepositoryComponent o = (MolecularSequenceRepositoryComponent) other_; - return compareValues(type, o.type, true) && compareValues(url, o.url, true) && compareValues(name, o.name, true) - && compareValues(datasetId, o.datasetId, true) && compareValues(variantsetId, o.variantsetId, true) - && compareValues(readsetId, o.readsetId, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, url, name, datasetId - , variantsetId, readsetId); - } - - public String fhirType() { - return "MolecularSequence.repository"; - - } - - } - - @Block() - public static class MolecularSequenceStructureVariantComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Information about chromosome structure variation DNA change type. - */ - @Child(name = "variantType", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant change type", formalDefinition="Information about chromosome structure variation DNA change type." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://loinc.org/vs/LL379-9") - protected CodeableConcept variantType; - - /** - * Used to indicate if the outer and inner start-end values have the same meaning. - */ - @Child(name = "exact", type = {BooleanType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Does the structural variant have base pair resolution breakpoints?", formalDefinition="Used to indicate if the outer and inner start-end values have the same meaning." ) - protected BooleanType exact; - - /** - * Length of the variant chromosome. - */ - @Child(name = "length", type = {IntegerType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant length", formalDefinition="Length of the variant chromosome." ) - protected IntegerType length; - - /** - * Structural variant outer. - */ - @Child(name = "outer", type = {}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant outer", formalDefinition="Structural variant outer." ) - protected MolecularSequenceStructureVariantOuterComponent outer; - - /** - * Structural variant inner. - */ - @Child(name = "inner", type = {}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant inner", formalDefinition="Structural variant inner." ) - protected MolecularSequenceStructureVariantInnerComponent inner; - - private static final long serialVersionUID = -1943515207L; - - /** - * Constructor - */ - public MolecularSequenceStructureVariantComponent() { - super(); - } - - /** - * @return {@link #variantType} (Information about chromosome structure variation DNA change type.) - */ - public CodeableConcept getVariantType() { - if (this.variantType == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantComponent.variantType"); - else if (Configuration.doAutoCreate()) - this.variantType = new CodeableConcept(); // cc - return this.variantType; - } - - public boolean hasVariantType() { - return this.variantType != null && !this.variantType.isEmpty(); - } - - /** - * @param value {@link #variantType} (Information about chromosome structure variation DNA change type.) - */ - public MolecularSequenceStructureVariantComponent setVariantType(CodeableConcept value) { - this.variantType = value; - return this; - } - - /** - * @return {@link #exact} (Used to indicate if the outer and inner start-end values have the same meaning.). This is the underlying object with id, value and extensions. The accessor "getExact" gives direct access to the value - */ - public BooleanType getExactElement() { - if (this.exact == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantComponent.exact"); - else if (Configuration.doAutoCreate()) - this.exact = new BooleanType(); // bb - return this.exact; - } - - public boolean hasExactElement() { - return this.exact != null && !this.exact.isEmpty(); - } - - public boolean hasExact() { - return this.exact != null && !this.exact.isEmpty(); - } - - /** - * @param value {@link #exact} (Used to indicate if the outer and inner start-end values have the same meaning.). This is the underlying object with id, value and extensions. The accessor "getExact" gives direct access to the value - */ - public MolecularSequenceStructureVariantComponent setExactElement(BooleanType value) { - this.exact = value; - return this; - } - - /** - * @return Used to indicate if the outer and inner start-end values have the same meaning. - */ - public boolean getExact() { - return this.exact == null || this.exact.isEmpty() ? false : this.exact.getValue(); - } - - /** - * @param value Used to indicate if the outer and inner start-end values have the same meaning. - */ - public MolecularSequenceStructureVariantComponent setExact(boolean value) { - if (this.exact == null) - this.exact = new BooleanType(); - this.exact.setValue(value); - return this; - } - - /** - * @return {@link #length} (Length of the variant chromosome.). This is the underlying object with id, value and extensions. The accessor "getLength" gives direct access to the value - */ - public IntegerType getLengthElement() { - if (this.length == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantComponent.length"); - else if (Configuration.doAutoCreate()) - this.length = new IntegerType(); // bb - return this.length; - } - - public boolean hasLengthElement() { - return this.length != null && !this.length.isEmpty(); - } - - public boolean hasLength() { - return this.length != null && !this.length.isEmpty(); - } - - /** - * @param value {@link #length} (Length of the variant chromosome.). This is the underlying object with id, value and extensions. The accessor "getLength" gives direct access to the value - */ - public MolecularSequenceStructureVariantComponent setLengthElement(IntegerType value) { - this.length = value; - return this; - } - - /** - * @return Length of the variant chromosome. - */ - public int getLength() { - return this.length == null || this.length.isEmpty() ? 0 : this.length.getValue(); - } - - /** - * @param value Length of the variant chromosome. - */ - public MolecularSequenceStructureVariantComponent setLength(int value) { - if (this.length == null) - this.length = new IntegerType(); - this.length.setValue(value); - return this; - } - - /** - * @return {@link #outer} (Structural variant outer.) - */ - public MolecularSequenceStructureVariantOuterComponent getOuter() { - if (this.outer == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantComponent.outer"); - else if (Configuration.doAutoCreate()) - this.outer = new MolecularSequenceStructureVariantOuterComponent(); // cc - return this.outer; - } - - public boolean hasOuter() { - return this.outer != null && !this.outer.isEmpty(); - } - - /** - * @param value {@link #outer} (Structural variant outer.) - */ - public MolecularSequenceStructureVariantComponent setOuter(MolecularSequenceStructureVariantOuterComponent value) { - this.outer = value; - return this; - } - - /** - * @return {@link #inner} (Structural variant inner.) - */ - public MolecularSequenceStructureVariantInnerComponent getInner() { - if (this.inner == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantComponent.inner"); - else if (Configuration.doAutoCreate()) - this.inner = new MolecularSequenceStructureVariantInnerComponent(); // cc - return this.inner; - } - - public boolean hasInner() { - return this.inner != null && !this.inner.isEmpty(); - } - - /** - * @param value {@link #inner} (Structural variant inner.) - */ - public MolecularSequenceStructureVariantComponent setInner(MolecularSequenceStructureVariantInnerComponent value) { - this.inner = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("variantType", "CodeableConcept", "Information about chromosome structure variation DNA change type.", 0, 1, variantType)); - children.add(new Property("exact", "boolean", "Used to indicate if the outer and inner start-end values have the same meaning.", 0, 1, exact)); - children.add(new Property("length", "integer", "Length of the variant chromosome.", 0, 1, length)); - children.add(new Property("outer", "", "Structural variant outer.", 0, 1, outer)); - children.add(new Property("inner", "", "Structural variant inner.", 0, 1, inner)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -1601222305: /*variantType*/ return new Property("variantType", "CodeableConcept", "Information about chromosome structure variation DNA change type.", 0, 1, variantType); - case 96946943: /*exact*/ return new Property("exact", "boolean", "Used to indicate if the outer and inner start-end values have the same meaning.", 0, 1, exact); - case -1106363674: /*length*/ return new Property("length", "integer", "Length of the variant chromosome.", 0, 1, length); - case 106111099: /*outer*/ return new Property("outer", "", "Structural variant outer.", 0, 1, outer); - case 100355670: /*inner*/ return new Property("inner", "", "Structural variant inner.", 0, 1, inner); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -1601222305: /*variantType*/ return this.variantType == null ? new Base[0] : new Base[] {this.variantType}; // CodeableConcept - case 96946943: /*exact*/ return this.exact == null ? new Base[0] : new Base[] {this.exact}; // BooleanType - case -1106363674: /*length*/ return this.length == null ? new Base[0] : new Base[] {this.length}; // IntegerType - case 106111099: /*outer*/ return this.outer == null ? new Base[0] : new Base[] {this.outer}; // MolecularSequenceStructureVariantOuterComponent - case 100355670: /*inner*/ return this.inner == null ? new Base[0] : new Base[] {this.inner}; // MolecularSequenceStructureVariantInnerComponent - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -1601222305: // variantType - this.variantType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case 96946943: // exact - this.exact = TypeConvertor.castToBoolean(value); // BooleanType - return value; - case -1106363674: // length - this.length = TypeConvertor.castToInteger(value); // IntegerType - return value; - case 106111099: // outer - this.outer = (MolecularSequenceStructureVariantOuterComponent) value; // MolecularSequenceStructureVariantOuterComponent - return value; - case 100355670: // inner - this.inner = (MolecularSequenceStructureVariantInnerComponent) value; // MolecularSequenceStructureVariantInnerComponent - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("variantType")) { - this.variantType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("exact")) { - this.exact = TypeConvertor.castToBoolean(value); // BooleanType - } else if (name.equals("length")) { - this.length = TypeConvertor.castToInteger(value); // IntegerType - } else if (name.equals("outer")) { - this.outer = (MolecularSequenceStructureVariantOuterComponent) value; // MolecularSequenceStructureVariantOuterComponent - } else if (name.equals("inner")) { - this.inner = (MolecularSequenceStructureVariantInnerComponent) value; // MolecularSequenceStructureVariantInnerComponent - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1601222305: return getVariantType(); - case 96946943: return getExactElement(); - case -1106363674: return getLengthElement(); - case 106111099: return getOuter(); - case 100355670: return getInner(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -1601222305: /*variantType*/ return new String[] {"CodeableConcept"}; - case 96946943: /*exact*/ return new String[] {"boolean"}; - case -1106363674: /*length*/ return new String[] {"integer"}; - case 106111099: /*outer*/ return new String[] {}; - case 100355670: /*inner*/ return new String[] {}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("variantType")) { - this.variantType = new CodeableConcept(); - return this.variantType; - } - else if (name.equals("exact")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.structureVariant.exact"); - } - else if (name.equals("length")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.structureVariant.length"); - } - else if (name.equals("outer")) { - this.outer = new MolecularSequenceStructureVariantOuterComponent(); - return this.outer; - } - else if (name.equals("inner")) { - this.inner = new MolecularSequenceStructureVariantInnerComponent(); - return this.inner; - } - else - return super.addChild(name); - } - - public MolecularSequenceStructureVariantComponent copy() { - MolecularSequenceStructureVariantComponent dst = new MolecularSequenceStructureVariantComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(MolecularSequenceStructureVariantComponent dst) { - super.copyValues(dst); - dst.variantType = variantType == null ? null : variantType.copy(); - dst.exact = exact == null ? null : exact.copy(); - dst.length = length == null ? null : length.copy(); - dst.outer = outer == null ? null : outer.copy(); - dst.inner = inner == null ? null : inner.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof MolecularSequenceStructureVariantComponent)) - return false; - MolecularSequenceStructureVariantComponent o = (MolecularSequenceStructureVariantComponent) other_; - return compareDeep(variantType, o.variantType, true) && compareDeep(exact, o.exact, true) && compareDeep(length, o.length, true) - && compareDeep(outer, o.outer, true) && compareDeep(inner, o.inner, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof MolecularSequenceStructureVariantComponent)) - return false; - MolecularSequenceStructureVariantComponent o = (MolecularSequenceStructureVariantComponent) other_; - return compareValues(exact, o.exact, true) && compareValues(length, o.length, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(variantType, exact, length - , outer, inner); - } - - public String fhirType() { - return "MolecularSequence.structureVariant"; - - } - - } - - @Block() - public static class MolecularSequenceStructureVariantOuterComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - @Child(name = "start", type = {IntegerType.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant outer start", formalDefinition="Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive." ) - protected IntegerType start; - - /** - * Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - @Child(name = "end", type = {IntegerType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant outer end", formalDefinition="Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position." ) - protected IntegerType end; - - private static final long serialVersionUID = -1798864889L; - - /** - * Constructor - */ - public MolecularSequenceStructureVariantOuterComponent() { - super(); - } - - /** - * @return {@link #start} (Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value - */ - public IntegerType getStartElement() { - if (this.start == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantOuterComponent.start"); - else if (Configuration.doAutoCreate()) - this.start = new IntegerType(); // bb - return this.start; - } - - public boolean hasStartElement() { - return this.start != null && !this.start.isEmpty(); - } - - public boolean hasStart() { - return this.start != null && !this.start.isEmpty(); - } - - /** - * @param value {@link #start} (Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value - */ - public MolecularSequenceStructureVariantOuterComponent setStartElement(IntegerType value) { - this.start = value; - return this; - } - - /** - * @return Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public int getStart() { - return this.start == null || this.start.isEmpty() ? 0 : this.start.getValue(); - } - - /** - * @param value Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public MolecularSequenceStructureVariantOuterComponent setStart(int value) { - if (this.start == null) - this.start = new IntegerType(); - this.start.setValue(value); - return this; - } - - /** - * @return {@link #end} (Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value - */ - public IntegerType getEndElement() { - if (this.end == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantOuterComponent.end"); - else if (Configuration.doAutoCreate()) - this.end = new IntegerType(); // bb - return this.end; - } - - public boolean hasEndElement() { - return this.end != null && !this.end.isEmpty(); - } - - public boolean hasEnd() { - return this.end != null && !this.end.isEmpty(); - } - - /** - * @param value {@link #end} (Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value - */ - public MolecularSequenceStructureVariantOuterComponent setEndElement(IntegerType value) { - this.end = value; - return this; - } - - /** - * @return Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public int getEnd() { - return this.end == null || this.end.isEmpty() ? 0 : this.end.getValue(); - } - - /** - * @param value Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public MolecularSequenceStructureVariantOuterComponent setEnd(int value) { - if (this.end == null) - this.end = new IntegerType(); - this.end.setValue(value); - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("start", "integer", "Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start)); - children.add(new Property("end", "integer", "Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 109757538: /*start*/ return new Property("start", "integer", "Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start); - case 100571: /*end*/ return new Property("end", "integer", "Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 109757538: /*start*/ return this.start == null ? new Base[0] : new Base[] {this.start}; // IntegerType - case 100571: /*end*/ return this.end == null ? new Base[0] : new Base[] {this.end}; // IntegerType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 109757538: // start - this.start = TypeConvertor.castToInteger(value); // IntegerType - return value; - case 100571: // end - this.end = TypeConvertor.castToInteger(value); // IntegerType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("start")) { - this.start = TypeConvertor.castToInteger(value); // IntegerType - } else if (name.equals("end")) { - this.end = TypeConvertor.castToInteger(value); // IntegerType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 109757538: return getStartElement(); - case 100571: return getEndElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 109757538: /*start*/ return new String[] {"integer"}; - case 100571: /*end*/ return new String[] {"integer"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("start")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.structureVariant.outer.start"); - } - else if (name.equals("end")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.structureVariant.outer.end"); - } - else - return super.addChild(name); - } - - public MolecularSequenceStructureVariantOuterComponent copy() { - MolecularSequenceStructureVariantOuterComponent dst = new MolecularSequenceStructureVariantOuterComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(MolecularSequenceStructureVariantOuterComponent dst) { - super.copyValues(dst); - dst.start = start == null ? null : start.copy(); - dst.end = end == null ? null : end.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof MolecularSequenceStructureVariantOuterComponent)) - return false; - MolecularSequenceStructureVariantOuterComponent o = (MolecularSequenceStructureVariantOuterComponent) other_; - return compareDeep(start, o.start, true) && compareDeep(end, o.end, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof MolecularSequenceStructureVariantOuterComponent)) - return false; - MolecularSequenceStructureVariantOuterComponent o = (MolecularSequenceStructureVariantOuterComponent) other_; - return compareValues(start, o.start, true) && compareValues(end, o.end, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(start, end); - } - - public String fhirType() { - return "MolecularSequence.structureVariant.outer"; - - } - - } - - @Block() - public static class MolecularSequenceStructureVariantInnerComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - @Child(name = "start", type = {IntegerType.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant inner start", formalDefinition="Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive." ) - protected IntegerType start; - - /** - * Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - @Child(name = "end", type = {IntegerType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Structural variant inner end", formalDefinition="Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position." ) - protected IntegerType end; - - private static final long serialVersionUID = -1798864889L; - - /** - * Constructor - */ - public MolecularSequenceStructureVariantInnerComponent() { - super(); - } - - /** - * @return {@link #start} (Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value - */ - public IntegerType getStartElement() { - if (this.start == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantInnerComponent.start"); - else if (Configuration.doAutoCreate()) - this.start = new IntegerType(); // bb - return this.start; - } - - public boolean hasStartElement() { - return this.start != null && !this.start.isEmpty(); - } - - public boolean hasStart() { - return this.start != null && !this.start.isEmpty(); - } - - /** - * @param value {@link #start} (Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value - */ - public MolecularSequenceStructureVariantInnerComponent setStartElement(IntegerType value) { - this.start = value; - return this; - } - - /** - * @return Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public int getStart() { - return this.start == null || this.start.isEmpty() ? 0 : this.start.getValue(); - } - - /** - * @param value Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive. - */ - public MolecularSequenceStructureVariantInnerComponent setStart(int value) { - if (this.start == null) - this.start = new IntegerType(); - this.start.setValue(value); - return this; - } - - /** - * @return {@link #end} (Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value - */ - public IntegerType getEndElement() { - if (this.end == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequenceStructureVariantInnerComponent.end"); - else if (Configuration.doAutoCreate()) - this.end = new IntegerType(); // bb - return this.end; - } - - public boolean hasEndElement() { - return this.end != null && !this.end.isEmpty(); - } - - public boolean hasEnd() { - return this.end != null && !this.end.isEmpty(); - } - - /** - * @param value {@link #end} (Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value - */ - public MolecularSequenceStructureVariantInnerComponent setEndElement(IntegerType value) { - this.end = value; - return this; - } - - /** - * @return Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public int getEnd() { - return this.end == null || this.end.isEmpty() ? 0 : this.end.getValue(); - } - - /** - * @param value Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. - */ - public MolecularSequenceStructureVariantInnerComponent setEnd(int value) { - if (this.end == null) - this.end = new IntegerType(); - this.end.setValue(value); - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("start", "integer", "Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start)); - children.add(new Property("end", "integer", "Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case 109757538: /*start*/ return new Property("start", "integer", "Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive.", 0, 1, start); - case 100571: /*end*/ return new Property("end", "integer", "Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.", 0, 1, end); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case 109757538: /*start*/ return this.start == null ? new Base[0] : new Base[] {this.start}; // IntegerType - case 100571: /*end*/ return this.end == null ? new Base[0] : new Base[] {this.end}; // IntegerType - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case 109757538: // start - this.start = TypeConvertor.castToInteger(value); // IntegerType - return value; - case 100571: // end - this.end = TypeConvertor.castToInteger(value); // IntegerType - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("start")) { - this.start = TypeConvertor.castToInteger(value); // IntegerType - } else if (name.equals("end")) { - this.end = TypeConvertor.castToInteger(value); // IntegerType - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 109757538: return getStartElement(); - case 100571: return getEndElement(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case 109757538: /*start*/ return new String[] {"integer"}; - case 100571: /*end*/ return new String[] {"integer"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("start")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.structureVariant.inner.start"); - } - else if (name.equals("end")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.structureVariant.inner.end"); - } - else - return super.addChild(name); - } - - public MolecularSequenceStructureVariantInnerComponent copy() { - MolecularSequenceStructureVariantInnerComponent dst = new MolecularSequenceStructureVariantInnerComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(MolecularSequenceStructureVariantInnerComponent dst) { - super.copyValues(dst); - dst.start = start == null ? null : start.copy(); - dst.end = end == null ? null : end.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof MolecularSequenceStructureVariantInnerComponent)) - return false; - MolecularSequenceStructureVariantInnerComponent o = (MolecularSequenceStructureVariantInnerComponent) other_; - return compareDeep(start, o.start, true) && compareDeep(end, o.end, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof MolecularSequenceStructureVariantInnerComponent)) - return false; - MolecularSequenceStructureVariantInnerComponent o = (MolecularSequenceStructureVariantInnerComponent) other_; - return compareValues(start, o.start, true) && compareValues(end, o.end, true); - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(start, end); - } - - public String fhirType() { - return "MolecularSequence.structureVariant.inner"; + return "MolecularSequence.relative.edit"; } } /** - * A unique identifier for this particular sequence instance. This is a FHIR-defined id. + * A unique identifier for this particular sequence instance. */ @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Unique ID for this particular sequence. This is a FHIR-defined id", formalDefinition="A unique identifier for this particular sequence instance. This is a FHIR-defined id." ) + @Description(shortDefinition="Unique ID for this particular sequence", formalDefinition="A unique identifier for this particular sequence instance." ) protected List identifier; /** @@ -5125,104 +1634,55 @@ public class MolecularSequence extends DomainResource { protected Enumeration type; /** - * Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end). + * Indicates the patient this sequence is associated too. */ - @Child(name = "coordinateSystem", type = {IntegerType.class}, order=2, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Base number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)", formalDefinition="Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end)." ) - protected IntegerType coordinateSystem; - - /** - * The patient whose sequencing results are described by this resource. - */ - @Child(name = "patient", type = {Patient.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Who and/or what this is about", formalDefinition="The patient whose sequencing results are described by this resource." ) + @Child(name = "patient", type = {Patient.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Patient this sequence is associated too", formalDefinition="Indicates the patient this sequence is associated too." ) protected Reference patient; /** * Specimen used for sequencing. */ - @Child(name = "specimen", type = {Specimen.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Child(name = "specimen", type = {Specimen.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Specimen used for sequencing", formalDefinition="Specimen used for sequencing." ) protected Reference specimen; /** * The method for sequencing, for example, chip information. */ - @Child(name = "device", type = {Device.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Child(name = "device", type = {Device.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The method for sequencing", formalDefinition="The method for sequencing, for example, chip information." ) protected Reference device; /** * The organization or lab that should be responsible for this result. */ - @Child(name = "performer", type = {Organization.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "performer", type = {Organization.class}, order=5, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who should be responsible for test result", formalDefinition="The organization or lab that should be responsible for this result." ) protected Reference performer; /** - * The number of copies of the sequence of interest. (RNASeq). + * Sequence that was observed. */ - @Child(name = "quantity", type = {Quantity.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The number of copies of the sequence of interest. (RNASeq)", formalDefinition="The number of copies of the sequence of interest. (RNASeq)." ) - protected Quantity quantity; + @Child(name = "literal", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Sequence that was observed", formalDefinition="Sequence that was observed." ) + protected StringType literal; /** - * A sequence that is used as a reference to describe variants that are present in a sequence analyzed. + * Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system. */ - @Child(name = "referenceSeq", type = {}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A sequence used as reference", formalDefinition="A sequence that is used as a reference to describe variants that are present in a sequence analyzed." ) - protected MolecularSequenceReferenceSeqComponent referenceSeq; + @Child(name = "formatted", type = {Attachment.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Embedded file or a link (URL) which contains content to represent the sequence", formalDefinition="Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system." ) + protected List formatted; /** - * The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.) It can represent some complex mutation or segment variation with the assist of CIGAR string. + * A sequence defined relative to another sequence. */ - @Child(name = "variant", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Variant in sequence", formalDefinition="The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.) It can represent some complex mutation or segment variation with the assist of CIGAR string." ) - protected List variant; + @Child(name = "relative", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="A sequence defined relative to another sequence", formalDefinition="A sequence defined relative to another sequence." ) + protected List relative; - /** - * Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd. - */ - @Child(name = "observedSeq", type = {StringType.class}, order=10, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Sequence that was observed", formalDefinition="Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd." ) - protected StringType observedSeq; - - /** - * An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)). - */ - @Child(name = "quality", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="An set of value as quality of sequence", formalDefinition="An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686))." ) - protected List quality; - - /** - * Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence. - */ - @Child(name = "readCoverage", type = {IntegerType.class}, order=12, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Average number of reads representing a given nucleotide in the reconstructed sequence", formalDefinition="Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence." ) - protected IntegerType readCoverage; - - /** - * Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq. - */ - @Child(name = "repository", type = {}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="External repository which contains detailed report related with observedSeq in this resource", formalDefinition="Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq." ) - protected List repository; - - /** - * Pointer to next atomic sequence which at most contains one variant. - */ - @Child(name = "pointer", type = {MolecularSequence.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Pointer to next atomic sequence", formalDefinition="Pointer to next atomic sequence which at most contains one variant." ) - protected List pointer; - - /** - * Information about chromosome structure variation. - */ - @Child(name = "structureVariant", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Structural variant", formalDefinition="Information about chromosome structure variation." ) - protected List structureVariant; - - private static final long serialVersionUID = -1100594126L; + private static final long serialVersionUID = -1388366786L; /** * Constructor @@ -5231,16 +1691,8 @@ public class MolecularSequence extends DomainResource { super(); } - /** - * Constructor - */ - public MolecularSequence(int coordinateSystem) { - super(); - this.setCoordinateSystem(coordinateSystem); - } - /** - * @return {@link #identifier} (A unique identifier for this particular sequence instance. This is a FHIR-defined id.) + * @return {@link #identifier} (A unique identifier for this particular sequence instance.) */ public List getIdentifier() { if (this.identifier == null) @@ -5342,52 +1794,7 @@ public class MolecularSequence extends DomainResource { } /** - * @return {@link #coordinateSystem} (Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).). This is the underlying object with id, value and extensions. The accessor "getCoordinateSystem" gives direct access to the value - */ - public IntegerType getCoordinateSystemElement() { - if (this.coordinateSystem == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequence.coordinateSystem"); - else if (Configuration.doAutoCreate()) - this.coordinateSystem = new IntegerType(); // bb - return this.coordinateSystem; - } - - public boolean hasCoordinateSystemElement() { - return this.coordinateSystem != null && !this.coordinateSystem.isEmpty(); - } - - public boolean hasCoordinateSystem() { - return this.coordinateSystem != null && !this.coordinateSystem.isEmpty(); - } - - /** - * @param value {@link #coordinateSystem} (Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).). This is the underlying object with id, value and extensions. The accessor "getCoordinateSystem" gives direct access to the value - */ - public MolecularSequence setCoordinateSystemElement(IntegerType value) { - this.coordinateSystem = value; - return this; - } - - /** - * @return Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end). - */ - public int getCoordinateSystem() { - return this.coordinateSystem == null || this.coordinateSystem.isEmpty() ? 0 : this.coordinateSystem.getValue(); - } - - /** - * @param value Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end). - */ - public MolecularSequence setCoordinateSystem(int value) { - if (this.coordinateSystem == null) - this.coordinateSystem = new IntegerType(); - this.coordinateSystem.setValue(value); - return this; - } - - /** - * @return {@link #patient} (The patient whose sequencing results are described by this resource.) + * @return {@link #patient} (Indicates the patient this sequence is associated too.) */ public Reference getPatient() { if (this.patient == null) @@ -5403,7 +1810,7 @@ public class MolecularSequence extends DomainResource { } /** - * @param value {@link #patient} (The patient whose sequencing results are described by this resource.) + * @param value {@link #patient} (Indicates the patient this sequence is associated too.) */ public MolecularSequence setPatient(Reference value) { this.patient = value; @@ -5483,451 +1890,185 @@ public class MolecularSequence extends DomainResource { } /** - * @return {@link #quantity} (The number of copies of the sequence of interest. (RNASeq).) + * @return {@link #literal} (Sequence that was observed.). This is the underlying object with id, value and extensions. The accessor "getLiteral" gives direct access to the value */ - public Quantity getQuantity() { - if (this.quantity == null) + public StringType getLiteralElement() { + if (this.literal == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequence.quantity"); + throw new Error("Attempt to auto-create MolecularSequence.literal"); else if (Configuration.doAutoCreate()) - this.quantity = new Quantity(); // cc - return this.quantity; + this.literal = new StringType(); // bb + return this.literal; } - public boolean hasQuantity() { - return this.quantity != null && !this.quantity.isEmpty(); + public boolean hasLiteralElement() { + return this.literal != null && !this.literal.isEmpty(); + } + + public boolean hasLiteral() { + return this.literal != null && !this.literal.isEmpty(); } /** - * @param value {@link #quantity} (The number of copies of the sequence of interest. (RNASeq).) + * @param value {@link #literal} (Sequence that was observed.). This is the underlying object with id, value and extensions. The accessor "getLiteral" gives direct access to the value */ - public MolecularSequence setQuantity(Quantity value) { - this.quantity = value; + public MolecularSequence setLiteralElement(StringType value) { + this.literal = value; return this; } /** - * @return {@link #referenceSeq} (A sequence that is used as a reference to describe variants that are present in a sequence analyzed.) + * @return Sequence that was observed. */ - public MolecularSequenceReferenceSeqComponent getReferenceSeq() { - if (this.referenceSeq == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequence.referenceSeq"); - else if (Configuration.doAutoCreate()) - this.referenceSeq = new MolecularSequenceReferenceSeqComponent(); // cc - return this.referenceSeq; - } - - public boolean hasReferenceSeq() { - return this.referenceSeq != null && !this.referenceSeq.isEmpty(); + public String getLiteral() { + return this.literal == null ? null : this.literal.getValue(); } /** - * @param value {@link #referenceSeq} (A sequence that is used as a reference to describe variants that are present in a sequence analyzed.) + * @param value Sequence that was observed. */ - public MolecularSequence setReferenceSeq(MolecularSequenceReferenceSeqComponent value) { - this.referenceSeq = value; - return this; - } - - /** - * @return {@link #variant} (The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.) It can represent some complex mutation or segment variation with the assist of CIGAR string.) - */ - public List getVariant() { - if (this.variant == null) - this.variant = new ArrayList(); - return this.variant; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequence setVariant(List theVariant) { - this.variant = theVariant; - return this; - } - - public boolean hasVariant() { - if (this.variant == null) - return false; - for (MolecularSequenceVariantComponent item : this.variant) - if (!item.isEmpty()) - return true; - return false; - } - - public MolecularSequenceVariantComponent addVariant() { //3 - MolecularSequenceVariantComponent t = new MolecularSequenceVariantComponent(); - if (this.variant == null) - this.variant = new ArrayList(); - this.variant.add(t); - return t; - } - - public MolecularSequence addVariant(MolecularSequenceVariantComponent t) { //3 - if (t == null) - return this; - if (this.variant == null) - this.variant = new ArrayList(); - this.variant.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #variant}, creating it if it does not already exist {3} - */ - public MolecularSequenceVariantComponent getVariantFirstRep() { - if (getVariant().isEmpty()) { - addVariant(); - } - return getVariant().get(0); - } - - /** - * @return {@link #observedSeq} (Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd.). This is the underlying object with id, value and extensions. The accessor "getObservedSeq" gives direct access to the value - */ - public StringType getObservedSeqElement() { - if (this.observedSeq == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequence.observedSeq"); - else if (Configuration.doAutoCreate()) - this.observedSeq = new StringType(); // bb - return this.observedSeq; - } - - public boolean hasObservedSeqElement() { - return this.observedSeq != null && !this.observedSeq.isEmpty(); - } - - public boolean hasObservedSeq() { - return this.observedSeq != null && !this.observedSeq.isEmpty(); - } - - /** - * @param value {@link #observedSeq} (Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd.). This is the underlying object with id, value and extensions. The accessor "getObservedSeq" gives direct access to the value - */ - public MolecularSequence setObservedSeqElement(StringType value) { - this.observedSeq = value; - return this; - } - - /** - * @return Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd. - */ - public String getObservedSeq() { - return this.observedSeq == null ? null : this.observedSeq.getValue(); - } - - /** - * @param value Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd. - */ - public MolecularSequence setObservedSeq(String value) { + public MolecularSequence setLiteral(String value) { if (Utilities.noString(value)) - this.observedSeq = null; + this.literal = null; else { - if (this.observedSeq == null) - this.observedSeq = new StringType(); - this.observedSeq.setValue(value); + if (this.literal == null) + this.literal = new StringType(); + this.literal.setValue(value); } return this; } /** - * @return {@link #quality} (An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).) + * @return {@link #formatted} (Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system.) */ - public List getQuality() { - if (this.quality == null) - this.quality = new ArrayList(); - return this.quality; + public List getFormatted() { + if (this.formatted == null) + this.formatted = new ArrayList(); + return this.formatted; } /** * @return Returns a reference to this for easy method chaining */ - public MolecularSequence setQuality(List theQuality) { - this.quality = theQuality; + public MolecularSequence setFormatted(List theFormatted) { + this.formatted = theFormatted; return this; } - public boolean hasQuality() { - if (this.quality == null) + public boolean hasFormatted() { + if (this.formatted == null) return false; - for (MolecularSequenceQualityComponent item : this.quality) + for (Attachment item : this.formatted) if (!item.isEmpty()) return true; return false; } - public MolecularSequenceQualityComponent addQuality() { //3 - MolecularSequenceQualityComponent t = new MolecularSequenceQualityComponent(); - if (this.quality == null) - this.quality = new ArrayList(); - this.quality.add(t); + public Attachment addFormatted() { //3 + Attachment t = new Attachment(); + if (this.formatted == null) + this.formatted = new ArrayList(); + this.formatted.add(t); return t; } - public MolecularSequence addQuality(MolecularSequenceQualityComponent t) { //3 + public MolecularSequence addFormatted(Attachment t) { //3 if (t == null) return this; - if (this.quality == null) - this.quality = new ArrayList(); - this.quality.add(t); + if (this.formatted == null) + this.formatted = new ArrayList(); + this.formatted.add(t); return this; } /** - * @return The first repetition of repeating field {@link #quality}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #formatted}, creating it if it does not already exist {3} */ - public MolecularSequenceQualityComponent getQualityFirstRep() { - if (getQuality().isEmpty()) { - addQuality(); + public Attachment getFormattedFirstRep() { + if (getFormatted().isEmpty()) { + addFormatted(); } - return getQuality().get(0); + return getFormatted().get(0); } /** - * @return {@link #readCoverage} (Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.). This is the underlying object with id, value and extensions. The accessor "getReadCoverage" gives direct access to the value + * @return {@link #relative} (A sequence defined relative to another sequence.) */ - public IntegerType getReadCoverageElement() { - if (this.readCoverage == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create MolecularSequence.readCoverage"); - else if (Configuration.doAutoCreate()) - this.readCoverage = new IntegerType(); // bb - return this.readCoverage; - } - - public boolean hasReadCoverageElement() { - return this.readCoverage != null && !this.readCoverage.isEmpty(); - } - - public boolean hasReadCoverage() { - return this.readCoverage != null && !this.readCoverage.isEmpty(); - } - - /** - * @param value {@link #readCoverage} (Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.). This is the underlying object with id, value and extensions. The accessor "getReadCoverage" gives direct access to the value - */ - public MolecularSequence setReadCoverageElement(IntegerType value) { - this.readCoverage = value; - return this; - } - - /** - * @return Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence. - */ - public int getReadCoverage() { - return this.readCoverage == null || this.readCoverage.isEmpty() ? 0 : this.readCoverage.getValue(); - } - - /** - * @param value Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence. - */ - public MolecularSequence setReadCoverage(int value) { - if (this.readCoverage == null) - this.readCoverage = new IntegerType(); - this.readCoverage.setValue(value); - return this; - } - - /** - * @return {@link #repository} (Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.) - */ - public List getRepository() { - if (this.repository == null) - this.repository = new ArrayList(); - return this.repository; + public List getRelative() { + if (this.relative == null) + this.relative = new ArrayList(); + return this.relative; } /** * @return Returns a reference to this for easy method chaining */ - public MolecularSequence setRepository(List theRepository) { - this.repository = theRepository; + public MolecularSequence setRelative(List theRelative) { + this.relative = theRelative; return this; } - public boolean hasRepository() { - if (this.repository == null) + public boolean hasRelative() { + if (this.relative == null) return false; - for (MolecularSequenceRepositoryComponent item : this.repository) + for (MolecularSequenceRelativeComponent item : this.relative) if (!item.isEmpty()) return true; return false; } - public MolecularSequenceRepositoryComponent addRepository() { //3 - MolecularSequenceRepositoryComponent t = new MolecularSequenceRepositoryComponent(); - if (this.repository == null) - this.repository = new ArrayList(); - this.repository.add(t); + public MolecularSequenceRelativeComponent addRelative() { //3 + MolecularSequenceRelativeComponent t = new MolecularSequenceRelativeComponent(); + if (this.relative == null) + this.relative = new ArrayList(); + this.relative.add(t); return t; } - public MolecularSequence addRepository(MolecularSequenceRepositoryComponent t) { //3 + public MolecularSequence addRelative(MolecularSequenceRelativeComponent t) { //3 if (t == null) return this; - if (this.repository == null) - this.repository = new ArrayList(); - this.repository.add(t); + if (this.relative == null) + this.relative = new ArrayList(); + this.relative.add(t); return this; } /** - * @return The first repetition of repeating field {@link #repository}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #relative}, creating it if it does not already exist {3} */ - public MolecularSequenceRepositoryComponent getRepositoryFirstRep() { - if (getRepository().isEmpty()) { - addRepository(); + public MolecularSequenceRelativeComponent getRelativeFirstRep() { + if (getRelative().isEmpty()) { + addRelative(); } - return getRepository().get(0); - } - - /** - * @return {@link #pointer} (Pointer to next atomic sequence which at most contains one variant.) - */ - public List getPointer() { - if (this.pointer == null) - this.pointer = new ArrayList(); - return this.pointer; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequence setPointer(List thePointer) { - this.pointer = thePointer; - return this; - } - - public boolean hasPointer() { - if (this.pointer == null) - return false; - for (Reference item : this.pointer) - if (!item.isEmpty()) - return true; - return false; - } - - public Reference addPointer() { //3 - Reference t = new Reference(); - if (this.pointer == null) - this.pointer = new ArrayList(); - this.pointer.add(t); - return t; - } - - public MolecularSequence addPointer(Reference t) { //3 - if (t == null) - return this; - if (this.pointer == null) - this.pointer = new ArrayList(); - this.pointer.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #pointer}, creating it if it does not already exist {3} - */ - public Reference getPointerFirstRep() { - if (getPointer().isEmpty()) { - addPointer(); - } - return getPointer().get(0); - } - - /** - * @return {@link #structureVariant} (Information about chromosome structure variation.) - */ - public List getStructureVariant() { - if (this.structureVariant == null) - this.structureVariant = new ArrayList(); - return this.structureVariant; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public MolecularSequence setStructureVariant(List theStructureVariant) { - this.structureVariant = theStructureVariant; - return this; - } - - public boolean hasStructureVariant() { - if (this.structureVariant == null) - return false; - for (MolecularSequenceStructureVariantComponent item : this.structureVariant) - if (!item.isEmpty()) - return true; - return false; - } - - public MolecularSequenceStructureVariantComponent addStructureVariant() { //3 - MolecularSequenceStructureVariantComponent t = new MolecularSequenceStructureVariantComponent(); - if (this.structureVariant == null) - this.structureVariant = new ArrayList(); - this.structureVariant.add(t); - return t; - } - - public MolecularSequence addStructureVariant(MolecularSequenceStructureVariantComponent t) { //3 - if (t == null) - return this; - if (this.structureVariant == null) - this.structureVariant = new ArrayList(); - this.structureVariant.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #structureVariant}, creating it if it does not already exist {3} - */ - public MolecularSequenceStructureVariantComponent getStructureVariantFirstRep() { - if (getStructureVariant().isEmpty()) { - addStructureVariant(); - } - return getStructureVariant().get(0); + return getRelative().get(0); } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "A unique identifier for this particular sequence instance. This is a FHIR-defined id.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("identifier", "Identifier", "A unique identifier for this particular sequence instance.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("type", "code", "Amino Acid Sequence/ DNA Sequence / RNA Sequence.", 0, 1, type)); - children.add(new Property("coordinateSystem", "integer", "Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).", 0, 1, coordinateSystem)); - children.add(new Property("patient", "Reference(Patient)", "The patient whose sequencing results are described by this resource.", 0, 1, patient)); + children.add(new Property("patient", "Reference(Patient)", "Indicates the patient this sequence is associated too.", 0, 1, patient)); children.add(new Property("specimen", "Reference(Specimen)", "Specimen used for sequencing.", 0, 1, specimen)); children.add(new Property("device", "Reference(Device)", "The method for sequencing, for example, chip information.", 0, 1, device)); children.add(new Property("performer", "Reference(Organization)", "The organization or lab that should be responsible for this result.", 0, 1, performer)); - children.add(new Property("quantity", "Quantity", "The number of copies of the sequence of interest. (RNASeq).", 0, 1, quantity)); - children.add(new Property("referenceSeq", "", "A sequence that is used as a reference to describe variants that are present in a sequence analyzed.", 0, 1, referenceSeq)); - children.add(new Property("variant", "", "The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.) It can represent some complex mutation or segment variation with the assist of CIGAR string.", 0, java.lang.Integer.MAX_VALUE, variant)); - children.add(new Property("observedSeq", "string", "Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd.", 0, 1, observedSeq)); - children.add(new Property("quality", "", "An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).", 0, java.lang.Integer.MAX_VALUE, quality)); - children.add(new Property("readCoverage", "integer", "Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.", 0, 1, readCoverage)); - children.add(new Property("repository", "", "Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.", 0, java.lang.Integer.MAX_VALUE, repository)); - children.add(new Property("pointer", "Reference(MolecularSequence)", "Pointer to next atomic sequence which at most contains one variant.", 0, java.lang.Integer.MAX_VALUE, pointer)); - children.add(new Property("structureVariant", "", "Information about chromosome structure variation.", 0, java.lang.Integer.MAX_VALUE, structureVariant)); + children.add(new Property("literal", "string", "Sequence that was observed.", 0, 1, literal)); + children.add(new Property("formatted", "Attachment", "Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system.", 0, java.lang.Integer.MAX_VALUE, formatted)); + children.add(new Property("relative", "", "A sequence defined relative to another sequence.", 0, java.lang.Integer.MAX_VALUE, relative)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A unique identifier for this particular sequence instance. This is a FHIR-defined id.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A unique identifier for this particular sequence instance.", 0, java.lang.Integer.MAX_VALUE, identifier); case 3575610: /*type*/ return new Property("type", "code", "Amino Acid Sequence/ DNA Sequence / RNA Sequence.", 0, 1, type); - case 354212295: /*coordinateSystem*/ return new Property("coordinateSystem", "integer", "Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end).", 0, 1, coordinateSystem); - case -791418107: /*patient*/ return new Property("patient", "Reference(Patient)", "The patient whose sequencing results are described by this resource.", 0, 1, patient); + case -791418107: /*patient*/ return new Property("patient", "Reference(Patient)", "Indicates the patient this sequence is associated too.", 0, 1, patient); case -2132868344: /*specimen*/ return new Property("specimen", "Reference(Specimen)", "Specimen used for sequencing.", 0, 1, specimen); case -1335157162: /*device*/ return new Property("device", "Reference(Device)", "The method for sequencing, for example, chip information.", 0, 1, device); case 481140686: /*performer*/ return new Property("performer", "Reference(Organization)", "The organization or lab that should be responsible for this result.", 0, 1, performer); - case -1285004149: /*quantity*/ return new Property("quantity", "Quantity", "The number of copies of the sequence of interest. (RNASeq).", 0, 1, quantity); - case -502547180: /*referenceSeq*/ return new Property("referenceSeq", "", "A sequence that is used as a reference to describe variants that are present in a sequence analyzed.", 0, 1, referenceSeq); - case 236785797: /*variant*/ return new Property("variant", "", "The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.) It can represent some complex mutation or segment variation with the assist of CIGAR string.", 0, java.lang.Integer.MAX_VALUE, variant); - case 125541495: /*observedSeq*/ return new Property("observedSeq", "string", "Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd.", 0, 1, observedSeq); - case 651215103: /*quality*/ return new Property("quality", "", "An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).", 0, java.lang.Integer.MAX_VALUE, quality); - case -1798816354: /*readCoverage*/ return new Property("readCoverage", "integer", "Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence.", 0, 1, readCoverage); - case 1950800714: /*repository*/ return new Property("repository", "", "Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.", 0, java.lang.Integer.MAX_VALUE, repository); - case -400605635: /*pointer*/ return new Property("pointer", "Reference(MolecularSequence)", "Pointer to next atomic sequence which at most contains one variant.", 0, java.lang.Integer.MAX_VALUE, pointer); - case 757269394: /*structureVariant*/ return new Property("structureVariant", "", "Information about chromosome structure variation.", 0, java.lang.Integer.MAX_VALUE, structureVariant); + case 182460591: /*literal*/ return new Property("literal", "string", "Sequence that was observed.", 0, 1, literal); + case 1811591356: /*formatted*/ return new Property("formatted", "Attachment", "Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system.", 0, java.lang.Integer.MAX_VALUE, formatted); + case -554435892: /*relative*/ return new Property("relative", "", "A sequence defined relative to another sequence.", 0, java.lang.Integer.MAX_VALUE, relative); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -5938,20 +2079,13 @@ public class MolecularSequence extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration - case 354212295: /*coordinateSystem*/ return this.coordinateSystem == null ? new Base[0] : new Base[] {this.coordinateSystem}; // IntegerType case -791418107: /*patient*/ return this.patient == null ? new Base[0] : new Base[] {this.patient}; // Reference case -2132868344: /*specimen*/ return this.specimen == null ? new Base[0] : new Base[] {this.specimen}; // Reference case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference case 481140686: /*performer*/ return this.performer == null ? new Base[0] : new Base[] {this.performer}; // Reference - case -1285004149: /*quantity*/ return this.quantity == null ? new Base[0] : new Base[] {this.quantity}; // Quantity - case -502547180: /*referenceSeq*/ return this.referenceSeq == null ? new Base[0] : new Base[] {this.referenceSeq}; // MolecularSequenceReferenceSeqComponent - case 236785797: /*variant*/ return this.variant == null ? new Base[0] : this.variant.toArray(new Base[this.variant.size()]); // MolecularSequenceVariantComponent - case 125541495: /*observedSeq*/ return this.observedSeq == null ? new Base[0] : new Base[] {this.observedSeq}; // StringType - case 651215103: /*quality*/ return this.quality == null ? new Base[0] : this.quality.toArray(new Base[this.quality.size()]); // MolecularSequenceQualityComponent - case -1798816354: /*readCoverage*/ return this.readCoverage == null ? new Base[0] : new Base[] {this.readCoverage}; // IntegerType - case 1950800714: /*repository*/ return this.repository == null ? new Base[0] : this.repository.toArray(new Base[this.repository.size()]); // MolecularSequenceRepositoryComponent - case -400605635: /*pointer*/ return this.pointer == null ? new Base[0] : this.pointer.toArray(new Base[this.pointer.size()]); // Reference - case 757269394: /*structureVariant*/ return this.structureVariant == null ? new Base[0] : this.structureVariant.toArray(new Base[this.structureVariant.size()]); // MolecularSequenceStructureVariantComponent + case 182460591: /*literal*/ return this.literal == null ? new Base[0] : new Base[] {this.literal}; // StringType + case 1811591356: /*formatted*/ return this.formatted == null ? new Base[0] : this.formatted.toArray(new Base[this.formatted.size()]); // Attachment + case -554435892: /*relative*/ return this.relative == null ? new Base[0] : this.relative.toArray(new Base[this.relative.size()]); // MolecularSequenceRelativeComponent default: return super.getProperty(hash, name, checkValid); } @@ -5967,9 +2101,6 @@ public class MolecularSequence extends DomainResource { value = new SequenceTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); this.type = (Enumeration) value; // Enumeration return value; - case 354212295: // coordinateSystem - this.coordinateSystem = TypeConvertor.castToInteger(value); // IntegerType - return value; case -791418107: // patient this.patient = TypeConvertor.castToReference(value); // Reference return value; @@ -5982,32 +2113,14 @@ public class MolecularSequence extends DomainResource { case 481140686: // performer this.performer = TypeConvertor.castToReference(value); // Reference return value; - case -1285004149: // quantity - this.quantity = TypeConvertor.castToQuantity(value); // Quantity + case 182460591: // literal + this.literal = TypeConvertor.castToString(value); // StringType return value; - case -502547180: // referenceSeq - this.referenceSeq = (MolecularSequenceReferenceSeqComponent) value; // MolecularSequenceReferenceSeqComponent + case 1811591356: // formatted + this.getFormatted().add(TypeConvertor.castToAttachment(value)); // Attachment return value; - case 236785797: // variant - this.getVariant().add((MolecularSequenceVariantComponent) value); // MolecularSequenceVariantComponent - return value; - case 125541495: // observedSeq - this.observedSeq = TypeConvertor.castToString(value); // StringType - return value; - case 651215103: // quality - this.getQuality().add((MolecularSequenceQualityComponent) value); // MolecularSequenceQualityComponent - return value; - case -1798816354: // readCoverage - this.readCoverage = TypeConvertor.castToInteger(value); // IntegerType - return value; - case 1950800714: // repository - this.getRepository().add((MolecularSequenceRepositoryComponent) value); // MolecularSequenceRepositoryComponent - return value; - case -400605635: // pointer - this.getPointer().add(TypeConvertor.castToReference(value)); // Reference - return value; - case 757269394: // structureVariant - this.getStructureVariant().add((MolecularSequenceStructureVariantComponent) value); // MolecularSequenceStructureVariantComponent + case -554435892: // relative + this.getRelative().add((MolecularSequenceRelativeComponent) value); // MolecularSequenceRelativeComponent return value; default: return super.setProperty(hash, name, value); } @@ -6021,8 +2134,6 @@ public class MolecularSequence extends DomainResource { } else if (name.equals("type")) { value = new SequenceTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); this.type = (Enumeration) value; // Enumeration - } else if (name.equals("coordinateSystem")) { - this.coordinateSystem = TypeConvertor.castToInteger(value); // IntegerType } else if (name.equals("patient")) { this.patient = TypeConvertor.castToReference(value); // Reference } else if (name.equals("specimen")) { @@ -6031,24 +2142,12 @@ public class MolecularSequence extends DomainResource { this.device = TypeConvertor.castToReference(value); // Reference } else if (name.equals("performer")) { this.performer = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("quantity")) { - this.quantity = TypeConvertor.castToQuantity(value); // Quantity - } else if (name.equals("referenceSeq")) { - this.referenceSeq = (MolecularSequenceReferenceSeqComponent) value; // MolecularSequenceReferenceSeqComponent - } else if (name.equals("variant")) { - this.getVariant().add((MolecularSequenceVariantComponent) value); - } else if (name.equals("observedSeq")) { - this.observedSeq = TypeConvertor.castToString(value); // StringType - } else if (name.equals("quality")) { - this.getQuality().add((MolecularSequenceQualityComponent) value); - } else if (name.equals("readCoverage")) { - this.readCoverage = TypeConvertor.castToInteger(value); // IntegerType - } else if (name.equals("repository")) { - this.getRepository().add((MolecularSequenceRepositoryComponent) value); - } else if (name.equals("pointer")) { - this.getPointer().add(TypeConvertor.castToReference(value)); - } else if (name.equals("structureVariant")) { - this.getStructureVariant().add((MolecularSequenceStructureVariantComponent) value); + } else if (name.equals("literal")) { + this.literal = TypeConvertor.castToString(value); // StringType + } else if (name.equals("formatted")) { + this.getFormatted().add(TypeConvertor.castToAttachment(value)); + } else if (name.equals("relative")) { + this.getRelative().add((MolecularSequenceRelativeComponent) value); } else return super.setProperty(name, value); return value; @@ -6059,20 +2158,13 @@ public class MolecularSequence extends DomainResource { switch (hash) { case -1618432855: return addIdentifier(); case 3575610: return getTypeElement(); - case 354212295: return getCoordinateSystemElement(); case -791418107: return getPatient(); case -2132868344: return getSpecimen(); case -1335157162: return getDevice(); case 481140686: return getPerformer(); - case -1285004149: return getQuantity(); - case -502547180: return getReferenceSeq(); - case 236785797: return addVariant(); - case 125541495: return getObservedSeqElement(); - case 651215103: return addQuality(); - case -1798816354: return getReadCoverageElement(); - case 1950800714: return addRepository(); - case -400605635: return addPointer(); - case 757269394: return addStructureVariant(); + case 182460591: return getLiteralElement(); + case 1811591356: return addFormatted(); + case -554435892: return addRelative(); default: return super.makeProperty(hash, name); } @@ -6083,20 +2175,13 @@ public class MolecularSequence extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case 3575610: /*type*/ return new String[] {"code"}; - case 354212295: /*coordinateSystem*/ return new String[] {"integer"}; case -791418107: /*patient*/ return new String[] {"Reference"}; case -2132868344: /*specimen*/ return new String[] {"Reference"}; case -1335157162: /*device*/ return new String[] {"Reference"}; case 481140686: /*performer*/ return new String[] {"Reference"}; - case -1285004149: /*quantity*/ return new String[] {"Quantity"}; - case -502547180: /*referenceSeq*/ return new String[] {}; - case 236785797: /*variant*/ return new String[] {}; - case 125541495: /*observedSeq*/ return new String[] {"string"}; - case 651215103: /*quality*/ return new String[] {}; - case -1798816354: /*readCoverage*/ return new String[] {"integer"}; - case 1950800714: /*repository*/ return new String[] {}; - case -400605635: /*pointer*/ return new String[] {"Reference"}; - case 757269394: /*structureVariant*/ return new String[] {}; + case 182460591: /*literal*/ return new String[] {"string"}; + case 1811591356: /*formatted*/ return new String[] {"Attachment"}; + case -554435892: /*relative*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); } @@ -6110,9 +2195,6 @@ public class MolecularSequence extends DomainResource { else if (name.equals("type")) { throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.type"); } - else if (name.equals("coordinateSystem")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.coordinateSystem"); - } else if (name.equals("patient")) { this.patient = new Reference(); return this.patient; @@ -6129,34 +2211,14 @@ public class MolecularSequence extends DomainResource { this.performer = new Reference(); return this.performer; } - else if (name.equals("quantity")) { - this.quantity = new Quantity(); - return this.quantity; + else if (name.equals("literal")) { + throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.literal"); } - else if (name.equals("referenceSeq")) { - this.referenceSeq = new MolecularSequenceReferenceSeqComponent(); - return this.referenceSeq; + else if (name.equals("formatted")) { + return addFormatted(); } - else if (name.equals("variant")) { - return addVariant(); - } - else if (name.equals("observedSeq")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.observedSeq"); - } - else if (name.equals("quality")) { - return addQuality(); - } - else if (name.equals("readCoverage")) { - throw new FHIRException("Cannot call addChild on a primitive type MolecularSequence.readCoverage"); - } - else if (name.equals("repository")) { - return addRepository(); - } - else if (name.equals("pointer")) { - return addPointer(); - } - else if (name.equals("structureVariant")) { - return addStructureVariant(); + else if (name.equals("relative")) { + return addRelative(); } else return super.addChild(name); @@ -6181,39 +2243,20 @@ public class MolecularSequence extends DomainResource { dst.identifier.add(i.copy()); }; dst.type = type == null ? null : type.copy(); - dst.coordinateSystem = coordinateSystem == null ? null : coordinateSystem.copy(); dst.patient = patient == null ? null : patient.copy(); dst.specimen = specimen == null ? null : specimen.copy(); dst.device = device == null ? null : device.copy(); dst.performer = performer == null ? null : performer.copy(); - dst.quantity = quantity == null ? null : quantity.copy(); - dst.referenceSeq = referenceSeq == null ? null : referenceSeq.copy(); - if (variant != null) { - dst.variant = new ArrayList(); - for (MolecularSequenceVariantComponent i : variant) - dst.variant.add(i.copy()); + dst.literal = literal == null ? null : literal.copy(); + if (formatted != null) { + dst.formatted = new ArrayList(); + for (Attachment i : formatted) + dst.formatted.add(i.copy()); }; - dst.observedSeq = observedSeq == null ? null : observedSeq.copy(); - if (quality != null) { - dst.quality = new ArrayList(); - for (MolecularSequenceQualityComponent i : quality) - dst.quality.add(i.copy()); - }; - dst.readCoverage = readCoverage == null ? null : readCoverage.copy(); - if (repository != null) { - dst.repository = new ArrayList(); - for (MolecularSequenceRepositoryComponent i : repository) - dst.repository.add(i.copy()); - }; - if (pointer != null) { - dst.pointer = new ArrayList(); - for (Reference i : pointer) - dst.pointer.add(i.copy()); - }; - if (structureVariant != null) { - dst.structureVariant = new ArrayList(); - for (MolecularSequenceStructureVariantComponent i : structureVariant) - dst.structureVariant.add(i.copy()); + if (relative != null) { + dst.relative = new ArrayList(); + for (MolecularSequenceRelativeComponent i : relative) + dst.relative.add(i.copy()); }; } @@ -6228,12 +2271,9 @@ public class MolecularSequence extends DomainResource { if (!(other_ instanceof MolecularSequence)) return false; MolecularSequence o = (MolecularSequence) other_; - return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(coordinateSystem, o.coordinateSystem, true) - && compareDeep(patient, o.patient, true) && compareDeep(specimen, o.specimen, true) && compareDeep(device, o.device, true) - && compareDeep(performer, o.performer, true) && compareDeep(quantity, o.quantity, true) && compareDeep(referenceSeq, o.referenceSeq, true) - && compareDeep(variant, o.variant, true) && compareDeep(observedSeq, o.observedSeq, true) && compareDeep(quality, o.quality, true) - && compareDeep(readCoverage, o.readCoverage, true) && compareDeep(repository, o.repository, true) - && compareDeep(pointer, o.pointer, true) && compareDeep(structureVariant, o.structureVariant, true) + return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(patient, o.patient, true) + && compareDeep(specimen, o.specimen, true) && compareDeep(device, o.device, true) && compareDeep(performer, o.performer, true) + && compareDeep(literal, o.literal, true) && compareDeep(formatted, o.formatted, true) && compareDeep(relative, o.relative, true) ; } @@ -6244,15 +2284,12 @@ public class MolecularSequence extends DomainResource { if (!(other_ instanceof MolecularSequence)) return false; MolecularSequence o = (MolecularSequence) other_; - return compareValues(type, o.type, true) && compareValues(coordinateSystem, o.coordinateSystem, true) - && compareValues(observedSeq, o.observedSeq, true) && compareValues(readCoverage, o.readCoverage, true) - ; + return compareValues(type, o.type, true) && compareValues(literal, o.literal, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, coordinateSystem - , patient, specimen, device, performer, quantity, referenceSeq, variant, observedSeq - , quality, readCoverage, repository, pointer, structureVariant); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, patient + , specimen, device, performer, literal, formatted, relative); } @Override @@ -6260,272 +2297,6 @@ public class MolecularSequence extends DomainResource { return ResourceType.MolecularSequence; } - /** - * Search parameter: chromosome-variant-coordinate - *

- * Description: Search parameter by chromosome and variant coordinate. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `chromosome-variant-coordinate=1$lt345$gt123`, this means it will search for the MolecularSequence resource with variants on chromosome 1 and with position >123 and <345, where in 1-based system resource, all strings within region 1:124-344 will be revealed, while in 0-based system resource, all strings within region 1:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.variant
- *

- */ - @SearchParamDefinition(name="chromosome-variant-coordinate", path="MolecularSequence.variant", description="Search parameter by chromosome and variant coordinate. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `chromosome-variant-coordinate=1$lt345$gt123`, this means it will search for the MolecularSequence resource with variants on chromosome 1 and with position >123 and <345, where in 1-based system resource, all strings within region 1:124-344 will be revealed, while in 0-based system resource, all strings within region 1:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.", type="composite", compositeOf={"chromosome", "variant-start"} ) - public static final String SP_CHROMOSOME_VARIANT_COORDINATE = "chromosome-variant-coordinate"; - /** - * Fluent Client search parameter constant for chromosome-variant-coordinate - *

- * Description: Search parameter by chromosome and variant coordinate. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `chromosome-variant-coordinate=1$lt345$gt123`, this means it will search for the MolecularSequence resource with variants on chromosome 1 and with position >123 and <345, where in 1-based system resource, all strings within region 1:124-344 will be revealed, while in 0-based system resource, all strings within region 1:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.variant
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CHROMOSOME_VARIANT_COORDINATE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CHROMOSOME_VARIANT_COORDINATE); - - /** - * Search parameter: chromosome-window-coordinate - *

- * Description: Search parameter by chromosome and window. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `chromosome-window-coordinate=1$lt345$gt123`, this means it will search for the MolecularSequence resource with a window on chromosome 1 and with position >123 and <345, where in 1-based system resource, all strings within region 1:124-344 will be revealed, while in 0-based system resource, all strings within region 1:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.referenceSeq
- *

- */ - @SearchParamDefinition(name="chromosome-window-coordinate", path="MolecularSequence.referenceSeq", description="Search parameter by chromosome and window. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `chromosome-window-coordinate=1$lt345$gt123`, this means it will search for the MolecularSequence resource with a window on chromosome 1 and with position >123 and <345, where in 1-based system resource, all strings within region 1:124-344 will be revealed, while in 0-based system resource, all strings within region 1:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.", type="composite", compositeOf={"chromosome", "window-start"} ) - public static final String SP_CHROMOSOME_WINDOW_COORDINATE = "chromosome-window-coordinate"; - /** - * Fluent Client search parameter constant for chromosome-window-coordinate - *

- * Description: Search parameter by chromosome and window. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `chromosome-window-coordinate=1$lt345$gt123`, this means it will search for the MolecularSequence resource with a window on chromosome 1 and with position >123 and <345, where in 1-based system resource, all strings within region 1:124-344 will be revealed, while in 0-based system resource, all strings within region 1:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.referenceSeq
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CHROMOSOME_WINDOW_COORDINATE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CHROMOSOME_WINDOW_COORDINATE); - - /** - * Search parameter: chromosome - *

- * Description: Chromosome number of the reference sequence
- * Type: token
- * Path: MolecularSequence.referenceSeq.chromosome
- *

- */ - @SearchParamDefinition(name="chromosome", path="MolecularSequence.referenceSeq.chromosome", description="Chromosome number of the reference sequence", type="token" ) - public static final String SP_CHROMOSOME = "chromosome"; - /** - * Fluent Client search parameter constant for chromosome - *

- * Description: Chromosome number of the reference sequence
- * Type: token
- * Path: MolecularSequence.referenceSeq.chromosome
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CHROMOSOME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CHROMOSOME); - - /** - * Search parameter: identifier - *

- * Description: The unique identity for a particular sequence
- * Type: token
- * Path: MolecularSequence.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="MolecularSequence.identifier", description="The unique identity for a particular sequence", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The unique identity for a particular sequence
- * Type: token
- * Path: MolecularSequence.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: The subject that the observation is about
- * Type: reference
- * Path: MolecularSequence.patient
- *

- */ - @SearchParamDefinition(name="patient", path="MolecularSequence.patient", description="The subject that the observation is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The subject that the observation is about
- * Type: reference
- * Path: MolecularSequence.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "MolecularSequence:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("MolecularSequence:patient").toLocked(); - - /** - * Search parameter: referenceseqid-variant-coordinate - *

- * Description: Search parameter by reference sequence and variant coordinate. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `referenceSeqId-variant-coordinate=NC_000001.11$lt345$gt123`, this means it will search for the MolecularSequence resource with variants on NC_000001.11 and with position >123 and <345, where in 1-based system resource, all strings within region NC_000001.11:124-344 will be revealed, while in 0-based system resource, all strings within region NC_000001.11:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.variant
- *

- */ - @SearchParamDefinition(name="referenceseqid-variant-coordinate", path="MolecularSequence.variant", description="Search parameter by reference sequence and variant coordinate. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `referenceSeqId-variant-coordinate=NC_000001.11$lt345$gt123`, this means it will search for the MolecularSequence resource with variants on NC_000001.11 and with position >123 and <345, where in 1-based system resource, all strings within region NC_000001.11:124-344 will be revealed, while in 0-based system resource, all strings within region NC_000001.11:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.", type="composite", compositeOf={"referenceseqid", "variant-start"} ) - public static final String SP_REFERENCESEQID_VARIANT_COORDINATE = "referenceseqid-variant-coordinate"; - /** - * Fluent Client search parameter constant for referenceseqid-variant-coordinate - *

- * Description: Search parameter by reference sequence and variant coordinate. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `referenceSeqId-variant-coordinate=NC_000001.11$lt345$gt123`, this means it will search for the MolecularSequence resource with variants on NC_000001.11 and with position >123 and <345, where in 1-based system resource, all strings within region NC_000001.11:124-344 will be revealed, while in 0-based system resource, all strings within region NC_000001.11:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.variant
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam REFERENCESEQID_VARIANT_COORDINATE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_REFERENCESEQID_VARIANT_COORDINATE); - - /** - * Search parameter: referenceseqid-window-coordinate - *

- * Description: Search parameter by reference sequence and window. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `referenceSeqId-window-coordinate=NC_000001.11$lt345$gt123`, this means it will search for the MolecularSequence resource with a window on NC_000001.11 and with position >123 and <345, where in 1-based system resource, all strings within region NC_000001.11:124-344 will be revealed, while in 0-based system resource, all strings within region NC_000001.11:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.referenceSeq
- *

- */ - @SearchParamDefinition(name="referenceseqid-window-coordinate", path="MolecularSequence.referenceSeq", description="Search parameter by reference sequence and window. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `referenceSeqId-window-coordinate=NC_000001.11$lt345$gt123`, this means it will search for the MolecularSequence resource with a window on NC_000001.11 and with position >123 and <345, where in 1-based system resource, all strings within region NC_000001.11:124-344 will be revealed, while in 0-based system resource, all strings within region NC_000001.11:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.", type="composite", compositeOf={"referenceseqid", "window-start"} ) - public static final String SP_REFERENCESEQID_WINDOW_COORDINATE = "referenceseqid-window-coordinate"; - /** - * Fluent Client search parameter constant for referenceseqid-window-coordinate - *

- * Description: Search parameter by reference sequence and window. This will refer to part of a locus or part of a gene where search region will be represented in 1-based system. Since the coordinateSystem can either be 0-based or 1-based, this search query will include the result of both coordinateSystem that contains the equivalent segment of the gene or whole genome sequence. For example, a search for sequence can be represented as `referenceSeqId-window-coordinate=NC_000001.11$lt345$gt123`, this means it will search for the MolecularSequence resource with a window on NC_000001.11 and with position >123 and <345, where in 1-based system resource, all strings within region NC_000001.11:124-344 will be revealed, while in 0-based system resource, all strings within region NC_000001.11:123-344 will be revealed. You may want to check detail about 0-based v.s. 1-based above.
- * Type: composite
- * Path: MolecularSequence.referenceSeq
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam REFERENCESEQID_WINDOW_COORDINATE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_REFERENCESEQID_WINDOW_COORDINATE); - - /** - * Search parameter: referenceseqid - *

- * Description: Reference Sequence of the sequence
- * Type: token
- * Path: MolecularSequence.referenceSeq.referenceSeqId
- *

- */ - @SearchParamDefinition(name="referenceseqid", path="MolecularSequence.referenceSeq.referenceSeqId", description="Reference Sequence of the sequence", type="token" ) - public static final String SP_REFERENCESEQID = "referenceseqid"; - /** - * Fluent Client search parameter constant for referenceseqid - *

- * Description: Reference Sequence of the sequence
- * Type: token
- * Path: MolecularSequence.referenceSeq.referenceSeqId
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REFERENCESEQID = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REFERENCESEQID); - - /** - * Search parameter: type - *

- * Description: Amino Acid Sequence/ DNA Sequence / RNA Sequence
- * Type: token
- * Path: MolecularSequence.type
- *

- */ - @SearchParamDefinition(name="type", path="MolecularSequence.type", description="Amino Acid Sequence/ DNA Sequence / RNA Sequence", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Amino Acid Sequence/ DNA Sequence / RNA Sequence
- * Type: token
- * Path: MolecularSequence.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: variant-end - *

- * Description: End position (0-based exclusive, which menas the acid at this position will not be included, 1-based inclusive, which means the acid at this position will be included) of the variant.
- * Type: number
- * Path: MolecularSequence.variant.end
- *

- */ - @SearchParamDefinition(name="variant-end", path="MolecularSequence.variant.end", description="End position (0-based exclusive, which menas the acid at this position will not be included, 1-based inclusive, which means the acid at this position will be included) of the variant.", type="number" ) - public static final String SP_VARIANT_END = "variant-end"; - /** - * Fluent Client search parameter constant for variant-end - *

- * Description: End position (0-based exclusive, which menas the acid at this position will not be included, 1-based inclusive, which means the acid at this position will be included) of the variant.
- * Type: number
- * Path: MolecularSequence.variant.end
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam VARIANT_END = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_VARIANT_END); - - /** - * Search parameter: variant-start - *

- * Description: Start position (0-based inclusive, 1-based inclusive, that means the nucleic acid or amino acid at this position will be included) of the variant.
- * Type: number
- * Path: MolecularSequence.variant.start
- *

- */ - @SearchParamDefinition(name="variant-start", path="MolecularSequence.variant.start", description="Start position (0-based inclusive, 1-based inclusive, that means the nucleic acid or amino acid at this position will be included) of the variant.", type="number" ) - public static final String SP_VARIANT_START = "variant-start"; - /** - * Fluent Client search parameter constant for variant-start - *

- * Description: Start position (0-based inclusive, 1-based inclusive, that means the nucleic acid or amino acid at this position will be included) of the variant.
- * Type: number
- * Path: MolecularSequence.variant.start
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam VARIANT_START = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_VARIANT_START); - - /** - * Search parameter: window-end - *

- * Description: End position (0-based exclusive, which menas the acid at this position will not be included, 1-based inclusive, which means the acid at this position will be included) of the reference sequence.
- * Type: number
- * Path: MolecularSequence.referenceSeq.windowEnd
- *

- */ - @SearchParamDefinition(name="window-end", path="MolecularSequence.referenceSeq.windowEnd", description="End position (0-based exclusive, which menas the acid at this position will not be included, 1-based inclusive, which means the acid at this position will be included) of the reference sequence.", type="number" ) - public static final String SP_WINDOW_END = "window-end"; - /** - * Fluent Client search parameter constant for window-end - *

- * Description: End position (0-based exclusive, which menas the acid at this position will not be included, 1-based inclusive, which means the acid at this position will be included) of the reference sequence.
- * Type: number
- * Path: MolecularSequence.referenceSeq.windowEnd
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam WINDOW_END = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_WINDOW_END); - - /** - * Search parameter: window-start - *

- * Description: Start position (0-based inclusive, 1-based inclusive, that means the nucleic acid or amino acid at this position will be included) of the reference sequence.
- * Type: number
- * Path: MolecularSequence.referenceSeq.windowStart
- *

- */ - @SearchParamDefinition(name="window-start", path="MolecularSequence.referenceSeq.windowStart", description="Start position (0-based inclusive, 1-based inclusive, that means the nucleic acid or amino acid at this position will be included) of the reference sequence.", type="number" ) - public static final String SP_WINDOW_START = "window-start"; - /** - * Fluent Client search parameter constant for window-start - *

- * Description: Start position (0-based inclusive, 1-based inclusive, that means the nucleic acid or amino acid at this position will be included) of the reference sequence.
- * Type: number
- * Path: MolecularSequence.referenceSeq.windowStart
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam WINDOW_START = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_WINDOW_START); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Money.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Money.java index 47f4e91ee..b47cab059 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Money.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Money.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NamingSystem.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NamingSystem.java index 9ba3910b1..9b4053f61 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NamingSystem.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NamingSystem.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -51,7 +51,7 @@ import ca.uhn.fhir.model.api.annotation.Block; * 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. */ @ResourceDef(name="NamingSystem", profile="http://hl7.org/fhir/StructureDefinition/NamingSystem") -public class NamingSystem extends CanonicalResource { +public class NamingSystem extends MetadataResource { public enum NamingSystemIdentifierType { /** @@ -103,6 +103,7 @@ public class NamingSystem extends CanonicalResource { case URI: return "uri"; case V2CSMNEMONIC: return "v2csmnemonic"; case OTHER: return "other"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class NamingSystem extends CanonicalResource { case URI: return "http://hl7.org/fhir/namingsystem-identifier-type"; case V2CSMNEMONIC: return "http://hl7.org/fhir/namingsystem-identifier-type"; case OTHER: return "http://hl7.org/fhir/namingsystem-identifier-type"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class NamingSystem extends CanonicalResource { case URI: return "A uniform resource identifier (ideally a URL - uniform resource locator); e.g. http://unitsofmeasure.org."; case V2CSMNEMONIC: return "A short string published by HL7 for use in the V2 family of standsrds to idenfify a code system in the V12 coded data types CWE, CNE, and CF. The code values are also published by HL7 at http://www.hl7.org/Special/committees/vocab/table_0396/index.cfm"; case OTHER: return "Some other type of unique identifier; e.g. HL7-assigned reserved string such as LN for LOINC."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class NamingSystem extends CanonicalResource { case URI: return "URI"; case V2CSMNEMONIC: return "V2CSMNemonic"; case OTHER: return "Other"; + case NULL: return null; default: return "?"; } } @@ -229,6 +233,7 @@ public class NamingSystem extends CanonicalResource { case CODESYSTEM: return "codesystem"; case IDENTIFIER: return "identifier"; case ROOT: return "root"; + case NULL: return null; default: return "?"; } } @@ -237,6 +242,7 @@ public class NamingSystem extends CanonicalResource { 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 NULL: return null; default: return "?"; } } @@ -245,6 +251,7 @@ public class NamingSystem extends CanonicalResource { case CODESYSTEM: return "The naming system is used to define concepts and symbols to represent those concepts; e.g. UCUM, LOINC, NDC code, local lab codes, etc."; case IDENTIFIER: return "The naming system is used to manage identifiers (e.g. license numbers, order numbers, etc.)."; case ROOT: return "The naming system is used as the root for other identifiers and naming systems."; + case NULL: return null; default: return "?"; } } @@ -253,6 +260,7 @@ public class NamingSystem extends CanonicalResource { case CODESYSTEM: return "Code System"; case IDENTIFIER: return "Identifier"; case ROOT: return "Root"; + case NULL: return null; default: return "?"; } } @@ -1844,6 +1852,311 @@ public class NamingSystem extends CanonicalResource { */ public NamingSystem setCopyright(String value) { throw new Error("The resource type \"NamingSystem\" does not implement the property \"copyright\""); + } + /** + * not supported on this implementation + */ + @Override + public int getApprovalDateMax() { + return 0; + } + /** + * @return {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value + */ + public DateType getApprovalDateElement() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"approvalDate\""); + } + + public boolean hasApprovalDateElement() { + return false; + } + public boolean hasApprovalDate() { + return false; + } + + /** + * @param value {@link #approvalDate} (The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.). This is the underlying object with id, value and extensions. The accessor "getApprovalDate" gives direct access to the value + */ + public NamingSystem setApprovalDateElement(DateType value) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"approvalDate\""); + } + public Date getApprovalDate() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"approvalDate\""); + } + /** + * @param value The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. + */ + public NamingSystem setApprovalDate(Date value) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"approvalDate\""); + } + /** + * not supported on this implementation + */ + @Override + public int getLastReviewDateMax() { + return 0; + } + /** + * @return {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value + */ + public DateType getLastReviewDateElement() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"lastReviewDate\""); + } + + public boolean hasLastReviewDateElement() { + return false; + } + public boolean hasLastReviewDate() { + return false; + } + + /** + * @param value {@link #lastReviewDate} (The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.). This is the underlying object with id, value and extensions. The accessor "getLastReviewDate" gives direct access to the value + */ + public NamingSystem setLastReviewDateElement(DateType value) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"lastReviewDate\""); + } + public Date getLastReviewDate() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"lastReviewDate\""); + } + /** + * @param value The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. + */ + public NamingSystem setLastReviewDate(Date value) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"lastReviewDate\""); + } + /** + * not supported on this implementation + */ + @Override + public int getEffectivePeriodMax() { + return 0; + } + /** + * @return {@link #effectivePeriod} (The period during which the naming system content was or is planned to be in active use.) + */ + public Period getEffectivePeriod() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"effectivePeriod\""); + } + public boolean hasEffectivePeriod() { + return false; + } + /** + * @param value {@link #effectivePeriod} (The period during which the naming system content was or is planned to be in active use.) + */ + public NamingSystem setEffectivePeriod(Period value) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"effectivePeriod\""); + } + + /** + * not supported on this implementation + */ + @Override + public int getTopicMax() { + return 0; + } + /** + * @return {@link #topic} (Descriptive topics related to the content of the naming system. Topics provide a high-level categorization of the naming system that can be useful for filtering and searching.) + */ + public List getTopic() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public NamingSystem setTopic(List theTopic) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"topic\""); + } + public boolean hasTopic() { + return false; + } + + public CodeableConcept addTopic() { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"topic\""); + } + public NamingSystem addTopic(CodeableConcept t) { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"topic\""); + } + /** + * @return The first repetition of repeating field {@link #topic}, creating it if it does not already exist {2} + */ + public CodeableConcept getTopicFirstRep() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"topic\""); + } + /** + * not supported on this implementation + */ + @Override + public int getAuthorMax() { + return 0; + } + /** + * @return {@link #author} (An individiual or organization primarily involved in the creation and maintenance of the naming system.) + */ + public List getAuthor() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public NamingSystem setAuthor(List theAuthor) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"author\""); + } + public boolean hasAuthor() { + return false; + } + + public ContactDetail addAuthor() { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"author\""); + } + public NamingSystem addAuthor(ContactDetail t) { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"author\""); + } + /** + * @return The first repetition of repeating field {@link #author}, creating it if it does not already exist {2} + */ + public ContactDetail getAuthorFirstRep() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"author\""); + } + /** + * not supported on this implementation + */ + @Override + public int getEditorMax() { + return 0; + } + /** + * @return {@link #editor} (An individual or organization primarily responsible for internal coherence of the naming system.) + */ + public List getEditor() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public NamingSystem setEditor(List theEditor) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"editor\""); + } + public boolean hasEditor() { + return false; + } + + public ContactDetail addEditor() { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"editor\""); + } + public NamingSystem addEditor(ContactDetail t) { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"editor\""); + } + /** + * @return The first repetition of repeating field {@link #editor}, creating it if it does not already exist {2} + */ + public ContactDetail getEditorFirstRep() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"editor\""); + } + /** + * not supported on this implementation + */ + @Override + public int getReviewerMax() { + return 0; + } + /** + * @return {@link #reviewer} (An individual or organization primarily responsible for review of some aspect of the naming system.) + */ + public List getReviewer() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public NamingSystem setReviewer(List theReviewer) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"reviewer\""); + } + public boolean hasReviewer() { + return false; + } + + public ContactDetail addReviewer() { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"reviewer\""); + } + public NamingSystem addReviewer(ContactDetail t) { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"reviewer\""); + } + /** + * @return The first repetition of repeating field {@link #reviewer}, creating it if it does not already exist {2} + */ + public ContactDetail getReviewerFirstRep() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"reviewer\""); + } + /** + * not supported on this implementation + */ + @Override + public int getEndorserMax() { + return 0; + } + /** + * @return {@link #endorser} (An individual or organization responsible for officially endorsing the naming system for use in some setting.) + */ + public List getEndorser() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public NamingSystem setEndorser(List theEndorser) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"endorser\""); + } + public boolean hasEndorser() { + return false; + } + + public ContactDetail addEndorser() { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"endorser\""); + } + public NamingSystem addEndorser(ContactDetail t) { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"endorser\""); + } + /** + * @return The first repetition of repeating field {@link #endorser}, creating it if it does not already exist {2} + */ + public ContactDetail getEndorserFirstRep() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"endorser\""); + } + /** + * not supported on this implementation + */ + @Override + public int getRelatedArtifactMax() { + return 0; + } + /** + * @return {@link #relatedArtifact} (Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts.) + */ + public List getRelatedArtifact() { + return new ArrayList<>(); + } + /** + * @return Returns a reference to this for easy method chaining + */ + public NamingSystem setRelatedArtifact(List theRelatedArtifact) { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"relatedArtifact\""); + } + public boolean hasRelatedArtifact() { + return false; + } + + public RelatedArtifact addRelatedArtifact() { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"relatedArtifact\""); + } + public NamingSystem addRelatedArtifact(RelatedArtifact t) { //3 + throw new Error("The resource type \"NamingSystem\" does not implement the property \"relatedArtifact\""); + } + /** + * @return The first repetition of repeating field {@link #relatedArtifact}, creating it if it does not already exist {2} + */ + public RelatedArtifact getRelatedArtifactFirstRep() { + throw new Error("The resource type \"NamingSystem\" does not implement the property \"relatedArtifact\""); } protected void listChildren(List children) { super.listChildren(children); @@ -2205,849 +2518,11 @@ public class NamingSystem extends CanonicalResource { return ResourceType.NamingSystem; } - /** - * Search parameter: contact - *

- * Description: Name of an individual to contact
- * Type: string
- * Path: NamingSystem.contact.name
- *

- */ - @SearchParamDefinition(name="contact", path="NamingSystem.contact.name", description="Name of an individual to contact", type="string" ) - public static final String SP_CONTACT = "contact"; - /** - * Fluent Client search parameter constant for contact - *

- * Description: Name of an individual to contact
- * Type: string
- * Path: NamingSystem.contact.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam CONTACT = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_CONTACT); - - /** - * Search parameter: id-type - *

- * Description: oid | uuid | uri | other
- * Type: token
- * Path: NamingSystem.uniqueId.type
- *

- */ - @SearchParamDefinition(name="id-type", path="NamingSystem.uniqueId.type", description="oid | uuid | uri | other", type="token" ) - public static final String SP_ID_TYPE = "id-type"; - /** - * Fluent Client search parameter constant for id-type - *

- * Description: oid | uuid | uri | other
- * Type: token
- * Path: NamingSystem.uniqueId.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ID_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ID_TYPE); - - /** - * Search parameter: kind - *

- * Description: codesystem | identifier | root
- * Type: token
- * Path: NamingSystem.kind
- *

- */ - @SearchParamDefinition(name="kind", path="NamingSystem.kind", description="codesystem | identifier | root", type="token" ) - public static final String SP_KIND = "kind"; - /** - * Fluent Client search parameter constant for kind - *

- * Description: codesystem | identifier | root
- * Type: token
- * Path: NamingSystem.kind
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_KIND); - - /** - * Search parameter: period - *

- * Description: When is identifier valid?
- * Type: date
- * Path: NamingSystem.uniqueId.period
- *

- */ - @SearchParamDefinition(name="period", path="NamingSystem.uniqueId.period", description="When is identifier valid?", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: When is identifier valid?
- * Type: date
- * Path: NamingSystem.uniqueId.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: responsible - *

- * Description: Who maintains system namespace?
- * Type: string
- * Path: NamingSystem.responsible
- *

- */ - @SearchParamDefinition(name="responsible", path="NamingSystem.responsible", description="Who maintains system namespace?", type="string" ) - public static final String SP_RESPONSIBLE = "responsible"; - /** - * Fluent Client search parameter constant for responsible - *

- * Description: Who maintains system namespace?
- * Type: string
- * Path: NamingSystem.responsible
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam RESPONSIBLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_RESPONSIBLE); - - /** - * Search parameter: telecom - *

- * Description: Contact details for individual or organization
- * Type: token
- * Path: NamingSystem.contact.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="NamingSystem.contact.telecom", description="Contact details for individual or organization", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: Contact details for individual or organization
- * Type: token
- * Path: NamingSystem.contact.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - - /** - * Search parameter: type - *

- * Description: e.g. driver, provider, patient, bank etc.
- * Type: token
- * Path: NamingSystem.type
- *

- */ - @SearchParamDefinition(name="type", path="NamingSystem.type", description="e.g. driver, provider, patient, bank etc.", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: e.g. driver, provider, patient, bank etc.
- * Type: token
- * Path: NamingSystem.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: value - *

- * Description: The unique identifier
- * Type: string
- * Path: NamingSystem.uniqueId.value
- *

- */ - @SearchParamDefinition(name="value", path="NamingSystem.uniqueId.value", description="The unique identifier", type="string" ) - public static final String SP_VALUE = "value"; - /** - * Fluent Client search parameter constant for value - *

- * Description: The unique identifier
- * Type: string
- * Path: NamingSystem.uniqueId.value
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam VALUE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_VALUE); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public boolean supportsCopyright() { return false; } - public boolean supportsExperimental() { - return false; - } - // end addition } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Narrative.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Narrative.java index 6bf6427e4..49ea6f6aa 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Narrative.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Narrative.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -97,6 +97,7 @@ public class Narrative extends BaseNarrative implements INarrative { case EXTENSIONS: return "extensions"; case ADDITIONAL: return "additional"; case EMPTY: return "empty"; + case NULL: return null; default: return "?"; } } @@ -106,6 +107,7 @@ public class Narrative extends BaseNarrative implements INarrative { 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 NULL: return null; default: return "?"; } } @@ -115,6 +117,7 @@ public class Narrative extends BaseNarrative implements INarrative { case EXTENSIONS: return "The contents of the narrative are entirely generated from the core elements in the content and some of the content is generated from extensions. The narrative SHALL reflect the impact of all modifier extensions."; case ADDITIONAL: return "The contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection."; case EMPTY: return "The contents of the narrative are some equivalent of \"No human-readable text provided in this case\"."; + case NULL: return null; default: return "?"; } } @@ -124,6 +127,7 @@ public class Narrative extends BaseNarrative implements INarrative { case EXTENSIONS: return "Extensions"; case ADDITIONAL: return "Additional"; case EMPTY: return "Empty"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionIntake.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionIntake.java index e1576b9aa..d507124dc 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionIntake.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionIntake.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -48,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. */ @ResourceDef(name="NutritionIntake", profile="http://hl7.org/fhir/StructureDefinition/NutritionIntake") public class NutritionIntake extends DomainResource { @@ -989,14 +989,14 @@ public class NutritionIntake extends DomainResource { */ @Child(name = "statusReason", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Reason for current status", formalDefinition="Captures the reason for the current state of the NutritionIntake." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/reason-medication-status-codes") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinicalimpression-status-reason") protected List statusReason; /** - * Type of nutrition intake setting/reporting. + * Overall type of nutrition intake. */ @Child(name = "code", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Type of nutrition intake setting/reporting", formalDefinition="Type of nutrition intake setting/reporting." ) + @Description(shortDefinition="Code representing an overall type of nutrition intake", formalDefinition="Overall type of nutrition intake." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/diet-type") protected CodeableConcept code; @@ -1484,7 +1484,7 @@ public class NutritionIntake extends DomainResource { } /** - * @return {@link #code} (Type of nutrition intake setting/reporting.) + * @return {@link #code} (Overall type of nutrition intake.) */ public CodeableConcept getCode() { if (this.code == null) @@ -1500,7 +1500,7 @@ public class NutritionIntake extends DomainResource { } /** - * @param value {@link #code} (Type of nutrition intake setting/reporting.) + * @param value {@link #code} (Overall type of nutrition intake.) */ public NutritionIntake setCode(CodeableConcept value) { this.code = value; @@ -2057,7 +2057,7 @@ public class NutritionIntake extends DomainResource { children.add(new Property("partOf", "Reference(NutritionIntake|Procedure|Observation)", "A larger event of which this particular event is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf)); children.add(new Property("status", "code", "A code representing the patient or other source's judgment about the state of the intake that this assertion is about. Generally, this will be active or completed.", 0, 1, status)); children.add(new Property("statusReason", "CodeableConcept", "Captures the reason for the current state of the NutritionIntake.", 0, java.lang.Integer.MAX_VALUE, statusReason)); - children.add(new Property("code", "CodeableConcept", "Type of nutrition intake setting/reporting.", 0, 1, code)); + children.add(new Property("code", "CodeableConcept", "Overall type of nutrition intake.", 0, 1, code)); children.add(new Property("subject", "Reference(Patient|Group)", "The person, animal or group who is/was consuming the food or fluid.", 0, 1, subject)); children.add(new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this NutritionIntake.", 0, 1, encounter)); children.add(new Property("occurrence[x]", "dateTime|Period", "The interval of time during which it is being asserted that the patient is/was consuming the food or fluid.", 0, 1, occurrence)); @@ -2082,7 +2082,7 @@ public class NutritionIntake extends DomainResource { case -995410646: /*partOf*/ return new Property("partOf", "Reference(NutritionIntake|Procedure|Observation)", "A larger event of which this particular event is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf); case -892481550: /*status*/ return new Property("status", "code", "A code representing the patient or other source's judgment about the state of the intake that this assertion is about. Generally, this will be active or completed.", 0, 1, status); case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableConcept", "Captures the reason for the current state of the NutritionIntake.", 0, java.lang.Integer.MAX_VALUE, statusReason); - case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Type of nutrition intake setting/reporting.", 0, 1, code); + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Overall type of nutrition intake.", 0, 1, code); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group)", "The person, animal or group who is/was consuming the food or fluid.", 0, 1, subject); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The encounter that establishes the context for this NutritionIntake.", 0, 1, encounter); case -2022646513: /*occurrence[x]*/ return new Property("occurrence[x]", "dateTime|Period", "The interval of time during which it is being asserted that the patient is/was consuming the food or fluid.", 0, 1, occurrence); @@ -2516,236 +2516,6 @@ public class NutritionIntake extends DomainResource { return ResourceType.NutritionIntake; } - /** - * Search parameter: code - *

- * Description: Returns statements of this code of NutritionIntake
- * Type: token
- * Path: NutritionIntake.code
- *

- */ - @SearchParamDefinition(name="code", path="NutritionIntake.code", description="Returns statements of this code of NutritionIntake", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Returns statements of this code of NutritionIntake
- * Type: token
- * Path: NutritionIntake.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Date when patient was taking (or not taking) the medication
- * Type: date
- * Path: NutritionIntake.occurrence
- *

- */ - @SearchParamDefinition(name="date", path="NutritionIntake.occurrence", description="Date when patient was taking (or not taking) the medication", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Date when patient was taking (or not taking) the medication
- * Type: date
- * Path: NutritionIntake.occurrence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Returns statements for a specific encounter
- * Type: reference
- * Path: NutritionIntake.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="NutritionIntake.encounter", description="Returns statements for a specific encounter", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Returns statements for a specific encounter
- * Type: reference
- * Path: NutritionIntake.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionIntake:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("NutritionIntake:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Return statements with this external identifier
- * Type: token
- * Path: NutritionIntake.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="NutritionIntake.identifier", description="Return statements with this external identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Return statements with this external identifier
- * Type: token
- * Path: NutritionIntake.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: nutrition - *

- * Description: Return statements of this medication reference
- * Type: token
- * Path: NutritionIntake.consumedItem.nutritionProduct
- *

- */ - @SearchParamDefinition(name="nutrition", path="NutritionIntake.consumedItem.nutritionProduct", description="Return statements of this medication reference", type="token" ) - public static final String SP_NUTRITION = "nutrition"; - /** - * Fluent Client search parameter constant for nutrition - *

- * Description: Return statements of this medication reference
- * Type: token
- * Path: NutritionIntake.consumedItem.nutritionProduct
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam NUTRITION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_NUTRITION); - - /** - * Search parameter: part-of - *

- * Description: Returns statements that are part of another event.
- * Type: reference
- * Path: NutritionIntake.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="NutritionIntake.partOf", description="Returns statements that are part of another event.", type="reference", target={NutritionIntake.class, Observation.class, Procedure.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Returns statements that are part of another event.
- * Type: reference
- * Path: NutritionIntake.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionIntake:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("NutritionIntake:part-of").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Returns statements for a specific patient.
- * Type: reference
- * Path: NutritionIntake.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="NutritionIntake.subject.where(resolve() is Patient)", description="Returns statements for a specific patient.", type="reference", target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Returns statements for a specific patient.
- * Type: reference
- * Path: NutritionIntake.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionIntake:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("NutritionIntake:patient").toLocked(); - - /** - * Search parameter: source - *

- * Description: Who or where the information in the statement came from
- * Type: reference
- * Path: (NutritionIntake.reported as Reference)
- *

- */ - @SearchParamDefinition(name="source", path="(NutritionIntake.reported as Reference)", description="Who or where the information in the statement came from", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: Who or where the information in the statement came from
- * Type: reference
- * Path: (NutritionIntake.reported as Reference)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionIntake:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("NutritionIntake:source").toLocked(); - - /** - * Search parameter: status - *

- * Description: Return statements that match the given status
- * Type: token
- * Path: NutritionIntake.status
- *

- */ - @SearchParamDefinition(name="status", path="NutritionIntake.status", description="Return statements that match the given status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Return statements that match the given status
- * Type: token
- * Path: NutritionIntake.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The identity of a patient, animal or group to list statements for
- * Type: reference
- * Path: NutritionIntake.subject
- *

- */ - @SearchParamDefinition(name="subject", path="NutritionIntake.subject", description="The identity of a patient, animal or group to list statements for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The identity of a patient, animal or group to list statements for
- * Type: reference
- * Path: NutritionIntake.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionIntake:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("NutritionIntake:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionOrder.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionOrder.java index e91167a85..6bf958e75 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionOrder.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionOrder.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -3675,430 +3675,6 @@ public class NutritionOrder extends DomainResource { return ResourceType.NutritionOrder; } - /** - * Search parameter: additive - *

- * Description: Type of module component to add to the feeding
- * Type: token
- * Path: NutritionOrder.enteralFormula.additiveType
- *

- */ - @SearchParamDefinition(name="additive", path="NutritionOrder.enteralFormula.additiveType", description="Type of module component to add to the feeding", type="token" ) - public static final String SP_ADDITIVE = "additive"; - /** - * Fluent Client search parameter constant for additive - *

- * Description: Type of module component to add to the feeding
- * Type: token
- * Path: NutritionOrder.enteralFormula.additiveType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDITIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDITIVE); - - /** - * Search parameter: datetime - *

- * Description: Return nutrition orders requested on this date
- * Type: date
- * Path: NutritionOrder.dateTime
- *

- */ - @SearchParamDefinition(name="datetime", path="NutritionOrder.dateTime", description="Return nutrition orders requested on this date", type="date" ) - public static final String SP_DATETIME = "datetime"; - /** - * Fluent Client search parameter constant for datetime - *

- * Description: Return nutrition orders requested on this date
- * Type: date
- * Path: NutritionOrder.dateTime
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATETIME = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATETIME); - - /** - * Search parameter: formula - *

- * Description: Type of enteral or infant formula
- * Type: token
- * Path: NutritionOrder.enteralFormula.baseFormulaType
- *

- */ - @SearchParamDefinition(name="formula", path="NutritionOrder.enteralFormula.baseFormulaType", description="Type of enteral or infant formula", type="token" ) - public static final String SP_FORMULA = "formula"; - /** - * Fluent Client search parameter constant for formula - *

- * Description: Type of enteral or infant formula
- * Type: token
- * Path: NutritionOrder.enteralFormula.baseFormulaType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORMULA = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FORMULA); - - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: NutritionOrder.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="NutritionOrder.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, PlanDefinition.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: NutritionOrder.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionOrder:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("NutritionOrder:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: NutritionOrder.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="NutritionOrder.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: NutritionOrder.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: oraldiet - *

- * Description: Type of diet that can be consumed orally (i.e., take via the mouth).
- * Type: token
- * Path: NutritionOrder.oralDiet.type
- *

- */ - @SearchParamDefinition(name="oraldiet", path="NutritionOrder.oralDiet.type", description="Type of diet that can be consumed orally (i.e., take via the mouth).", type="token" ) - public static final String SP_ORALDIET = "oraldiet"; - /** - * Fluent Client search parameter constant for oraldiet - *

- * Description: Type of diet that can be consumed orally (i.e., take via the mouth).
- * Type: token
- * Path: NutritionOrder.oralDiet.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ORALDIET = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ORALDIET); - - /** - * Search parameter: provider - *

- * Description: The identity of the provider who placed the nutrition order
- * Type: reference
- * Path: NutritionOrder.orderer
- *

- */ - @SearchParamDefinition(name="provider", path="NutritionOrder.orderer", description="The identity of the provider who placed the nutrition order", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_PROVIDER = "provider"; - /** - * Fluent Client search parameter constant for provider - *

- * Description: The identity of the provider who placed the nutrition order
- * Type: reference
- * Path: NutritionOrder.orderer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionOrder:provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROVIDER = new ca.uhn.fhir.model.api.Include("NutritionOrder:provider").toLocked(); - - /** - * Search parameter: status - *

- * Description: Status of the nutrition order.
- * Type: token
- * Path: NutritionOrder.status
- *

- */ - @SearchParamDefinition(name="status", path="NutritionOrder.status", description="Status of the nutrition order.", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Status of the nutrition order.
- * Type: token
- * Path: NutritionOrder.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: supplement - *

- * Description: Type of supplement product requested
- * Type: token
- * Path: NutritionOrder.supplement.type
- *

- */ - @SearchParamDefinition(name="supplement", path="NutritionOrder.supplement.type", description="Type of supplement product requested", type="token" ) - public static final String SP_SUPPLEMENT = "supplement"; - /** - * Fluent Client search parameter constant for supplement - *

- * Description: Type of supplement product requested
- * Type: token
- * Path: NutritionOrder.supplement.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUPPLEMENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SUPPLEMENT); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionOrder:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("NutritionOrder:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "NutritionOrder:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("NutritionOrder:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionProduct.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionProduct.java index b3593a3ff..9fa974f73 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionProduct.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/NutritionProduct.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -48,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * A food or fluid product that is consumed by patients. + * A food or supplement that is consumed by patients. */ @ResourceDef(name="NutritionProduct", profile="http://hl7.org/fhir/StructureDefinition/NutritionProduct") public class NutritionProduct extends DomainResource { @@ -89,6 +89,7 @@ public class NutritionProduct extends DomainResource { case ACTIVE: return "active"; case INACTIVE: return "inactive"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class NutritionProduct extends DomainResource { case ACTIVE: return "http://hl7.org/fhir/nutritionproduct-status"; case INACTIVE: return "http://hl7.org/fhir/nutritionproduct-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/nutritionproduct-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class NutritionProduct extends DomainResource { case ACTIVE: return "The product can be used."; case INACTIVE: return "The product is not expected or allowed to be used."; case ENTEREDINERROR: return "This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".)."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class NutritionProduct extends DomainResource { case ACTIVE: return "Active"; case INACTIVE: return "Inactive"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -637,7 +641,7 @@ public class NutritionProduct extends DomainResource { } @Block() - public static class NutritionProductProductCharacteristicComponent extends BackboneElement implements IBaseBackboneElement { + public static class NutritionProductCharacteristicComponent extends BackboneElement implements IBaseBackboneElement { /** * A code specifying which characteristic of the product is being described (for example, colour, shape). */ @@ -658,14 +662,14 @@ public class NutritionProduct extends DomainResource { /** * Constructor */ - public NutritionProductProductCharacteristicComponent() { + public NutritionProductCharacteristicComponent() { super(); } /** * Constructor */ - public NutritionProductProductCharacteristicComponent(CodeableConcept type, DataType value) { + public NutritionProductCharacteristicComponent(CodeableConcept type, DataType value) { super(); this.setType(type); this.setValue(value); @@ -677,7 +681,7 @@ public class NutritionProduct extends DomainResource { public CodeableConcept getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create NutritionProductProductCharacteristicComponent.type"); + throw new Error("Attempt to auto-create NutritionProductCharacteristicComponent.type"); else if (Configuration.doAutoCreate()) this.type = new CodeableConcept(); // cc return this.type; @@ -690,7 +694,7 @@ public class NutritionProduct extends DomainResource { /** * @param value {@link #type} (A code specifying which characteristic of the product is being described (for example, colour, shape).) */ - public NutritionProductProductCharacteristicComponent setType(CodeableConcept value) { + public NutritionProductCharacteristicComponent setType(CodeableConcept value) { this.type = value; return this; } @@ -799,9 +803,9 @@ public class NutritionProduct extends DomainResource { /** * @param value {@link #value} (The actual characteristic value corresponding to the type.) */ - public NutritionProductProductCharacteristicComponent setValue(DataType value) { + public NutritionProductCharacteristicComponent setValue(DataType value) { if (value != null && !(value instanceof CodeableConcept || value instanceof StringType || value instanceof Quantity || value instanceof Base64BinaryType || value instanceof Attachment || value instanceof BooleanType)) - throw new Error("Not the right type for NutritionProduct.productCharacteristic.value[x]: "+value.fhirType()); + throw new Error("Not the right type for NutritionProduct.characteristic.value[x]: "+value.fhirType()); this.value = value; return this; } @@ -919,13 +923,13 @@ public class NutritionProduct extends DomainResource { return super.addChild(name); } - public NutritionProductProductCharacteristicComponent copy() { - NutritionProductProductCharacteristicComponent dst = new NutritionProductProductCharacteristicComponent(); + public NutritionProductCharacteristicComponent copy() { + NutritionProductCharacteristicComponent dst = new NutritionProductCharacteristicComponent(); copyValues(dst); return dst; } - public void copyValues(NutritionProductProductCharacteristicComponent dst) { + public void copyValues(NutritionProductCharacteristicComponent dst) { super.copyValues(dst); dst.type = type == null ? null : type.copy(); dst.value = value == null ? null : value.copy(); @@ -935,9 +939,9 @@ public class NutritionProduct extends DomainResource { public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof NutritionProductProductCharacteristicComponent)) + if (!(other_ instanceof NutritionProductCharacteristicComponent)) return false; - NutritionProductProductCharacteristicComponent o = (NutritionProductProductCharacteristicComponent) other_; + NutritionProductCharacteristicComponent o = (NutritionProductCharacteristicComponent) other_; return compareDeep(type, o.type, true) && compareDeep(value, o.value, true); } @@ -945,9 +949,9 @@ public class NutritionProduct extends DomainResource { public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof NutritionProductProductCharacteristicComponent)) + if (!(other_ instanceof NutritionProductCharacteristicComponent)) return false; - NutritionProductProductCharacteristicComponent o = (NutritionProductProductCharacteristicComponent) other_; + NutritionProductCharacteristicComponent o = (NutritionProductCharacteristicComponent) other_; return true; } @@ -956,7 +960,7 @@ public class NutritionProduct extends DomainResource { } public String fhirType() { - return "NutritionProduct.productCharacteristic"; + return "NutritionProduct.characteristic"; } @@ -972,41 +976,48 @@ public class NutritionProduct extends DomainResource { protected Quantity quantity; /** - * The identifier for the physical instance, typically a serial number. + * The identifier for the physical instance, typically a serial number or manufacturer number. */ @Child(name = "identifier", type = {Identifier.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="The identifier for the physical instance, typically a serial number", formalDefinition="The identifier for the physical instance, typically a serial number." ) + @Description(shortDefinition="The identifier for the physical instance, typically a serial number or manufacturer number", formalDefinition="The identifier for the physical instance, typically a serial number or manufacturer number." ) protected List identifier; + /** + * The name for the specific product. + */ + @Child(name = "name", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The name for the specific product", formalDefinition="The name for the specific product." ) + protected StringType name; + /** * The identification of the batch or lot of the product. */ - @Child(name = "lotNumber", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "lotNumber", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The identification of the batch or lot of the product", formalDefinition="The identification of the batch or lot of the product." ) protected StringType lotNumber; /** * The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed. */ - @Child(name = "expiry", type = {DateTimeType.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "expiry", type = {DateTimeType.class}, order=5, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The expiry date or date and time for the product", formalDefinition="The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed." ) protected DateTimeType expiry; /** * The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed. */ - @Child(name = "useBy", type = {DateTimeType.class}, order=5, min=0, max=1, modifier=false, summary=false) + @Child(name = "useBy", type = {DateTimeType.class}, order=6, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="The date until which the product is expected to be good for consumption", formalDefinition="The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed." ) protected DateTimeType useBy; /** - * An identifier that supports traceability to the biological entity that is the source of biological material in the product. + * An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled. */ - @Child(name = "biologicalSource", type = {Identifier.class}, order=6, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="An identifier that supports traceability to the biological entity that is the source of biological material in the product", formalDefinition="An identifier that supports traceability to the biological entity that is the source of biological material in the product." ) - protected Identifier biologicalSource; + @Child(name = "biologicalSourceEvent", type = {Identifier.class}, order=7, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled", formalDefinition="An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled." ) + protected Identifier biologicalSourceEvent; - private static final long serialVersionUID = 1203492607L; + private static final long serialVersionUID = -954985011L; /** * Constructor @@ -1040,7 +1051,7 @@ public class NutritionProduct extends DomainResource { } /** - * @return {@link #identifier} (The identifier for the physical instance, typically a serial number.) + * @return {@link #identifier} (The identifier for the physical instance, typically a serial number or manufacturer number.) */ public List getIdentifier() { if (this.identifier == null) @@ -1092,6 +1103,55 @@ public class NutritionProduct extends DomainResource { return getIdentifier().get(0); } + /** + * @return {@link #name} (The name for the specific product.). 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 NutritionProductInstanceComponent.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 for the specific product.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public NutritionProductInstanceComponent setNameElement(StringType value) { + this.name = value; + return this; + } + + /** + * @return The name for the specific product. + */ + public String getName() { + return this.name == null ? null : this.name.getValue(); + } + + /** + * @param value The name for the specific product. + */ + public NutritionProductInstanceComponent 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 #lotNumber} (The identification of the batch or lot of the product.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the value */ @@ -1240,48 +1300,50 @@ public class NutritionProduct extends DomainResource { } /** - * @return {@link #biologicalSource} (An identifier that supports traceability to the biological entity that is the source of biological material in the product.) + * @return {@link #biologicalSourceEvent} (An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.) */ - public Identifier getBiologicalSource() { - if (this.biologicalSource == null) + public Identifier getBiologicalSourceEvent() { + if (this.biologicalSourceEvent == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create NutritionProductInstanceComponent.biologicalSource"); + throw new Error("Attempt to auto-create NutritionProductInstanceComponent.biologicalSourceEvent"); else if (Configuration.doAutoCreate()) - this.biologicalSource = new Identifier(); // cc - return this.biologicalSource; + this.biologicalSourceEvent = new Identifier(); // cc + return this.biologicalSourceEvent; } - public boolean hasBiologicalSource() { - return this.biologicalSource != null && !this.biologicalSource.isEmpty(); + public boolean hasBiologicalSourceEvent() { + return this.biologicalSourceEvent != null && !this.biologicalSourceEvent.isEmpty(); } /** - * @param value {@link #biologicalSource} (An identifier that supports traceability to the biological entity that is the source of biological material in the product.) + * @param value {@link #biologicalSourceEvent} (An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.) */ - public NutritionProductInstanceComponent setBiologicalSource(Identifier value) { - this.biologicalSource = value; + public NutritionProductInstanceComponent setBiologicalSourceEvent(Identifier value) { + this.biologicalSourceEvent = value; return this; } protected void listChildren(List children) { super.listChildren(children); children.add(new Property("quantity", "Quantity", "The amount of items or instances that the resource considers, for instance when referring to 2 identical units together.", 0, 1, quantity)); - children.add(new Property("identifier", "Identifier", "The identifier for the physical instance, typically a serial number.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("identifier", "Identifier", "The identifier for the physical instance, typically a serial number or manufacturer number.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("name", "string", "The name for the specific product.", 0, 1, name)); children.add(new Property("lotNumber", "string", "The identification of the batch or lot of the product.", 0, 1, lotNumber)); children.add(new Property("expiry", "dateTime", "The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed.", 0, 1, expiry)); children.add(new Property("useBy", "dateTime", "The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed.", 0, 1, useBy)); - children.add(new Property("biologicalSource", "Identifier", "An identifier that supports traceability to the biological entity that is the source of biological material in the product.", 0, 1, biologicalSource)); + children.add(new Property("biologicalSourceEvent", "Identifier", "An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.", 0, 1, biologicalSourceEvent)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1285004149: /*quantity*/ return new Property("quantity", "Quantity", "The amount of items or instances that the resource considers, for instance when referring to 2 identical units together.", 0, 1, quantity); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "The identifier for the physical instance, typically a serial number.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "The identifier for the physical instance, typically a serial number or manufacturer number.", 0, java.lang.Integer.MAX_VALUE, identifier); + case 3373707: /*name*/ return new Property("name", "string", "The name for the specific product.", 0, 1, name); case 462547450: /*lotNumber*/ return new Property("lotNumber", "string", "The identification of the batch or lot of the product.", 0, 1, lotNumber); case -1289159373: /*expiry*/ return new Property("expiry", "dateTime", "The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed.", 0, 1, expiry); case 111577150: /*useBy*/ return new Property("useBy", "dateTime", "The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed.", 0, 1, useBy); - case -883952260: /*biologicalSource*/ return new Property("biologicalSource", "Identifier", "An identifier that supports traceability to the biological entity that is the source of biological material in the product.", 0, 1, biologicalSource); + case -654468482: /*biologicalSourceEvent*/ return new Property("biologicalSourceEvent", "Identifier", "An identifier that supports traceability to the event during which material in this product from one or more biological entities was obtained or pooled.", 0, 1, biologicalSourceEvent); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1292,10 +1354,11 @@ public class NutritionProduct extends DomainResource { switch (hash) { case -1285004149: /*quantity*/ return this.quantity == null ? new Base[0] : new Base[] {this.quantity}; // Quantity case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier + case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case 462547450: /*lotNumber*/ return this.lotNumber == null ? new Base[0] : new Base[] {this.lotNumber}; // StringType case -1289159373: /*expiry*/ return this.expiry == null ? new Base[0] : new Base[] {this.expiry}; // DateTimeType case 111577150: /*useBy*/ return this.useBy == null ? new Base[0] : new Base[] {this.useBy}; // DateTimeType - case -883952260: /*biologicalSource*/ return this.biologicalSource == null ? new Base[0] : new Base[] {this.biologicalSource}; // Identifier + case -654468482: /*biologicalSourceEvent*/ return this.biologicalSourceEvent == null ? new Base[0] : new Base[] {this.biologicalSourceEvent}; // Identifier default: return super.getProperty(hash, name, checkValid); } @@ -1310,6 +1373,9 @@ public class NutritionProduct extends DomainResource { case -1618432855: // identifier this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier return value; + case 3373707: // name + this.name = TypeConvertor.castToString(value); // StringType + return value; case 462547450: // lotNumber this.lotNumber = TypeConvertor.castToString(value); // StringType return value; @@ -1319,8 +1385,8 @@ public class NutritionProduct extends DomainResource { case 111577150: // useBy this.useBy = TypeConvertor.castToDateTime(value); // DateTimeType return value; - case -883952260: // biologicalSource - this.biologicalSource = TypeConvertor.castToIdentifier(value); // Identifier + case -654468482: // biologicalSourceEvent + this.biologicalSourceEvent = TypeConvertor.castToIdentifier(value); // Identifier return value; default: return super.setProperty(hash, name, value); } @@ -1333,14 +1399,16 @@ public class NutritionProduct extends DomainResource { this.quantity = TypeConvertor.castToQuantity(value); // Quantity } else if (name.equals("identifier")) { this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); + } else if (name.equals("name")) { + this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("lotNumber")) { this.lotNumber = TypeConvertor.castToString(value); // StringType } else if (name.equals("expiry")) { this.expiry = TypeConvertor.castToDateTime(value); // DateTimeType } else if (name.equals("useBy")) { this.useBy = TypeConvertor.castToDateTime(value); // DateTimeType - } else if (name.equals("biologicalSource")) { - this.biologicalSource = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("biologicalSourceEvent")) { + this.biologicalSourceEvent = TypeConvertor.castToIdentifier(value); // Identifier } else return super.setProperty(name, value); return value; @@ -1351,10 +1419,11 @@ public class NutritionProduct extends DomainResource { switch (hash) { case -1285004149: return getQuantity(); case -1618432855: return addIdentifier(); + case 3373707: return getNameElement(); case 462547450: return getLotNumberElement(); case -1289159373: return getExpiryElement(); case 111577150: return getUseByElement(); - case -883952260: return getBiologicalSource(); + case -654468482: return getBiologicalSourceEvent(); default: return super.makeProperty(hash, name); } @@ -1365,10 +1434,11 @@ public class NutritionProduct extends DomainResource { switch (hash) { case -1285004149: /*quantity*/ return new String[] {"Quantity"}; case -1618432855: /*identifier*/ return new String[] {"Identifier"}; + case 3373707: /*name*/ return new String[] {"string"}; case 462547450: /*lotNumber*/ return new String[] {"string"}; case -1289159373: /*expiry*/ return new String[] {"dateTime"}; case 111577150: /*useBy*/ return new String[] {"dateTime"}; - case -883952260: /*biologicalSource*/ return new String[] {"Identifier"}; + case -654468482: /*biologicalSourceEvent*/ return new String[] {"Identifier"}; default: return super.getTypesForProperty(hash, name); } @@ -1383,6 +1453,9 @@ public class NutritionProduct extends DomainResource { else if (name.equals("identifier")) { return addIdentifier(); } + else if (name.equals("name")) { + throw new FHIRException("Cannot call addChild on a primitive type NutritionProduct.instance.name"); + } else if (name.equals("lotNumber")) { throw new FHIRException("Cannot call addChild on a primitive type NutritionProduct.instance.lotNumber"); } @@ -1392,9 +1465,9 @@ public class NutritionProduct extends DomainResource { else if (name.equals("useBy")) { throw new FHIRException("Cannot call addChild on a primitive type NutritionProduct.instance.useBy"); } - else if (name.equals("biologicalSource")) { - this.biologicalSource = new Identifier(); - return this.biologicalSource; + else if (name.equals("biologicalSourceEvent")) { + this.biologicalSourceEvent = new Identifier(); + return this.biologicalSourceEvent; } else return super.addChild(name); @@ -1414,10 +1487,11 @@ public class NutritionProduct extends DomainResource { for (Identifier i : identifier) dst.identifier.add(i.copy()); }; + dst.name = name == null ? null : name.copy(); dst.lotNumber = lotNumber == null ? null : lotNumber.copy(); dst.expiry = expiry == null ? null : expiry.copy(); dst.useBy = useBy == null ? null : useBy.copy(); - dst.biologicalSource = biologicalSource == null ? null : biologicalSource.copy(); + dst.biologicalSourceEvent = biologicalSourceEvent == null ? null : biologicalSourceEvent.copy(); } @Override @@ -1427,9 +1501,9 @@ public class NutritionProduct extends DomainResource { if (!(other_ instanceof NutritionProductInstanceComponent)) return false; NutritionProductInstanceComponent o = (NutritionProductInstanceComponent) other_; - return compareDeep(quantity, o.quantity, true) && compareDeep(identifier, o.identifier, true) && compareDeep(lotNumber, o.lotNumber, true) - && compareDeep(expiry, o.expiry, true) && compareDeep(useBy, o.useBy, true) && compareDeep(biologicalSource, o.biologicalSource, true) - ; + return compareDeep(quantity, o.quantity, true) && compareDeep(identifier, o.identifier, true) && compareDeep(name, o.name, true) + && compareDeep(lotNumber, o.lotNumber, true) && compareDeep(expiry, o.expiry, true) && compareDeep(useBy, o.useBy, true) + && compareDeep(biologicalSourceEvent, o.biologicalSourceEvent, true); } @Override @@ -1439,13 +1513,13 @@ public class NutritionProduct extends DomainResource { if (!(other_ instanceof NutritionProductInstanceComponent)) return false; NutritionProductInstanceComponent o = (NutritionProductInstanceComponent) other_; - return compareValues(lotNumber, o.lotNumber, true) && compareValues(expiry, o.expiry, true) && compareValues(useBy, o.useBy, true) - ; + return compareValues(name, o.name, true) && compareValues(lotNumber, o.lotNumber, true) && compareValues(expiry, o.expiry, true) + && compareValues(useBy, o.useBy, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(quantity, identifier, lotNumber - , expiry, useBy, biologicalSource); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(quantity, identifier, name + , lotNumber, expiry, useBy, biologicalSourceEvent); } public String fhirType() { @@ -1455,10 +1529,18 @@ public class NutritionProduct extends DomainResource { } + /** + * The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code. + */ + @Child(name = "code", type = {CodeableConcept.class}, order=0, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="A code that can identify the detailed nutrients and ingredients in a specific food product", formalDefinition="The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/edible-substance-type") + protected CodeableConcept code; + /** * The current state of the product. */ - @Child(name = "status", type = {CodeType.class}, order=0, min=1, max=1, modifier=true, summary=true) + @Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="active | inactive | entered-in-error", formalDefinition="The current state of the product." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/nutritionproduct-status") protected Enumeration status; @@ -1466,19 +1548,11 @@ public class NutritionProduct extends DomainResource { /** * Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc. */ - @Child(name = "category", type = {CodeableConcept.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)", formalDefinition="Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc." ) + @Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Broad product groups or categories used to classify the product, such as Legume and Legume Products, Beverages, or Beef Products", formalDefinition="Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/nutrition-product-category") protected List category; - /** - * The code assigned to the product, for example a manufacturer number or other terminology. - */ - @Child(name = "code", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A code designating a specific type of nutritional product", formalDefinition="The code assigned to the product, for example a manufacturer number or other terminology." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/edible-substance-type") - protected CodeableConcept code; - /** * The organisation (manufacturer, representative or legal authorisation holder) that is responsible for the device. */ @@ -1511,16 +1585,16 @@ public class NutritionProduct extends DomainResource { /** * Specifies descriptive properties of the nutrition product. */ - @Child(name = "productCharacteristic", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "characteristic", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Specifies descriptive properties of the nutrition product", formalDefinition="Specifies descriptive properties of the nutrition product." ) - protected List productCharacteristic; + protected List characteristic; /** * Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product. */ - @Child(name = "instance", type = {}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "instance", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="One or several physical instances or occurrences of the nutrition product", formalDefinition="Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product." ) - protected NutritionProductInstanceComponent instance; + protected List instance; /** * Comments made about the product. @@ -1529,7 +1603,7 @@ public class NutritionProduct extends DomainResource { @Description(shortDefinition="Comments made about the product", formalDefinition="Comments made about the product." ) protected List note; - private static final long serialVersionUID = -565022355L; + private static final long serialVersionUID = 182320595L; /** * Constructor @@ -1546,6 +1620,30 @@ public class NutritionProduct extends DomainResource { this.setStatus(status); } + /** + * @return {@link #code} (The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.) + */ + public CodeableConcept getCode() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create NutritionProduct.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} (The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.) + */ + public NutritionProduct setCode(CodeableConcept value) { + this.code = value; + return this; + } + /** * @return {@link #status} (The current state of the product.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ @@ -1644,30 +1742,6 @@ public class NutritionProduct extends DomainResource { return getCategory().get(0); } - /** - * @return {@link #code} (The code assigned to the product, for example a manufacturer number or other terminology.) - */ - public CodeableConcept getCode() { - if (this.code == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create NutritionProduct.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} (The code assigned to the product, for example a manufacturer number or other terminology.) - */ - public NutritionProduct setCode(CodeableConcept value) { - this.code = value; - return this; - } - /** * @return {@link #manufacturer} (The organisation (manufacturer, representative or legal authorisation holder) that is responsible for the device.) */ @@ -1881,80 +1955,109 @@ public class NutritionProduct extends DomainResource { } /** - * @return {@link #productCharacteristic} (Specifies descriptive properties of the nutrition product.) + * @return {@link #characteristic} (Specifies descriptive properties of the nutrition product.) */ - public List getProductCharacteristic() { - if (this.productCharacteristic == null) - this.productCharacteristic = new ArrayList(); - return this.productCharacteristic; + public List getCharacteristic() { + if (this.characteristic == null) + this.characteristic = new ArrayList(); + return this.characteristic; } /** * @return Returns a reference to this for easy method chaining */ - public NutritionProduct setProductCharacteristic(List theProductCharacteristic) { - this.productCharacteristic = theProductCharacteristic; + public NutritionProduct setCharacteristic(List theCharacteristic) { + this.characteristic = theCharacteristic; return this; } - public boolean hasProductCharacteristic() { - if (this.productCharacteristic == null) + public boolean hasCharacteristic() { + if (this.characteristic == null) return false; - for (NutritionProductProductCharacteristicComponent item : this.productCharacteristic) + for (NutritionProductCharacteristicComponent item : this.characteristic) if (!item.isEmpty()) return true; return false; } - public NutritionProductProductCharacteristicComponent addProductCharacteristic() { //3 - NutritionProductProductCharacteristicComponent t = new NutritionProductProductCharacteristicComponent(); - if (this.productCharacteristic == null) - this.productCharacteristic = new ArrayList(); - this.productCharacteristic.add(t); + public NutritionProductCharacteristicComponent addCharacteristic() { //3 + NutritionProductCharacteristicComponent t = new NutritionProductCharacteristicComponent(); + if (this.characteristic == null) + this.characteristic = new ArrayList(); + this.characteristic.add(t); return t; } - public NutritionProduct addProductCharacteristic(NutritionProductProductCharacteristicComponent t) { //3 + public NutritionProduct addCharacteristic(NutritionProductCharacteristicComponent t) { //3 if (t == null) return this; - if (this.productCharacteristic == null) - this.productCharacteristic = new ArrayList(); - this.productCharacteristic.add(t); + if (this.characteristic == null) + this.characteristic = new ArrayList(); + this.characteristic.add(t); return this; } /** - * @return The first repetition of repeating field {@link #productCharacteristic}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #characteristic}, creating it if it does not already exist {3} */ - public NutritionProductProductCharacteristicComponent getProductCharacteristicFirstRep() { - if (getProductCharacteristic().isEmpty()) { - addProductCharacteristic(); + public NutritionProductCharacteristicComponent getCharacteristicFirstRep() { + if (getCharacteristic().isEmpty()) { + addCharacteristic(); } - return getProductCharacteristic().get(0); + return getCharacteristic().get(0); } /** * @return {@link #instance} (Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.) */ - public NutritionProductInstanceComponent getInstance() { + public List getInstance() { if (this.instance == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create NutritionProduct.instance"); - else if (Configuration.doAutoCreate()) - this.instance = new NutritionProductInstanceComponent(); // cc + this.instance = new ArrayList(); return this.instance; } + /** + * @return Returns a reference to this for easy method chaining + */ + public NutritionProduct setInstance(List theInstance) { + this.instance = theInstance; + return this; + } + public boolean hasInstance() { - return this.instance != null && !this.instance.isEmpty(); + if (this.instance == null) + return false; + for (NutritionProductInstanceComponent item : this.instance) + if (!item.isEmpty()) + return true; + return false; + } + + public NutritionProductInstanceComponent addInstance() { //3 + NutritionProductInstanceComponent t = new NutritionProductInstanceComponent(); + if (this.instance == null) + this.instance = new ArrayList(); + this.instance.add(t); + return t; + } + + public NutritionProduct addInstance(NutritionProductInstanceComponent t) { //3 + if (t == null) + return this; + if (this.instance == null) + this.instance = new ArrayList(); + this.instance.add(t); + return this; } /** - * @param value {@link #instance} (Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.) + * @return The first repetition of repeating field {@link #instance}, creating it if it does not already exist {3} */ - public NutritionProduct setInstance(NutritionProductInstanceComponent value) { - this.instance = value; - return this; + public NutritionProductInstanceComponent getInstanceFirstRep() { + if (getInstance().isEmpty()) { + addInstance(); + } + return getInstance().get(0); } /** @@ -2012,30 +2115,30 @@ public class NutritionProduct extends DomainResource { protected void listChildren(List children) { super.listChildren(children); + children.add(new Property("code", "CodeableConcept", "The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.", 0, 1, code)); children.add(new Property("status", "code", "The current state of the product.", 0, 1, status)); children.add(new Property("category", "CodeableConcept", "Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc.", 0, java.lang.Integer.MAX_VALUE, category)); - children.add(new Property("code", "CodeableConcept", "The code assigned to the product, for example a manufacturer number or other terminology.", 0, 1, code)); children.add(new Property("manufacturer", "Reference(Organization)", "The organisation (manufacturer, representative or legal authorisation holder) that is responsible for the device.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); children.add(new Property("nutrient", "", "The product's nutritional information expressed by the nutrients.", 0, java.lang.Integer.MAX_VALUE, nutrient)); children.add(new Property("ingredient", "", "Ingredients contained in this product.", 0, java.lang.Integer.MAX_VALUE, ingredient)); children.add(new Property("knownAllergen", "CodeableReference(Substance)", "Allergens that are known or suspected to be a part of this nutrition product.", 0, java.lang.Integer.MAX_VALUE, knownAllergen)); - children.add(new Property("productCharacteristic", "", "Specifies descriptive properties of the nutrition product.", 0, java.lang.Integer.MAX_VALUE, productCharacteristic)); - children.add(new Property("instance", "", "Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.", 0, 1, instance)); + children.add(new Property("characteristic", "", "Specifies descriptive properties of the nutrition product.", 0, java.lang.Integer.MAX_VALUE, characteristic)); + children.add(new Property("instance", "", "Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.", 0, java.lang.Integer.MAX_VALUE, instance)); children.add(new Property("note", "Annotation", "Comments made about the product.", 0, java.lang.Integer.MAX_VALUE, note)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code.", 0, 1, code); case -892481550: /*status*/ return new Property("status", "code", "The current state of the product.", 0, 1, status); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc.", 0, java.lang.Integer.MAX_VALUE, category); - case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The code assigned to the product, for example a manufacturer number or other terminology.", 0, 1, code); case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "The organisation (manufacturer, representative or legal authorisation holder) that is responsible for the device.", 0, java.lang.Integer.MAX_VALUE, manufacturer); case -1671151641: /*nutrient*/ return new Property("nutrient", "", "The product's nutritional information expressed by the nutrients.", 0, java.lang.Integer.MAX_VALUE, nutrient); case -206409263: /*ingredient*/ return new Property("ingredient", "", "Ingredients contained in this product.", 0, java.lang.Integer.MAX_VALUE, ingredient); case 1093336805: /*knownAllergen*/ return new Property("knownAllergen", "CodeableReference(Substance)", "Allergens that are known or suspected to be a part of this nutrition product.", 0, java.lang.Integer.MAX_VALUE, knownAllergen); - case 1231899754: /*productCharacteristic*/ return new Property("productCharacteristic", "", "Specifies descriptive properties of the nutrition product.", 0, java.lang.Integer.MAX_VALUE, productCharacteristic); - case 555127957: /*instance*/ return new Property("instance", "", "Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.", 0, 1, instance); + case 366313883: /*characteristic*/ return new Property("characteristic", "", "Specifies descriptive properties of the nutrition product.", 0, java.lang.Integer.MAX_VALUE, characteristic); + case 555127957: /*instance*/ return new Property("instance", "", "Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product.", 0, java.lang.Integer.MAX_VALUE, instance); case 3387378: /*note*/ return new Property("note", "Annotation", "Comments made about the product.", 0, java.lang.Integer.MAX_VALUE, note); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2045,15 +2148,15 @@ public class NutritionProduct extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { + case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept - case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : this.manufacturer.toArray(new Base[this.manufacturer.size()]); // Reference case -1671151641: /*nutrient*/ return this.nutrient == null ? new Base[0] : this.nutrient.toArray(new Base[this.nutrient.size()]); // NutritionProductNutrientComponent case -206409263: /*ingredient*/ return this.ingredient == null ? new Base[0] : this.ingredient.toArray(new Base[this.ingredient.size()]); // NutritionProductIngredientComponent case 1093336805: /*knownAllergen*/ return this.knownAllergen == null ? new Base[0] : this.knownAllergen.toArray(new Base[this.knownAllergen.size()]); // CodeableReference - case 1231899754: /*productCharacteristic*/ return this.productCharacteristic == null ? new Base[0] : this.productCharacteristic.toArray(new Base[this.productCharacteristic.size()]); // NutritionProductProductCharacteristicComponent - case 555127957: /*instance*/ return this.instance == null ? new Base[0] : new Base[] {this.instance}; // NutritionProductInstanceComponent + case 366313883: /*characteristic*/ return this.characteristic == null ? new Base[0] : this.characteristic.toArray(new Base[this.characteristic.size()]); // NutritionProductCharacteristicComponent + case 555127957: /*instance*/ return this.instance == null ? new Base[0] : this.instance.toArray(new Base[this.instance.size()]); // NutritionProductInstanceComponent case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation default: return super.getProperty(hash, name, checkValid); } @@ -2063,6 +2166,9 @@ public class NutritionProduct extends DomainResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { + case 3059181: // code + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; case -892481550: // status value = new NutritionProductStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration @@ -2070,9 +2176,6 @@ public class NutritionProduct extends DomainResource { case 50511102: // category this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; - case 3059181: // code - this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; case -1969347631: // manufacturer this.getManufacturer().add(TypeConvertor.castToReference(value)); // Reference return value; @@ -2085,11 +2188,11 @@ public class NutritionProduct extends DomainResource { case 1093336805: // knownAllergen this.getKnownAllergen().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference return value; - case 1231899754: // productCharacteristic - this.getProductCharacteristic().add((NutritionProductProductCharacteristicComponent) value); // NutritionProductProductCharacteristicComponent + case 366313883: // characteristic + this.getCharacteristic().add((NutritionProductCharacteristicComponent) value); // NutritionProductCharacteristicComponent return value; case 555127957: // instance - this.instance = (NutritionProductInstanceComponent) value; // NutritionProductInstanceComponent + this.getInstance().add((NutritionProductInstanceComponent) value); // NutritionProductInstanceComponent return value; case 3387378: // note this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation @@ -2101,13 +2204,13 @@ public class NutritionProduct extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("status")) { + if (name.equals("code")) { + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("status")) { value = new NutritionProductStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration } else if (name.equals("category")) { this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); - } else if (name.equals("code")) { - this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("manufacturer")) { this.getManufacturer().add(TypeConvertor.castToReference(value)); } else if (name.equals("nutrient")) { @@ -2116,10 +2219,10 @@ public class NutritionProduct extends DomainResource { this.getIngredient().add((NutritionProductIngredientComponent) value); } else if (name.equals("knownAllergen")) { this.getKnownAllergen().add(TypeConvertor.castToCodeableReference(value)); - } else if (name.equals("productCharacteristic")) { - this.getProductCharacteristic().add((NutritionProductProductCharacteristicComponent) value); + } else if (name.equals("characteristic")) { + this.getCharacteristic().add((NutritionProductCharacteristicComponent) value); } else if (name.equals("instance")) { - this.instance = (NutritionProductInstanceComponent) value; // NutritionProductInstanceComponent + this.getInstance().add((NutritionProductInstanceComponent) value); } else if (name.equals("note")) { this.getNote().add(TypeConvertor.castToAnnotation(value)); } else @@ -2130,15 +2233,15 @@ public class NutritionProduct extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { + case 3059181: return getCode(); case -892481550: return getStatusElement(); case 50511102: return addCategory(); - case 3059181: return getCode(); case -1969347631: return addManufacturer(); case -1671151641: return addNutrient(); case -206409263: return addIngredient(); case 1093336805: return addKnownAllergen(); - case 1231899754: return addProductCharacteristic(); - case 555127957: return getInstance(); + case 366313883: return addCharacteristic(); + case 555127957: return addInstance(); case 3387378: return addNote(); default: return super.makeProperty(hash, name); } @@ -2148,14 +2251,14 @@ public class NutritionProduct extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { + case 3059181: /*code*/ return new String[] {"CodeableConcept"}; case -892481550: /*status*/ return new String[] {"code"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"}; - case 3059181: /*code*/ return new String[] {"CodeableConcept"}; case -1969347631: /*manufacturer*/ return new String[] {"Reference"}; case -1671151641: /*nutrient*/ return new String[] {}; case -206409263: /*ingredient*/ return new String[] {}; case 1093336805: /*knownAllergen*/ return new String[] {"CodeableReference"}; - case 1231899754: /*productCharacteristic*/ return new String[] {}; + case 366313883: /*characteristic*/ return new String[] {}; case 555127957: /*instance*/ return new String[] {}; case 3387378: /*note*/ return new String[] {"Annotation"}; default: return super.getTypesForProperty(hash, name); @@ -2165,16 +2268,16 @@ public class NutritionProduct extends DomainResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("status")) { + if (name.equals("code")) { + this.code = new CodeableConcept(); + return this.code; + } + else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type NutritionProduct.status"); } else if (name.equals("category")) { return addCategory(); } - else if (name.equals("code")) { - this.code = new CodeableConcept(); - return this.code; - } else if (name.equals("manufacturer")) { return addManufacturer(); } @@ -2187,12 +2290,11 @@ public class NutritionProduct extends DomainResource { else if (name.equals("knownAllergen")) { return addKnownAllergen(); } - else if (name.equals("productCharacteristic")) { - return addProductCharacteristic(); + else if (name.equals("characteristic")) { + return addCharacteristic(); } else if (name.equals("instance")) { - this.instance = new NutritionProductInstanceComponent(); - return this.instance; + return addInstance(); } else if (name.equals("note")) { return addNote(); @@ -2214,13 +2316,13 @@ public class NutritionProduct extends DomainResource { public void copyValues(NutritionProduct dst) { super.copyValues(dst); + dst.code = code == null ? null : code.copy(); dst.status = status == null ? null : status.copy(); if (category != null) { dst.category = new ArrayList(); for (CodeableConcept i : category) dst.category.add(i.copy()); }; - dst.code = code == null ? null : code.copy(); if (manufacturer != null) { dst.manufacturer = new ArrayList(); for (Reference i : manufacturer) @@ -2241,12 +2343,16 @@ public class NutritionProduct extends DomainResource { for (CodeableReference i : knownAllergen) dst.knownAllergen.add(i.copy()); }; - if (productCharacteristic != null) { - dst.productCharacteristic = new ArrayList(); - for (NutritionProductProductCharacteristicComponent i : productCharacteristic) - dst.productCharacteristic.add(i.copy()); + if (characteristic != null) { + dst.characteristic = new ArrayList(); + for (NutritionProductCharacteristicComponent i : characteristic) + dst.characteristic.add(i.copy()); + }; + if (instance != null) { + dst.instance = new ArrayList(); + for (NutritionProductInstanceComponent i : instance) + dst.instance.add(i.copy()); }; - dst.instance = instance == null ? null : instance.copy(); if (note != null) { dst.note = new ArrayList(); for (Annotation i : note) @@ -2265,9 +2371,9 @@ public class NutritionProduct extends DomainResource { if (!(other_ instanceof NutritionProduct)) return false; NutritionProduct o = (NutritionProduct) other_; - return compareDeep(status, o.status, true) && compareDeep(category, o.category, true) && compareDeep(code, o.code, true) + return compareDeep(code, o.code, true) && compareDeep(status, o.status, true) && compareDeep(category, o.category, true) && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(nutrient, o.nutrient, true) && compareDeep(ingredient, o.ingredient, true) - && compareDeep(knownAllergen, o.knownAllergen, true) && compareDeep(productCharacteristic, o.productCharacteristic, true) + && compareDeep(knownAllergen, o.knownAllergen, true) && compareDeep(characteristic, o.characteristic, true) && compareDeep(instance, o.instance, true) && compareDeep(note, o.note, true); } @@ -2282,8 +2388,8 @@ public class NutritionProduct extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(status, category, code, manufacturer - , nutrient, ingredient, knownAllergen, productCharacteristic, instance, note); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, status, category, manufacturer + , nutrient, ingredient, knownAllergen, characteristic, instance, note); } @Override @@ -2291,66 +2397,6 @@ public class NutritionProduct extends DomainResource { return ResourceType.NutritionProduct; } - /** - * Search parameter: biological-source - *

- * Description: The biological source for the nutrition product
- * Type: token
- * Path: NutritionProduct.instance.biologicalSource
- *

- */ - @SearchParamDefinition(name="biological-source", path="NutritionProduct.instance.biologicalSource", description="The biological source for the nutrition product", type="token" ) - public static final String SP_BIOLOGICAL_SOURCE = "biological-source"; - /** - * Fluent Client search parameter constant for biological-source - *

- * Description: The biological source for the nutrition product
- * Type: token
- * Path: NutritionProduct.instance.biologicalSource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BIOLOGICAL_SOURCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BIOLOGICAL_SOURCE); - - /** - * Search parameter: identifier - *

- * Description: The identifier for the physical instance, typically a serial number
- * Type: token
- * Path: NutritionProduct.instance.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="NutritionProduct.instance.identifier", description="The identifier for the physical instance, typically a serial number", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The identifier for the physical instance, typically a serial number
- * Type: token
- * Path: NutritionProduct.instance.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: NutritionProduct.status
- *

- */ - @SearchParamDefinition(name="status", path="NutritionProduct.status", description="active | inactive | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: NutritionProduct.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Observation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Observation.java index 45ff7a6a7..f1c52ebd5 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Observation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Observation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,6 +53,428 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="Observation", profile="http://hl7.org/fhir/StructureDefinition/Observation") public class Observation extends DomainResource { + public enum TriggeredBytype { + /** + * Performance of one or more other tests depending on the results of the initial test. This may include collection of additional specimen. While a new ServiceRequest is not required to perform the additional test, where it is still needed (e.g., requesting another laboratory to perform the reflex test), the Observation.basedOn would reference the new ServiceRequest that requested the additional test to be performed as well as the original ServiceRequest to reflect the one that provided the authorization. + */ + REFLEX, + /** + * Performance of the same test again with the same parameters/settings/solution. + */ + REPEAT, + /** + * Performance of the same test but with different parameters/settings/solution. + */ + RERUN, + /** + * added to help the parsers with the generic types + */ + NULL; + public static TriggeredBytype fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("reflex".equals(codeString)) + return REFLEX; + if ("repeat".equals(codeString)) + return REPEAT; + if ("re-run".equals(codeString)) + return RERUN; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown TriggeredBytype code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case REFLEX: return "reflex"; + case REPEAT: return "repeat"; + case RERUN: return "re-run"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case REFLEX: return "http://hl7.org/fhir/observation-triggeredbytype"; + case REPEAT: return "http://hl7.org/fhir/observation-triggeredbytype"; + case RERUN: return "http://hl7.org/fhir/observation-triggeredbytype"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case REFLEX: return "Performance of one or more other tests depending on the results of the initial test. This may include collection of additional specimen. While a new ServiceRequest is not required to perform the additional test, where it is still needed (e.g., requesting another laboratory to perform the reflex test), the Observation.basedOn would reference the new ServiceRequest that requested the additional test to be performed as well as the original ServiceRequest to reflect the one that provided the authorization."; + case REPEAT: return "Performance of the same test again with the same parameters/settings/solution."; + case RERUN: return "Performance of the same test but with different parameters/settings/solution."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case REFLEX: return "Reflex"; + case REPEAT: return "Repeat (per policy)"; + case RERUN: return "Re-run (per policy)"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class TriggeredBytypeEnumFactory implements EnumFactory { + public TriggeredBytype fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("reflex".equals(codeString)) + return TriggeredBytype.REFLEX; + if ("repeat".equals(codeString)) + return TriggeredBytype.REPEAT; + if ("re-run".equals(codeString)) + return TriggeredBytype.RERUN; + throw new IllegalArgumentException("Unknown TriggeredBytype code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("reflex".equals(codeString)) + return new Enumeration(this, TriggeredBytype.REFLEX); + if ("repeat".equals(codeString)) + return new Enumeration(this, TriggeredBytype.REPEAT); + if ("re-run".equals(codeString)) + return new Enumeration(this, TriggeredBytype.RERUN); + throw new FHIRException("Unknown TriggeredBytype code '"+codeString+"'"); + } + public String toCode(TriggeredBytype code) { + if (code == TriggeredBytype.REFLEX) + return "reflex"; + if (code == TriggeredBytype.REPEAT) + return "repeat"; + if (code == TriggeredBytype.RERUN) + return "re-run"; + return "?"; + } + public String toSystem(TriggeredBytype code) { + return code.getSystem(); + } + } + + @Block() + public static class ObservationTriggeredByComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Reference to the triggering observation. + */ + @Child(name = "observation", type = {Observation.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Triggering observation", formalDefinition="Reference to the triggering observation." ) + protected Reference observation; + + /** + * The type of trigger. +Reflex | Repeat | Re-run. + */ + @Child(name = "type", type = {CodeType.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="reflex | repeat | re-run", formalDefinition="The type of trigger.\nReflex | Repeat | Re-run." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-triggeredbytype") + protected Enumeration type; + + /** + * Provides the reason why this observation was performed as a result of the observation(s) referenced. + */ + @Child(name = "reason", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Reason that the observation was triggered", formalDefinition="Provides the reason why this observation was performed as a result of the observation(s) referenced." ) + protected StringType reason; + + private static final long serialVersionUID = -737822241L; + + /** + * Constructor + */ + public ObservationTriggeredByComponent() { + super(); + } + + /** + * Constructor + */ + public ObservationTriggeredByComponent(Reference observation, TriggeredBytype type) { + super(); + this.setObservation(observation); + this.setType(type); + } + + /** + * @return {@link #observation} (Reference to the triggering observation.) + */ + public Reference getObservation() { + if (this.observation == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ObservationTriggeredByComponent.observation"); + else if (Configuration.doAutoCreate()) + this.observation = new Reference(); // cc + return this.observation; + } + + public boolean hasObservation() { + return this.observation != null && !this.observation.isEmpty(); + } + + /** + * @param value {@link #observation} (Reference to the triggering observation.) + */ + public ObservationTriggeredByComponent setObservation(Reference value) { + this.observation = value; + return this; + } + + /** + * @return {@link #type} (The type of trigger. +Reflex | Repeat | Re-run.). 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 ObservationTriggeredByComponent.type"); + else if (Configuration.doAutoCreate()) + this.type = new Enumeration(new TriggeredBytypeEnumFactory()); // 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 trigger. +Reflex | Repeat | Re-run.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value + */ + public ObservationTriggeredByComponent setTypeElement(Enumeration value) { + this.type = value; + return this; + } + + /** + * @return The type of trigger. +Reflex | Repeat | Re-run. + */ + public TriggeredBytype getType() { + return this.type == null ? null : this.type.getValue(); + } + + /** + * @param value The type of trigger. +Reflex | Repeat | Re-run. + */ + public ObservationTriggeredByComponent setType(TriggeredBytype value) { + if (this.type == null) + this.type = new Enumeration(new TriggeredBytypeEnumFactory()); + this.type.setValue(value); + return this; + } + + /** + * @return {@link #reason} (Provides the reason why this observation was performed as a result of the observation(s) referenced.). This is the underlying object with id, value and extensions. The accessor "getReason" gives direct access to the value + */ + public StringType getReasonElement() { + if (this.reason == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ObservationTriggeredByComponent.reason"); + else if (Configuration.doAutoCreate()) + this.reason = new StringType(); // bb + return this.reason; + } + + public boolean hasReasonElement() { + return this.reason != null && !this.reason.isEmpty(); + } + + public boolean hasReason() { + return this.reason != null && !this.reason.isEmpty(); + } + + /** + * @param value {@link #reason} (Provides the reason why this observation was performed as a result of the observation(s) referenced.). This is the underlying object with id, value and extensions. The accessor "getReason" gives direct access to the value + */ + public ObservationTriggeredByComponent setReasonElement(StringType value) { + this.reason = value; + return this; + } + + /** + * @return Provides the reason why this observation was performed as a result of the observation(s) referenced. + */ + public String getReason() { + return this.reason == null ? null : this.reason.getValue(); + } + + /** + * @param value Provides the reason why this observation was performed as a result of the observation(s) referenced. + */ + public ObservationTriggeredByComponent setReason(String value) { + if (Utilities.noString(value)) + this.reason = null; + else { + if (this.reason == null) + this.reason = new StringType(); + this.reason.setValue(value); + } + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("observation", "Reference(Observation)", "Reference to the triggering observation.", 0, 1, observation)); + children.add(new Property("type", "code", "The type of trigger.\nReflex | Repeat | Re-run.", 0, 1, type)); + children.add(new Property("reason", "string", "Provides the reason why this observation was performed as a result of the observation(s) referenced.", 0, 1, reason)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 122345516: /*observation*/ return new Property("observation", "Reference(Observation)", "Reference to the triggering observation.", 0, 1, observation); + case 3575610: /*type*/ return new Property("type", "code", "The type of trigger.\nReflex | Repeat | Re-run.", 0, 1, type); + case -934964668: /*reason*/ return new Property("reason", "string", "Provides the reason why this observation was performed as a result of the observation(s) referenced.", 0, 1, reason); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 122345516: /*observation*/ return this.observation == null ? new Base[0] : new Base[] {this.observation}; // Reference + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration + case -934964668: /*reason*/ return this.reason == null ? new Base[0] : new Base[] {this.reason}; // StringType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 122345516: // observation + this.observation = TypeConvertor.castToReference(value); // Reference + return value; + case 3575610: // type + value = new TriggeredBytypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.type = (Enumeration) value; // Enumeration + return value; + case -934964668: // reason + this.reason = TypeConvertor.castToString(value); // StringType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("observation")) { + this.observation = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("type")) { + value = new TriggeredBytypeEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.type = (Enumeration) value; // Enumeration + } else if (name.equals("reason")) { + this.reason = TypeConvertor.castToString(value); // StringType + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 122345516: return getObservation(); + case 3575610: return getTypeElement(); + case -934964668: return getReasonElement(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 122345516: /*observation*/ return new String[] {"Reference"}; + case 3575610: /*type*/ return new String[] {"code"}; + case -934964668: /*reason*/ return new String[] {"string"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("observation")) { + this.observation = new Reference(); + return this.observation; + } + else if (name.equals("type")) { + throw new FHIRException("Cannot call addChild on a primitive type Observation.triggeredBy.type"); + } + else if (name.equals("reason")) { + throw new FHIRException("Cannot call addChild on a primitive type Observation.triggeredBy.reason"); + } + else + return super.addChild(name); + } + + public ObservationTriggeredByComponent copy() { + ObservationTriggeredByComponent dst = new ObservationTriggeredByComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(ObservationTriggeredByComponent dst) { + super.copyValues(dst); + dst.observation = observation == null ? null : observation.copy(); + dst.type = type == null ? null : type.copy(); + dst.reason = reason == null ? null : reason.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof ObservationTriggeredByComponent)) + return false; + ObservationTriggeredByComponent o = (ObservationTriggeredByComponent) other_; + return compareDeep(observation, o.observation, true) && compareDeep(type, o.type, true) && compareDeep(reason, o.reason, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof ObservationTriggeredByComponent)) + return false; + ObservationTriggeredByComponent o = (ObservationTriggeredByComponent) other_; + return compareValues(type, o.type, true) && compareValues(reason, o.reason, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(observation, type, reason + ); + } + + public String fhirType() { + return "Observation.triggeredBy"; + + } + + } + @Block() public static class ObservationReferenceRangeComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -69,10 +491,18 @@ public class Observation extends DomainResource { @Description(shortDefinition="High Range, if relevant", formalDefinition="The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3)." ) protected Quantity high; + /** + * The value of the normal value of the reference range. + */ + @Child(name = "normalValue", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Normal value, if relevant", formalDefinition="The value of the normal value of the reference range." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-referencerange-normalvalue") + protected CodeableConcept normalValue; + /** * Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range. */ - @Child(name = "type", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "type", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Reference range qualifier", formalDefinition="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/referencerange-meaning") protected CodeableConcept type; @@ -80,7 +510,7 @@ public class Observation extends DomainResource { /** * Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an "AND" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used. */ - @Child(name = "appliesTo", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "appliesTo", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Reference range population", formalDefinition="Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/referencerange-appliesto") protected List appliesTo; @@ -88,18 +518,18 @@ public class Observation extends DomainResource { /** * 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. */ - @Child(name = "age", type = {Range.class}, order=5, min=0, max=1, modifier=false, summary=false) + @Child(name = "age", type = {Range.class}, order=6, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Applicable age range, if relevant", formalDefinition="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." ) protected Range age; /** * 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". */ - @Child(name = "text", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Child(name = "text", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Text based reference range in an observation", formalDefinition="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\"." ) protected StringType text; - private static final long serialVersionUID = -305128879L; + private static final long serialVersionUID = -2015583438L; /** * Constructor @@ -156,6 +586,30 @@ public class Observation extends DomainResource { return this; } + /** + * @return {@link #normalValue} (The value of the normal value of the reference range.) + */ + public CodeableConcept getNormalValue() { + if (this.normalValue == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ObservationReferenceRangeComponent.normalValue"); + else if (Configuration.doAutoCreate()) + this.normalValue = new CodeableConcept(); // cc + return this.normalValue; + } + + public boolean hasNormalValue() { + return this.normalValue != null && !this.normalValue.isEmpty(); + } + + /** + * @param value {@link #normalValue} (The value of the normal value of the reference range.) + */ + public ObservationReferenceRangeComponent setNormalValue(CodeableConcept value) { + this.normalValue = value; + return this; + } + /** * @return {@link #type} (Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.) */ @@ -310,6 +764,7 @@ public class Observation extends DomainResource { super.listChildren(children); children.add(new Property("low", "Quantity", "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", 0, 1, low)); children.add(new Property("high", "Quantity", "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", 0, 1, high)); + children.add(new Property("normalValue", "CodeableConcept", "The value of the normal value of the reference range.", 0, 1, normalValue)); children.add(new Property("type", "CodeableConcept", "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", 0, 1, type)); children.add(new Property("appliesTo", "CodeableConcept", "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", 0, java.lang.Integer.MAX_VALUE, appliesTo)); children.add(new Property("age", "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.", 0, 1, age)); @@ -321,6 +776,7 @@ public class Observation extends DomainResource { switch (_hash) { case 107348: /*low*/ return new Property("low", "Quantity", "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", 0, 1, low); case 3202466: /*high*/ return new Property("high", "Quantity", "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", 0, 1, high); + case -270017334: /*normalValue*/ return new Property("normalValue", "CodeableConcept", "The value of the normal value of the reference range.", 0, 1, normalValue); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", 0, 1, type); case -2089924569: /*appliesTo*/ return new Property("appliesTo", "CodeableConcept", "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", 0, java.lang.Integer.MAX_VALUE, appliesTo); case 96511: /*age*/ return new Property("age", "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.", 0, 1, age); @@ -335,6 +791,7 @@ public class Observation extends DomainResource { switch (hash) { case 107348: /*low*/ return this.low == null ? new Base[0] : new Base[] {this.low}; // Quantity case 3202466: /*high*/ return this.high == null ? new Base[0] : new Base[] {this.high}; // Quantity + case -270017334: /*normalValue*/ return this.normalValue == null ? new Base[0] : new Base[] {this.normalValue}; // CodeableConcept case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case -2089924569: /*appliesTo*/ return this.appliesTo == null ? new Base[0] : this.appliesTo.toArray(new Base[this.appliesTo.size()]); // CodeableConcept case 96511: /*age*/ return this.age == null ? new Base[0] : new Base[] {this.age}; // Range @@ -353,6 +810,9 @@ public class Observation extends DomainResource { case 3202466: // high this.high = TypeConvertor.castToQuantity(value); // Quantity return value; + case -270017334: // normalValue + this.normalValue = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; case 3575610: // type this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; @@ -376,6 +836,8 @@ public class Observation extends DomainResource { this.low = TypeConvertor.castToQuantity(value); // Quantity } else if (name.equals("high")) { this.high = TypeConvertor.castToQuantity(value); // Quantity + } else if (name.equals("normalValue")) { + this.normalValue = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("type")) { this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("appliesTo")) { @@ -394,6 +856,7 @@ public class Observation extends DomainResource { switch (hash) { case 107348: return getLow(); case 3202466: return getHigh(); + case -270017334: return getNormalValue(); case 3575610: return getType(); case -2089924569: return addAppliesTo(); case 96511: return getAge(); @@ -408,6 +871,7 @@ public class Observation extends DomainResource { switch (hash) { case 107348: /*low*/ return new String[] {"Quantity"}; case 3202466: /*high*/ return new String[] {"Quantity"}; + case -270017334: /*normalValue*/ return new String[] {"CodeableConcept"}; case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case -2089924569: /*appliesTo*/ return new String[] {"CodeableConcept"}; case 96511: /*age*/ return new String[] {"Range"}; @@ -427,6 +891,10 @@ public class Observation extends DomainResource { this.high = new Quantity(); return this.high; } + else if (name.equals("normalValue")) { + this.normalValue = new CodeableConcept(); + return this.normalValue; + } else if (name.equals("type")) { this.type = new CodeableConcept(); return this.type; @@ -455,6 +923,7 @@ public class Observation extends DomainResource { super.copyValues(dst); dst.low = low == null ? null : low.copy(); dst.high = high == null ? null : high.copy(); + dst.normalValue = normalValue == null ? null : normalValue.copy(); dst.type = type == null ? null : type.copy(); if (appliesTo != null) { dst.appliesTo = new ArrayList(); @@ -472,9 +941,9 @@ public class Observation extends DomainResource { if (!(other_ instanceof ObservationReferenceRangeComponent)) return false; ObservationReferenceRangeComponent o = (ObservationReferenceRangeComponent) other_; - return compareDeep(low, o.low, true) && compareDeep(high, o.high, true) && compareDeep(type, o.type, true) - && compareDeep(appliesTo, o.appliesTo, true) && compareDeep(age, o.age, true) && compareDeep(text, o.text, true) - ; + return compareDeep(low, o.low, true) && compareDeep(high, o.high, true) && compareDeep(normalValue, o.normalValue, true) + && compareDeep(type, o.type, true) && compareDeep(appliesTo, o.appliesTo, true) && compareDeep(age, o.age, true) + && compareDeep(text, o.text, true); } @Override @@ -488,8 +957,8 @@ public class Observation extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(low, high, type, appliesTo - , age, text); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(low, high, normalValue, type + , appliesTo, age, text); } public String fhirType() { @@ -1172,17 +1641,24 @@ public class Observation extends DomainResource { @Description(shortDefinition="Fulfills plan, proposal or order", formalDefinition="A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed." ) protected List basedOn; + /** + * Identifies the observation(s) that triggered the performance of this observation. + */ + @Child(name = "triggeredBy", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Triggering observation(s)", formalDefinition="Identifies the observation(s) that triggered the performance of this observation." ) + protected List triggeredBy; + /** * A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure. */ - @Child(name = "partOf", type = {MedicationAdministration.class, MedicationDispense.class, MedicationUsage.class, Procedure.class, Immunization.class, ImagingStudy.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "partOf", type = {MedicationAdministration.class, MedicationDispense.class, MedicationUsage.class, Procedure.class, Immunization.class, ImagingStudy.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Part of referenced event", formalDefinition="A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure." ) protected List partOf; /** * The status of the result value. */ - @Child(name = "status", type = {CodeType.class}, order=4, min=1, max=1, modifier=true, summary=true) + @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="registered | preliminary | final | amended +", formalDefinition="The status of the result value." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-status") protected Enumeration status; @@ -1190,7 +1666,7 @@ public class Observation extends DomainResource { /** * A code that classifies the general type of observation being made. */ - @Child(name = "category", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "category", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Classification of type of observation", formalDefinition="A code that classifies the general type of observation being made." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-category") protected List category; @@ -1198,7 +1674,7 @@ public class Observation extends DomainResource { /** * Describes what was observed. Sometimes this is called the observation "name". */ - @Child(name = "code", type = {CodeableConcept.class}, order=6, min=1, max=1, modifier=false, summary=true) + @Child(name = "code", type = {CodeableConcept.class}, order=7, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Type of observation (code / type)", formalDefinition="Describes what was observed. Sometimes this is called the observation \"name\"." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-codes") protected CodeableConcept code; @@ -1206,56 +1682,56 @@ public class Observation extends DomainResource { /** * The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation. */ - @Child(name = "subject", type = {Patient.class, Group.class, Device.class, Location.class, Organization.class, Procedure.class, Practitioner.class, Medication.class, Substance.class, BiologicallyDerivedProduct.class, NutritionProduct.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "subject", type = {Patient.class, Group.class, Device.class, Location.class, Organization.class, Procedure.class, Practitioner.class, Medication.class, Substance.class, BiologicallyDerivedProduct.class, NutritionProduct.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who and/or what the observation is about", formalDefinition="The patient, or group of patients, location, device, organization, procedure or practitioner this observation is about and into whose or what record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation." ) protected Reference subject; /** * The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. */ - @Child(name = "focus", type = {Reference.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "focus", type = {Reference.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="What the observation is about, when it is not about the subject of record", formalDefinition="The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus." ) protected List focus; /** * The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made. */ - @Child(name = "encounter", type = {Encounter.class}, order=9, min=0, max=1, modifier=false, summary=true) + @Child(name = "encounter", type = {Encounter.class}, order=10, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Healthcare event during which this observation is made", formalDefinition="The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made." ) protected Reference encounter; /** * 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. */ - @Child(name = "effective", type = {DateTimeType.class, Period.class, Timing.class, InstantType.class}, order=10, min=0, max=1, modifier=false, summary=true) + @Child(name = "effective", type = {DateTimeType.class, Period.class, Timing.class, InstantType.class}, order=11, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Clinically relevant time/time-period for observation", formalDefinition="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." ) protected DataType effective; /** * The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified. */ - @Child(name = "issued", type = {InstantType.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Child(name = "issued", type = {InstantType.class}, order=12, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Date/Time this version was made available", formalDefinition="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified." ) protected InstantType issued; /** * Who was responsible for asserting the observed value as "true". */ - @Child(name = "performer", type = {Practitioner.class, PractitionerRole.class, Organization.class, CareTeam.class, Patient.class, RelatedPerson.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "performer", type = {Practitioner.class, PractitionerRole.class, Organization.class, CareTeam.class, Patient.class, RelatedPerson.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Who is responsible for the observation", formalDefinition="Who was responsible for asserting the observed value as \"true\"." ) protected List performer; /** * The information determined as a result of making the observation, if the information has a simple value. */ - @Child(name = "value", type = {Quantity.class, CodeableConcept.class, StringType.class, BooleanType.class, IntegerType.class, Range.class, Ratio.class, SampledData.class, TimeType.class, DateTimeType.class, Period.class, Attachment.class}, order=13, min=0, max=1, modifier=false, summary=true) + @Child(name = "value", type = {Quantity.class, CodeableConcept.class, StringType.class, BooleanType.class, IntegerType.class, Range.class, Ratio.class, SampledData.class, TimeType.class, DateTimeType.class, Period.class, Attachment.class}, order=14, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Actual result", formalDefinition="The information determined as a result of making the observation, if the information has a simple value." ) protected DataType value; /** * Provides a reason why the expected value in the element Observation.value[x] is missing. */ - @Child(name = "dataAbsentReason", type = {CodeableConcept.class}, order=14, min=0, max=1, modifier=false, summary=false) + @Child(name = "dataAbsentReason", type = {CodeableConcept.class}, order=15, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Why the result is missing", formalDefinition="Provides a reason why the expected value in the element Observation.value[x] is missing." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/data-absent-reason") protected CodeableConcept dataAbsentReason; @@ -1263,7 +1739,7 @@ public class Observation extends DomainResource { /** * A categorical assessment of an observation value. For example, high, low, normal. */ - @Child(name = "interpretation", type = {CodeableConcept.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "interpretation", type = {CodeableConcept.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="High, low, normal, etc.", formalDefinition="A categorical assessment of an observation value. For example, high, low, normal." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-interpretation") protected List interpretation; @@ -1271,22 +1747,29 @@ public class Observation extends DomainResource { /** * Comments about the observation or the results. */ - @Child(name = "note", type = {Annotation.class}, order=16, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=17, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Comments about the observation", formalDefinition="Comments about the observation or the results." ) protected List note; /** * Indicates the site on the subject's body where the observation was made (i.e. the target site). */ - @Child(name = "bodySite", type = {CodeableConcept.class}, order=17, min=0, max=1, modifier=false, summary=false) + @Child(name = "bodySite", type = {CodeableConcept.class}, order=18, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Observed body part", formalDefinition="Indicates the site on the subject's body where the observation was made (i.e. the target site)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") protected CodeableConcept bodySite; + /** + * Indicates the body structure on the subject's body where the observation was made (i.e. the target site). + */ + @Child(name = "bodyStructure", type = {BodyStructure.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Observed body structure", formalDefinition="Indicates the body structure on the subject's body where the observation was made (i.e. the target site)." ) + protected Reference bodyStructure; + /** * Indicates the mechanism used to perform the observation. */ - @Child(name = "method", type = {CodeableConcept.class}, order=18, min=0, max=1, modifier=false, summary=false) + @Child(name = "method", type = {CodeableConcept.class}, order=20, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="How it was done", formalDefinition="Indicates the mechanism used to perform the observation." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/observation-methods") protected CodeableConcept method; @@ -1294,46 +1777,46 @@ public class Observation extends DomainResource { /** * The specimen that was used when this observation was made. */ - @Child(name = "specimen", type = {Specimen.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Child(name = "specimen", type = {Specimen.class}, order=21, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Specimen used for this observation", formalDefinition="The specimen that was used when this observation was made." ) protected Reference specimen; /** * The device used to generate the observation data. */ - @Child(name = "device", type = {Device.class, DeviceMetric.class}, order=20, min=0, max=1, modifier=false, summary=false) + @Child(name = "device", type = {Device.class, DeviceMetric.class}, order=22, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="(Measurement) Device", formalDefinition="The device used to generate the observation data." ) protected Reference device; /** * Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an "OR". In other words, to represent two distinct target populations, two `referenceRange` elements would be used. */ - @Child(name = "referenceRange", type = {}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "referenceRange", type = {}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Provides guide for interpretation", formalDefinition="Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used." ) protected List referenceRange; /** * 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. */ - @Child(name = "hasMember", type = {Observation.class, QuestionnaireResponse.class, MolecularSequence.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "hasMember", type = {Observation.class, QuestionnaireResponse.class, MolecularSequence.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Related resource that belongs to the Observation group", formalDefinition="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." ) protected List hasMember; /** * The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image. */ - @Child(name = "derivedFrom", type = {DocumentReference.class, ImagingStudy.class, QuestionnaireResponse.class, Observation.class, MolecularSequence.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Related measurements the observation is made from", formalDefinition="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image." ) + @Child(name = "derivedFrom", type = {DocumentReference.class, ImagingStudy.class, ImagingSelection.class, QuestionnaireResponse.class, Observation.class, MolecularSequence.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Related resource from which the observation is made", formalDefinition="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image." ) protected List derivedFrom; /** * 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 genetics observations. */ - @Child(name = "component", type = {}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "component", type = {}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @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 genetics observations." ) protected List component; - private static final long serialVersionUID = 1002725127L; + private static final long serialVersionUID = -44103660L; /** * Constructor @@ -1508,6 +1991,59 @@ public class Observation extends DomainResource { return getBasedOn().get(0); } + /** + * @return {@link #triggeredBy} (Identifies the observation(s) that triggered the performance of this observation.) + */ + public List getTriggeredBy() { + if (this.triggeredBy == null) + this.triggeredBy = new ArrayList(); + return this.triggeredBy; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Observation setTriggeredBy(List theTriggeredBy) { + this.triggeredBy = theTriggeredBy; + return this; + } + + public boolean hasTriggeredBy() { + if (this.triggeredBy == null) + return false; + for (ObservationTriggeredByComponent item : this.triggeredBy) + if (!item.isEmpty()) + return true; + return false; + } + + public ObservationTriggeredByComponent addTriggeredBy() { //3 + ObservationTriggeredByComponent t = new ObservationTriggeredByComponent(); + if (this.triggeredBy == null) + this.triggeredBy = new ArrayList(); + this.triggeredBy.add(t); + return t; + } + + public Observation addTriggeredBy(ObservationTriggeredByComponent t) { //3 + if (t == null) + return this; + if (this.triggeredBy == null) + this.triggeredBy = new ArrayList(); + this.triggeredBy.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #triggeredBy}, creating it if it does not already exist {3} + */ + public ObservationTriggeredByComponent getTriggeredByFirstRep() { + if (getTriggeredBy().isEmpty()) { + addTriggeredBy(); + } + return getTriggeredBy().get(0); + } + /** * @return {@link #partOf} (A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.) */ @@ -2322,6 +2858,30 @@ public class Observation extends DomainResource { return this; } + /** + * @return {@link #bodyStructure} (Indicates the body structure on the subject's body where the observation was made (i.e. the target site).) + */ + public Reference getBodyStructure() { + if (this.bodyStructure == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Observation.bodyStructure"); + else if (Configuration.doAutoCreate()) + this.bodyStructure = new Reference(); // cc + return this.bodyStructure; + } + + public boolean hasBodyStructure() { + return this.bodyStructure != null && !this.bodyStructure.isEmpty(); + } + + /** + * @param value {@link #bodyStructure} (Indicates the body structure on the subject's body where the observation was made (i.e. the target site).) + */ + public Observation setBodyStructure(Reference value) { + this.bodyStructure = value; + return this; + } + /** * @return {@link #method} (Indicates the mechanism used to perform the observation.) */ @@ -2611,6 +3171,7 @@ public class Observation extends DomainResource { children.add(new Property("identifier", "Identifier", "A unique identifier assigned to this observation.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("instantiates[x]", "canonical(ObservationDefinition)|Reference(ObservationDefinition)", "The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance.", 0, 1, instantiates)); children.add(new Property("basedOn", "Reference(CarePlan|DeviceRequest|ImmunizationRecommendation|MedicationRequest|NutritionOrder|ServiceRequest)", "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("triggeredBy", "", "Identifies the observation(s) that triggered the performance of this observation.", 0, java.lang.Integer.MAX_VALUE, triggeredBy)); children.add(new Property("partOf", "Reference(MedicationAdministration|MedicationDispense|MedicationUsage|Procedure|Immunization|ImagingStudy)", "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", 0, java.lang.Integer.MAX_VALUE, partOf)); children.add(new Property("status", "code", "The status of the result value.", 0, 1, status)); children.add(new Property("category", "CodeableConcept", "A code that classifies the general type of observation being made.", 0, java.lang.Integer.MAX_VALUE, category)); @@ -2626,12 +3187,13 @@ public class Observation extends DomainResource { children.add(new Property("interpretation", "CodeableConcept", "A categorical assessment of an observation value. For example, high, low, normal.", 0, java.lang.Integer.MAX_VALUE, interpretation)); children.add(new Property("note", "Annotation", "Comments about the observation or the results.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("bodySite", "CodeableConcept", "Indicates the site on the subject's body where the observation was made (i.e. the target site).", 0, 1, bodySite)); + children.add(new Property("bodyStructure", "Reference(BodyStructure)", "Indicates the body structure on the subject's body where the observation was made (i.e. the target site).", 0, 1, bodyStructure)); children.add(new Property("method", "CodeableConcept", "Indicates the mechanism used to perform the observation.", 0, 1, method)); children.add(new Property("specimen", "Reference(Specimen)", "The specimen that was used when this observation was made.", 0, 1, specimen)); children.add(new Property("device", "Reference(Device|DeviceMetric)", "The device used to generate the observation data.", 0, 1, device)); children.add(new Property("referenceRange", "", "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", 0, java.lang.Integer.MAX_VALUE, referenceRange)); children.add(new Property("hasMember", "Reference(Observation|QuestionnaireResponse|MolecularSequence)", "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.", 0, java.lang.Integer.MAX_VALUE, hasMember)); - children.add(new Property("derivedFrom", "Reference(DocumentReference|ImagingStudy|QuestionnaireResponse|Observation|MolecularSequence)", "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", 0, java.lang.Integer.MAX_VALUE, derivedFrom)); + children.add(new Property("derivedFrom", "Reference(DocumentReference|ImagingStudy|ImagingSelection|QuestionnaireResponse|Observation|MolecularSequence)", "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", 0, java.lang.Integer.MAX_VALUE, derivedFrom)); children.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 genetics observations.", 0, java.lang.Integer.MAX_VALUE, component)); } @@ -2644,6 +3206,7 @@ public class Observation extends DomainResource { case 8911915: /*instantiatesCanonical*/ return new Property("instantiates[x]", "canonical(ObservationDefinition)", "The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance.", 0, 1, instantiates); case -1744595326: /*instantiatesReference*/ return new Property("instantiates[x]", "Reference(ObservationDefinition)", "The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance.", 0, 1, instantiates); case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|DeviceRequest|ImmunizationRecommendation|MedicationRequest|NutritionOrder|ServiceRequest)", "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -680451314: /*triggeredBy*/ return new Property("triggeredBy", "", "Identifies the observation(s) that triggered the performance of this observation.", 0, java.lang.Integer.MAX_VALUE, triggeredBy); case -995410646: /*partOf*/ return new Property("partOf", "Reference(MedicationAdministration|MedicationDispense|MedicationUsage|Procedure|Immunization|ImagingStudy)", "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", 0, java.lang.Integer.MAX_VALUE, partOf); case -892481550: /*status*/ return new Property("status", "code", "The status of the result value.", 0, 1, status); case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A code that classifies the general type of observation being made.", 0, java.lang.Integer.MAX_VALUE, category); @@ -2677,12 +3240,13 @@ public class Observation extends DomainResource { case -297950712: /*interpretation*/ return new Property("interpretation", "CodeableConcept", "A categorical assessment of an observation value. For example, high, low, normal.", 0, java.lang.Integer.MAX_VALUE, interpretation); case 3387378: /*note*/ return new Property("note", "Annotation", "Comments about the observation or the results.", 0, java.lang.Integer.MAX_VALUE, note); case 1702620169: /*bodySite*/ return new Property("bodySite", "CodeableConcept", "Indicates the site on the subject's body where the observation was made (i.e. the target site).", 0, 1, bodySite); + case -1001731599: /*bodyStructure*/ return new Property("bodyStructure", "Reference(BodyStructure)", "Indicates the body structure on the subject's body where the observation was made (i.e. the target site).", 0, 1, bodyStructure); case -1077554975: /*method*/ return new Property("method", "CodeableConcept", "Indicates the mechanism used to perform the observation.", 0, 1, method); case -2132868344: /*specimen*/ return new Property("specimen", "Reference(Specimen)", "The specimen that was used when this observation was made.", 0, 1, specimen); case -1335157162: /*device*/ return new Property("device", "Reference(Device|DeviceMetric)", "The device used to generate the observation data.", 0, 1, device); case -1912545102: /*referenceRange*/ return new Property("referenceRange", "", "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", 0, java.lang.Integer.MAX_VALUE, referenceRange); case -458019372: /*hasMember*/ return new Property("hasMember", "Reference(Observation|QuestionnaireResponse|MolecularSequence)", "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.", 0, java.lang.Integer.MAX_VALUE, hasMember); - case 1077922663: /*derivedFrom*/ return new Property("derivedFrom", "Reference(DocumentReference|ImagingStudy|QuestionnaireResponse|Observation|MolecularSequence)", "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", 0, java.lang.Integer.MAX_VALUE, derivedFrom); + case 1077922663: /*derivedFrom*/ return new Property("derivedFrom", "Reference(DocumentReference|ImagingStudy|ImagingSelection|QuestionnaireResponse|Observation|MolecularSequence)", "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", 0, java.lang.Integer.MAX_VALUE, derivedFrom); case -1399907075: /*component*/ return 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 genetics observations.", 0, java.lang.Integer.MAX_VALUE, component); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2695,6 +3259,7 @@ public class Observation extends DomainResource { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -246883639: /*instantiates*/ return this.instantiates == null ? new Base[0] : new Base[] {this.instantiates}; // DataType case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference + case -680451314: /*triggeredBy*/ return this.triggeredBy == null ? new Base[0] : this.triggeredBy.toArray(new Base[this.triggeredBy.size()]); // ObservationTriggeredByComponent case -995410646: /*partOf*/ return this.partOf == null ? new Base[0] : this.partOf.toArray(new Base[this.partOf.size()]); // Reference case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept @@ -2710,6 +3275,7 @@ public class Observation extends DomainResource { case -297950712: /*interpretation*/ return this.interpretation == null ? new Base[0] : this.interpretation.toArray(new Base[this.interpretation.size()]); // CodeableConcept case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case 1702620169: /*bodySite*/ return this.bodySite == null ? new Base[0] : new Base[] {this.bodySite}; // CodeableConcept + case -1001731599: /*bodyStructure*/ return this.bodyStructure == null ? new Base[0] : new Base[] {this.bodyStructure}; // Reference case -1077554975: /*method*/ return this.method == null ? new Base[0] : new Base[] {this.method}; // CodeableConcept case -2132868344: /*specimen*/ return this.specimen == null ? new Base[0] : new Base[] {this.specimen}; // Reference case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference @@ -2734,6 +3300,9 @@ public class Observation extends DomainResource { case -332612366: // basedOn this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference return value; + case -680451314: // triggeredBy + this.getTriggeredBy().add((ObservationTriggeredByComponent) value); // ObservationTriggeredByComponent + return value; case -995410646: // partOf this.getPartOf().add(TypeConvertor.castToReference(value)); // Reference return value; @@ -2780,6 +3349,9 @@ public class Observation extends DomainResource { case 1702620169: // bodySite this.bodySite = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; + case -1001731599: // bodyStructure + this.bodyStructure = TypeConvertor.castToReference(value); // Reference + return value; case -1077554975: // method this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; @@ -2814,6 +3386,8 @@ public class Observation extends DomainResource { this.instantiates = TypeConvertor.castToType(value); // DataType } else if (name.equals("basedOn")) { this.getBasedOn().add(TypeConvertor.castToReference(value)); + } else if (name.equals("triggeredBy")) { + this.getTriggeredBy().add((ObservationTriggeredByComponent) value); } else if (name.equals("partOf")) { this.getPartOf().add(TypeConvertor.castToReference(value)); } else if (name.equals("status")) { @@ -2845,6 +3419,8 @@ public class Observation extends DomainResource { this.getNote().add(TypeConvertor.castToAnnotation(value)); } else if (name.equals("bodySite")) { this.bodySite = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("bodyStructure")) { + this.bodyStructure = TypeConvertor.castToReference(value); // Reference } else if (name.equals("method")) { this.method = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("specimen")) { @@ -2871,6 +3447,7 @@ public class Observation extends DomainResource { case -1926387433: return getInstantiates(); case -246883639: return getInstantiates(); case -332612366: return addBasedOn(); + case -680451314: return addTriggeredBy(); case -995410646: return addPartOf(); case -892481550: return getStatusElement(); case 50511102: return addCategory(); @@ -2888,6 +3465,7 @@ public class Observation extends DomainResource { case -297950712: return addInterpretation(); case 3387378: return addNote(); case 1702620169: return getBodySite(); + case -1001731599: return getBodyStructure(); case -1077554975: return getMethod(); case -2132868344: return getSpecimen(); case -1335157162: return getDevice(); @@ -2906,6 +3484,7 @@ public class Observation extends DomainResource { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -246883639: /*instantiates*/ return new String[] {"canonical", "Reference"}; case -332612366: /*basedOn*/ return new String[] {"Reference"}; + case -680451314: /*triggeredBy*/ return new String[] {}; case -995410646: /*partOf*/ return new String[] {"Reference"}; case -892481550: /*status*/ return new String[] {"code"}; case 50511102: /*category*/ return new String[] {"CodeableConcept"}; @@ -2921,6 +3500,7 @@ public class Observation extends DomainResource { case -297950712: /*interpretation*/ return new String[] {"CodeableConcept"}; case 3387378: /*note*/ return new String[] {"Annotation"}; case 1702620169: /*bodySite*/ return new String[] {"CodeableConcept"}; + case -1001731599: /*bodyStructure*/ return new String[] {"Reference"}; case -1077554975: /*method*/ return new String[] {"CodeableConcept"}; case -2132868344: /*specimen*/ return new String[] {"Reference"}; case -1335157162: /*device*/ return new String[] {"Reference"}; @@ -2949,6 +3529,9 @@ public class Observation extends DomainResource { else if (name.equals("basedOn")) { return addBasedOn(); } + else if (name.equals("triggeredBy")) { + return addTriggeredBy(); + } else if (name.equals("partOf")) { return addPartOf(); } @@ -3057,6 +3640,10 @@ public class Observation extends DomainResource { this.bodySite = new CodeableConcept(); return this.bodySite; } + else if (name.equals("bodyStructure")) { + this.bodyStructure = new Reference(); + return this.bodyStructure; + } else if (name.equals("method")) { this.method = new CodeableConcept(); return this.method; @@ -3109,6 +3696,11 @@ public class Observation extends DomainResource { for (Reference i : basedOn) dst.basedOn.add(i.copy()); }; + if (triggeredBy != null) { + dst.triggeredBy = new ArrayList(); + for (ObservationTriggeredByComponent i : triggeredBy) + dst.triggeredBy.add(i.copy()); + }; if (partOf != null) { dst.partOf = new ArrayList(); for (Reference i : partOf) @@ -3148,6 +3740,7 @@ public class Observation extends DomainResource { dst.note.add(i.copy()); }; dst.bodySite = bodySite == null ? null : bodySite.copy(); + dst.bodyStructure = bodyStructure == null ? null : bodyStructure.copy(); dst.method = method == null ? null : method.copy(); dst.specimen = specimen == null ? null : specimen.copy(); dst.device = device == null ? null : device.copy(); @@ -3185,15 +3778,15 @@ public class Observation extends DomainResource { return false; Observation o = (Observation) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(instantiates, o.instantiates, true) - && compareDeep(basedOn, o.basedOn, true) && compareDeep(partOf, o.partOf, true) && compareDeep(status, o.status, true) - && compareDeep(category, o.category, true) && compareDeep(code, o.code, true) && compareDeep(subject, o.subject, true) - && compareDeep(focus, o.focus, true) && compareDeep(encounter, o.encounter, true) && compareDeep(effective, o.effective, true) - && compareDeep(issued, o.issued, true) && compareDeep(performer, o.performer, true) && compareDeep(value, o.value, true) - && compareDeep(dataAbsentReason, o.dataAbsentReason, true) && compareDeep(interpretation, o.interpretation, true) - && compareDeep(note, o.note, true) && compareDeep(bodySite, o.bodySite, true) && compareDeep(method, o.method, true) - && compareDeep(specimen, o.specimen, true) && compareDeep(device, o.device, true) && compareDeep(referenceRange, o.referenceRange, true) - && compareDeep(hasMember, o.hasMember, true) && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(component, o.component, true) - ; + && compareDeep(basedOn, o.basedOn, true) && compareDeep(triggeredBy, o.triggeredBy, true) && compareDeep(partOf, o.partOf, true) + && compareDeep(status, o.status, true) && compareDeep(category, o.category, true) && compareDeep(code, o.code, true) + && compareDeep(subject, o.subject, true) && compareDeep(focus, o.focus, true) && compareDeep(encounter, o.encounter, true) + && compareDeep(effective, o.effective, true) && compareDeep(issued, o.issued, true) && compareDeep(performer, o.performer, true) + && compareDeep(value, o.value, true) && compareDeep(dataAbsentReason, o.dataAbsentReason, true) + && compareDeep(interpretation, o.interpretation, true) && compareDeep(note, o.note, true) && compareDeep(bodySite, o.bodySite, true) + && compareDeep(bodyStructure, o.bodyStructure, true) && compareDeep(method, o.method, true) && compareDeep(specimen, o.specimen, true) + && compareDeep(device, o.device, true) && compareDeep(referenceRange, o.referenceRange, true) && compareDeep(hasMember, o.hasMember, true) + && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(component, o.component, true); } @Override @@ -3208,9 +3801,10 @@ public class Observation extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiates, basedOn - , partOf, status, category, code, subject, focus, encounter, effective, issued - , performer, value, dataAbsentReason, interpretation, note, bodySite, method, specimen - , device, referenceRange, hasMember, derivedFrom, component); + , triggeredBy, partOf, status, category, code, subject, focus, encounter, effective + , issued, performer, value, dataAbsentReason, interpretation, note, bodySite, bodyStructure + , method, specimen, device, referenceRange, hasMember, derivedFrom, component + ); } @Override @@ -3218,1062 +3812,6 @@ public class Observation extends DomainResource { return ResourceType.Observation; } - /** - * Search parameter: based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: Observation.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Observation.basedOn", description="Reference to the service request.", type="reference", target={CarePlan.class, DeviceRequest.class, ImmunizationRecommendation.class, MedicationRequest.class, NutritionOrder.class, ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: Observation.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Observation:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: The classification of the type of observation
- * Type: token
- * Path: Observation.category
- *

- */ - @SearchParamDefinition(name="category", path="Observation.category", description="The classification of the type of observation", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: The classification of the type of observation
- * Type: token
- * Path: Observation.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: code-value-concept - *

- * Description: Code and coded value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - @SearchParamDefinition(name="code-value-concept", path="Observation", description="Code and coded value parameter pair", type="composite", compositeOf={"code", "value-concept"} ) - public static final String SP_CODE_VALUE_CONCEPT = "code-value-concept"; - /** - * Fluent Client search parameter constant for code-value-concept - *

- * Description: Code and coded value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CODE_VALUE_CONCEPT = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CODE_VALUE_CONCEPT); - - /** - * Search parameter: code-value-date - *

- * Description: Code and date/time value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - @SearchParamDefinition(name="code-value-date", path="Observation", description="Code and date/time value parameter pair", type="composite", compositeOf={"code", "value-date"} ) - public static final String SP_CODE_VALUE_DATE = "code-value-date"; - /** - * Fluent Client search parameter constant for code-value-date - *

- * Description: Code and date/time value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CODE_VALUE_DATE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CODE_VALUE_DATE); - - /** - * Search parameter: code-value-quantity - *

- * Description: Code and quantity value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - @SearchParamDefinition(name="code-value-quantity", path="Observation", description="Code and quantity value parameter pair", type="composite", compositeOf={"code", "value-quantity"} ) - public static final String SP_CODE_VALUE_QUANTITY = "code-value-quantity"; - /** - * Fluent Client search parameter constant for code-value-quantity - *

- * Description: Code and quantity value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CODE_VALUE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CODE_VALUE_QUANTITY); - - /** - * Search parameter: code-value-string - *

- * Description: Code and string value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - @SearchParamDefinition(name="code-value-string", path="Observation", description="Code and string value parameter pair", type="composite", compositeOf={"code", "value-string"} ) - public static final String SP_CODE_VALUE_STRING = "code-value-string"; - /** - * Fluent Client search parameter constant for code-value-string - *

- * Description: Code and string value parameter pair
- * Type: composite
- * Path: Observation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CODE_VALUE_STRING = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CODE_VALUE_STRING); - - /** - * Search parameter: combo-code-value-concept - *

- * Description: Code and coded value parameter pair, including in components
- * Type: composite
- * Path: Observation | Observation.component
- *

- */ - @SearchParamDefinition(name="combo-code-value-concept", path="Observation | Observation.component", description="Code and coded value parameter pair, including in components", type="composite", compositeOf={"combo-code", "combo-value-concept"} ) - public static final String SP_COMBO_CODE_VALUE_CONCEPT = "combo-code-value-concept"; - /** - * Fluent Client search parameter constant for combo-code-value-concept - *

- * Description: Code and coded value parameter pair, including in components
- * Type: composite
- * Path: Observation | Observation.component
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam COMBO_CODE_VALUE_CONCEPT = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_COMBO_CODE_VALUE_CONCEPT); - - /** - * Search parameter: combo-code-value-quantity - *

- * Description: Code and quantity value parameter pair, including in components
- * Type: composite
- * Path: Observation | Observation.component
- *

- */ - @SearchParamDefinition(name="combo-code-value-quantity", path="Observation | Observation.component", description="Code and quantity value parameter pair, including in components", type="composite", compositeOf={"combo-code", "combo-value-quantity"} ) - public static final String SP_COMBO_CODE_VALUE_QUANTITY = "combo-code-value-quantity"; - /** - * Fluent Client search parameter constant for combo-code-value-quantity - *

- * Description: Code and quantity value parameter pair, including in components
- * Type: composite
- * Path: Observation | Observation.component
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam COMBO_CODE_VALUE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_COMBO_CODE_VALUE_QUANTITY); - - /** - * Search parameter: combo-code - *

- * Description: The code of the observation type or component type
- * Type: token
- * Path: Observation.code | Observation.component.code
- *

- */ - @SearchParamDefinition(name="combo-code", path="Observation.code | Observation.component.code", description="The code of the observation type or component type", type="token" ) - public static final String SP_COMBO_CODE = "combo-code"; - /** - * Fluent Client search parameter constant for combo-code - *

- * Description: The code of the observation type or component type
- * Type: token
- * Path: Observation.code | Observation.component.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMBO_CODE); - - /** - * Search parameter: combo-data-absent-reason - *

- * Description: The reason why the expected value in the element Observation.value[x] or Observation.component.value[x] is missing.
- * Type: token
- * Path: Observation.dataAbsentReason | Observation.component.dataAbsentReason
- *

- */ - @SearchParamDefinition(name="combo-data-absent-reason", path="Observation.dataAbsentReason | Observation.component.dataAbsentReason", description="The reason why the expected value in the element Observation.value[x] or Observation.component.value[x] is missing.", type="token" ) - public static final String SP_COMBO_DATA_ABSENT_REASON = "combo-data-absent-reason"; - /** - * Fluent Client search parameter constant for combo-data-absent-reason - *

- * Description: The reason why the expected value in the element Observation.value[x] or Observation.component.value[x] is missing.
- * Type: token
- * Path: Observation.dataAbsentReason | Observation.component.dataAbsentReason
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_DATA_ABSENT_REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMBO_DATA_ABSENT_REASON); - - /** - * Search parameter: combo-value-concept - *

- * Description: The value or component value of the observation, if the value is a CodeableConcept
- * Type: token
- * Path: (Observation.value as CodeableConcept) | (Observation.component.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="combo-value-concept", path="(Observation.value as CodeableConcept) | (Observation.component.value as CodeableConcept)", description="The value or component value of the observation, if the value is a CodeableConcept", type="token" ) - public static final String SP_COMBO_VALUE_CONCEPT = "combo-value-concept"; - /** - * Fluent Client search parameter constant for combo-value-concept - *

- * Description: The value or component value of the observation, if the value is a CodeableConcept
- * Type: token
- * Path: (Observation.value as CodeableConcept) | (Observation.component.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_VALUE_CONCEPT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMBO_VALUE_CONCEPT); - - /** - * Search parameter: combo-value-quantity - *

- * Description: The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
- * Type: quantity
- * Path: (Observation.value as Quantity) | (Observation.value as SampledData) | (Observation.component.value as Quantity) | (Observation.component.value as SampledData)
- *

- */ - @SearchParamDefinition(name="combo-value-quantity", path="(Observation.value as Quantity) | (Observation.value as SampledData) | (Observation.component.value as Quantity) | (Observation.component.value as SampledData)", description="The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)", type="quantity" ) - public static final String SP_COMBO_VALUE_QUANTITY = "combo-value-quantity"; - /** - * Fluent Client search parameter constant for combo-value-quantity - *

- * Description: The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
- * Type: quantity
- * Path: (Observation.value as Quantity) | (Observation.value as SampledData) | (Observation.component.value as Quantity) | (Observation.component.value as SampledData)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam COMBO_VALUE_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_COMBO_VALUE_QUANTITY); - - /** - * Search parameter: component-code-value-concept - *

- * Description: Component code and component coded value parameter pair
- * Type: composite
- * Path: Observation.component
- *

- */ - @SearchParamDefinition(name="component-code-value-concept", path="Observation.component", description="Component code and component coded value parameter pair", type="composite", compositeOf={"component-code", "component-value-concept"} ) - public static final String SP_COMPONENT_CODE_VALUE_CONCEPT = "component-code-value-concept"; - /** - * Fluent Client search parameter constant for component-code-value-concept - *

- * Description: Component code and component coded value parameter pair
- * Type: composite
- * Path: Observation.component
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam COMPONENT_CODE_VALUE_CONCEPT = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_COMPONENT_CODE_VALUE_CONCEPT); - - /** - * Search parameter: component-code-value-quantity - *

- * Description: Component code and component quantity value parameter pair
- * Type: composite
- * Path: Observation.component
- *

- */ - @SearchParamDefinition(name="component-code-value-quantity", path="Observation.component", description="Component code and component quantity value parameter pair", type="composite", compositeOf={"component-code", "component-value-quantity"} ) - public static final String SP_COMPONENT_CODE_VALUE_QUANTITY = "component-code-value-quantity"; - /** - * Fluent Client search parameter constant for component-code-value-quantity - *

- * Description: Component code and component quantity value parameter pair
- * Type: composite
- * Path: Observation.component
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam COMPONENT_CODE_VALUE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_COMPONENT_CODE_VALUE_QUANTITY); - - /** - * Search parameter: component-code - *

- * Description: The component code of the observation type
- * Type: token
- * Path: Observation.component.code
- *

- */ - @SearchParamDefinition(name="component-code", path="Observation.component.code", description="The component code of the observation type", type="token" ) - public static final String SP_COMPONENT_CODE = "component-code"; - /** - * Fluent Client search parameter constant for component-code - *

- * Description: The component code of the observation type
- * Type: token
- * Path: Observation.component.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMPONENT_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMPONENT_CODE); - - /** - * Search parameter: component-data-absent-reason - *

- * Description: The reason why the expected value in the element Observation.component.value[x] is missing.
- * Type: token
- * Path: Observation.component.dataAbsentReason
- *

- */ - @SearchParamDefinition(name="component-data-absent-reason", path="Observation.component.dataAbsentReason", description="The reason why the expected value in the element Observation.component.value[x] is missing.", type="token" ) - public static final String SP_COMPONENT_DATA_ABSENT_REASON = "component-data-absent-reason"; - /** - * Fluent Client search parameter constant for component-data-absent-reason - *

- * Description: The reason why the expected value in the element Observation.component.value[x] is missing.
- * Type: token
- * Path: Observation.component.dataAbsentReason
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMPONENT_DATA_ABSENT_REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMPONENT_DATA_ABSENT_REASON); - - /** - * Search parameter: component-value-concept - *

- * Description: The value of the component observation, if the value is a CodeableConcept
- * Type: token
- * Path: (Observation.component.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="component-value-concept", path="(Observation.component.value as CodeableConcept)", description="The value of the component observation, if the value is a CodeableConcept", type="token" ) - public static final String SP_COMPONENT_VALUE_CONCEPT = "component-value-concept"; - /** - * Fluent Client search parameter constant for component-value-concept - *

- * Description: The value of the component observation, if the value is a CodeableConcept
- * Type: token
- * Path: (Observation.component.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMPONENT_VALUE_CONCEPT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMPONENT_VALUE_CONCEPT); - - /** - * Search parameter: component-value-quantity - *

- * Description: The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
- * Type: quantity
- * Path: (Observation.component.value as Quantity) | (Observation.component.value as SampledData)
- *

- */ - @SearchParamDefinition(name="component-value-quantity", path="(Observation.component.value as Quantity) | (Observation.component.value as SampledData)", description="The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)", type="quantity" ) - public static final String SP_COMPONENT_VALUE_QUANTITY = "component-value-quantity"; - /** - * Fluent Client search parameter constant for component-value-quantity - *

- * Description: The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
- * Type: quantity
- * Path: (Observation.component.value as Quantity) | (Observation.component.value as SampledData)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam COMPONENT_VALUE_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_COMPONENT_VALUE_QUANTITY); - - /** - * Search parameter: data-absent-reason - *

- * Description: The reason why the expected value in the element Observation.value[x] is missing.
- * Type: token
- * Path: Observation.dataAbsentReason
- *

- */ - @SearchParamDefinition(name="data-absent-reason", path="Observation.dataAbsentReason", description="The reason why the expected value in the element Observation.value[x] is missing.", type="token" ) - public static final String SP_DATA_ABSENT_REASON = "data-absent-reason"; - /** - * Fluent Client search parameter constant for data-absent-reason - *

- * Description: The reason why the expected value in the element Observation.value[x] is missing.
- * Type: token
- * Path: Observation.dataAbsentReason
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DATA_ABSENT_REASON = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DATA_ABSENT_REASON); - - /** - * Search parameter: derived-from - *

- * Description: Related measurements the observation is made from
- * Type: reference
- * Path: Observation.derivedFrom
- *

- */ - @SearchParamDefinition(name="derived-from", path="Observation.derivedFrom", description="Related measurements the observation is made from", type="reference", target={DocumentReference.class, ImagingStudy.class, MolecularSequence.class, Observation.class, QuestionnaireResponse.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: Related measurements the observation is made from
- * Type: reference
- * Path: Observation.derivedFrom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("Observation:derived-from").toLocked(); - - /** - * Search parameter: device - *

- * Description: The Device that generated the observation data.
- * Type: reference
- * Path: Observation.device
- *

- */ - @SearchParamDefinition(name="device", path="Observation.device", description="The Device that generated the observation data.", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device") }, target={Device.class, DeviceMetric.class } ) - public static final String SP_DEVICE = "device"; - /** - * Fluent Client search parameter constant for device - *

- * Description: The Device that generated the observation data.
- * Type: reference
- * Path: Observation.device
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:device". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE = new ca.uhn.fhir.model.api.Include("Observation:device").toLocked(); - - /** - * Search parameter: focus - *

- * Description: The focus of an observation when the focus is not the patient of record.
- * Type: reference
- * Path: Observation.focus
- *

- */ - @SearchParamDefinition(name="focus", path="Observation.focus", description="The focus of an observation when the focus is not the patient of record.", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_FOCUS = "focus"; - /** - * Fluent Client search parameter constant for focus - *

- * Description: The focus of an observation when the focus is not the patient of record.
- * Type: reference
- * Path: Observation.focus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FOCUS); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:focus". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS = new ca.uhn.fhir.model.api.Include("Observation:focus").toLocked(); - - /** - * Search parameter: has-member - *

- * Description: Related resource that belongs to the Observation group
- * Type: reference
- * Path: Observation.hasMember
- *

- */ - @SearchParamDefinition(name="has-member", path="Observation.hasMember", description="Related resource that belongs to the Observation group", type="reference", target={MolecularSequence.class, Observation.class, QuestionnaireResponse.class } ) - public static final String SP_HAS_MEMBER = "has-member"; - /** - * Fluent Client search parameter constant for has-member - *

- * Description: Related resource that belongs to the Observation group
- * Type: reference
- * Path: Observation.hasMember
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam HAS_MEMBER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_HAS_MEMBER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:has-member". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_HAS_MEMBER = new ca.uhn.fhir.model.api.Include("Observation:has-member").toLocked(); - - /** - * Search parameter: method - *

- * Description: The method used for the observation
- * Type: token
- * Path: Observation.method
- *

- */ - @SearchParamDefinition(name="method", path="Observation.method", description="The method used for the observation", type="token" ) - public static final String SP_METHOD = "method"; - /** - * Fluent Client search parameter constant for method - *

- * Description: The method used for the observation
- * Type: token
- * Path: Observation.method
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam METHOD = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_METHOD); - - /** - * Search parameter: part-of - *

- * Description: Part of referenced event
- * Type: reference
- * Path: Observation.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="Observation.partOf", description="Part of referenced event", type="reference", target={ImagingStudy.class, Immunization.class, MedicationAdministration.class, MedicationDispense.class, MedicationUsage.class, Procedure.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Part of referenced event
- * Type: reference
- * Path: Observation.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("Observation:part-of").toLocked(); - - /** - * Search parameter: performer - *

- * Description: Who performed the observation
- * Type: reference
- * Path: Observation.performer
- *

- */ - @SearchParamDefinition(name="performer", path="Observation.performer", description="Who performed the observation", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Who performed the observation
- * Type: reference
- * Path: Observation.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("Observation:performer").toLocked(); - - /** - * Search parameter: specimen - *

- * Description: Specimen used for this observation
- * Type: reference
- * Path: Observation.specimen
- *

- */ - @SearchParamDefinition(name="specimen", path="Observation.specimen", description="Specimen used for this observation", type="reference", target={Specimen.class } ) - public static final String SP_SPECIMEN = "specimen"; - /** - * Fluent Client search parameter constant for specimen - *

- * Description: Specimen used for this observation
- * Type: reference
- * Path: Observation.specimen
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SPECIMEN = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SPECIMEN); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:specimen". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SPECIMEN = new ca.uhn.fhir.model.api.Include("Observation:specimen").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the observation
- * Type: token
- * Path: Observation.status
- *

- */ - @SearchParamDefinition(name="status", path="Observation.status", description="The status of the observation", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the observation
- * Type: token
- * Path: Observation.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject that the observation is about
- * Type: reference
- * Path: Observation.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Observation.subject", description="The subject that the observation is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Medication.class, NutritionProduct.class, Organization.class, Patient.class, Practitioner.class, Procedure.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject that the observation is about
- * Type: reference
- * Path: Observation.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Observation:subject").toLocked(); - - /** - * Search parameter: value-concept - *

- * Description: The value of the observation, if the value is a CodeableConcept
- * Type: token
- * Path: (Observation.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="value-concept", path="(Observation.value as CodeableConcept)", description="The value of the observation, if the value is a CodeableConcept", type="token" ) - public static final String SP_VALUE_CONCEPT = "value-concept"; - /** - * Fluent Client search parameter constant for value-concept - *

- * Description: The value of the observation, if the value is a CodeableConcept
- * Type: token
- * Path: (Observation.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VALUE_CONCEPT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VALUE_CONCEPT); - - /** - * Search parameter: value-date - *

- * Description: The value of the observation, if the value is a date or period of time
- * Type: date
- * Path: (Observation.value as dateTime) | (Observation.value as Period)
- *

- */ - @SearchParamDefinition(name="value-date", path="(Observation.value as dateTime) | (Observation.value as Period)", description="The value of the observation, if the value is a date or period of time", type="date" ) - public static final String SP_VALUE_DATE = "value-date"; - /** - * Fluent Client search parameter constant for value-date - *

- * Description: The value of the observation, if the value is a date or period of time
- * Type: date
- * Path: (Observation.value as dateTime) | (Observation.value as Period)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam VALUE_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_VALUE_DATE); - - /** - * Search parameter: value-quantity - *

- * Description: The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
- * Type: quantity
- * Path: (Observation.value as Quantity) | (Observation.value as SampledData)
- *

- */ - @SearchParamDefinition(name="value-quantity", path="(Observation.value as Quantity) | (Observation.value as SampledData)", description="The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)", type="quantity" ) - public static final String SP_VALUE_QUANTITY = "value-quantity"; - /** - * Fluent Client search parameter constant for value-quantity - *

- * Description: The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
- * Type: quantity
- * Path: (Observation.value as Quantity) | (Observation.value as SampledData)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam VALUE_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_VALUE_QUANTITY); - - /** - * Search parameter: value-string - *

- * Description: The value of the observation, if the value is a string, and also searches in CodeableConcept.text
- * Type: string
- * Path: (Observation.value as string) | (Observation.value as CodeableConcept).text
- *

- */ - @SearchParamDefinition(name="value-string", path="(Observation.value as string) | (Observation.value as CodeableConcept).text", description="The value of the observation, if the value is a string, and also searches in CodeableConcept.text", type="string" ) - public static final String SP_VALUE_STRING = "value-string"; - /** - * Fluent Client search parameter constant for value-string - *

- * Description: The value of the observation, if the value is a string, and also searches in CodeableConcept.text
- * Type: string
- * Path: (Observation.value as string) | (Observation.value as CodeableConcept).text
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam VALUE_STRING = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_VALUE_STRING); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Observation:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Observation:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Observation:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ObservationDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ObservationDefinition.java index 03f1f2a84..c156353f2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ObservationDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ObservationDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -146,6 +146,7 @@ public class ObservationDefinition extends DomainResource { case TIME: return "time"; case DATETIME: return "dateTime"; case PERIOD: return "Period"; + case NULL: return null; default: return "?"; } } @@ -162,6 +163,7 @@ public class ObservationDefinition extends DomainResource { case TIME: return "http://hl7.org/fhir/permitted-data-type"; case DATETIME: return "http://hl7.org/fhir/permitted-data-type"; case PERIOD: return "http://hl7.org/fhir/permitted-data-type"; + case NULL: return null; default: return "?"; } } @@ -178,6 +180,7 @@ public class ObservationDefinition extends DomainResource { case TIME: return "A time during the day, in the format hh:mm:ss."; case DATETIME: return "A date, date-time or partial date (e.g. just year or year + month) as used in human communication."; case PERIOD: return "A time range defined by start and end date/time."; + case NULL: return null; default: return "?"; } } @@ -194,6 +197,7 @@ public class ObservationDefinition extends DomainResource { case TIME: return "time"; case DATETIME: return "dateTime"; case PERIOD: return "Period"; + case NULL: return null; default: return "?"; } } @@ -326,6 +330,7 @@ public class ObservationDefinition extends DomainResource { case REFERENCE: return "reference"; case CRITICAL: return "critical"; case ABSOLUTE: return "absolute"; + case NULL: return null; default: return "?"; } } @@ -334,6 +339,7 @@ public class ObservationDefinition extends DomainResource { case REFERENCE: return "http://hl7.org/fhir/observation-range-category"; case CRITICAL: return "http://hl7.org/fhir/observation-range-category"; case ABSOLUTE: return "http://hl7.org/fhir/observation-range-category"; + case NULL: return null; default: return "?"; } } @@ -342,6 +348,7 @@ public class ObservationDefinition extends DomainResource { case REFERENCE: return "Reference (Normal) Range for Ordinal and Continuous Observations."; case CRITICAL: return "Critical Range for Ordinal and Continuous Observations. Results outside this range are critical."; case ABSOLUTE: return "Absolute Range for Ordinal and Continuous Observations. Results outside this range are not possible."; + case NULL: return null; default: return "?"; } } @@ -350,6 +357,7 @@ public class ObservationDefinition extends DomainResource { case REFERENCE: return "reference range"; case CRITICAL: return "critical range"; case ABSOLUTE: return "absolute range"; + case NULL: return null; default: return "?"; } } @@ -4550,166 +4558,6 @@ public class ObservationDefinition extends DomainResource { return ResourceType.ObservationDefinition; } - /** - * Search parameter: category - *

- * Description: Category (class) of observation
- * Type: token
- * Path: ObservationDefinition.category
- *

- */ - @SearchParamDefinition(name="category", path="ObservationDefinition.category", description="Category (class) of observation", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Category (class) of observation
- * Type: token
- * Path: ObservationDefinition.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: code - *

- * Description: Observation code
- * Type: token
- * Path: ObservationDefinition.code
- *

- */ - @SearchParamDefinition(name="code", path="ObservationDefinition.code", description="Observation code", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Observation code
- * Type: token
- * Path: ObservationDefinition.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: experimental - *

- * Description: Not for genuine usage (true)
- * Type: token
- * Path: ObservationDefinition.experimental
- *

- */ - @SearchParamDefinition(name="experimental", path="ObservationDefinition.experimental", description="Not for genuine usage (true)", type="token" ) - public static final String SP_EXPERIMENTAL = "experimental"; - /** - * Fluent Client search parameter constant for experimental - *

- * Description: Not for genuine usage (true)
- * Type: token
- * Path: ObservationDefinition.experimental
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXPERIMENTAL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXPERIMENTAL); - - /** - * Search parameter: identifier - *

- * Description: The unique identifier associated with the specimen definition
- * Type: token
- * Path: ObservationDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ObservationDefinition.identifier", description="The unique identifier associated with the specimen definition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The unique identifier associated with the specimen definition
- * Type: token
- * Path: ObservationDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: method - *

- * Description: Method of observation
- * Type: token
- * Path: ObservationDefinition.method
- *

- */ - @SearchParamDefinition(name="method", path="ObservationDefinition.method", description="Method of observation", type="token" ) - public static final String SP_METHOD = "method"; - /** - * Fluent Client search parameter constant for method - *

- * Description: Method of observation
- * Type: token
- * Path: ObservationDefinition.method
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam METHOD = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_METHOD); - - /** - * Search parameter: status - *

- * Description: Publication status of the ObservationDefinition: draft, active, retired, unknown
- * Type: token
- * Path: ObservationDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="ObservationDefinition.status", description="Publication status of the ObservationDefinition: draft, active, retired, unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Publication status of the ObservationDefinition: draft, active, retired, unknown
- * Type: token
- * Path: ObservationDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Human-friendly name of the ObservationDefinition
- * Type: string
- * Path: ObservationDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="ObservationDefinition.title", description="Human-friendly name of the ObservationDefinition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Human-friendly name of the ObservationDefinition
- * Type: string
- * Path: ObservationDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the observation definition
- * Type: uri
- * Path: ObservationDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="ObservationDefinition.url", description="The uri that identifies the observation definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the observation definition
- * Type: uri
- * Path: ObservationDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java index dbde9d777..aa5f1e473 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class OperationDefinition extends CanonicalResource { switch (this) { case OPERATION: return "operation"; case QUERY: return "query"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class OperationDefinition extends CanonicalResource { switch (this) { case OPERATION: return "http://hl7.org/fhir/operation-kind"; case QUERY: return "http://hl7.org/fhir/operation-kind"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class OperationDefinition extends CanonicalResource { switch (this) { case OPERATION: return "This operation is invoked as an operation."; case QUERY: return "This operation is a named query, invoked using the search mechanism."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class OperationDefinition extends CanonicalResource { switch (this) { case OPERATION: return "Operation"; case QUERY: return "Query"; + case NULL: return null; default: return "?"; } } @@ -3882,902 +3886,6 @@ public class OperationDefinition extends CanonicalResource { return ResourceType.OperationDefinition; } - /** - * Search parameter: base - *

- * Description: Marks this as a profile of the base
- * Type: reference
- * Path: OperationDefinition.base
- *

- */ - @SearchParamDefinition(name="base", path="OperationDefinition.base", description="Marks this as a profile of the base", type="reference", target={OperationDefinition.class } ) - public static final String SP_BASE = "base"; - /** - * Fluent Client search parameter constant for base - *

- * Description: Marks this as a profile of the base
- * Type: reference
- * Path: OperationDefinition.base
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OperationDefinition:base". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASE = new ca.uhn.fhir.model.api.Include("OperationDefinition:base").toLocked(); - - /** - * Search parameter: code - *

- * Description: Name used to invoke the operation
- * Type: token
- * Path: OperationDefinition.code
- *

- */ - @SearchParamDefinition(name="code", path="OperationDefinition.code", description="Name used to invoke the operation", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Name used to invoke the operation
- * Type: token
- * Path: OperationDefinition.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: input-profile - *

- * Description: Validation information for in parameters
- * Type: reference
- * Path: OperationDefinition.inputProfile
- *

- */ - @SearchParamDefinition(name="input-profile", path="OperationDefinition.inputProfile", description="Validation information for in parameters", type="reference", target={StructureDefinition.class } ) - public static final String SP_INPUT_PROFILE = "input-profile"; - /** - * Fluent Client search parameter constant for input-profile - *

- * Description: Validation information for in parameters
- * Type: reference
- * Path: OperationDefinition.inputProfile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INPUT_PROFILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INPUT_PROFILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OperationDefinition:input-profile". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INPUT_PROFILE = new ca.uhn.fhir.model.api.Include("OperationDefinition:input-profile").toLocked(); - - /** - * Search parameter: instance - *

- * Description: Invoke on an instance?
- * Type: token
- * Path: OperationDefinition.instance
- *

- */ - @SearchParamDefinition(name="instance", path="OperationDefinition.instance", description="Invoke on an instance?", type="token" ) - public static final String SP_INSTANCE = "instance"; - /** - * Fluent Client search parameter constant for instance - *

- * Description: Invoke on an instance?
- * Type: token
- * Path: OperationDefinition.instance
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INSTANCE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INSTANCE); - - /** - * Search parameter: kind - *

- * Description: operation | query
- * Type: token
- * Path: OperationDefinition.kind
- *

- */ - @SearchParamDefinition(name="kind", path="OperationDefinition.kind", description="operation | query", type="token" ) - public static final String SP_KIND = "kind"; - /** - * Fluent Client search parameter constant for kind - *

- * Description: operation | query
- * Type: token
- * Path: OperationDefinition.kind
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_KIND); - - /** - * Search parameter: output-profile - *

- * Description: Validation information for out parameters
- * Type: reference
- * Path: OperationDefinition.outputProfile
- *

- */ - @SearchParamDefinition(name="output-profile", path="OperationDefinition.outputProfile", description="Validation information for out parameters", type="reference", target={StructureDefinition.class } ) - public static final String SP_OUTPUT_PROFILE = "output-profile"; - /** - * Fluent Client search parameter constant for output-profile - *

- * Description: Validation information for out parameters
- * Type: reference
- * Path: OperationDefinition.outputProfile
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OUTPUT_PROFILE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OUTPUT_PROFILE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OperationDefinition:output-profile". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_OUTPUT_PROFILE = new ca.uhn.fhir.model.api.Include("OperationDefinition:output-profile").toLocked(); - - /** - * Search parameter: system - *

- * Description: Invoke at the system level?
- * Type: token
- * Path: OperationDefinition.system
- *

- */ - @SearchParamDefinition(name="system", path="OperationDefinition.system", description="Invoke at the system level?", type="token" ) - public static final String SP_SYSTEM = "system"; - /** - * Fluent Client search parameter constant for system - *

- * Description: Invoke at the system level?
- * Type: token
- * Path: OperationDefinition.system
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SYSTEM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SYSTEM); - - /** - * Search parameter: type - *

- * Description: Invoke at the type level?
- * Type: token
- * Path: OperationDefinition.type
- *

- */ - @SearchParamDefinition(name="type", path="OperationDefinition.type", description="Invoke at the type level?", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Invoke at the type level?
- * Type: token
- * Path: OperationDefinition.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public boolean supportsCopyright() { return false; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationOutcome.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationOutcome.java index ae1f15a57..d85993ac6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationOutcome.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationOutcome.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -97,6 +97,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case ERROR: return "error"; case WARNING: return "warning"; case INFORMATION: return "information"; + case NULL: return null; default: return "?"; } } @@ -106,6 +107,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu 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 NULL: return null; default: return "?"; } } @@ -115,6 +117,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case ERROR: return "The issue is sufficiently important to cause the action to fail."; case WARNING: return "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."; case INFORMATION: return "The issue has no relation to the degree of success of the action."; + case NULL: return null; default: return "?"; } } @@ -124,6 +127,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case ERROR: return "Error"; case WARNING: return "Warning"; case INFORMATION: return "Information"; + case NULL: return null; default: return "?"; } } @@ -410,6 +414,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case INCOMPLETE: return "incomplete"; case THROTTLED: return "throttled"; case INFORMATIONAL: return "informational"; + case NULL: return null; default: return "?"; } } @@ -446,6 +451,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case INCOMPLETE: return "http://hl7.org/fhir/issue-type"; case THROTTLED: return "http://hl7.org/fhir/issue-type"; case INFORMATIONAL: return "http://hl7.org/fhir/issue-type"; + case NULL: return null; default: return "?"; } } @@ -482,6 +488,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case INCOMPLETE: return "Not all data sources typically accessed could be reached or responded in time, so the returned information might not be complete (applies to search interactions and some operations)."; 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.)."; + case NULL: return null; default: return "?"; } } @@ -518,6 +525,7 @@ public class OperationOutcome extends DomainResource implements IBaseOperationOu case INCOMPLETE: return "Incomplete Results"; case THROTTLED: return "Throttled"; case INFORMATIONAL: return "Informational Note"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Organization.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Organization.java index b18970178..a9746092d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Organization.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Organization.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -53,334 +53,6 @@ import ca.uhn.fhir.model.api.annotation.Block; @ResourceDef(name="Organization", profile="http://hl7.org/fhir/StructureDefinition/Organization") public class Organization extends DomainResource { - @Block() - public static class OrganizationContactComponent extends BackboneElement implements IBaseBackboneElement { - /** - * Indicates a purpose for which the contact can be reached. - */ - @Child(name = "purpose", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="The type of contact", formalDefinition="Indicates a purpose for which the contact can be reached." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/contactentity-type") - protected CodeableConcept purpose; - - /** - * A name associated with the contact. - */ - @Child(name = "name", type = {HumanName.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="A name associated with the contact", formalDefinition="A name associated with the contact." ) - protected HumanName name; - - /** - * A contact detail (e.g. a telephone number or an email address) by which the party may be contacted. - */ - @Child(name = "telecom", type = {ContactPoint.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Contact details (telephone, email, etc.) for a contact", formalDefinition="A contact detail (e.g. a telephone number or an email address) by which the party may be contacted." ) - protected List telecom; - - /** - * Visiting or postal addresses for the contact. - */ - @Child(name = "address", type = {Address.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Visiting or postal addresses for the contact", formalDefinition="Visiting or postal addresses for the contact." ) - protected Address address; - - private static final long serialVersionUID = 1831121305L; - - /** - * Constructor - */ - public OrganizationContactComponent() { - super(); - } - - /** - * @return {@link #purpose} (Indicates a purpose for which the contact can be reached.) - */ - public CodeableConcept getPurpose() { - if (this.purpose == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OrganizationContactComponent.purpose"); - else if (Configuration.doAutoCreate()) - this.purpose = new CodeableConcept(); // cc - return this.purpose; - } - - public boolean hasPurpose() { - return this.purpose != null && !this.purpose.isEmpty(); - } - - /** - * @param value {@link #purpose} (Indicates a purpose for which the contact can be reached.) - */ - public OrganizationContactComponent setPurpose(CodeableConcept value) { - this.purpose = value; - return this; - } - - /** - * @return {@link #name} (A name associated with the contact.) - */ - public HumanName getName() { - if (this.name == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OrganizationContactComponent.name"); - else if (Configuration.doAutoCreate()) - this.name = new HumanName(); // cc - return this.name; - } - - public boolean hasName() { - return this.name != null && !this.name.isEmpty(); - } - - /** - * @param value {@link #name} (A name associated with the contact.) - */ - public OrganizationContactComponent setName(HumanName value) { - this.name = value; - return this; - } - - /** - * @return {@link #telecom} (A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.) - */ - public List getTelecom() { - if (this.telecom == null) - this.telecom = new ArrayList(); - return this.telecom; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public OrganizationContactComponent setTelecom(List theTelecom) { - this.telecom = theTelecom; - return this; - } - - public boolean hasTelecom() { - if (this.telecom == null) - return false; - for (ContactPoint item : this.telecom) - if (!item.isEmpty()) - return true; - return false; - } - - public ContactPoint addTelecom() { //3 - ContactPoint t = new ContactPoint(); - if (this.telecom == null) - this.telecom = new ArrayList(); - this.telecom.add(t); - return t; - } - - public OrganizationContactComponent addTelecom(ContactPoint t) { //3 - if (t == null) - return this; - if (this.telecom == null) - this.telecom = new ArrayList(); - this.telecom.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #telecom}, creating it if it does not already exist {3} - */ - public ContactPoint getTelecomFirstRep() { - if (getTelecom().isEmpty()) { - addTelecom(); - } - return getTelecom().get(0); - } - - /** - * @return {@link #address} (Visiting or postal addresses for the contact.) - */ - public Address getAddress() { - if (this.address == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create OrganizationContactComponent.address"); - else if (Configuration.doAutoCreate()) - this.address = new Address(); // cc - return this.address; - } - - public boolean hasAddress() { - return this.address != null && !this.address.isEmpty(); - } - - /** - * @param value {@link #address} (Visiting or postal addresses for the contact.) - */ - public OrganizationContactComponent setAddress(Address value) { - this.address = value; - return this; - } - - protected void listChildren(List children) { - super.listChildren(children); - children.add(new Property("purpose", "CodeableConcept", "Indicates a purpose for which the contact can be reached.", 0, 1, purpose)); - children.add(new Property("name", "HumanName", "A name associated with the contact.", 0, 1, name)); - children.add(new Property("telecom", "ContactPoint", "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", 0, java.lang.Integer.MAX_VALUE, telecom)); - children.add(new Property("address", "Address", "Visiting or postal addresses for the contact.", 0, 1, address)); - } - - @Override - public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { - switch (_hash) { - case -220463842: /*purpose*/ return new Property("purpose", "CodeableConcept", "Indicates a purpose for which the contact can be reached.", 0, 1, purpose); - case 3373707: /*name*/ return new Property("name", "HumanName", "A name associated with the contact.", 0, 1, name); - case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", 0, java.lang.Integer.MAX_VALUE, telecom); - case -1147692044: /*address*/ return new Property("address", "Address", "Visiting or postal addresses for the contact.", 0, 1, address); - default: return super.getNamedProperty(_hash, _name, _checkValid); - } - - } - - @Override - public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { - switch (hash) { - case -220463842: /*purpose*/ return this.purpose == null ? new Base[0] : new Base[] {this.purpose}; // CodeableConcept - case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // HumanName - case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint - case -1147692044: /*address*/ return this.address == null ? new Base[0] : new Base[] {this.address}; // Address - default: return super.getProperty(hash, name, checkValid); - } - - } - - @Override - public Base setProperty(int hash, String name, Base value) throws FHIRException { - switch (hash) { - case -220463842: // purpose - this.purpose = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case 3373707: // name - this.name = TypeConvertor.castToHumanName(value); // HumanName - return value; - case -1429363305: // telecom - this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint - return value; - case -1147692044: // address - this.address = TypeConvertor.castToAddress(value); // Address - return value; - default: return super.setProperty(hash, name, value); - } - - } - - @Override - public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("purpose")) { - this.purpose = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("name")) { - this.name = TypeConvertor.castToHumanName(value); // HumanName - } else if (name.equals("telecom")) { - this.getTelecom().add(TypeConvertor.castToContactPoint(value)); - } else if (name.equals("address")) { - this.address = TypeConvertor.castToAddress(value); // Address - } else - return super.setProperty(name, value); - return value; - } - - @Override - public Base makeProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -220463842: return getPurpose(); - case 3373707: return getName(); - case -1429363305: return addTelecom(); - case -1147692044: return getAddress(); - default: return super.makeProperty(hash, name); - } - - } - - @Override - public String[] getTypesForProperty(int hash, String name) throws FHIRException { - switch (hash) { - case -220463842: /*purpose*/ return new String[] {"CodeableConcept"}; - case 3373707: /*name*/ return new String[] {"HumanName"}; - case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; - case -1147692044: /*address*/ return new String[] {"Address"}; - default: return super.getTypesForProperty(hash, name); - } - - } - - @Override - public Base addChild(String name) throws FHIRException { - if (name.equals("purpose")) { - this.purpose = new CodeableConcept(); - return this.purpose; - } - else if (name.equals("name")) { - this.name = new HumanName(); - return this.name; - } - else if (name.equals("telecom")) { - return addTelecom(); - } - else if (name.equals("address")) { - this.address = new Address(); - return this.address; - } - else - return super.addChild(name); - } - - public OrganizationContactComponent copy() { - OrganizationContactComponent dst = new OrganizationContactComponent(); - copyValues(dst); - return dst; - } - - public void copyValues(OrganizationContactComponent dst) { - super.copyValues(dst); - dst.purpose = purpose == null ? null : purpose.copy(); - dst.name = name == null ? null : name.copy(); - if (telecom != null) { - dst.telecom = new ArrayList(); - for (ContactPoint i : telecom) - dst.telecom.add(i.copy()); - }; - dst.address = address == null ? null : address.copy(); - } - - @Override - public boolean equalsDeep(Base other_) { - if (!super.equalsDeep(other_)) - return false; - if (!(other_ instanceof OrganizationContactComponent)) - return false; - OrganizationContactComponent o = (OrganizationContactComponent) other_; - return compareDeep(purpose, o.purpose, true) && compareDeep(name, o.name, true) && compareDeep(telecom, o.telecom, true) - && compareDeep(address, o.address, true); - } - - @Override - public boolean equalsShallow(Base other_) { - if (!super.equalsShallow(other_)) - return false; - if (!(other_ instanceof OrganizationContactComponent)) - return false; - OrganizationContactComponent o = (OrganizationContactComponent) other_; - return true; - } - - public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(purpose, name, telecom, address - ); - } - - public String fhirType() { - return "Organization.contact"; - - } - - } - /** * Identifier for the organization that is used to identify the organization across multiple disparate systems. */ @@ -417,42 +89,49 @@ public class Organization extends DomainResource { @Description(shortDefinition="A list of alternate names that the organization is known as, or was known as in the past", formalDefinition="A list of alternate names that the organization is known as, or was known as in the past." ) protected List alias; + /** + * Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected. + */ + @Child(name = "description", type = {StringType.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Additional details about the Organization that could be displayed as further information to identify the Organization beyond its name", formalDefinition="Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected." ) + protected StringType description; + + /** + * The contact details of communication devices available relevant to the specific Organization. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites. + */ + @Child(name = "contact", type = {ExtendedContactDetail.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Official contact details for the Organization", formalDefinition="The contact details of communication devices available relevant to the specific Organization. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites." ) + protected List contact; + /** * A contact detail for the organization. */ - @Child(name = "telecom", type = {ContactPoint.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="A contact detail for the organization", formalDefinition="A contact detail for the organization." ) + @Child(name = "telecom", type = {ContactPoint.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Deprecated - use contact.telecom", formalDefinition="A contact detail for the organization." ) protected List telecom; /** * An address for the organization. */ - @Child(name = "address", type = {Address.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="An address for the organization", formalDefinition="An address for the organization." ) + @Child(name = "address", type = {Address.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Deprecated - use contact.address", formalDefinition="An address for the organization." ) protected List
address; /** * The organization of which this organization forms a part. */ - @Child(name = "partOf", type = {Organization.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "partOf", type = {Organization.class}, order=9, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The organization of which this organization forms a part", formalDefinition="The organization of which this organization forms a part." ) protected Reference partOf; - /** - * Contact for the organization for a certain purpose. - */ - @Child(name = "contact", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="Contact for the organization for a certain purpose", formalDefinition="Contact for the organization for a certain purpose." ) - protected List contact; - /** * Technical endpoints providing access to services operated for the organization. */ - @Child(name = "endpoint", type = {Endpoint.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "endpoint", type = {Endpoint.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Technical endpoints providing access to services operated for the organization", formalDefinition="Technical endpoints providing access to services operated for the organization." ) protected List endpoint; - private static final long serialVersionUID = -1305337184L; + private static final long serialVersionUID = 1907198333L; /** * Constructor @@ -722,6 +401,108 @@ public class Organization extends DomainResource { return false; } + /** + * @return {@link #description} (Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected.). 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 Organization.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} (Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public Organization setDescriptionElement(StringType value) { + this.description = value; + return this; + } + + /** + * @return Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected. + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected. + */ + public Organization 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 #contact} (The contact details of communication devices available relevant to the specific Organization. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.) + */ + public List getContact() { + if (this.contact == null) + this.contact = new ArrayList(); + return this.contact; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Organization setContact(List theContact) { + this.contact = theContact; + return this; + } + + public boolean hasContact() { + if (this.contact == null) + return false; + for (ExtendedContactDetail item : this.contact) + if (!item.isEmpty()) + return true; + return false; + } + + public ExtendedContactDetail addContact() { //3 + ExtendedContactDetail t = new ExtendedContactDetail(); + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return t; + } + + public Organization addContact(ExtendedContactDetail t) { //3 + if (t == null) + return this; + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} + */ + public ExtendedContactDetail getContactFirstRep() { + if (getContact().isEmpty()) { + addContact(); + } + return getContact().get(0); + } + /** * @return {@link #telecom} (A contact detail for the organization.) */ @@ -852,59 +633,6 @@ public class Organization extends DomainResource { return this; } - /** - * @return {@link #contact} (Contact for the organization for a certain purpose.) - */ - public List getContact() { - if (this.contact == null) - this.contact = new ArrayList(); - return this.contact; - } - - /** - * @return Returns a reference to this for easy method chaining - */ - public Organization setContact(List theContact) { - this.contact = theContact; - return this; - } - - public boolean hasContact() { - if (this.contact == null) - return false; - for (OrganizationContactComponent item : this.contact) - if (!item.isEmpty()) - return true; - return false; - } - - public OrganizationContactComponent addContact() { //3 - OrganizationContactComponent t = new OrganizationContactComponent(); - if (this.contact == null) - this.contact = new ArrayList(); - this.contact.add(t); - return t; - } - - public Organization addContact(OrganizationContactComponent t) { //3 - if (t == null) - return this; - if (this.contact == null) - this.contact = new ArrayList(); - this.contact.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} - */ - public OrganizationContactComponent getContactFirstRep() { - if (getContact().isEmpty()) { - addContact(); - } - return getContact().get(0); - } - /** * @return {@link #endpoint} (Technical endpoints providing access to services operated for the organization.) */ @@ -965,10 +693,11 @@ public class Organization extends DomainResource { children.add(new Property("type", "CodeableConcept", "The kind(s) of organization that this is.", 0, java.lang.Integer.MAX_VALUE, type)); children.add(new Property("name", "string", "A name associated with the organization.", 0, 1, name)); children.add(new Property("alias", "string", "A list of alternate names that the organization is known as, or was known as in the past.", 0, java.lang.Integer.MAX_VALUE, alias)); + children.add(new Property("description", "string", "Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected.", 0, 1, description)); + children.add(new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific Organization. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("telecom", "ContactPoint", "A contact detail for the organization.", 0, java.lang.Integer.MAX_VALUE, telecom)); children.add(new Property("address", "Address", "An address for the organization.", 0, java.lang.Integer.MAX_VALUE, address)); children.add(new Property("partOf", "Reference(Organization)", "The organization of which this organization forms a part.", 0, 1, partOf)); - children.add(new Property("contact", "", "Contact for the organization for a certain purpose.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("endpoint", "Reference(Endpoint)", "Technical endpoints providing access to services operated for the organization.", 0, java.lang.Integer.MAX_VALUE, endpoint)); } @@ -980,10 +709,11 @@ public class Organization extends DomainResource { case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The kind(s) of organization that this is.", 0, java.lang.Integer.MAX_VALUE, type); case 3373707: /*name*/ return new Property("name", "string", "A name associated with the organization.", 0, 1, name); case 92902992: /*alias*/ return new Property("alias", "string", "A list of alternate names that the organization is known as, or was known as in the past.", 0, java.lang.Integer.MAX_VALUE, alias); + case -1724546052: /*description*/ return new Property("description", "string", "Description of the organization, which helps provide additional general context on the organization to ensure that the correct organization is selected.", 0, 1, description); + case 951526432: /*contact*/ return new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific Organization. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact); case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "A contact detail for the organization.", 0, java.lang.Integer.MAX_VALUE, telecom); case -1147692044: /*address*/ return new Property("address", "Address", "An address for the organization.", 0, java.lang.Integer.MAX_VALUE, address); case -995410646: /*partOf*/ return new Property("partOf", "Reference(Organization)", "The organization of which this organization forms a part.", 0, 1, partOf); - case 951526432: /*contact*/ return new Property("contact", "", "Contact for the organization for a certain purpose.", 0, java.lang.Integer.MAX_VALUE, contact); case 1741102485: /*endpoint*/ return new Property("endpoint", "Reference(Endpoint)", "Technical endpoints providing access to services operated for the organization.", 0, java.lang.Integer.MAX_VALUE, endpoint); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -998,10 +728,11 @@ public class Organization extends DomainResource { case 3575610: /*type*/ return this.type == null ? new Base[0] : this.type.toArray(new Base[this.type.size()]); // CodeableConcept case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case 92902992: /*alias*/ return this.alias == null ? new Base[0] : this.alias.toArray(new Base[this.alias.size()]); // StringType + case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType + case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ExtendedContactDetail case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint case -1147692044: /*address*/ return this.address == null ? new Base[0] : this.address.toArray(new Base[this.address.size()]); // Address case -995410646: /*partOf*/ return this.partOf == null ? new Base[0] : new Base[] {this.partOf}; // Reference - case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // OrganizationContactComponent case 1741102485: /*endpoint*/ return this.endpoint == null ? new Base[0] : this.endpoint.toArray(new Base[this.endpoint.size()]); // Reference default: return super.getProperty(hash, name, checkValid); } @@ -1026,6 +757,12 @@ public class Organization extends DomainResource { case 92902992: // alias this.getAlias().add(TypeConvertor.castToString(value)); // StringType return value; + case -1724546052: // description + this.description = TypeConvertor.castToString(value); // StringType + return value; + case 951526432: // contact + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); // ExtendedContactDetail + return value; case -1429363305: // telecom this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint return value; @@ -1035,9 +772,6 @@ public class Organization extends DomainResource { case -995410646: // partOf this.partOf = TypeConvertor.castToReference(value); // Reference return value; - case 951526432: // contact - this.getContact().add((OrganizationContactComponent) value); // OrganizationContactComponent - return value; case 1741102485: // endpoint this.getEndpoint().add(TypeConvertor.castToReference(value)); // Reference return value; @@ -1058,14 +792,16 @@ public class Organization extends DomainResource { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("alias")) { this.getAlias().add(TypeConvertor.castToString(value)); + } else if (name.equals("description")) { + this.description = TypeConvertor.castToString(value); // StringType + } else if (name.equals("contact")) { + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); } else if (name.equals("telecom")) { this.getTelecom().add(TypeConvertor.castToContactPoint(value)); } else if (name.equals("address")) { this.getAddress().add(TypeConvertor.castToAddress(value)); } else if (name.equals("partOf")) { this.partOf = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("contact")) { - this.getContact().add((OrganizationContactComponent) value); } else if (name.equals("endpoint")) { this.getEndpoint().add(TypeConvertor.castToReference(value)); } else @@ -1081,10 +817,11 @@ public class Organization extends DomainResource { case 3575610: return addType(); case 3373707: return getNameElement(); case 92902992: return addAliasElement(); + case -1724546052: return getDescriptionElement(); + case 951526432: return addContact(); case -1429363305: return addTelecom(); case -1147692044: return addAddress(); case -995410646: return getPartOf(); - case 951526432: return addContact(); case 1741102485: return addEndpoint(); default: return super.makeProperty(hash, name); } @@ -1099,10 +836,11 @@ public class Organization extends DomainResource { case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case 3373707: /*name*/ return new String[] {"string"}; case 92902992: /*alias*/ return new String[] {"string"}; + case -1724546052: /*description*/ return new String[] {"string"}; + case 951526432: /*contact*/ return new String[] {"ExtendedContactDetail"}; case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; case -1147692044: /*address*/ return new String[] {"Address"}; case -995410646: /*partOf*/ return new String[] {"Reference"}; - case 951526432: /*contact*/ return new String[] {}; case 1741102485: /*endpoint*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -1126,6 +864,12 @@ public class Organization extends DomainResource { else if (name.equals("alias")) { throw new FHIRException("Cannot call addChild on a primitive type Organization.alias"); } + else if (name.equals("description")) { + throw new FHIRException("Cannot call addChild on a primitive type Organization.description"); + } + else if (name.equals("contact")) { + return addContact(); + } else if (name.equals("telecom")) { return addTelecom(); } @@ -1136,9 +880,6 @@ public class Organization extends DomainResource { this.partOf = new Reference(); return this.partOf; } - else if (name.equals("contact")) { - return addContact(); - } else if (name.equals("endpoint")) { return addEndpoint(); } @@ -1176,6 +917,12 @@ public class Organization extends DomainResource { for (StringType i : alias) dst.alias.add(i.copy()); }; + dst.description = description == null ? null : description.copy(); + if (contact != null) { + dst.contact = new ArrayList(); + for (ExtendedContactDetail i : contact) + dst.contact.add(i.copy()); + }; if (telecom != null) { dst.telecom = new ArrayList(); for (ContactPoint i : telecom) @@ -1187,11 +934,6 @@ public class Organization extends DomainResource { dst.address.add(i.copy()); }; dst.partOf = partOf == null ? null : partOf.copy(); - if (contact != null) { - dst.contact = new ArrayList(); - for (OrganizationContactComponent i : contact) - dst.contact.add(i.copy()); - }; if (endpoint != null) { dst.endpoint = new ArrayList(); for (Reference i : endpoint) @@ -1211,9 +953,9 @@ public class Organization extends DomainResource { return false; Organization o = (Organization) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(active, o.active, true) && compareDeep(type, o.type, true) - && compareDeep(name, o.name, true) && compareDeep(alias, o.alias, true) && compareDeep(telecom, o.telecom, true) - && compareDeep(address, o.address, true) && compareDeep(partOf, o.partOf, true) && compareDeep(contact, o.contact, true) - && compareDeep(endpoint, o.endpoint, true); + && compareDeep(name, o.name, true) && compareDeep(alias, o.alias, true) && compareDeep(description, o.description, true) + && compareDeep(contact, o.contact, true) && compareDeep(telecom, o.telecom, true) && compareDeep(address, o.address, true) + && compareDeep(partOf, o.partOf, true) && compareDeep(endpoint, o.endpoint, true); } @Override @@ -1224,12 +966,12 @@ public class Organization extends DomainResource { return false; Organization o = (Organization) other_; return compareValues(active, o.active, true) && compareValues(name, o.name, true) && compareValues(alias, o.alias, true) - ; + && compareValues(description, o.description, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, active, type - , name, alias, telecom, address, partOf, contact, endpoint); + , name, alias, description, contact, telecom, address, partOf, endpoint); } @Override @@ -1237,278 +979,6 @@ public class Organization extends DomainResource { return ResourceType.Organization; } - /** - * Search parameter: active - *

- * Description: Is the Organization record active
- * Type: token
- * Path: Organization.active
- *

- */ - @SearchParamDefinition(name="active", path="Organization.active", description="Is the Organization record active", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Is the Organization record active
- * Type: token
- * Path: Organization.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: address-city - *

- * Description: A city specified in an address
- * Type: string
- * Path: Organization.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="Organization.address.city", description="A city specified in an address", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: A city specified in an address
- * Type: string
- * Path: Organization.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: A country specified in an address
- * Type: string
- * Path: Organization.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="Organization.address.country", description="A country specified in an address", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: A country specified in an address
- * Type: string
- * Path: Organization.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: A postal code specified in an address
- * Type: string
- * Path: Organization.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="Organization.address.postalCode", description="A postal code specified in an address", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: A postal code specified in an address
- * Type: string
- * Path: Organization.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: A state specified in an address
- * Type: string
- * Path: Organization.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="Organization.address.state", description="A state specified in an address", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: A state specified in an address
- * Type: string
- * Path: Organization.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: A use code specified in an address
- * Type: token
- * Path: Organization.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="Organization.address.use", description="A use code specified in an address", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: A use code specified in an address
- * Type: token
- * Path: Organization.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
- * Type: string
- * Path: Organization.address
- *

- */ - @SearchParamDefinition(name="address", path="Organization.address", description="A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
- * Type: string
- * Path: Organization.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: endpoint - *

- * Description: Technical endpoints providing access to services operated for the organization
- * Type: reference
- * Path: Organization.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="Organization.endpoint", description="Technical endpoints providing access to services operated for the organization", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: Technical endpoints providing access to services operated for the organization
- * Type: reference
- * Path: Organization.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Organization:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("Organization:endpoint").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Any identifier for the organization (not the accreditation issuer's identifier)
- * Type: token
- * Path: Organization.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Organization.identifier", description="Any identifier for the organization (not the accreditation issuer's identifier)", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Any identifier for the organization (not the accreditation issuer's identifier)
- * Type: token
- * Path: Organization.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: A portion of the organization's name or alias
- * Type: string
- * Path: Organization.name | Organization.alias
- *

- */ - @SearchParamDefinition(name="name", path="Organization.name | Organization.alias", description="A portion of the organization's name or alias", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A portion of the organization's name or alias
- * Type: string
- * Path: Organization.name | Organization.alias
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: partof - *

- * Description: An organization of which this organization forms a part
- * Type: reference
- * Path: Organization.partOf
- *

- */ - @SearchParamDefinition(name="partof", path="Organization.partOf", description="An organization of which this organization forms a part", type="reference", target={Organization.class } ) - public static final String SP_PARTOF = "partof"; - /** - * Fluent Client search parameter constant for partof - *

- * Description: An organization of which this organization forms a part
- * Type: reference
- * Path: Organization.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTOF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTOF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Organization:partof". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTOF = new ca.uhn.fhir.model.api.Include("Organization:partof").toLocked(); - - /** - * Search parameter: phonetic - *

- * Description: A portion of the organization's name using some kind of phonetic matching algorithm
- * Type: string
- * Path: Organization.name
- *

- */ - @SearchParamDefinition(name="phonetic", path="Organization.name", description="A portion of the organization's name using some kind of phonetic matching algorithm", type="string" ) - public static final String SP_PHONETIC = "phonetic"; - /** - * Fluent Client search parameter constant for phonetic - *

- * Description: A portion of the organization's name using some kind of phonetic matching algorithm
- * Type: string
- * Path: Organization.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PHONETIC); - - /** - * Search parameter: type - *

- * Description: A code for the type of organization
- * Type: token
- * Path: Organization.type
- *

- */ - @SearchParamDefinition(name="type", path="Organization.type", description="A code for the type of organization", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: A code for the type of organization
- * Type: token
- * Path: Organization.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OrganizationAffiliation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OrganizationAffiliation.java index d0cea061d..56a6a4c7b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OrganizationAffiliation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OrganizationAffiliation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1002,322 +1002,6 @@ public class OrganizationAffiliation extends DomainResource { return ResourceType.OrganizationAffiliation; } - /** - * Search parameter: active - *

- * Description: Whether this organization affiliation record is in active use
- * Type: token
- * Path: OrganizationAffiliation.active
- *

- */ - @SearchParamDefinition(name="active", path="OrganizationAffiliation.active", description="Whether this organization affiliation record is in active use", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Whether this organization affiliation record is in active use
- * Type: token
- * Path: OrganizationAffiliation.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: date - *

- * Description: The period during which the participatingOrganization is affiliated with the primary organization
- * Type: date
- * Path: OrganizationAffiliation.period
- *

- */ - @SearchParamDefinition(name="date", path="OrganizationAffiliation.period", description="The period during which the participatingOrganization is affiliated with the primary organization", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The period during which the participatingOrganization is affiliated with the primary organization
- * Type: date
- * Path: OrganizationAffiliation.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: email - *

- * Description: A value in an email contact
- * Type: token
- * Path: OrganizationAffiliation.telecom.where(system='email')
- *

- */ - @SearchParamDefinition(name="email", path="OrganizationAffiliation.telecom.where(system='email')", description="A value in an email contact", type="token" ) - public static final String SP_EMAIL = "email"; - /** - * Fluent Client search parameter constant for email - *

- * Description: A value in an email contact
- * Type: token
- * Path: OrganizationAffiliation.telecom.where(system='email')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMAIL); - - /** - * Search parameter: endpoint - *

- * Description: Technical endpoints providing access to services operated for this role
- * Type: reference
- * Path: OrganizationAffiliation.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="OrganizationAffiliation.endpoint", description="Technical endpoints providing access to services operated for this role", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: Technical endpoints providing access to services operated for this role
- * Type: reference
- * Path: OrganizationAffiliation.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OrganizationAffiliation:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("OrganizationAffiliation:endpoint").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: An organization affiliation's Identifier
- * Type: token
- * Path: OrganizationAffiliation.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="OrganizationAffiliation.identifier", description="An organization affiliation's Identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An organization affiliation's Identifier
- * Type: token
- * Path: OrganizationAffiliation.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: The location(s) at which the role occurs
- * Type: reference
- * Path: OrganizationAffiliation.location
- *

- */ - @SearchParamDefinition(name="location", path="OrganizationAffiliation.location", description="The location(s) at which the role occurs", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: The location(s) at which the role occurs
- * Type: reference
- * Path: OrganizationAffiliation.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OrganizationAffiliation:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("OrganizationAffiliation:location").toLocked(); - - /** - * Search parameter: network - *

- * Description: Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)
- * Type: reference
- * Path: OrganizationAffiliation.network
- *

- */ - @SearchParamDefinition(name="network", path="OrganizationAffiliation.network", description="Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)", type="reference", target={Organization.class } ) - public static final String SP_NETWORK = "network"; - /** - * Fluent Client search parameter constant for network - *

- * Description: Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)
- * Type: reference
- * Path: OrganizationAffiliation.network
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam NETWORK = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_NETWORK); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OrganizationAffiliation:network". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_NETWORK = new ca.uhn.fhir.model.api.Include("OrganizationAffiliation:network").toLocked(); - - /** - * Search parameter: participating-organization - *

- * Description: The organization that provides services to the primary organization
- * Type: reference
- * Path: OrganizationAffiliation.participatingOrganization
- *

- */ - @SearchParamDefinition(name="participating-organization", path="OrganizationAffiliation.participatingOrganization", description="The organization that provides services to the primary organization", type="reference", target={Organization.class } ) - public static final String SP_PARTICIPATING_ORGANIZATION = "participating-organization"; - /** - * Fluent Client search parameter constant for participating-organization - *

- * Description: The organization that provides services to the primary organization
- * Type: reference
- * Path: OrganizationAffiliation.participatingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPATING_ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTICIPATING_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OrganizationAffiliation:participating-organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPATING_ORGANIZATION = new ca.uhn.fhir.model.api.Include("OrganizationAffiliation:participating-organization").toLocked(); - - /** - * Search parameter: phone - *

- * Description: A value in a phone contact
- * Type: token
- * Path: OrganizationAffiliation.telecom.where(system='phone')
- *

- */ - @SearchParamDefinition(name="phone", path="OrganizationAffiliation.telecom.where(system='phone')", description="A value in a phone contact", type="token" ) - public static final String SP_PHONE = "phone"; - /** - * Fluent Client search parameter constant for phone - *

- * Description: A value in a phone contact
- * Type: token
- * Path: OrganizationAffiliation.telecom.where(system='phone')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PHONE); - - /** - * Search parameter: primary-organization - *

- * Description: The organization that receives the services from the participating organization
- * Type: reference
- * Path: OrganizationAffiliation.organization
- *

- */ - @SearchParamDefinition(name="primary-organization", path="OrganizationAffiliation.organization", description="The organization that receives the services from the participating organization", type="reference", target={Organization.class } ) - public static final String SP_PRIMARY_ORGANIZATION = "primary-organization"; - /** - * Fluent Client search parameter constant for primary-organization - *

- * Description: The organization that receives the services from the participating organization
- * Type: reference
- * Path: OrganizationAffiliation.organization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRIMARY_ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRIMARY_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OrganizationAffiliation:primary-organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRIMARY_ORGANIZATION = new ca.uhn.fhir.model.api.Include("OrganizationAffiliation:primary-organization").toLocked(); - - /** - * Search parameter: role - *

- * Description: Definition of the role the participatingOrganization plays
- * Type: token
- * Path: OrganizationAffiliation.code
- *

- */ - @SearchParamDefinition(name="role", path="OrganizationAffiliation.code", description="Definition of the role the participatingOrganization plays", type="token" ) - public static final String SP_ROLE = "role"; - /** - * Fluent Client search parameter constant for role - *

- * Description: Definition of the role the participatingOrganization plays
- * Type: token
- * Path: OrganizationAffiliation.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ROLE); - - /** - * Search parameter: service - *

- * Description: Healthcare services provided through the role
- * Type: reference
- * Path: OrganizationAffiliation.healthcareService
- *

- */ - @SearchParamDefinition(name="service", path="OrganizationAffiliation.healthcareService", description="Healthcare services provided through the role", type="reference", target={HealthcareService.class } ) - public static final String SP_SERVICE = "service"; - /** - * Fluent Client search parameter constant for service - *

- * Description: Healthcare services provided through the role
- * Type: reference
- * Path: OrganizationAffiliation.healthcareService
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SERVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SERVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "OrganizationAffiliation:service". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SERVICE = new ca.uhn.fhir.model.api.Include("OrganizationAffiliation:service").toLocked(); - - /** - * Search parameter: specialty - *

- * Description: Specific specialty of the participatingOrganization in the context of the role
- * Type: token
- * Path: OrganizationAffiliation.specialty
- *

- */ - @SearchParamDefinition(name="specialty", path="OrganizationAffiliation.specialty", description="Specific specialty of the participatingOrganization in the context of the role", type="token" ) - public static final String SP_SPECIALTY = "specialty"; - /** - * Fluent Client search parameter constant for specialty - *

- * Description: Specific specialty of the participatingOrganization in the context of the role
- * Type: token
- * Path: OrganizationAffiliation.specialty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIALTY); - - /** - * Search parameter: telecom - *

- * Description: The value in any kind of contact
- * Type: token
- * Path: OrganizationAffiliation.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="OrganizationAffiliation.telecom", description="The value in any kind of contact", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: The value in any kind of contact
- * Type: token
- * Path: OrganizationAffiliation.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PackagedProductDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PackagedProductDefinition.java index 749da3c74..5f99f0935 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PackagedProductDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PackagedProductDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -56,17 +56,19 @@ public class PackagedProductDefinition extends DomainResource { @Block() public static class PackagedProductDefinitionLegalStatusOfSupplyComponent extends BackboneElement implements IBaseBackboneElement { /** - * The actual status of supply. In what situation this package type may be supplied for use. + * The actual status of supply. Conveys in what situation this package type may be supplied for use. */ @Child(name = "code", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The actual status of supply. In what situation this package type may be supplied for use", formalDefinition="The actual status of supply. In what situation this package type may be supplied for use." ) + @Description(shortDefinition="The actual status of supply. In what situation this package type may be supplied for use", formalDefinition="The actual status of supply. Conveys in what situation this package type may be supplied for use." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/legal-status-of-supply") protected CodeableConcept code; /** * The place where the legal status of supply applies. When not specified, this indicates it is unknown in this context. */ @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The place where the legal status of supply applies. When not specified, this indicates it is unknown in this context", formalDefinition="The place where the legal status of supply applies. When not specified, this indicates it is unknown in this context." ) + @Description(shortDefinition="The place where the legal status of supply applies", formalDefinition="The place where the legal status of supply applies. When not specified, this indicates it is unknown in this context." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") protected CodeableConcept jurisdiction; private static final long serialVersionUID = 1072410156L; @@ -79,7 +81,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #code} (The actual status of supply. In what situation this package type may be supplied for use.) + * @return {@link #code} (The actual status of supply. Conveys in what situation this package type may be supplied for use.) */ public CodeableConcept getCode() { if (this.code == null) @@ -95,7 +97,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @param value {@link #code} (The actual status of supply. In what situation this package type may be supplied for use.) + * @param value {@link #code} (The actual status of supply. Conveys in what situation this package type may be supplied for use.) */ public PackagedProductDefinitionLegalStatusOfSupplyComponent setCode(CodeableConcept value) { this.code = value; @@ -128,14 +130,14 @@ public class PackagedProductDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("code", "CodeableConcept", "The actual status of supply. In what situation this package type may be supplied for use.", 0, 1, code)); + children.add(new Property("code", "CodeableConcept", "The actual status of supply. Conveys in what situation this package type may be supplied for use.", 0, 1, code)); children.add(new Property("jurisdiction", "CodeableConcept", "The place where the legal status of supply applies. When not specified, this indicates it is unknown in this context.", 0, 1, jurisdiction)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The actual status of supply. In what situation this package type may be supplied for use.", 0, 1, code); + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The actual status of supply. Conveys in what situation this package type may be supplied for use.", 0, 1, code); case -507075711: /*jurisdiction*/ return new Property("jurisdiction", "CodeableConcept", "The place where the legal status of supply applies. When not specified, this indicates it is unknown in this context.", 0, 1, jurisdiction); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -255,12 +257,12 @@ public class PackagedProductDefinition extends DomainResource { } @Block() - public static class PackagedProductDefinitionPackageComponent extends BackboneElement implements IBaseBackboneElement { + public static class PackagedProductDefinitionPackagingComponent extends BackboneElement implements IBaseBackboneElement { /** - * Including possibly Data Carrier Identifier. + * A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode). */ @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Including possibly Data Carrier Identifier", formalDefinition="Including possibly Data Carrier Identifier." ) + @Description(shortDefinition="An identifier that is specific to this particular part of the packaging. Including possibly a Data Carrier Identifier", formalDefinition="A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode)." ) protected List identifier; /** @@ -268,13 +270,14 @@ public class PackagedProductDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The physical type of the container of the items", formalDefinition="The physical type of the container of the items." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/packaging-type") protected CodeableConcept type; /** - * The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1. + * The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2. */ @Child(name = "quantity", type = {IntegerType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1", formalDefinition="The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1." ) + @Description(shortDefinition="The quantity of this level of packaging in the package that contains it (with the outermost level being 1)", formalDefinition="The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2." ) protected IntegerType quantity; /** @@ -282,13 +285,15 @@ public class PackagedProductDefinition extends DomainResource { */ @Child(name = "material", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Material type of the package item", formalDefinition="Material type of the package item." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/package-material") protected List material; /** - * A possible alternate material for the packaging. + * A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve). */ @Child(name = "alternateMaterial", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A possible alternate material for the packaging", formalDefinition="A possible alternate material for the packaging." ) + @Description(shortDefinition="A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material", formalDefinition="A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve)." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/package-material") protected List alternateMaterial; /** @@ -299,10 +304,10 @@ public class PackagedProductDefinition extends DomainResource { protected List shelfLifeStorage; /** - * Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers. + * Manufacturer of this packaging item. When there are multiple values each one is a potential manufacturer of this packaging item. */ @Child(name = "manufacturer", type = {Organization.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers", formalDefinition="Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers." ) + @Description(shortDefinition="Manufacturer of this packaging item (multiple means these are all potential manufacturers)", formalDefinition="Manufacturer of this packaging item. When there are multiple values each one is a potential manufacturer of this packaging item." ) protected List manufacturer; /** @@ -310,33 +315,33 @@ public class PackagedProductDefinition extends DomainResource { */ @Child(name = "property", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="General characteristics of this item", formalDefinition="General characteristics of this item." ) - protected List property; + protected List property; /** * The item(s) within the packaging. */ @Child(name = "containedItem", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The item(s) within the packaging", formalDefinition="The item(s) within the packaging." ) - protected List containedItem; + protected List containedItem; /** - * Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition). + * Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition). */ - @Child(name = "package", type = {PackagedProductDefinitionPackageComponent.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Allows containers (and parts of containers) within containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition)", formalDefinition="Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition)." ) - protected List package_; + @Child(name = "packaging", type = {PackagedProductDefinitionPackagingComponent.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Allows containers (and parts of containers) within containers, still a single packaged product", formalDefinition="Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition)." ) + protected List packaging; - private static final long serialVersionUID = 387482302L; + private static final long serialVersionUID = -1920019015L; /** * Constructor */ - public PackagedProductDefinitionPackageComponent() { + public PackagedProductDefinitionPackagingComponent() { super(); } /** - * @return {@link #identifier} (Including possibly Data Carrier Identifier.) + * @return {@link #identifier} (A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode).) */ public List getIdentifier() { if (this.identifier == null) @@ -347,7 +352,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setIdentifier(List theIdentifier) { + public PackagedProductDefinitionPackagingComponent setIdentifier(List theIdentifier) { this.identifier = theIdentifier; return this; } @@ -369,7 +374,7 @@ public class PackagedProductDefinition extends DomainResource { return t; } - public PackagedProductDefinitionPackageComponent addIdentifier(Identifier t) { //3 + public PackagedProductDefinitionPackagingComponent addIdentifier(Identifier t) { //3 if (t == null) return this; if (this.identifier == null) @@ -394,7 +399,7 @@ public class PackagedProductDefinition extends DomainResource { public CodeableConcept getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create PackagedProductDefinitionPackageComponent.type"); + throw new Error("Attempt to auto-create PackagedProductDefinitionPackagingComponent.type"); else if (Configuration.doAutoCreate()) this.type = new CodeableConcept(); // cc return this.type; @@ -407,18 +412,18 @@ public class PackagedProductDefinition extends DomainResource { /** * @param value {@link #type} (The physical type of the container of the items.) */ - public PackagedProductDefinitionPackageComponent setType(CodeableConcept value) { + public PackagedProductDefinitionPackagingComponent setType(CodeableConcept value) { this.type = value; return this; } /** - * @return {@link #quantity} (The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value + * @return {@link #quantity} (The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value */ public IntegerType getQuantityElement() { if (this.quantity == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create PackagedProductDefinitionPackageComponent.quantity"); + throw new Error("Attempt to auto-create PackagedProductDefinitionPackagingComponent.quantity"); else if (Configuration.doAutoCreate()) this.quantity = new IntegerType(); // bb return this.quantity; @@ -433,24 +438,24 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @param value {@link #quantity} (The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value + * @param value {@link #quantity} (The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.). This is the underlying object with id, value and extensions. The accessor "getQuantity" gives direct access to the value */ - public PackagedProductDefinitionPackageComponent setQuantityElement(IntegerType value) { + public PackagedProductDefinitionPackagingComponent setQuantityElement(IntegerType value) { this.quantity = value; return this; } /** - * @return The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1. + * @return The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2. */ public int getQuantity() { return this.quantity == null || this.quantity.isEmpty() ? 0 : this.quantity.getValue(); } /** - * @param value The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1. + * @param value The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2. */ - public PackagedProductDefinitionPackageComponent setQuantity(int value) { + public PackagedProductDefinitionPackagingComponent setQuantity(int value) { if (this.quantity == null) this.quantity = new IntegerType(); this.quantity.setValue(value); @@ -469,7 +474,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setMaterial(List theMaterial) { + public PackagedProductDefinitionPackagingComponent setMaterial(List theMaterial) { this.material = theMaterial; return this; } @@ -491,7 +496,7 @@ public class PackagedProductDefinition extends DomainResource { return t; } - public PackagedProductDefinitionPackageComponent addMaterial(CodeableConcept t) { //3 + public PackagedProductDefinitionPackagingComponent addMaterial(CodeableConcept t) { //3 if (t == null) return this; if (this.material == null) @@ -511,7 +516,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #alternateMaterial} (A possible alternate material for the packaging.) + * @return {@link #alternateMaterial} (A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve).) */ public List getAlternateMaterial() { if (this.alternateMaterial == null) @@ -522,7 +527,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setAlternateMaterial(List theAlternateMaterial) { + public PackagedProductDefinitionPackagingComponent setAlternateMaterial(List theAlternateMaterial) { this.alternateMaterial = theAlternateMaterial; return this; } @@ -544,7 +549,7 @@ public class PackagedProductDefinition extends DomainResource { return t; } - public PackagedProductDefinitionPackageComponent addAlternateMaterial(CodeableConcept t) { //3 + public PackagedProductDefinitionPackagingComponent addAlternateMaterial(CodeableConcept t) { //3 if (t == null) return this; if (this.alternateMaterial == null) @@ -575,7 +580,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setShelfLifeStorage(List theShelfLifeStorage) { + public PackagedProductDefinitionPackagingComponent setShelfLifeStorage(List theShelfLifeStorage) { this.shelfLifeStorage = theShelfLifeStorage; return this; } @@ -597,7 +602,7 @@ public class PackagedProductDefinition extends DomainResource { return t; } - public PackagedProductDefinitionPackageComponent addShelfLifeStorage(ProductShelfLife t) { //3 + public PackagedProductDefinitionPackagingComponent addShelfLifeStorage(ProductShelfLife t) { //3 if (t == null) return this; if (this.shelfLifeStorage == null) @@ -617,7 +622,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #manufacturer} (Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers.) + * @return {@link #manufacturer} (Manufacturer of this packaging item. When there are multiple values each one is a potential manufacturer of this packaging item.) */ public List getManufacturer() { if (this.manufacturer == null) @@ -628,7 +633,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setManufacturer(List theManufacturer) { + public PackagedProductDefinitionPackagingComponent setManufacturer(List theManufacturer) { this.manufacturer = theManufacturer; return this; } @@ -650,7 +655,7 @@ public class PackagedProductDefinition extends DomainResource { return t; } - public PackagedProductDefinitionPackageComponent addManufacturer(Reference t) { //3 + public PackagedProductDefinitionPackagingComponent addManufacturer(Reference t) { //3 if (t == null) return this; if (this.manufacturer == null) @@ -672,16 +677,16 @@ public class PackagedProductDefinition extends DomainResource { /** * @return {@link #property} (General characteristics of this item.) */ - public List getProperty() { + public List getProperty() { if (this.property == null) - this.property = new ArrayList(); + this.property = new ArrayList(); return this.property; } /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setProperty(List theProperty) { + public PackagedProductDefinitionPackagingComponent setProperty(List theProperty) { this.property = theProperty; return this; } @@ -689,25 +694,25 @@ public class PackagedProductDefinition extends DomainResource { public boolean hasProperty() { if (this.property == null) return false; - for (PackagedProductDefinitionPackagePropertyComponent item : this.property) + for (PackagedProductDefinitionPackagingPropertyComponent item : this.property) if (!item.isEmpty()) return true; return false; } - public PackagedProductDefinitionPackagePropertyComponent addProperty() { //3 - PackagedProductDefinitionPackagePropertyComponent t = new PackagedProductDefinitionPackagePropertyComponent(); + public PackagedProductDefinitionPackagingPropertyComponent addProperty() { //3 + PackagedProductDefinitionPackagingPropertyComponent t = new PackagedProductDefinitionPackagingPropertyComponent(); if (this.property == null) - this.property = new ArrayList(); + this.property = new ArrayList(); this.property.add(t); return t; } - public PackagedProductDefinitionPackageComponent addProperty(PackagedProductDefinitionPackagePropertyComponent t) { //3 + public PackagedProductDefinitionPackagingComponent addProperty(PackagedProductDefinitionPackagingPropertyComponent t) { //3 if (t == null) return this; if (this.property == null) - this.property = new ArrayList(); + this.property = new ArrayList(); this.property.add(t); return this; } @@ -715,7 +720,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return The first repetition of repeating field {@link #property}, creating it if it does not already exist {3} */ - public PackagedProductDefinitionPackagePropertyComponent getPropertyFirstRep() { + public PackagedProductDefinitionPackagingPropertyComponent getPropertyFirstRep() { if (getProperty().isEmpty()) { addProperty(); } @@ -725,16 +730,16 @@ public class PackagedProductDefinition extends DomainResource { /** * @return {@link #containedItem} (The item(s) within the packaging.) */ - public List getContainedItem() { + public List getContainedItem() { if (this.containedItem == null) - this.containedItem = new ArrayList(); + this.containedItem = new ArrayList(); return this.containedItem; } /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setContainedItem(List theContainedItem) { + public PackagedProductDefinitionPackagingComponent setContainedItem(List theContainedItem) { this.containedItem = theContainedItem; return this; } @@ -742,25 +747,25 @@ public class PackagedProductDefinition extends DomainResource { public boolean hasContainedItem() { if (this.containedItem == null) return false; - for (PackagedProductDefinitionPackageContainedItemComponent item : this.containedItem) + for (PackagedProductDefinitionPackagingContainedItemComponent item : this.containedItem) if (!item.isEmpty()) return true; return false; } - public PackagedProductDefinitionPackageContainedItemComponent addContainedItem() { //3 - PackagedProductDefinitionPackageContainedItemComponent t = new PackagedProductDefinitionPackageContainedItemComponent(); + public PackagedProductDefinitionPackagingContainedItemComponent addContainedItem() { //3 + PackagedProductDefinitionPackagingContainedItemComponent t = new PackagedProductDefinitionPackagingContainedItemComponent(); if (this.containedItem == null) - this.containedItem = new ArrayList(); + this.containedItem = new ArrayList(); this.containedItem.add(t); return t; } - public PackagedProductDefinitionPackageComponent addContainedItem(PackagedProductDefinitionPackageContainedItemComponent t) { //3 + public PackagedProductDefinitionPackagingComponent addContainedItem(PackagedProductDefinitionPackagingContainedItemComponent t) { //3 if (t == null) return this; if (this.containedItem == null) - this.containedItem = new ArrayList(); + this.containedItem = new ArrayList(); this.containedItem.add(t); return this; } @@ -768,7 +773,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @return The first repetition of repeating field {@link #containedItem}, creating it if it does not already exist {3} */ - public PackagedProductDefinitionPackageContainedItemComponent getContainedItemFirstRep() { + public PackagedProductDefinitionPackagingContainedItemComponent getContainedItemFirstRep() { if (getContainedItem().isEmpty()) { addContainedItem(); } @@ -776,85 +781,85 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #package_} (Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition).) + * @return {@link #packaging} (Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition).) */ - public List getPackage() { - if (this.package_ == null) - this.package_ = new ArrayList(); - return this.package_; + public List getPackaging() { + if (this.packaging == null) + this.packaging = new ArrayList(); + return this.packaging; } /** * @return Returns a reference to this for easy method chaining */ - public PackagedProductDefinitionPackageComponent setPackage(List thePackage) { - this.package_ = thePackage; + public PackagedProductDefinitionPackagingComponent setPackaging(List thePackaging) { + this.packaging = thePackaging; return this; } - public boolean hasPackage() { - if (this.package_ == null) + public boolean hasPackaging() { + if (this.packaging == null) return false; - for (PackagedProductDefinitionPackageComponent item : this.package_) + for (PackagedProductDefinitionPackagingComponent item : this.packaging) if (!item.isEmpty()) return true; return false; } - public PackagedProductDefinitionPackageComponent addPackage() { //3 - PackagedProductDefinitionPackageComponent t = new PackagedProductDefinitionPackageComponent(); - if (this.package_ == null) - this.package_ = new ArrayList(); - this.package_.add(t); + public PackagedProductDefinitionPackagingComponent addPackaging() { //3 + PackagedProductDefinitionPackagingComponent t = new PackagedProductDefinitionPackagingComponent(); + if (this.packaging == null) + this.packaging = new ArrayList(); + this.packaging.add(t); return t; } - public PackagedProductDefinitionPackageComponent addPackage(PackagedProductDefinitionPackageComponent t) { //3 + public PackagedProductDefinitionPackagingComponent addPackaging(PackagedProductDefinitionPackagingComponent t) { //3 if (t == null) return this; - if (this.package_ == null) - this.package_ = new ArrayList(); - this.package_.add(t); + if (this.packaging == null) + this.packaging = new ArrayList(); + this.packaging.add(t); return this; } /** - * @return The first repetition of repeating field {@link #package_}, creating it if it does not already exist {3} + * @return The first repetition of repeating field {@link #packaging}, creating it if it does not already exist {3} */ - public PackagedProductDefinitionPackageComponent getPackageFirstRep() { - if (getPackage().isEmpty()) { - addPackage(); + public PackagedProductDefinitionPackagingComponent getPackagingFirstRep() { + if (getPackaging().isEmpty()) { + addPackaging(); } - return getPackage().get(0); + return getPackaging().get(0); } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "Including possibly Data Carrier Identifier.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("identifier", "Identifier", "A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode).", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("type", "CodeableConcept", "The physical type of the container of the items.", 0, 1, type)); - children.add(new Property("quantity", "integer", "The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.", 0, 1, quantity)); + children.add(new Property("quantity", "integer", "The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.", 0, 1, quantity)); children.add(new Property("material", "CodeableConcept", "Material type of the package item.", 0, java.lang.Integer.MAX_VALUE, material)); - children.add(new Property("alternateMaterial", "CodeableConcept", "A possible alternate material for the packaging.", 0, java.lang.Integer.MAX_VALUE, alternateMaterial)); + children.add(new Property("alternateMaterial", "CodeableConcept", "A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve).", 0, java.lang.Integer.MAX_VALUE, alternateMaterial)); children.add(new Property("shelfLifeStorage", "ProductShelfLife", "Shelf Life and storage information.", 0, java.lang.Integer.MAX_VALUE, shelfLifeStorage)); - children.add(new Property("manufacturer", "Reference(Organization)", "Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); + children.add(new Property("manufacturer", "Reference(Organization)", "Manufacturer of this packaging item. When there are multiple values each one is a potential manufacturer of this packaging item.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); children.add(new Property("property", "", "General characteristics of this item.", 0, java.lang.Integer.MAX_VALUE, property)); children.add(new Property("containedItem", "", "The item(s) within the packaging.", 0, java.lang.Integer.MAX_VALUE, containedItem)); - children.add(new Property("package", "@PackagedProductDefinition.package", "Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition).", 0, java.lang.Integer.MAX_VALUE, package_)); + children.add(new Property("packaging", "@PackagedProductDefinition.packaging", "Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition).", 0, java.lang.Integer.MAX_VALUE, packaging)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Including possibly Data Carrier Identifier.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A business identifier that is specific to this particular part of the packaging, often assigned by the manufacturer. Including possibly Data Carrier Identifier (a GS1 barcode).", 0, java.lang.Integer.MAX_VALUE, identifier); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The physical type of the container of the items.", 0, 1, type); - case -1285004149: /*quantity*/ return new Property("quantity", "integer", "The quantity of this level of packaging in the package that contains it. If specified, the outermost level is always 1.", 0, 1, quantity); + case -1285004149: /*quantity*/ return new Property("quantity", "integer", "The quantity of packaging items contained at this layer of the package. This does not relate to the number of contained items but relates solely to the number of packaging items. When looking at the outermost layer it is always 1. If there are two boxes within, at the next layer it would be 2.", 0, 1, quantity); case 299066663: /*material*/ return new Property("material", "CodeableConcept", "Material type of the package item.", 0, java.lang.Integer.MAX_VALUE, material); - case -1021448255: /*alternateMaterial*/ return new Property("alternateMaterial", "CodeableConcept", "A possible alternate material for the packaging.", 0, java.lang.Integer.MAX_VALUE, alternateMaterial); + case -1021448255: /*alternateMaterial*/ return new Property("alternateMaterial", "CodeableConcept", "A possible alternate material for this part of the packaging, that is allowed to be used instead of the usual material (e.g. different types of plastic for a blister sleeve).", 0, java.lang.Integer.MAX_VALUE, alternateMaterial); case 172049237: /*shelfLifeStorage*/ return new Property("shelfLifeStorage", "ProductShelfLife", "Shelf Life and storage information.", 0, java.lang.Integer.MAX_VALUE, shelfLifeStorage); - case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "Manufacturer of this package Item. When there are multiple it means these are all possible manufacturers.", 0, java.lang.Integer.MAX_VALUE, manufacturer); + case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "Manufacturer of this packaging item. When there are multiple values each one is a potential manufacturer of this packaging item.", 0, java.lang.Integer.MAX_VALUE, manufacturer); case -993141291: /*property*/ return new Property("property", "", "General characteristics of this item.", 0, java.lang.Integer.MAX_VALUE, property); case 1953679910: /*containedItem*/ return new Property("containedItem", "", "The item(s) within the packaging.", 0, java.lang.Integer.MAX_VALUE, containedItem); - case -807062458: /*package*/ return new Property("package", "@PackagedProductDefinition.package", "Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.package.containedItem.item(PackagedProductDefinition).", 0, java.lang.Integer.MAX_VALUE, package_); + case 1802065795: /*packaging*/ return new Property("packaging", "@PackagedProductDefinition.packaging", "Allows containers (and parts of containers) parwithin containers, still a single packaged product. See also PackagedProductDefinition.packaging.containedItem.item(PackagedProductDefinition).", 0, java.lang.Integer.MAX_VALUE, packaging); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -870,9 +875,9 @@ public class PackagedProductDefinition extends DomainResource { case -1021448255: /*alternateMaterial*/ return this.alternateMaterial == null ? new Base[0] : this.alternateMaterial.toArray(new Base[this.alternateMaterial.size()]); // CodeableConcept case 172049237: /*shelfLifeStorage*/ return this.shelfLifeStorage == null ? new Base[0] : this.shelfLifeStorage.toArray(new Base[this.shelfLifeStorage.size()]); // ProductShelfLife case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : this.manufacturer.toArray(new Base[this.manufacturer.size()]); // Reference - case -993141291: /*property*/ return this.property == null ? new Base[0] : this.property.toArray(new Base[this.property.size()]); // PackagedProductDefinitionPackagePropertyComponent - case 1953679910: /*containedItem*/ return this.containedItem == null ? new Base[0] : this.containedItem.toArray(new Base[this.containedItem.size()]); // PackagedProductDefinitionPackageContainedItemComponent - case -807062458: /*package*/ return this.package_ == null ? new Base[0] : this.package_.toArray(new Base[this.package_.size()]); // PackagedProductDefinitionPackageComponent + case -993141291: /*property*/ return this.property == null ? new Base[0] : this.property.toArray(new Base[this.property.size()]); // PackagedProductDefinitionPackagingPropertyComponent + case 1953679910: /*containedItem*/ return this.containedItem == null ? new Base[0] : this.containedItem.toArray(new Base[this.containedItem.size()]); // PackagedProductDefinitionPackagingContainedItemComponent + case 1802065795: /*packaging*/ return this.packaging == null ? new Base[0] : this.packaging.toArray(new Base[this.packaging.size()]); // PackagedProductDefinitionPackagingComponent default: return super.getProperty(hash, name, checkValid); } @@ -903,13 +908,13 @@ public class PackagedProductDefinition extends DomainResource { this.getManufacturer().add(TypeConvertor.castToReference(value)); // Reference return value; case -993141291: // property - this.getProperty().add((PackagedProductDefinitionPackagePropertyComponent) value); // PackagedProductDefinitionPackagePropertyComponent + this.getProperty().add((PackagedProductDefinitionPackagingPropertyComponent) value); // PackagedProductDefinitionPackagingPropertyComponent return value; case 1953679910: // containedItem - this.getContainedItem().add((PackagedProductDefinitionPackageContainedItemComponent) value); // PackagedProductDefinitionPackageContainedItemComponent + this.getContainedItem().add((PackagedProductDefinitionPackagingContainedItemComponent) value); // PackagedProductDefinitionPackagingContainedItemComponent return value; - case -807062458: // package - this.getPackage().add((PackagedProductDefinitionPackageComponent) value); // PackagedProductDefinitionPackageComponent + case 1802065795: // packaging + this.getPackaging().add((PackagedProductDefinitionPackagingComponent) value); // PackagedProductDefinitionPackagingComponent return value; default: return super.setProperty(hash, name, value); } @@ -933,11 +938,11 @@ public class PackagedProductDefinition extends DomainResource { } else if (name.equals("manufacturer")) { this.getManufacturer().add(TypeConvertor.castToReference(value)); } else if (name.equals("property")) { - this.getProperty().add((PackagedProductDefinitionPackagePropertyComponent) value); + this.getProperty().add((PackagedProductDefinitionPackagingPropertyComponent) value); } else if (name.equals("containedItem")) { - this.getContainedItem().add((PackagedProductDefinitionPackageContainedItemComponent) value); - } else if (name.equals("package")) { - this.getPackage().add((PackagedProductDefinitionPackageComponent) value); + this.getContainedItem().add((PackagedProductDefinitionPackagingContainedItemComponent) value); + } else if (name.equals("packaging")) { + this.getPackaging().add((PackagedProductDefinitionPackagingComponent) value); } else return super.setProperty(name, value); return value; @@ -955,7 +960,7 @@ public class PackagedProductDefinition extends DomainResource { case -1969347631: return addManufacturer(); case -993141291: return addProperty(); case 1953679910: return addContainedItem(); - case -807062458: return addPackage(); + case 1802065795: return addPackaging(); default: return super.makeProperty(hash, name); } @@ -973,7 +978,7 @@ public class PackagedProductDefinition extends DomainResource { case -1969347631: /*manufacturer*/ return new String[] {"Reference"}; case -993141291: /*property*/ return new String[] {}; case 1953679910: /*containedItem*/ return new String[] {}; - case -807062458: /*package*/ return new String[] {"@PackagedProductDefinition.package"}; + case 1802065795: /*packaging*/ return new String[] {"@PackagedProductDefinition.packaging"}; default: return super.getTypesForProperty(hash, name); } @@ -989,7 +994,7 @@ public class PackagedProductDefinition extends DomainResource { return this.type; } else if (name.equals("quantity")) { - throw new FHIRException("Cannot call addChild on a primitive type PackagedProductDefinition.package.quantity"); + throw new FHIRException("Cannot call addChild on a primitive type PackagedProductDefinition.packaging.quantity"); } else if (name.equals("material")) { return addMaterial(); @@ -1009,20 +1014,20 @@ public class PackagedProductDefinition extends DomainResource { else if (name.equals("containedItem")) { return addContainedItem(); } - else if (name.equals("package")) { - return addPackage(); + else if (name.equals("packaging")) { + return addPackaging(); } else return super.addChild(name); } - public PackagedProductDefinitionPackageComponent copy() { - PackagedProductDefinitionPackageComponent dst = new PackagedProductDefinitionPackageComponent(); + public PackagedProductDefinitionPackagingComponent copy() { + PackagedProductDefinitionPackagingComponent dst = new PackagedProductDefinitionPackagingComponent(); copyValues(dst); return dst; } - public void copyValues(PackagedProductDefinitionPackageComponent dst) { + public void copyValues(PackagedProductDefinitionPackagingComponent dst) { super.copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList(); @@ -1052,19 +1057,19 @@ public class PackagedProductDefinition extends DomainResource { dst.manufacturer.add(i.copy()); }; if (property != null) { - dst.property = new ArrayList(); - for (PackagedProductDefinitionPackagePropertyComponent i : property) + dst.property = new ArrayList(); + for (PackagedProductDefinitionPackagingPropertyComponent i : property) dst.property.add(i.copy()); }; if (containedItem != null) { - dst.containedItem = new ArrayList(); - for (PackagedProductDefinitionPackageContainedItemComponent i : containedItem) + dst.containedItem = new ArrayList(); + for (PackagedProductDefinitionPackagingContainedItemComponent i : containedItem) dst.containedItem.add(i.copy()); }; - if (package_ != null) { - dst.package_ = new ArrayList(); - for (PackagedProductDefinitionPackageComponent i : package_) - dst.package_.add(i.copy()); + if (packaging != null) { + dst.packaging = new ArrayList(); + for (PackagedProductDefinitionPackagingComponent i : packaging) + dst.packaging.add(i.copy()); }; } @@ -1072,46 +1077,47 @@ public class PackagedProductDefinition extends DomainResource { public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof PackagedProductDefinitionPackageComponent)) + if (!(other_ instanceof PackagedProductDefinitionPackagingComponent)) return false; - PackagedProductDefinitionPackageComponent o = (PackagedProductDefinitionPackageComponent) other_; + PackagedProductDefinitionPackagingComponent o = (PackagedProductDefinitionPackagingComponent) other_; return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(quantity, o.quantity, true) && compareDeep(material, o.material, true) && compareDeep(alternateMaterial, o.alternateMaterial, true) && compareDeep(shelfLifeStorage, o.shelfLifeStorage, true) && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(property, o.property, true) && compareDeep(containedItem, o.containedItem, true) - && compareDeep(package_, o.package_, true); + && compareDeep(packaging, o.packaging, true); } @Override public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof PackagedProductDefinitionPackageComponent)) + if (!(other_ instanceof PackagedProductDefinitionPackagingComponent)) return false; - PackagedProductDefinitionPackageComponent o = (PackagedProductDefinitionPackageComponent) other_; + PackagedProductDefinitionPackagingComponent o = (PackagedProductDefinitionPackagingComponent) other_; return compareValues(quantity, o.quantity, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, quantity , material, alternateMaterial, shelfLifeStorage, manufacturer, property, containedItem - , package_); + , packaging); } public String fhirType() { - return "PackagedProductDefinition.package"; + return "PackagedProductDefinition.packaging"; } } @Block() - public static class PackagedProductDefinitionPackagePropertyComponent extends BackboneElement implements IBaseBackboneElement { + public static class PackagedProductDefinitionPackagingPropertyComponent extends BackboneElement implements IBaseBackboneElement { /** * A code expressing the type of characteristic. */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="A code expressing the type of characteristic", formalDefinition="A code expressing the type of characteristic." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-characteristic-codes") protected CodeableConcept type; /** @@ -1126,14 +1132,14 @@ public class PackagedProductDefinition extends DomainResource { /** * Constructor */ - public PackagedProductDefinitionPackagePropertyComponent() { + public PackagedProductDefinitionPackagingPropertyComponent() { super(); } /** * Constructor */ - public PackagedProductDefinitionPackagePropertyComponent(CodeableConcept type) { + public PackagedProductDefinitionPackagingPropertyComponent(CodeableConcept type) { super(); this.setType(type); } @@ -1144,7 +1150,7 @@ public class PackagedProductDefinition extends DomainResource { public CodeableConcept getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create PackagedProductDefinitionPackagePropertyComponent.type"); + throw new Error("Attempt to auto-create PackagedProductDefinitionPackagingPropertyComponent.type"); else if (Configuration.doAutoCreate()) this.type = new CodeableConcept(); // cc return this.type; @@ -1157,7 +1163,7 @@ public class PackagedProductDefinition extends DomainResource { /** * @param value {@link #type} (A code expressing the type of characteristic.) */ - public PackagedProductDefinitionPackagePropertyComponent setType(CodeableConcept value) { + public PackagedProductDefinitionPackagingPropertyComponent setType(CodeableConcept value) { this.type = value; return this; } @@ -1251,9 +1257,9 @@ public class PackagedProductDefinition extends DomainResource { /** * @param value {@link #value} (A value for the characteristic.) */ - public PackagedProductDefinitionPackagePropertyComponent setValue(DataType value) { + public PackagedProductDefinitionPackagingPropertyComponent setValue(DataType value) { if (value != null && !(value instanceof CodeableConcept || value instanceof Quantity || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment)) - throw new Error("Not the right type for PackagedProductDefinition.package.property.value[x]: "+value.fhirType()); + throw new Error("Not the right type for PackagedProductDefinition.packaging.property.value[x]: "+value.fhirType()); this.value = value; return this; } @@ -1366,13 +1372,13 @@ public class PackagedProductDefinition extends DomainResource { return super.addChild(name); } - public PackagedProductDefinitionPackagePropertyComponent copy() { - PackagedProductDefinitionPackagePropertyComponent dst = new PackagedProductDefinitionPackagePropertyComponent(); + public PackagedProductDefinitionPackagingPropertyComponent copy() { + PackagedProductDefinitionPackagingPropertyComponent dst = new PackagedProductDefinitionPackagingPropertyComponent(); copyValues(dst); return dst; } - public void copyValues(PackagedProductDefinitionPackagePropertyComponent dst) { + public void copyValues(PackagedProductDefinitionPackagingPropertyComponent dst) { super.copyValues(dst); dst.type = type == null ? null : type.copy(); dst.value = value == null ? null : value.copy(); @@ -1382,9 +1388,9 @@ public class PackagedProductDefinition extends DomainResource { public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof PackagedProductDefinitionPackagePropertyComponent)) + if (!(other_ instanceof PackagedProductDefinitionPackagingPropertyComponent)) return false; - PackagedProductDefinitionPackagePropertyComponent o = (PackagedProductDefinitionPackagePropertyComponent) other_; + PackagedProductDefinitionPackagingPropertyComponent o = (PackagedProductDefinitionPackagingPropertyComponent) other_; return compareDeep(type, o.type, true) && compareDeep(value, o.value, true); } @@ -1392,9 +1398,9 @@ public class PackagedProductDefinition extends DomainResource { public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof PackagedProductDefinitionPackagePropertyComponent)) + if (!(other_ instanceof PackagedProductDefinitionPackagingPropertyComponent)) return false; - PackagedProductDefinitionPackagePropertyComponent o = (PackagedProductDefinitionPackagePropertyComponent) other_; + PackagedProductDefinitionPackagingPropertyComponent o = (PackagedProductDefinitionPackagingPropertyComponent) other_; return true; } @@ -1403,19 +1409,19 @@ public class PackagedProductDefinition extends DomainResource { } public String fhirType() { - return "PackagedProductDefinition.package.property"; + return "PackagedProductDefinition.packaging.property"; } } @Block() - public static class PackagedProductDefinitionPackageContainedItemComponent extends BackboneElement implements IBaseBackboneElement { + public static class PackagedProductDefinitionPackagingContainedItemComponent extends BackboneElement implements IBaseBackboneElement { /** - * The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package). + * The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.packaging.packaging). */ @Child(name = "item", type = {CodeableReference.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package)", formalDefinition="The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package)." ) + @Description(shortDefinition="The actual item(s) of medication, as manufactured, or a device, or other medically related item (food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package", formalDefinition="The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.packaging.packaging)." ) protected CodeableReference item; /** @@ -1430,25 +1436,25 @@ public class PackagedProductDefinition extends DomainResource { /** * Constructor */ - public PackagedProductDefinitionPackageContainedItemComponent() { + public PackagedProductDefinitionPackagingContainedItemComponent() { super(); } /** * Constructor */ - public PackagedProductDefinitionPackageContainedItemComponent(CodeableReference item) { + public PackagedProductDefinitionPackagingContainedItemComponent(CodeableReference item) { super(); this.setItem(item); } /** - * @return {@link #item} (The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package).) + * @return {@link #item} (The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.packaging.packaging).) */ public CodeableReference getItem() { if (this.item == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create PackagedProductDefinitionPackageContainedItemComponent.item"); + throw new Error("Attempt to auto-create PackagedProductDefinitionPackagingContainedItemComponent.item"); else if (Configuration.doAutoCreate()) this.item = new CodeableReference(); // cc return this.item; @@ -1459,9 +1465,9 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @param value {@link #item} (The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package).) + * @param value {@link #item} (The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.packaging.packaging).) */ - public PackagedProductDefinitionPackageContainedItemComponent setItem(CodeableReference value) { + public PackagedProductDefinitionPackagingContainedItemComponent setItem(CodeableReference value) { this.item = value; return this; } @@ -1472,7 +1478,7 @@ public class PackagedProductDefinition extends DomainResource { public Quantity getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create PackagedProductDefinitionPackageContainedItemComponent.amount"); + throw new Error("Attempt to auto-create PackagedProductDefinitionPackagingContainedItemComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new Quantity(); // cc return this.amount; @@ -1485,21 +1491,21 @@ public class PackagedProductDefinition extends DomainResource { /** * @param value {@link #amount} (The number of this type of item within this packaging.) */ - public PackagedProductDefinitionPackageContainedItemComponent setAmount(Quantity value) { + public PackagedProductDefinitionPackagingContainedItemComponent setAmount(Quantity value) { this.amount = value; return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("item", "CodeableReference(ManufacturedItemDefinition|DeviceDefinition|PackagedProductDefinition|BiologicallyDerivedProduct|NutritionProduct)", "The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package).", 0, 1, item)); + children.add(new Property("item", "CodeableReference(ManufacturedItemDefinition|DeviceDefinition|PackagedProductDefinition|BiologicallyDerivedProduct|NutritionProduct)", "The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.packaging.packaging).", 0, 1, item)); children.add(new Property("amount", "Quantity", "The number of this type of item within this packaging.", 0, 1, amount)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3242771: /*item*/ return new Property("item", "CodeableReference(ManufacturedItemDefinition|DeviceDefinition|PackagedProductDefinition|BiologicallyDerivedProduct|NutritionProduct)", "The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.package.package).", 0, 1, item); + case 3242771: /*item*/ return new Property("item", "CodeableReference(ManufacturedItemDefinition|DeviceDefinition|PackagedProductDefinition|BiologicallyDerivedProduct|NutritionProduct)", "The actual item(s) of medication, as manufactured, or a device (typically, but not necessarily, a co-packaged one), or other medically related item (such as food, biologicals, raw materials, medical fluids, gases etc.), as contained in the package. This also allows another whole packaged product to be included, which is solely for the case where a package of other entire packages is wanted - such as a wholesale or distribution pack (for layers within one package, use PackagedProductDefinition.packaging.packaging).", 0, 1, item); case -1413853096: /*amount*/ return new Property("amount", "Quantity", "The number of this type of item within this packaging.", 0, 1, amount); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1575,13 +1581,13 @@ public class PackagedProductDefinition extends DomainResource { return super.addChild(name); } - public PackagedProductDefinitionPackageContainedItemComponent copy() { - PackagedProductDefinitionPackageContainedItemComponent dst = new PackagedProductDefinitionPackageContainedItemComponent(); + public PackagedProductDefinitionPackagingContainedItemComponent copy() { + PackagedProductDefinitionPackagingContainedItemComponent dst = new PackagedProductDefinitionPackagingContainedItemComponent(); copyValues(dst); return dst; } - public void copyValues(PackagedProductDefinitionPackageContainedItemComponent dst) { + public void copyValues(PackagedProductDefinitionPackagingContainedItemComponent dst) { super.copyValues(dst); dst.item = item == null ? null : item.copy(); dst.amount = amount == null ? null : amount.copy(); @@ -1591,9 +1597,9 @@ public class PackagedProductDefinition extends DomainResource { public boolean equalsDeep(Base other_) { if (!super.equalsDeep(other_)) return false; - if (!(other_ instanceof PackagedProductDefinitionPackageContainedItemComponent)) + if (!(other_ instanceof PackagedProductDefinitionPackagingContainedItemComponent)) return false; - PackagedProductDefinitionPackageContainedItemComponent o = (PackagedProductDefinitionPackageContainedItemComponent) other_; + PackagedProductDefinitionPackagingContainedItemComponent o = (PackagedProductDefinitionPackagingContainedItemComponent) other_; return compareDeep(item, o.item, true) && compareDeep(amount, o.amount, true); } @@ -1601,9 +1607,9 @@ public class PackagedProductDefinition extends DomainResource { public boolean equalsShallow(Base other_) { if (!super.equalsShallow(other_)) return false; - if (!(other_ instanceof PackagedProductDefinitionPackageContainedItemComponent)) + if (!(other_ instanceof PackagedProductDefinitionPackagingContainedItemComponent)) return false; - PackagedProductDefinitionPackageContainedItemComponent o = (PackagedProductDefinitionPackageContainedItemComponent) other_; + PackagedProductDefinitionPackagingContainedItemComponent o = (PackagedProductDefinitionPackagingContainedItemComponent) other_; return true; } @@ -1612,45 +1618,46 @@ public class PackagedProductDefinition extends DomainResource { } public String fhirType() { - return "PackagedProductDefinition.package.containedItem"; + return "PackagedProductDefinition.packaging.containedItem"; } } /** - * Unique identifier. + * A unique identifier for this package as whole - not the the content of the package. Unique instance identifiers assigned to a package by manufacturers, regulators, drug catalogue custodians or other organizations. */ @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Unique identifier", formalDefinition="Unique identifier." ) + @Description(shortDefinition="A unique identifier for this package as whole - not for the content of the package", formalDefinition="A unique identifier for this package as whole - not the the content of the package. Unique instance identifiers assigned to a package by manufacturers, regulators, drug catalogue custodians or other organizations." ) protected List identifier; /** * A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc. */ @Child(name = "name", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc", formalDefinition="A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc." ) + @Description(shortDefinition="A name for this package. Typically as listed in a drug formulary, catalogue, inventory etc", formalDefinition="A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc." ) protected StringType name; /** * A high level category e.g. medicinal product, raw material, shipping/transport container, etc. */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A high level category e.g. medicinal product, raw material, shipping/transport container, etc", formalDefinition="A high level category e.g. medicinal product, raw material, shipping/transport container, etc." ) + @Description(shortDefinition="A high level category e.g. medicinal product, raw material, shipping container etc", formalDefinition="A high level category e.g. medicinal product, raw material, shipping/transport container, etc." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/package-type") protected CodeableConcept type; /** - * The product that this is a pack for. + * The product this package model relates to, not the contents of the package (for which see package.containedItem). */ @Child(name = "packageFor", type = {MedicinalProductDefinition.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The product that this is a pack for", formalDefinition="The product that this is a pack for." ) + @Description(shortDefinition="The product that this is a pack for", formalDefinition="The product this package model relates to, not the contents of the package (for which see package.containedItem)." ) protected List packageFor; /** * The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status. */ @Child(name = "status", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=true, summary=true) - @Description(shortDefinition="The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status", formalDefinition="The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status." ) + @Description(shortDefinition="The status within the lifecycle of this item. High level - not intended to duplicate details elsewhere e.g. legal status, or authorization/marketing status", formalDefinition="The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; @@ -1662,10 +1669,10 @@ public class PackagedProductDefinition extends DomainResource { protected DateTimeType statusDate; /** - * A total of the amount of items in the package, per item type. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource. + * A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource. */ @Child(name = "containedItemQuantity", type = {Quantity.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A total of the amount of items in the package, per item type. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource", formalDefinition="A total of the amount of items in the package, per item type. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource." ) + @Description(shortDefinition="A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size", formalDefinition="A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource." ) protected List containedItemQuantity; /** @@ -1683,31 +1690,32 @@ public class PackagedProductDefinition extends DomainResource { protected List legalStatusOfSupply; /** - * Marketing information. + * Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated. */ @Child(name = "marketingStatus", type = {MarketingStatus.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Marketing information", formalDefinition="Marketing information." ) + @Description(shortDefinition="Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated", formalDefinition="Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated." ) protected List marketingStatus; /** * Allows the key features to be recorded, such as "hospital pack", "nurse prescribable", "calendar pack". */ @Child(name = "characteristic", type = {CodeableConcept.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Allows the key features to be recorded, such as \"hospital pack\", \"nurse prescribable\", \"calendar pack\"", formalDefinition="Allows the key features to be recorded, such as \"hospital pack\", \"nurse prescribable\", \"calendar pack\"." ) + @Description(shortDefinition="Allows the key features to be recorded, such as \"hospital pack\", \"nurse prescribable\"", formalDefinition="Allows the key features to be recorded, such as \"hospital pack\", \"nurse prescribable\", \"calendar pack\"." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/package-characteristic") protected List characteristic; /** - * States whether a drug product is supplied with another item such as a diluent or adjuvant. + * Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant. */ @Child(name = "copackagedIndicator", type = {BooleanType.class}, order=11, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="States whether a drug product is supplied with another item such as a diluent or adjuvant", formalDefinition="States whether a drug product is supplied with another item such as a diluent or adjuvant." ) + @Description(shortDefinition="Identifies if the drug product is supplied with another item such as a diluent or adjuvant", formalDefinition="Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant." ) protected BooleanType copackagedIndicator; /** * Manufacturer of this package type. When there are multiple it means these are all possible manufacturers. */ @Child(name = "manufacturer", type = {Organization.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Manufacturer of this package type. When there are multiple it means these are all possible manufacturers", formalDefinition="Manufacturer of this package type. When there are multiple it means these are all possible manufacturers." ) + @Description(shortDefinition="Manufacturer of this package type (multiple means these are all possible manufacturers)", formalDefinition="Manufacturer of this package type. When there are multiple it means these are all possible manufacturers." ) protected List manufacturer; /** @@ -1720,11 +1728,11 @@ public class PackagedProductDefinition extends DomainResource { /** * A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item). */ - @Child(name = "package", type = {}, order=14, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item)", formalDefinition="A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item)." ) - protected PackagedProductDefinitionPackageComponent package_; + @Child(name = "packaging", type = {}, order=14, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap", formalDefinition="A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item)." ) + protected PackagedProductDefinitionPackagingComponent packaging; - private static final long serialVersionUID = -575424428L; + private static final long serialVersionUID = 1842561437L; /** * Constructor @@ -1734,7 +1742,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #identifier} (Unique identifier.) + * @return {@link #identifier} (A unique identifier for this package as whole - not the the content of the package. Unique instance identifiers assigned to a package by manufacturers, regulators, drug catalogue custodians or other organizations.) */ public List getIdentifier() { if (this.identifier == null) @@ -1860,7 +1868,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #packageFor} (The product that this is a pack for.) + * @return {@link #packageFor} (The product this package model relates to, not the contents of the package (for which see package.containedItem).) */ public List getPackageFor() { if (this.packageFor == null) @@ -1986,7 +1994,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #containedItemQuantity} (A total of the amount of items in the package, per item type. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.) + * @return {@link #containedItemQuantity} (A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.) */ public List getContainedItemQuantity() { if (this.containedItemQuantity == null) @@ -2141,7 +2149,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #marketingStatus} (Marketing information.) + * @return {@link #marketingStatus} (Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated.) */ public List getMarketingStatus() { if (this.marketingStatus == null) @@ -2247,7 +2255,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #copackagedIndicator} (States whether a drug product is supplied with another item such as a diluent or adjuvant.). This is the underlying object with id, value and extensions. The accessor "getCopackagedIndicator" gives direct access to the value + * @return {@link #copackagedIndicator} (Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant.). This is the underlying object with id, value and extensions. The accessor "getCopackagedIndicator" gives direct access to the value */ public BooleanType getCopackagedIndicatorElement() { if (this.copackagedIndicator == null) @@ -2267,7 +2275,7 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @param value {@link #copackagedIndicator} (States whether a drug product is supplied with another item such as a diluent or adjuvant.). This is the underlying object with id, value and extensions. The accessor "getCopackagedIndicator" gives direct access to the value + * @param value {@link #copackagedIndicator} (Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant.). This is the underlying object with id, value and extensions. The accessor "getCopackagedIndicator" gives direct access to the value */ public PackagedProductDefinition setCopackagedIndicatorElement(BooleanType value) { this.copackagedIndicator = value; @@ -2275,14 +2283,14 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return States whether a drug product is supplied with another item such as a diluent or adjuvant. + * @return Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant. */ public boolean getCopackagedIndicator() { return this.copackagedIndicator == null || this.copackagedIndicator.isEmpty() ? false : this.copackagedIndicator.getValue(); } /** - * @param value States whether a drug product is supplied with another item such as a diluent or adjuvant. + * @param value Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant. */ public PackagedProductDefinition setCopackagedIndicator(boolean value) { if (this.copackagedIndicator == null) @@ -2398,66 +2406,66 @@ public class PackagedProductDefinition extends DomainResource { } /** - * @return {@link #package_} (A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).) + * @return {@link #packaging} (A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).) */ - public PackagedProductDefinitionPackageComponent getPackage() { - if (this.package_ == null) + public PackagedProductDefinitionPackagingComponent getPackaging() { + if (this.packaging == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create PackagedProductDefinition.package_"); + throw new Error("Attempt to auto-create PackagedProductDefinition.packaging"); else if (Configuration.doAutoCreate()) - this.package_ = new PackagedProductDefinitionPackageComponent(); // cc - return this.package_; + this.packaging = new PackagedProductDefinitionPackagingComponent(); // cc + return this.packaging; } - public boolean hasPackage() { - return this.package_ != null && !this.package_.isEmpty(); + public boolean hasPackaging() { + return this.packaging != null && !this.packaging.isEmpty(); } /** - * @param value {@link #package_} (A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).) + * @param value {@link #packaging} (A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).) */ - public PackagedProductDefinition setPackage(PackagedProductDefinitionPackageComponent value) { - this.package_ = value; + public PackagedProductDefinition setPackaging(PackagedProductDefinitionPackagingComponent value) { + this.packaging = value; return this; } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "Unique identifier.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("identifier", "Identifier", "A unique identifier for this package as whole - not the the content of the package. Unique instance identifiers assigned to a package by manufacturers, regulators, drug catalogue custodians or other organizations.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("name", "string", "A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc.", 0, 1, name)); children.add(new Property("type", "CodeableConcept", "A high level category e.g. medicinal product, raw material, shipping/transport container, etc.", 0, 1, type)); - children.add(new Property("packageFor", "Reference(MedicinalProductDefinition)", "The product that this is a pack for.", 0, java.lang.Integer.MAX_VALUE, packageFor)); + children.add(new Property("packageFor", "Reference(MedicinalProductDefinition)", "The product this package model relates to, not the contents of the package (for which see package.containedItem).", 0, java.lang.Integer.MAX_VALUE, packageFor)); children.add(new Property("status", "CodeableConcept", "The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status.", 0, 1, status)); children.add(new Property("statusDate", "dateTime", "The date at which the given status became applicable.", 0, 1, statusDate)); - children.add(new Property("containedItemQuantity", "Quantity", "A total of the amount of items in the package, per item type. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.", 0, java.lang.Integer.MAX_VALUE, containedItemQuantity)); + children.add(new Property("containedItemQuantity", "Quantity", "A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.", 0, java.lang.Integer.MAX_VALUE, containedItemQuantity)); children.add(new Property("description", "markdown", "Textual description. Note that this is not the name of the package or product.", 0, 1, description)); children.add(new Property("legalStatusOfSupply", "", "The legal status of supply of the packaged item as classified by the regulator.", 0, java.lang.Integer.MAX_VALUE, legalStatusOfSupply)); - children.add(new Property("marketingStatus", "MarketingStatus", "Marketing information.", 0, java.lang.Integer.MAX_VALUE, marketingStatus)); + children.add(new Property("marketingStatus", "MarketingStatus", "Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated.", 0, java.lang.Integer.MAX_VALUE, marketingStatus)); children.add(new Property("characteristic", "CodeableConcept", "Allows the key features to be recorded, such as \"hospital pack\", \"nurse prescribable\", \"calendar pack\".", 0, java.lang.Integer.MAX_VALUE, characteristic)); - children.add(new Property("copackagedIndicator", "boolean", "States whether a drug product is supplied with another item such as a diluent or adjuvant.", 0, 1, copackagedIndicator)); + children.add(new Property("copackagedIndicator", "boolean", "Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant.", 0, 1, copackagedIndicator)); children.add(new Property("manufacturer", "Reference(Organization)", "Manufacturer of this package type. When there are multiple it means these are all possible manufacturers.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); children.add(new Property("attachedDocument", "Reference(DocumentReference)", "Additional information or supporting documentation about the packaged product.", 0, java.lang.Integer.MAX_VALUE, attachedDocument)); - children.add(new Property("package", "", "A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).", 0, 1, package_)); + children.add(new Property("packaging", "", "A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).", 0, 1, packaging)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Unique identifier.", 0, java.lang.Integer.MAX_VALUE, identifier); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "A unique identifier for this package as whole - not the the content of the package. Unique instance identifiers assigned to a package by manufacturers, regulators, drug catalogue custodians or other organizations.", 0, java.lang.Integer.MAX_VALUE, identifier); case 3373707: /*name*/ return new Property("name", "string", "A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc.", 0, 1, name); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A high level category e.g. medicinal product, raw material, shipping/transport container, etc.", 0, 1, type); - case 29307555: /*packageFor*/ return new Property("packageFor", "Reference(MedicinalProductDefinition)", "The product that this is a pack for.", 0, java.lang.Integer.MAX_VALUE, packageFor); + case 29307555: /*packageFor*/ return new Property("packageFor", "Reference(MedicinalProductDefinition)", "The product this package model relates to, not the contents of the package (for which see package.containedItem).", 0, java.lang.Integer.MAX_VALUE, packageFor); case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status.", 0, 1, status); case 247524032: /*statusDate*/ return new Property("statusDate", "dateTime", "The date at which the given status became applicable.", 0, 1, statusDate); - case -1686893359: /*containedItemQuantity*/ return new Property("containedItemQuantity", "Quantity", "A total of the amount of items in the package, per item type. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.", 0, java.lang.Integer.MAX_VALUE, containedItemQuantity); + case -1686893359: /*containedItemQuantity*/ return new Property("containedItemQuantity", "Quantity", "A total of the complete count of contained items of a particular type/form, independent of sub-packaging or organization. This can be considered as the pack size. This attribute differs from containedItem.amount in that it can give a single aggregated count of all tablet types in a pack, even when these are different manufactured items. For example a pill pack of 21 tablets plus 7 sugar tablets, can be denoted here as '28 tablets'. This attribute is repeatable so that the different item types in one pack type can be counted (e.g. a count of vials and count of syringes). Each repeat must have different units, so that it is clear what the different sets of counted items are, and it is not intended to allow different counts of similar items (e.g. not '2 tubes and 3 tubes'). Repeats are not to be used to represent different pack sizes (e.g. 20 pack vs. 50 pack) - which would be different instances of this resource.", 0, java.lang.Integer.MAX_VALUE, containedItemQuantity); case -1724546052: /*description*/ return new Property("description", "markdown", "Textual description. Note that this is not the name of the package or product.", 0, 1, description); case -844874031: /*legalStatusOfSupply*/ return new Property("legalStatusOfSupply", "", "The legal status of supply of the packaged item as classified by the regulator.", 0, java.lang.Integer.MAX_VALUE, legalStatusOfSupply); - case 70767032: /*marketingStatus*/ return new Property("marketingStatus", "MarketingStatus", "Marketing information.", 0, java.lang.Integer.MAX_VALUE, marketingStatus); + case 70767032: /*marketingStatus*/ return new Property("marketingStatus", "MarketingStatus", "Allows specifying that an item is on the market for sale, or that it is not available, and the dates and locations associated.", 0, java.lang.Integer.MAX_VALUE, marketingStatus); case 366313883: /*characteristic*/ return new Property("characteristic", "CodeableConcept", "Allows the key features to be recorded, such as \"hospital pack\", \"nurse prescribable\", \"calendar pack\".", 0, java.lang.Integer.MAX_VALUE, characteristic); - case -1638663195: /*copackagedIndicator*/ return new Property("copackagedIndicator", "boolean", "States whether a drug product is supplied with another item such as a diluent or adjuvant.", 0, 1, copackagedIndicator); + case -1638663195: /*copackagedIndicator*/ return new Property("copackagedIndicator", "boolean", "Identifies if the package contains different items, such as when a drug product is supplied with another item e.g. a diluent or adjuvant.", 0, 1, copackagedIndicator); case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "Manufacturer of this package type. When there are multiple it means these are all possible manufacturers.", 0, java.lang.Integer.MAX_VALUE, manufacturer); case -513945889: /*attachedDocument*/ return new Property("attachedDocument", "Reference(DocumentReference)", "Additional information or supporting documentation about the packaged product.", 0, java.lang.Integer.MAX_VALUE, attachedDocument); - case -807062458: /*package*/ return new Property("package", "", "A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).", 0, 1, package_); + case 1802065795: /*packaging*/ return new Property("packaging", "", "A packaging item, as a container for medically related items, possibly with other packaging items within, or a packaging component, such as bottle cap (which is not a device or a medication manufactured item).", 0, 1, packaging); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2480,7 +2488,7 @@ public class PackagedProductDefinition extends DomainResource { case -1638663195: /*copackagedIndicator*/ return this.copackagedIndicator == null ? new Base[0] : new Base[] {this.copackagedIndicator}; // BooleanType case -1969347631: /*manufacturer*/ return this.manufacturer == null ? new Base[0] : this.manufacturer.toArray(new Base[this.manufacturer.size()]); // Reference case -513945889: /*attachedDocument*/ return this.attachedDocument == null ? new Base[0] : this.attachedDocument.toArray(new Base[this.attachedDocument.size()]); // Reference - case -807062458: /*package*/ return this.package_ == null ? new Base[0] : new Base[] {this.package_}; // PackagedProductDefinitionPackageComponent + case 1802065795: /*packaging*/ return this.packaging == null ? new Base[0] : new Base[] {this.packaging}; // PackagedProductDefinitionPackagingComponent default: return super.getProperty(hash, name, checkValid); } @@ -2531,8 +2539,8 @@ public class PackagedProductDefinition extends DomainResource { case -513945889: // attachedDocument this.getAttachedDocument().add(TypeConvertor.castToReference(value)); // Reference return value; - case -807062458: // package - this.package_ = (PackagedProductDefinitionPackageComponent) value; // PackagedProductDefinitionPackageComponent + case 1802065795: // packaging + this.packaging = (PackagedProductDefinitionPackagingComponent) value; // PackagedProductDefinitionPackagingComponent return value; default: return super.setProperty(hash, name, value); } @@ -2569,8 +2577,8 @@ public class PackagedProductDefinition extends DomainResource { this.getManufacturer().add(TypeConvertor.castToReference(value)); } else if (name.equals("attachedDocument")) { this.getAttachedDocument().add(TypeConvertor.castToReference(value)); - } else if (name.equals("package")) { - this.package_ = (PackagedProductDefinitionPackageComponent) value; // PackagedProductDefinitionPackageComponent + } else if (name.equals("packaging")) { + this.packaging = (PackagedProductDefinitionPackagingComponent) value; // PackagedProductDefinitionPackagingComponent } else return super.setProperty(name, value); return value; @@ -2593,7 +2601,7 @@ public class PackagedProductDefinition extends DomainResource { case -1638663195: return getCopackagedIndicatorElement(); case -1969347631: return addManufacturer(); case -513945889: return addAttachedDocument(); - case -807062458: return getPackage(); + case 1802065795: return getPackaging(); default: return super.makeProperty(hash, name); } @@ -2616,7 +2624,7 @@ public class PackagedProductDefinition extends DomainResource { case -1638663195: /*copackagedIndicator*/ return new String[] {"boolean"}; case -1969347631: /*manufacturer*/ return new String[] {"Reference"}; case -513945889: /*attachedDocument*/ return new String[] {"Reference"}; - case -807062458: /*package*/ return new String[] {}; + case 1802065795: /*packaging*/ return new String[] {}; default: return super.getTypesForProperty(hash, name); } @@ -2668,9 +2676,9 @@ public class PackagedProductDefinition extends DomainResource { else if (name.equals("attachedDocument")) { return addAttachedDocument(); } - else if (name.equals("package")) { - this.package_ = new PackagedProductDefinitionPackageComponent(); - return this.package_; + else if (name.equals("packaging")) { + this.packaging = new PackagedProductDefinitionPackagingComponent(); + return this.packaging; } else return super.addChild(name); @@ -2735,7 +2743,7 @@ public class PackagedProductDefinition extends DomainResource { for (Reference i : attachedDocument) dst.attachedDocument.add(i.copy()); }; - dst.package_ = package_ == null ? null : package_.copy(); + dst.packaging = packaging == null ? null : packaging.copy(); } protected PackagedProductDefinition typedCopy() { @@ -2755,7 +2763,7 @@ public class PackagedProductDefinition extends DomainResource { && compareDeep(legalStatusOfSupply, o.legalStatusOfSupply, true) && compareDeep(marketingStatus, o.marketingStatus, true) && compareDeep(characteristic, o.characteristic, true) && compareDeep(copackagedIndicator, o.copackagedIndicator, true) && compareDeep(manufacturer, o.manufacturer, true) && compareDeep(attachedDocument, o.attachedDocument, true) - && compareDeep(package_, o.package_, true); + && compareDeep(packaging, o.packaging, true); } @Override @@ -2772,7 +2780,7 @@ public class PackagedProductDefinition extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, name, type, packageFor , status, statusDate, containedItemQuantity, description, legalStatusOfSupply, marketingStatus - , characteristic, copackagedIndicator, manufacturer, attachedDocument, package_); + , characteristic, copackagedIndicator, manufacturer, attachedDocument, packaging); } @Override @@ -2780,274 +2788,6 @@ public class PackagedProductDefinition extends DomainResource { return ResourceType.PackagedProductDefinition; } - /** - * Search parameter: biological - *

- * Description: A biologically derived product within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="biological", path="PackagedProductDefinition.package.containedItem.item.reference", description="A biologically derived product within this packaged product", type="reference" ) - public static final String SP_BIOLOGICAL = "biological"; - /** - * Fluent Client search parameter constant for biological - *

- * Description: A biologically derived product within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BIOLOGICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BIOLOGICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:biological". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BIOLOGICAL = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:biological").toLocked(); - - /** - * Search parameter: contained-item - *

- * Description: Any of the contained items within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="contained-item", path="PackagedProductDefinition.package.containedItem.item.reference", description="Any of the contained items within this packaged product", type="reference" ) - public static final String SP_CONTAINED_ITEM = "contained-item"; - /** - * Fluent Client search parameter constant for contained-item - *

- * Description: Any of the contained items within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTAINED_ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONTAINED_ITEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:contained-item". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTAINED_ITEM = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:contained-item").toLocked(); - - /** - * Search parameter: device - *

- * Description: A device within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="device", path="PackagedProductDefinition.package.containedItem.item.reference", description="A device within this packaged product", type="reference" ) - public static final String SP_DEVICE = "device"; - /** - * Fluent Client search parameter constant for device - *

- * Description: A device within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:device". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:device").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: PackagedProductDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="PackagedProductDefinition.identifier", description="Unique identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Unique identifier
- * Type: token
- * Path: PackagedProductDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: manufactured-item - *

- * Description: A manufactured item of medication within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="manufactured-item", path="PackagedProductDefinition.package.containedItem.item.reference", description="A manufactured item of medication within this packaged product", type="reference" ) - public static final String SP_MANUFACTURED_ITEM = "manufactured-item"; - /** - * Fluent Client search parameter constant for manufactured-item - *

- * Description: A manufactured item of medication within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MANUFACTURED_ITEM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MANUFACTURED_ITEM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:manufactured-item". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MANUFACTURED_ITEM = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:manufactured-item").toLocked(); - - /** - * Search parameter: medication - *

- * Description: A manufactured item of medication within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="medication", path="PackagedProductDefinition.package.containedItem.item.reference", description="A manufactured item of medication within this packaged product", type="reference" ) - public static final String SP_MEDICATION = "medication"; - /** - * Fluent Client search parameter constant for medication - *

- * Description: A manufactured item of medication within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_MEDICATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:medication". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:medication").toLocked(); - - /** - * Search parameter: name - *

- * Description: A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc
- * Type: token
- * Path: PackagedProductDefinition.name
- *

- */ - @SearchParamDefinition(name="name", path="PackagedProductDefinition.name", description="A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc", type="token" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A name for this package. Typically what it would be listed as in a drug formulary or catalogue, inventory etc
- * Type: token
- * Path: PackagedProductDefinition.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam NAME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_NAME); - - /** - * Search parameter: nutrition - *

- * Description: A nutrition product within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="nutrition", path="PackagedProductDefinition.package.containedItem.item.reference", description="A nutrition product within this packaged product", type="reference" ) - public static final String SP_NUTRITION = "nutrition"; - /** - * Fluent Client search parameter constant for nutrition - *

- * Description: A nutrition product within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam NUTRITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_NUTRITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:nutrition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_NUTRITION = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:nutrition").toLocked(); - - /** - * Search parameter: package-for - *

- * Description: The product that this is a pack for
- * Type: reference
- * Path: PackagedProductDefinition.packageFor
- *

- */ - @SearchParamDefinition(name="package-for", path="PackagedProductDefinition.packageFor", description="The product that this is a pack for", type="reference", target={MedicinalProductDefinition.class } ) - public static final String SP_PACKAGE_FOR = "package-for"; - /** - * Fluent Client search parameter constant for package-for - *

- * Description: The product that this is a pack for
- * Type: reference
- * Path: PackagedProductDefinition.packageFor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PACKAGE_FOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PACKAGE_FOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:package-for". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PACKAGE_FOR = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:package-for").toLocked(); - - /** - * Search parameter: package - *

- * Description: A complete packaged product within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - @SearchParamDefinition(name="package", path="PackagedProductDefinition.package.containedItem.item.reference", description="A complete packaged product within this packaged product", type="reference" ) - public static final String SP_PACKAGE = "package"; - /** - * Fluent Client search parameter constant for package - *

- * Description: A complete packaged product within this packaged product
- * Type: reference
- * Path: PackagedProductDefinition.package.containedItem.item.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PACKAGE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PACKAGE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PackagedProductDefinition:package". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PACKAGE = new ca.uhn.fhir.model.api.Include("PackagedProductDefinition:package").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status
- * Type: token
- * Path: PackagedProductDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="PackagedProductDefinition.status", description="The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status within the lifecycle of this item. A high level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization or marketing status
- * Type: token
- * Path: PackagedProductDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ParameterDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ParameterDefinition.java index 333b62d35..adf395cf8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ParameterDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ParameterDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Parameters.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Parameters.java index e72a34006..2fb1f31d7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Parameters.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Parameters.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -50,7 +50,7 @@ import ca.uhn.fhir.model.api.annotation.Block; import org.hl7.fhir.instance.model.api.IBaseParameters; import org.hl7.fhir.utilities.CommaSeparatedStringBuilder; /** - * This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it. + * This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it. */ @ResourceDef(name="Parameters", profile="http://hl7.org/fhir/StructureDefinition/Parameters") public class Parameters extends Resource implements IBaseParameters { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Patient.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Patient.java index cf8316c53..af4b1c340 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Patient.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Patient.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class Patient extends DomainResource { case REPLACES: return "replaces"; case REFER: return "refer"; case SEEALSO: return "seealso"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class Patient extends DomainResource { case REPLACES: 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 NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class Patient extends DomainResource { case REPLACES: return "The patient resource containing this link is the current active patient record. The link points back to an inactive patient resource that has been merged into this resource, and should be consulted to retrieve additional referenced information."; case REFER: return "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."; case SEEALSO: return "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."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class Patient extends DomainResource { case REPLACES: return "Replaces"; case REFER: return "Refer"; case SEEALSO: return "See also"; + case NULL: return null; default: return "?"; } } @@ -1279,10 +1283,10 @@ Deceased patients may also be marked as inactive for the same reasons, but may b protected Reference managingOrganization; /** - * Link to another patient or RelatedPErson resource that concerns the same actual patient. + * Link to a Patient or RelatedPerson resource that concerns the same actual individual. */ @Child(name = "link", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=true, summary=true) - @Description(shortDefinition="Link to other Patient or RelatedPerson resource(s) that concerns the same actual person", formalDefinition="Link to another patient or RelatedPErson resource that concerns the same actual patient." ) + @Description(shortDefinition="Link to a Patient or RelatedPerson resource that concerns the same actual individual", formalDefinition="Link to a Patient or RelatedPerson resource that concerns the same actual individual." ) protected List link; private static final long serialVersionUID = 1376657499L; @@ -2032,7 +2036,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b } /** - * @return {@link #link} (Link to another patient or RelatedPErson resource that concerns the same actual patient.) + * @return {@link #link} (Link to a Patient or RelatedPerson resource that concerns the same actual individual.) */ public List getLink() { if (this.link == null) @@ -2101,7 +2105,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b children.add(new Property("communication", "", "A language which may be used to communicate with the patient about his or her health.", 0, java.lang.Integer.MAX_VALUE, communication)); children.add(new Property("generalPractitioner", "Reference(Organization|Practitioner|PractitionerRole)", "Patient's nominated care provider.", 0, java.lang.Integer.MAX_VALUE, generalPractitioner)); children.add(new Property("managingOrganization", "Reference(Organization)", "Organization that is the custodian of the patient record.", 0, 1, managingOrganization)); - children.add(new Property("link", "", "Link to another patient or RelatedPErson resource that concerns the same actual patient.", 0, java.lang.Integer.MAX_VALUE, link)); + children.add(new Property("link", "", "Link to a Patient or RelatedPerson resource that concerns the same actual individual.", 0, java.lang.Integer.MAX_VALUE, link)); } @Override @@ -2128,7 +2132,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b case -1035284522: /*communication*/ return new Property("communication", "", "A language which may be used to communicate with the patient about his or her health.", 0, java.lang.Integer.MAX_VALUE, communication); case 1488292898: /*generalPractitioner*/ return new Property("generalPractitioner", "Reference(Organization|Practitioner|PractitionerRole)", "Patient's nominated care provider.", 0, java.lang.Integer.MAX_VALUE, generalPractitioner); case -2058947787: /*managingOrganization*/ return new Property("managingOrganization", "Reference(Organization)", "Organization that is the custodian of the patient record.", 0, 1, managingOrganization); - case 3321850: /*link*/ return new Property("link", "", "Link to another patient or RelatedPErson resource that concerns the same actual patient.", 0, java.lang.Integer.MAX_VALUE, link); + case 3321850: /*link*/ return new Property("link", "", "Link to a Patient or RelatedPerson resource that concerns the same actual individual.", 0, java.lang.Integer.MAX_VALUE, link); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2481,204 +2485,6 @@ Deceased patients may also be marked as inactive for the same reasons, but may b return ResourceType.Patient; } - /** - * Search parameter: active - *

- * Description: Whether the patient record is active
- * Type: token
- * Path: Patient.active
- *

- */ - @SearchParamDefinition(name="active", path="Patient.active", description="Whether the patient record is active", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Whether the patient record is active
- * Type: token
- * Path: Patient.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: death-date - *

- * Description: The date of death has been provided and satisfies this search value
- * Type: date
- * Path: (Patient.deceased as dateTime)
- *

- */ - @SearchParamDefinition(name="death-date", path="(Patient.deceased as dateTime)", description="The date of death has been provided and satisfies this search value", type="date" ) - public static final String SP_DEATH_DATE = "death-date"; - /** - * Fluent Client search parameter constant for death-date - *

- * Description: The date of death has been provided and satisfies this search value
- * Type: date
- * Path: (Patient.deceased as dateTime)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DEATH_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DEATH_DATE); - - /** - * Search parameter: deceased - *

- * Description: This patient has been marked as deceased, or has a death date entered
- * Type: token
- * Path: Patient.deceased.exists() and Patient.deceased != false
- *

- */ - @SearchParamDefinition(name="deceased", path="Patient.deceased.exists() and Patient.deceased != false", description="This patient has been marked as deceased, or has a death date entered", type="token" ) - public static final String SP_DECEASED = "deceased"; - /** - * Fluent Client search parameter constant for deceased - *

- * Description: This patient has been marked as deceased, or has a death date entered
- * Type: token
- * Path: Patient.deceased.exists() and Patient.deceased != false
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DECEASED = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DECEASED); - - /** - * Search parameter: general-practitioner - *

- * Description: Patient's nominated general practitioner, not the organization that manages the record
- * Type: reference
- * Path: Patient.generalPractitioner
- *

- */ - @SearchParamDefinition(name="general-practitioner", path="Patient.generalPractitioner", description="Patient's nominated general practitioner, not the organization that manages the record", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_GENERAL_PRACTITIONER = "general-practitioner"; - /** - * Fluent Client search parameter constant for general-practitioner - *

- * Description: Patient's nominated general practitioner, not the organization that manages the record
- * Type: reference
- * Path: Patient.generalPractitioner
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam GENERAL_PRACTITIONER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_GENERAL_PRACTITIONER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Patient:general-practitioner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_GENERAL_PRACTITIONER = new ca.uhn.fhir.model.api.Include("Patient:general-practitioner").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: A patient identifier
- * Type: token
- * Path: Patient.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Patient.identifier", description="A patient identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A patient identifier
- * Type: token
- * Path: Patient.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: language - *

- * Description: Language code (irrespective of use value)
- * Type: token
- * Path: Patient.communication.language
- *

- */ - @SearchParamDefinition(name="language", path="Patient.communication.language", description="Language code (irrespective of use value)", type="token" ) - public static final String SP_LANGUAGE = "language"; - /** - * Fluent Client search parameter constant for language - *

- * Description: Language code (irrespective of use value)
- * Type: token
- * Path: Patient.communication.language
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LANGUAGE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LANGUAGE); - - /** - * Search parameter: link - *

- * Description: All patients linked to the given patient
- * Type: reference
- * Path: Patient.link.other
- *

- */ - @SearchParamDefinition(name="link", path="Patient.link.other", description="All patients linked to the given patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Patient.class, RelatedPerson.class } ) - public static final String SP_LINK = "link"; - /** - * Fluent Client search parameter constant for link - *

- * Description: All patients linked to the given patient
- * Type: reference
- * Path: Patient.link.other
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LINK = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LINK); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Patient:link". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LINK = new ca.uhn.fhir.model.api.Include("Patient:link").toLocked(); - - /** - * Search parameter: name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, given, prefix, suffix, and/or text
- * Type: string
- * Path: Patient.name
- *

- */ - @SearchParamDefinition(name="name", path="Patient.name", description="A server defined search that may match any of the string fields in the HumanName, including family, given, prefix, suffix, and/or text", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, given, prefix, suffix, and/or text
- * Type: string
- * Path: Patient.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: organization - *

- * Description: The organization that is the custodian of the patient record
- * Type: reference
- * Path: Patient.managingOrganization
- *

- */ - @SearchParamDefinition(name="organization", path="Patient.managingOrganization", description="The organization that is the custodian of the patient record", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The organization that is the custodian of the patient record
- * Type: reference
- * Path: Patient.managingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Patient:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("Patient:organization").toLocked(); - /** * Search parameter: part-agree *

@@ -2705,450 +2511,6 @@ Deceased patients may also be marked as inactive for the same reasons, but may b */ public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_AGREE = new ca.uhn.fhir.model.api.Include("Patient:part-agree").toLocked(); - /** - * Search parameter: address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A city specified in an address\r\n* [Person](person.html): A city specified in an address\r\n* [Practitioner](practitioner.html): A city specified in an address\r\n* [RelatedPerson](relatedperson.html): A city specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A country specified in an address\r\n* [Person](person.html): A country specified in an address\r\n* [Practitioner](practitioner.html): A country specified in an address\r\n* [RelatedPerson](relatedperson.html): A country specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode specified in an address\r\n* [Person](person.html): A postal code specified in an address\r\n* [Practitioner](practitioner.html): A postalCode specified in an address\r\n* [RelatedPerson](relatedperson.html): A postal code specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A state specified in an address\r\n* [Person](person.html): A state specified in an address\r\n* [Practitioner](practitioner.html): A state specified in an address\r\n* [RelatedPerson](relatedperson.html): A state specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A use code specified in an address\r\n* [Person](person.html): A use code specified in an address\r\n* [Practitioner](practitioner.html): A use code specified in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified in an address\r\n", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - @SearchParamDefinition(name="address", path="Patient.address | Person.address | Practitioner.address | RelatedPerson.address", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: birthdate - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The patient's date of birth -* [Person](person.html): The person's date of birth -* [RelatedPerson](relatedperson.html): The Related Person's date of birth -
- * Type: date
- * Path: Patient.birthDate | Person.birthDate | RelatedPerson.birthDate
- *

- */ - @SearchParamDefinition(name="birthdate", path="Patient.birthDate | Person.birthDate | RelatedPerson.birthDate", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's date of birth\r\n* [Person](person.html): The person's date of birth\r\n* [RelatedPerson](relatedperson.html): The Related Person's date of birth\r\n", type="date" ) - public static final String SP_BIRTHDATE = "birthdate"; - /** - * Fluent Client search parameter constant for birthdate - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The patient's date of birth -* [Person](person.html): The person's date of birth -* [RelatedPerson](relatedperson.html): The Related Person's date of birth -
- * Type: date
- * Path: Patient.birthDate | Person.birthDate | RelatedPerson.birthDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam BIRTHDATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_BIRTHDATE); - - /** - * Search parameter: email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - @SearchParamDefinition(name="email", path="Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in an email contact\r\n* [Person](person.html): A value in an email contact\r\n* [Practitioner](practitioner.html): A value in an email contact\r\n* [PractitionerRole](practitionerrole.html): A value in an email contact\r\n* [RelatedPerson](relatedperson.html): A value in an email contact\r\n", type="token" ) - public static final String SP_EMAIL = "email"; - /** - * Fluent Client search parameter constant for email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMAIL); - - /** - * Search parameter: family - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the family name of the patient -* [Practitioner](practitioner.html): A portion of the family name -
- * Type: string
- * Path: Patient.name.family | Practitioner.name.family
- *

- */ - @SearchParamDefinition(name="family", path="Patient.name.family | Practitioner.name.family", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of the family name of the patient\r\n* [Practitioner](practitioner.html): A portion of the family name\r\n", type="string" ) - public static final String SP_FAMILY = "family"; - /** - * Fluent Client search parameter constant for family - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the family name of the patient -* [Practitioner](practitioner.html): A portion of the family name -
- * Type: string
- * Path: Patient.name.family | Practitioner.name.family
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam FAMILY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_FAMILY); - - /** - * Search parameter: gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - @SearchParamDefinition(name="gender", path="Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender of the patient\r\n* [Person](person.html): The gender of the person\r\n* [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html): Gender of the related person\r\n", type="token" ) - public static final String SP_GENDER = "gender"; - /** - * Fluent Client search parameter constant for gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GENDER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GENDER); - - /** - * Search parameter: given - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the given name of the patient -* [Practitioner](practitioner.html): A portion of the given name -
- * Type: string
- * Path: Patient.name.given | Practitioner.name.given
- *

- */ - @SearchParamDefinition(name="given", path="Patient.name.given | Practitioner.name.given", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of the given name of the patient\r\n* [Practitioner](practitioner.html): A portion of the given name\r\n", type="string" ) - public static final String SP_GIVEN = "given"; - /** - * Fluent Client search parameter constant for given - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the given name of the patient -* [Practitioner](practitioner.html): A portion of the given name -
- * Type: string
- * Path: Patient.name.given | Practitioner.name.given
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam GIVEN = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_GIVEN); - - /** - * Search parameter: phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - @SearchParamDefinition(name="phone", path="Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html): A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A value in a phone contact\r\n", type="token" ) - public static final String SP_PHONE = "phone"; - /** - * Fluent Client search parameter constant for phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PHONE); - - /** - * Search parameter: phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - @SearchParamDefinition(name="phonetic", path="Patient.name | Person.name | Practitioner.name | RelatedPerson.name", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [Person](person.html): A portion of name using some kind of phonetic matching algorithm\r\n* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm\r\n", type="string" ) - public static final String SP_PHONETIC = "phonetic"; - /** - * Fluent Client search parameter constant for phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PHONETIC); - - /** - * Search parameter: telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The value in any kind of telecom details of the patient\r\n* [Person](person.html): The value in any kind of contact\r\n* [Practitioner](practitioner.html): The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html): The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html): The value in any kind of contact\r\n", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - /** * Search parameter: age *

diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentNotice.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentNotice.java index bcb9e4059..e94906f54 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentNotice.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentNotice.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -838,164 +838,6 @@ public class PaymentNotice extends DomainResource { return ResourceType.PaymentNotice; } - /** - * Search parameter: created - *

- * Description: Creation date fro the notice
- * Type: date
- * Path: PaymentNotice.created
- *

- */ - @SearchParamDefinition(name="created", path="PaymentNotice.created", description="Creation date fro the notice", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: Creation date fro the notice
- * Type: date
- * Path: PaymentNotice.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: identifier - *

- * Description: The business identifier of the notice
- * Type: token
- * Path: PaymentNotice.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="PaymentNotice.identifier", description="The business identifier of the notice", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier of the notice
- * Type: token
- * Path: PaymentNotice.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: payment-status - *

- * Description: The type of payment notice
- * Type: token
- * Path: PaymentNotice.paymentStatus
- *

- */ - @SearchParamDefinition(name="payment-status", path="PaymentNotice.paymentStatus", description="The type of payment notice", type="token" ) - public static final String SP_PAYMENT_STATUS = "payment-status"; - /** - * Fluent Client search parameter constant for payment-status - *

- * Description: The type of payment notice
- * Type: token
- * Path: PaymentNotice.paymentStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PAYMENT_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PAYMENT_STATUS); - - /** - * Search parameter: provider - *

- * Description: The reference to the provider
- * Type: reference
- * Path: PaymentNotice.provider
- *

- */ - @SearchParamDefinition(name="provider", path="PaymentNotice.provider", description="The reference to the provider", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_PROVIDER = "provider"; - /** - * Fluent Client search parameter constant for provider - *

- * Description: The reference to the provider
- * Type: reference
- * Path: PaymentNotice.provider
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROVIDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROVIDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PaymentNotice:provider". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROVIDER = new ca.uhn.fhir.model.api.Include("PaymentNotice:provider").toLocked(); - - /** - * Search parameter: request - *

- * Description: The Claim
- * Type: reference
- * Path: PaymentNotice.request
- *

- */ - @SearchParamDefinition(name="request", path="PaymentNotice.request", description="The Claim", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The Claim
- * Type: reference
- * Path: PaymentNotice.request
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PaymentNotice:request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("PaymentNotice:request").toLocked(); - - /** - * Search parameter: response - *

- * Description: The ClaimResponse
- * Type: reference
- * Path: PaymentNotice.response
- *

- */ - @SearchParamDefinition(name="response", path="PaymentNotice.response", description="The ClaimResponse", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_RESPONSE = "response"; - /** - * Fluent Client search parameter constant for response - *

- * Description: The ClaimResponse
- * Type: reference
- * Path: PaymentNotice.response
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESPONSE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RESPONSE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PaymentNotice:response". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RESPONSE = new ca.uhn.fhir.model.api.Include("PaymentNotice:response").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the payment notice
- * Type: token
- * Path: PaymentNotice.status
- *

- */ - @SearchParamDefinition(name="status", path="PaymentNotice.status", description="The status of the payment notice", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the payment notice
- * Type: token
- * Path: PaymentNotice.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentReconciliation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentReconciliation.java index 3cbdb82a4..af164e38f 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentReconciliation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PaymentReconciliation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class PaymentReconciliation extends DomainResource { case COMPLETE: return "complete"; case ERROR: return "error"; case PARTIAL: return "partial"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class PaymentReconciliation extends DomainResource { case COMPLETE: return "http://hl7.org/fhir/payment-outcome"; case ERROR: return "http://hl7.org/fhir/payment-outcome"; case PARTIAL: return "http://hl7.org/fhir/payment-outcome"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class PaymentReconciliation extends DomainResource { case COMPLETE: return "The processing has completed without errors"; case ERROR: return "One or more errors have been detected in the Claim"; case PARTIAL: return "No errors have been detected in the Claim and some of the adjudication has been performed."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class PaymentReconciliation extends DomainResource { case COMPLETE: return "Processing Complete"; case ERROR: return "Error"; case PARTIAL: return "Partial Processing"; + case NULL: return null; default: return "?"; } } @@ -2070,184 +2074,6 @@ public class PaymentReconciliation extends DomainResource { return ResourceType.PaymentReconciliation; } - /** - * Search parameter: created - *

- * Description: The creation date
- * Type: date
- * Path: PaymentReconciliation.created
- *

- */ - @SearchParamDefinition(name="created", path="PaymentReconciliation.created", description="The creation date", type="date" ) - public static final String SP_CREATED = "created"; - /** - * Fluent Client search parameter constant for created - *

- * Description: The creation date
- * Type: date
- * Path: PaymentReconciliation.created
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_CREATED); - - /** - * Search parameter: disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: PaymentReconciliation.disposition
- *

- */ - @SearchParamDefinition(name="disposition", path="PaymentReconciliation.disposition", description="The contents of the disposition message", type="string" ) - public static final String SP_DISPOSITION = "disposition"; - /** - * Fluent Client search parameter constant for disposition - *

- * Description: The contents of the disposition message
- * Type: string
- * Path: PaymentReconciliation.disposition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DISPOSITION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DISPOSITION); - - /** - * Search parameter: identifier - *

- * Description: The business identifier of the ExplanationOfBenefit
- * Type: token
- * Path: PaymentReconciliation.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="PaymentReconciliation.identifier", description="The business identifier of the ExplanationOfBenefit", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The business identifier of the ExplanationOfBenefit
- * Type: token
- * Path: PaymentReconciliation.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: outcome - *

- * Description: The processing outcome
- * Type: token
- * Path: PaymentReconciliation.outcome
- *

- */ - @SearchParamDefinition(name="outcome", path="PaymentReconciliation.outcome", description="The processing outcome", type="token" ) - public static final String SP_OUTCOME = "outcome"; - /** - * Fluent Client search parameter constant for outcome - *

- * Description: The processing outcome
- * Type: token
- * Path: PaymentReconciliation.outcome
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam OUTCOME = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_OUTCOME); - - /** - * Search parameter: payment-issuer - *

- * Description: The organization which generated this resource
- * Type: reference
- * Path: PaymentReconciliation.paymentIssuer
- *

- */ - @SearchParamDefinition(name="payment-issuer", path="PaymentReconciliation.paymentIssuer", description="The organization which generated this resource", type="reference", target={Organization.class } ) - public static final String SP_PAYMENT_ISSUER = "payment-issuer"; - /** - * Fluent Client search parameter constant for payment-issuer - *

- * Description: The organization which generated this resource
- * Type: reference
- * Path: PaymentReconciliation.paymentIssuer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PAYMENT_ISSUER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PAYMENT_ISSUER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PaymentReconciliation:payment-issuer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PAYMENT_ISSUER = new ca.uhn.fhir.model.api.Include("PaymentReconciliation:payment-issuer").toLocked(); - - /** - * Search parameter: request - *

- * Description: The reference to the claim
- * Type: reference
- * Path: PaymentReconciliation.request
- *

- */ - @SearchParamDefinition(name="request", path="PaymentReconciliation.request", description="The reference to the claim", type="reference", target={Task.class } ) - public static final String SP_REQUEST = "request"; - /** - * Fluent Client search parameter constant for request - *

- * Description: The reference to the claim
- * Type: reference
- * Path: PaymentReconciliation.request
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUEST = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUEST); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PaymentReconciliation:request". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUEST = new ca.uhn.fhir.model.api.Include("PaymentReconciliation:request").toLocked(); - - /** - * Search parameter: requestor - *

- * Description: The reference to the provider who submitted the claim
- * Type: reference
- * Path: PaymentReconciliation.requestor
- *

- */ - @SearchParamDefinition(name="requestor", path="PaymentReconciliation.requestor", description="The reference to the provider who submitted the claim", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_REQUESTOR = "requestor"; - /** - * Fluent Client search parameter constant for requestor - *

- * Description: The reference to the provider who submitted the claim
- * Type: reference
- * Path: PaymentReconciliation.requestor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PaymentReconciliation:requestor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTOR = new ca.uhn.fhir.model.api.Include("PaymentReconciliation:requestor").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the payment reconciliation
- * Type: token
- * Path: PaymentReconciliation.status
- *

- */ - @SearchParamDefinition(name="status", path="PaymentReconciliation.status", description="The status of the payment reconciliation", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the payment reconciliation
- * Type: token
- * Path: PaymentReconciliation.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Period.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Period.java index d6f401866..c036e1807 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Period.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Period.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Permission.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Permission.java index e7c03a4b8..ba4c236b0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Permission.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Permission.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class Permission extends DomainResource { case ENTEREDINERROR: return "entered-in-error"; case DRAFT: return "draft"; case REJECTED: return "rejected"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class Permission extends DomainResource { case ENTEREDINERROR: return "http://hl7.org/fhir/permission-status"; case DRAFT: return "http://hl7.org/fhir/permission-status"; case REJECTED: return "http://hl7.org/fhir/permission-status"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class Permission extends DomainResource { case ENTEREDINERROR: return "Permission was entered in error and is not active."; case DRAFT: return "Permission is being defined."; case REJECTED: return "Permission not granted."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class Permission extends DomainResource { case ENTEREDINERROR: return "Entered in Error"; case DRAFT: return "Draft"; case REJECTED: return "Rejected"; + case NULL: return null; default: return "?"; } } @@ -807,7 +811,7 @@ public class Permission extends DomainResource { /** * The person or entity that asserts the permission. */ - @Child(name = "asserter", type = {Person.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Child(name = "asserter", type = {Practitioner.class, PractitionerRole.class, Organization.class, CareTeam.class, Patient.class, Device.class, RelatedPerson.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The person or entity that asserts the permission", formalDefinition="The person or entity that asserts the permission." ) protected Reference asserter; @@ -1295,7 +1299,7 @@ public class Permission extends DomainResource { super.listChildren(children); children.add(new Property("status", "code", "Status.", 0, 1, status)); children.add(new Property("intent", "CodeableConcept", "grant|refuse.", 0, 1, intent)); - children.add(new Property("asserter", "Reference(Person)", "The person or entity that asserts the permission.", 0, 1, asserter)); + children.add(new Property("asserter", "Reference(Practitioner|PractitionerRole|Organization|CareTeam|Patient|Device|RelatedPerson)", "The person or entity that asserts the permission.", 0, 1, asserter)); children.add(new Property("assertionDate", "dateTime", "The date that permission was asserted.", 0, java.lang.Integer.MAX_VALUE, assertionDate)); children.add(new Property("validity", "Period", "The period in which the permission is active.", 0, 1, validity)); children.add(new Property("purpose", "CodeableConcept", "The purpose for which the permission is given.", 0, java.lang.Integer.MAX_VALUE, purpose)); @@ -1310,7 +1314,7 @@ public class Permission extends DomainResource { switch (_hash) { case -892481550: /*status*/ return new Property("status", "code", "Status.", 0, 1, status); case -1183762788: /*intent*/ return new Property("intent", "CodeableConcept", "grant|refuse.", 0, 1, intent); - case -373242253: /*asserter*/ return new Property("asserter", "Reference(Person)", "The person or entity that asserts the permission.", 0, 1, asserter); + case -373242253: /*asserter*/ return new Property("asserter", "Reference(Practitioner|PractitionerRole|Organization|CareTeam|Patient|Device|RelatedPerson)", "The person or entity that asserts the permission.", 0, 1, asserter); case -1498338864: /*assertionDate*/ return new Property("assertionDate", "dateTime", "The date that permission was asserted.", 0, java.lang.Integer.MAX_VALUE, assertionDate); case -1421265102: /*validity*/ return new Property("validity", "Period", "The period in which the permission is active.", 0, 1, validity); case -220463842: /*purpose*/ return new Property("purpose", "CodeableConcept", "The purpose for which the permission is given.", 0, java.lang.Integer.MAX_VALUE, purpose); @@ -1569,26 +1573,6 @@ public class Permission extends DomainResource { return ResourceType.Permission; } - /** - * Search parameter: status - *

- * Description: active | entered-in-error | draft | rejected
- * Type: token
- * Path: Permission.status
- *

- */ - @SearchParamDefinition(name="status", path="Permission.status", description="active | entered-in-error | draft | rejected", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | entered-in-error | draft | rejected
- * Type: token
- * Path: Permission.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Person.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Person.java index 28749cb3c..a61c25fa0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Person.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Person.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class Person extends DomainResource { case LEVEL2: return "level2"; case LEVEL3: return "level3"; case LEVEL4: return "level4"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class Person extends DomainResource { 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 NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class Person extends DomainResource { case LEVEL2: return "Some confidence in the asserted identity's accuracy."; case LEVEL3: return "High confidence in the asserted identity's accuracy."; case LEVEL4: return "Very high confidence in the asserted identity's accuracy."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class Person extends DomainResource { case LEVEL2: return "Level 2"; case LEVEL3: return "Level 3"; case LEVEL4: return "Level 4"; + case NULL: return null; default: return "?"; } } @@ -1693,644 +1697,6 @@ public class Person extends DomainResource { return ResourceType.Person; } - /** - * Search parameter: death-date - *

- * Description: The date of death has been provided and satisfies this search value
- * Type: date
- * Path: (Person.deceased as dateTime)
- *

- */ - @SearchParamDefinition(name="death-date", path="(Person.deceased as dateTime)", description="The date of death has been provided and satisfies this search value", type="date" ) - public static final String SP_DEATH_DATE = "death-date"; - /** - * Fluent Client search parameter constant for death-date - *

- * Description: The date of death has been provided and satisfies this search value
- * Type: date
- * Path: (Person.deceased as dateTime)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DEATH_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DEATH_DATE); - - /** - * Search parameter: deceased - *

- * Description: This person has been marked as deceased, or has a death date entered
- * Type: token
- * Path: Person.deceased.exists() and Person.deceased != false
- *

- */ - @SearchParamDefinition(name="deceased", path="Person.deceased.exists() and Person.deceased != false", description="This person has been marked as deceased, or has a death date entered", type="token" ) - public static final String SP_DECEASED = "deceased"; - /** - * Fluent Client search parameter constant for deceased - *

- * Description: This person has been marked as deceased, or has a death date entered
- * Type: token
- * Path: Person.deceased.exists() and Person.deceased != false
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DECEASED = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DECEASED); - - /** - * Search parameter: family - *

- * Description: A portion of the family name of the person
- * Type: string
- * Path: Person.name.family
- *

- */ - @SearchParamDefinition(name="family", path="Person.name.family", description="A portion of the family name of the person", type="string" ) - public static final String SP_FAMILY = "family"; - /** - * Fluent Client search parameter constant for family - *

- * Description: A portion of the family name of the person
- * Type: string
- * Path: Person.name.family
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam FAMILY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_FAMILY); - - /** - * Search parameter: given - *

- * Description: A portion of the given name of the person
- * Type: string
- * Path: Person.name.given
- *

- */ - @SearchParamDefinition(name="given", path="Person.name.given", description="A portion of the given name of the person", type="string" ) - public static final String SP_GIVEN = "given"; - /** - * Fluent Client search parameter constant for given - *

- * Description: A portion of the given name of the person
- * Type: string
- * Path: Person.name.given
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam GIVEN = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_GIVEN); - - /** - * Search parameter: identifier - *

- * Description: A person Identifier
- * Type: token
- * Path: Person.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Person.identifier", description="A person Identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A person Identifier
- * Type: token
- * Path: Person.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: link - *

- * Description: Any link has this Patient, Person, RelatedPerson or Practitioner reference
- * Type: reference
- * Path: Person.link.target
- *

- */ - @SearchParamDefinition(name="link", path="Person.link.target", description="Any link has this Patient, Person, RelatedPerson or Practitioner reference", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Patient.class, Person.class, Practitioner.class, RelatedPerson.class } ) - public static final String SP_LINK = "link"; - /** - * Fluent Client search parameter constant for link - *

- * Description: Any link has this Patient, Person, RelatedPerson or Practitioner reference
- * Type: reference
- * Path: Person.link.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LINK = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LINK); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Person:link". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LINK = new ca.uhn.fhir.model.api.Include("Person:link").toLocked(); - - /** - * Search parameter: name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
- * Type: string
- * Path: Person.name
- *

- */ - @SearchParamDefinition(name="name", path="Person.name", description="A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
- * Type: string
- * Path: Person.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: organization - *

- * Description: The organization at which this person record is being managed
- * Type: reference
- * Path: Person.managingOrganization
- *

- */ - @SearchParamDefinition(name="organization", path="Person.managingOrganization", description="The organization at which this person record is being managed", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The organization at which this person record is being managed
- * Type: reference
- * Path: Person.managingOrganization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Person:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("Person:organization").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The Person links to this Patient
- * Type: reference
- * Path: Person.link.target.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Person.link.target.where(resolve() is Patient)", description="The Person links to this Patient", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class, Person.class, Practitioner.class, RelatedPerson.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The Person links to this Patient
- * Type: reference
- * Path: Person.link.target.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Person:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Person:patient").toLocked(); - - /** - * Search parameter: practitioner - *

- * Description: The Person links to this Practitioner
- * Type: reference
- * Path: Person.link.target.where(resolve() is Practitioner)
- *

- */ - @SearchParamDefinition(name="practitioner", path="Person.link.target.where(resolve() is Practitioner)", description="The Person links to this Practitioner", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Patient.class, Person.class, Practitioner.class, RelatedPerson.class } ) - public static final String SP_PRACTITIONER = "practitioner"; - /** - * Fluent Client search parameter constant for practitioner - *

- * Description: The Person links to this Practitioner
- * Type: reference
- * Path: Person.link.target.where(resolve() is Practitioner)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRACTITIONER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Person:practitioner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER = new ca.uhn.fhir.model.api.Include("Person:practitioner").toLocked(); - - /** - * Search parameter: relatedperson - *

- * Description: The Person links to this RelatedPerson
- * Type: reference
- * Path: Person.link.target.where(resolve() is RelatedPerson)
- *

- */ - @SearchParamDefinition(name="relatedperson", path="Person.link.target.where(resolve() is RelatedPerson)", description="The Person links to this RelatedPerson", type="reference", target={Patient.class, Person.class, Practitioner.class, RelatedPerson.class } ) - public static final String SP_RELATEDPERSON = "relatedperson"; - /** - * Fluent Client search parameter constant for relatedperson - *

- * Description: The Person links to this RelatedPerson
- * Type: reference
- * Path: Person.link.target.where(resolve() is RelatedPerson)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATEDPERSON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RELATEDPERSON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Person:relatedperson". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATEDPERSON = new ca.uhn.fhir.model.api.Include("Person:relatedperson").toLocked(); - - /** - * Search parameter: address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A city specified in an address\r\n* [Person](person.html): A city specified in an address\r\n* [Practitioner](practitioner.html): A city specified in an address\r\n* [RelatedPerson](relatedperson.html): A city specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A country specified in an address\r\n* [Person](person.html): A country specified in an address\r\n* [Practitioner](practitioner.html): A country specified in an address\r\n* [RelatedPerson](relatedperson.html): A country specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode specified in an address\r\n* [Person](person.html): A postal code specified in an address\r\n* [Practitioner](practitioner.html): A postalCode specified in an address\r\n* [RelatedPerson](relatedperson.html): A postal code specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A state specified in an address\r\n* [Person](person.html): A state specified in an address\r\n* [Practitioner](practitioner.html): A state specified in an address\r\n* [RelatedPerson](relatedperson.html): A state specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A use code specified in an address\r\n* [Person](person.html): A use code specified in an address\r\n* [Practitioner](practitioner.html): A use code specified in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified in an address\r\n", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - @SearchParamDefinition(name="address", path="Patient.address | Person.address | Practitioner.address | RelatedPerson.address", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: birthdate - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The patient's date of birth -* [Person](person.html): The person's date of birth -* [RelatedPerson](relatedperson.html): The Related Person's date of birth -
- * Type: date
- * Path: Patient.birthDate | Person.birthDate | RelatedPerson.birthDate
- *

- */ - @SearchParamDefinition(name="birthdate", path="Patient.birthDate | Person.birthDate | RelatedPerson.birthDate", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's date of birth\r\n* [Person](person.html): The person's date of birth\r\n* [RelatedPerson](relatedperson.html): The Related Person's date of birth\r\n", type="date" ) - public static final String SP_BIRTHDATE = "birthdate"; - /** - * Fluent Client search parameter constant for birthdate - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The patient's date of birth -* [Person](person.html): The person's date of birth -* [RelatedPerson](relatedperson.html): The Related Person's date of birth -
- * Type: date
- * Path: Patient.birthDate | Person.birthDate | RelatedPerson.birthDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam BIRTHDATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_BIRTHDATE); - - /** - * Search parameter: email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - @SearchParamDefinition(name="email", path="Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in an email contact\r\n* [Person](person.html): A value in an email contact\r\n* [Practitioner](practitioner.html): A value in an email contact\r\n* [PractitionerRole](practitionerrole.html): A value in an email contact\r\n* [RelatedPerson](relatedperson.html): A value in an email contact\r\n", type="token" ) - public static final String SP_EMAIL = "email"; - /** - * Fluent Client search parameter constant for email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMAIL); - - /** - * Search parameter: gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - @SearchParamDefinition(name="gender", path="Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender of the patient\r\n* [Person](person.html): The gender of the person\r\n* [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html): Gender of the related person\r\n", type="token" ) - public static final String SP_GENDER = "gender"; - /** - * Fluent Client search parameter constant for gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GENDER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GENDER); - - /** - * Search parameter: phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - @SearchParamDefinition(name="phone", path="Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html): A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A value in a phone contact\r\n", type="token" ) - public static final String SP_PHONE = "phone"; - /** - * Fluent Client search parameter constant for phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PHONE); - - /** - * Search parameter: phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - @SearchParamDefinition(name="phonetic", path="Patient.name | Person.name | Practitioner.name | RelatedPerson.name", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [Person](person.html): A portion of name using some kind of phonetic matching algorithm\r\n* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm\r\n", type="string" ) - public static final String SP_PHONETIC = "phonetic"; - /** - * Fluent Client search parameter constant for phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PHONETIC); - - /** - * Search parameter: telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The value in any kind of telecom details of the patient\r\n* [Person](person.html): The value in any kind of contact\r\n* [Practitioner](practitioner.html): The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html): The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html): The value in any kind of contact\r\n", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PlanDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PlanDefinition.java index 331ab6d00..9c207dd5e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PlanDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PlanDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1678,10 +1678,10 @@ public class PlanDefinition extends MetadataResource { protected DataType subject; /** - * A description of when the action should be triggered. + * A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action. */ @Child(name = "trigger", type = {TriggerDefinition.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="When the action should be triggered", formalDefinition="A description of when the action should be triggered." ) + @Description(shortDefinition="When the action should be triggered", formalDefinition="A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action." ) protected List trigger; /** @@ -1782,10 +1782,10 @@ public class PlanDefinition extends MetadataResource { protected Enumeration cardinalityBehavior; /** - * A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured. + * A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured. */ @Child(name = "definition", type = {CanonicalType.class, UriType.class}, order=26, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Description of the activity to be performed", formalDefinition="A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured." ) + @Description(shortDefinition="Description of the activity to be performed", formalDefinition="A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured." ) protected DataType definition; /** @@ -2370,7 +2370,7 @@ public class PlanDefinition extends MetadataResource { } /** - * @return {@link #trigger} (A description of when the action should be triggered.) + * @return {@link #trigger} (A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action.) */ public List getTrigger() { if (this.trigger == null) @@ -3062,14 +3062,14 @@ public class PlanDefinition extends MetadataResource { } /** - * @return {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.) + * @return {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.) */ public DataType getDefinition() { return this.definition; } /** - * @return {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.) + * @return {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.) */ public CanonicalType getDefinitionCanonicalType() throws FHIRException { if (this.definition == null) @@ -3084,7 +3084,7 @@ public class PlanDefinition extends MetadataResource { } /** - * @return {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.) + * @return {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.) */ public UriType getDefinitionUriType() throws FHIRException { if (this.definition == null) @@ -3103,7 +3103,7 @@ public class PlanDefinition extends MetadataResource { } /** - * @param value {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.) + * @param value {@link #definition} (A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.) */ public PlanDefinitionActionComponent setDefinition(DataType value) { if (value != null && !(value instanceof CanonicalType || value instanceof UriType)) @@ -3280,7 +3280,7 @@ public class PlanDefinition extends MetadataResource { children.add(new Property("documentation", "RelatedArtifact", "Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.", 0, java.lang.Integer.MAX_VALUE, documentation)); children.add(new Property("goalId", "id", "Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. In pharmaceutical quality, a goal represents acceptance criteria (Goal) for a given action (Test), so the goalId would be the unique id of a defined goal element establishing the acceptance criteria for the action.", 0, java.lang.Integer.MAX_VALUE, goalId)); children.add(new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical", "A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject)); - children.add(new Property("trigger", "TriggerDefinition", "A description of when the action should be triggered.", 0, java.lang.Integer.MAX_VALUE, trigger)); + children.add(new Property("trigger", "TriggerDefinition", "A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action.", 0, java.lang.Integer.MAX_VALUE, trigger)); children.add(new Property("condition", "", "An expression that describes applicability criteria or start/stop conditions for the action.", 0, java.lang.Integer.MAX_VALUE, condition)); children.add(new Property("input", "", "Defines input data requirements for the action.", 0, java.lang.Integer.MAX_VALUE, input)); children.add(new Property("output", "", "Defines the outputs of the action, if any.", 0, java.lang.Integer.MAX_VALUE, output)); @@ -3294,7 +3294,7 @@ public class PlanDefinition extends MetadataResource { children.add(new Property("requiredBehavior", "code", "Defines the required behavior for the action.", 0, 1, requiredBehavior)); children.add(new Property("precheckBehavior", "code", "Defines whether the action should usually be preselected.", 0, 1, precheckBehavior)); children.add(new Property("cardinalityBehavior", "code", "Defines whether the action can be selected multiple times.", 0, 1, cardinalityBehavior)); - children.add(new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire)|uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition)); + children.add(new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire|SpecimenDefinition)|uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition)); children.add(new Property("transform", "canonical(StructureMap)", "A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.", 0, 1, transform)); children.add(new Property("dynamicValue", "", "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", 0, java.lang.Integer.MAX_VALUE, dynamicValue)); children.add(new Property("action", "@PlanDefinition.action", "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.", 0, java.lang.Integer.MAX_VALUE, action)); @@ -3318,7 +3318,7 @@ public class PlanDefinition extends MetadataResource { case -1257122603: /*subjectCodeableConcept*/ return new Property("subject[x]", "CodeableConcept", "A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); case 772938623: /*subjectReference*/ return new Property("subject[x]", "Reference(Group)", "A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); case -1768521432: /*subjectCanonical*/ return new Property("subject[x]", "canonical", "A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); - case -1059891784: /*trigger*/ return new Property("trigger", "TriggerDefinition", "A description of when the action should be triggered.", 0, java.lang.Integer.MAX_VALUE, trigger); + case -1059891784: /*trigger*/ return new Property("trigger", "TriggerDefinition", "A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action.", 0, java.lang.Integer.MAX_VALUE, trigger); case -861311717: /*condition*/ return new Property("condition", "", "An expression that describes applicability criteria or start/stop conditions for the action.", 0, java.lang.Integer.MAX_VALUE, condition); case 100358090: /*input*/ return new Property("input", "", "Defines input data requirements for the action.", 0, java.lang.Integer.MAX_VALUE, input); case -1005512447: /*output*/ return new Property("output", "", "Defines the outputs of the action, if any.", 0, java.lang.Integer.MAX_VALUE, output); @@ -3337,10 +3337,10 @@ public class PlanDefinition extends MetadataResource { case -1163906287: /*requiredBehavior*/ return new Property("requiredBehavior", "code", "Defines the required behavior for the action.", 0, 1, requiredBehavior); case -1174249033: /*precheckBehavior*/ return new Property("precheckBehavior", "code", "Defines whether the action should usually be preselected.", 0, 1, precheckBehavior); case -922577408: /*cardinalityBehavior*/ return new Property("cardinalityBehavior", "code", "Defines whether the action can be selected multiple times.", 0, 1, cardinalityBehavior); - case -1139422643: /*definition[x]*/ return new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire)|uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); - case -1014418093: /*definition*/ return new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire)|uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); - case 933485793: /*definitionCanonical*/ return new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire)", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); - case -1139428583: /*definitionUri*/ return new Property("definition[x]", "uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); + case -1139422643: /*definition[x]*/ return new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire|SpecimenDefinition)|uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); + case -1014418093: /*definition*/ return new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire|SpecimenDefinition)|uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); + case 933485793: /*definitionCanonical*/ return new Property("definition[x]", "canonical(ActivityDefinition|ObservationDefinition|PlanDefinition|Questionnaire|SpecimenDefinition)", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); + case -1139428583: /*definitionUri*/ return new Property("definition[x]", "uri", "A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured.", 0, 1, definition); case 1052666732: /*transform*/ return new Property("transform", "canonical(StructureMap)", "A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.", 0, 1, transform); case 572625010: /*dynamicValue*/ return new Property("dynamicValue", "", "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", 0, java.lang.Integer.MAX_VALUE, dynamicValue); case -1422950858: /*action*/ return new Property("action", "@PlanDefinition.action", "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.", 0, java.lang.Integer.MAX_VALUE, action); @@ -7522,7 +7522,7 @@ public class PlanDefinition extends MetadataResource { children.add(new Property("type", "CodeableConcept", "A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition.", 0, 1, type)); children.add(new Property("status", "code", "The status of this plan definition. Enables tracking the life-cycle of the content.", 0, 1, status)); children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); - children.add(new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject)); + children.add(new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition|EvidenceVariable)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject)); children.add(new Property("date", "dateTime", "The date (and optionally time) when the plan definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes.", 0, 1, date)); children.add(new Property("publisher", "string", "The name of the organization or individual that published the plan definition.", 0, 1, publisher)); children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); @@ -7559,11 +7559,11 @@ public class PlanDefinition extends MetadataResource { case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition.", 0, 1, type); case -892481550: /*status*/ return new Property("status", "code", "The status of this plan definition. Enables tracking the life-cycle of the content.", 0, 1, status); case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); - case -573640748: /*subject[x]*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); - case -1867885268: /*subject*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); + case -573640748: /*subject[x]*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition|EvidenceVariable)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); + case -1867885268: /*subject*/ return new Property("subject[x]", "CodeableConcept|Reference(Group)|canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition|EvidenceVariable)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); case -1257122603: /*subjectCodeableConcept*/ return new Property("subject[x]", "CodeableConcept", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); case 772938623: /*subjectReference*/ return new Property("subject[x]", "Reference(Group)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); - case -1768521432: /*subjectCanonical*/ return new Property("subject[x]", "canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); + case -1768521432: /*subjectCanonical*/ return new Property("subject[x]", "canonical(MedicinalProductDefinition|SubstanceDefinition|AdministrableProductDefinition|ManufacturedItemDefinition|PackagedProductDefinition|EvidenceVariable)", "A code, group definition, or canonical reference that describes or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.", 0, 1, subject); case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the plan definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes.", 0, 1, date); case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the plan definition.", 0, 1, publisher); case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); @@ -8159,522 +8159,6 @@ public class PlanDefinition extends MetadataResource { return ResourceType.PlanDefinition; } - /** - * Search parameter: composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='composed-of').resource
- *

- */ - @SearchParamDefinition(name="composed-of", path="PlanDefinition.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_COMPOSED_OF = "composed-of"; - /** - * Fluent Client search parameter constant for composed-of - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='composed-of').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPOSED_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPOSED_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PlanDefinition:composed-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPOSED_OF = new ca.uhn.fhir.model.api.Include("PlanDefinition:composed-of").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the plan definition
- * Type: quantity
- * Path: (PlanDefinition.useContext.value as Quantity) | (PlanDefinition.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(PlanDefinition.useContext.value as Quantity) | (PlanDefinition.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the plan definition", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the plan definition
- * Type: quantity
- * Path: (PlanDefinition.useContext.value as Quantity) | (PlanDefinition.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the plan definition
- * Type: composite
- * Path: PlanDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="PlanDefinition.useContext", description="A use context type and quantity- or range-based value assigned to the plan definition", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the plan definition
- * Type: composite
- * Path: PlanDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the plan definition
- * Type: composite
- * Path: PlanDefinition.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="PlanDefinition.useContext", description="A use context type and value assigned to the plan definition", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the plan definition
- * Type: composite
- * Path: PlanDefinition.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the plan definition
- * Type: token
- * Path: PlanDefinition.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="PlanDefinition.useContext.code", description="A type of use context assigned to the plan definition", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the plan definition
- * Type: token
- * Path: PlanDefinition.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the plan definition
- * Type: token
- * Path: (PlanDefinition.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(PlanDefinition.useContext.value as CodeableConcept)", description="A use context assigned to the plan definition", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the plan definition
- * Type: token
- * Path: (PlanDefinition.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The plan definition publication date
- * Type: date
- * Path: PlanDefinition.date
- *

- */ - @SearchParamDefinition(name="date", path="PlanDefinition.date", description="The plan definition publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The plan definition publication date
- * Type: date
- * Path: PlanDefinition.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: definition - *

- * Description: Activity or plan definitions used by plan definition
- * Type: reference
- * Path: PlanDefinition.action.definition
- *

- */ - @SearchParamDefinition(name="definition", path="PlanDefinition.action.definition", description="Activity or plan definitions used by plan definition", type="reference", target={ActivityDefinition.class, ObservationDefinition.class, PlanDefinition.class, Questionnaire.class } ) - public static final String SP_DEFINITION = "definition"; - /** - * Fluent Client search parameter constant for definition - *

- * Description: Activity or plan definitions used by plan definition
- * Type: reference
- * Path: PlanDefinition.action.definition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEFINITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEFINITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PlanDefinition:definition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEFINITION = new ca.uhn.fhir.model.api.Include("PlanDefinition:definition").toLocked(); - - /** - * Search parameter: depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='depends-on').resource | PlanDefinition.library
- *

- */ - @SearchParamDefinition(name="depends-on", path="PlanDefinition.relatedArtifact.where(type='depends-on').resource | PlanDefinition.library", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DEPENDS_ON = "depends-on"; - /** - * Fluent Client search parameter constant for depends-on - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='depends-on').resource | PlanDefinition.library
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEPENDS_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DEPENDS_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PlanDefinition:depends-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DEPENDS_ON = new ca.uhn.fhir.model.api.Include("PlanDefinition:depends-on").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='derived-from').resource
- *

- */ - @SearchParamDefinition(name="derived-from", path="PlanDefinition.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='derived-from').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PlanDefinition:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("PlanDefinition:derived-from").toLocked(); - - /** - * Search parameter: description - *

- * Description: The description of the plan definition
- * Type: string
- * Path: PlanDefinition.description
- *

- */ - @SearchParamDefinition(name="description", path="PlanDefinition.description", description="The description of the plan definition", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the plan definition
- * Type: string
- * Path: PlanDefinition.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the plan definition is intended to be in use
- * Type: date
- * Path: PlanDefinition.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="PlanDefinition.effectivePeriod", description="The time during which the plan definition is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the plan definition is intended to be in use
- * Type: date
- * Path: PlanDefinition.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the plan definition
- * Type: token
- * Path: PlanDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="PlanDefinition.identifier", description="External identifier for the plan definition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the plan definition
- * Type: token
- * Path: PlanDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the plan definition
- * Type: token
- * Path: PlanDefinition.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="PlanDefinition.jurisdiction", description="Intended jurisdiction for the plan definition", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the plan definition
- * Type: token
- * Path: PlanDefinition.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the plan definition
- * Type: string
- * Path: PlanDefinition.name
- *

- */ - @SearchParamDefinition(name="name", path="PlanDefinition.name", description="Computationally friendly name of the plan definition", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the plan definition
- * Type: string
- * Path: PlanDefinition.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='predecessor').resource
- *

- */ - @SearchParamDefinition(name="predecessor", path="PlanDefinition.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PREDECESSOR = "predecessor"; - /** - * Fluent Client search parameter constant for predecessor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='predecessor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PREDECESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PREDECESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PlanDefinition:predecessor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PREDECESSOR = new ca.uhn.fhir.model.api.Include("PlanDefinition:predecessor").toLocked(); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the plan definition
- * Type: string
- * Path: PlanDefinition.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="PlanDefinition.publisher", description="Name of the publisher of the plan definition", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the plan definition
- * Type: string
- * Path: PlanDefinition.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: The current status of the plan definition
- * Type: token
- * Path: PlanDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="PlanDefinition.status", description="The current status of the plan definition", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the plan definition
- * Type: token
- * Path: PlanDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='successor').resource
- *

- */ - @SearchParamDefinition(name="successor", path="PlanDefinition.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUCCESSOR = "successor"; - /** - * Fluent Client search parameter constant for successor - *

- * Description: What resource is being referenced
- * Type: reference
- * Path: PlanDefinition.relatedArtifact.where(type='successor').resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUCCESSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUCCESSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PlanDefinition:successor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUCCESSOR = new ca.uhn.fhir.model.api.Include("PlanDefinition:successor").toLocked(); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the plan definition
- * Type: string
- * Path: PlanDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="PlanDefinition.title", description="The human-friendly name of the plan definition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the plan definition
- * Type: string
- * Path: PlanDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: PlanDefinition.topic
- *

- */ - @SearchParamDefinition(name="topic", path="PlanDefinition.topic", description="Topics associated with the module", type="token" ) - public static final String SP_TOPIC = "topic"; - /** - * Fluent Client search parameter constant for topic - *

- * Description: Topics associated with the module
- * Type: token
- * Path: PlanDefinition.topic
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TOPIC = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TOPIC); - - /** - * Search parameter: type - *

- * Description: The type of artifact the plan (e.g. order-set, eca-rule, protocol)
- * Type: token
- * Path: PlanDefinition.type
- *

- */ - @SearchParamDefinition(name="type", path="PlanDefinition.type", description="The type of artifact the plan (e.g. order-set, eca-rule, protocol)", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The type of artifact the plan (e.g. order-set, eca-rule, protocol)
- * Type: token
- * Path: PlanDefinition.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the plan definition
- * Type: uri
- * Path: PlanDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="PlanDefinition.url", description="The uri that identifies the plan definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the plan definition
- * Type: uri
- * Path: PlanDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the plan definition
- * Type: token
- * Path: PlanDefinition.version
- *

- */ - @SearchParamDefinition(name="version", path="PlanDefinition.version", description="The business version of the plan definition", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the plan definition
- * Type: token
- * Path: PlanDefinition.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Population.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Population.java index 1ccf15b94..a14eaf775 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Population.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Population.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Practitioner.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Practitioner.java index 32906665f..26748b72c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Practitioner.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Practitioner.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1347,540 +1347,6 @@ public class Practitioner extends DomainResource { return ResourceType.Practitioner; } - /** - * Search parameter: active - *

- * Description: Whether the practitioner record is active
- * Type: token
- * Path: Practitioner.active
- *

- */ - @SearchParamDefinition(name="active", path="Practitioner.active", description="Whether the practitioner record is active", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Whether the practitioner record is active
- * Type: token
- * Path: Practitioner.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: communication - *

- * Description: One of the languages that the practitioner can communicate with
- * Type: token
- * Path: Practitioner.communication
- *

- */ - @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"; - /** - * Fluent Client search parameter constant for communication - *

- * Description: One of the languages that the practitioner can communicate with
- * Type: token
- * Path: Practitioner.communication
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMMUNICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMMUNICATION); - - /** - * Search parameter: death-date - *

- * Description: The date of death has been provided and satisfies this search value
- * Type: date
- * Path: (Practitioner.deceased as dateTime)
- *

- */ - @SearchParamDefinition(name="death-date", path="(Practitioner.deceased as dateTime)", description="The date of death has been provided and satisfies this search value", type="date" ) - public static final String SP_DEATH_DATE = "death-date"; - /** - * Fluent Client search parameter constant for death-date - *

- * Description: The date of death has been provided and satisfies this search value
- * Type: date
- * Path: (Practitioner.deceased as dateTime)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DEATH_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DEATH_DATE); - - /** - * Search parameter: deceased - *

- * Description: This Practitioner has been marked as deceased, or has a death date entered
- * Type: token
- * Path: Practitioner.deceased.exists() and Practitioner.deceased != false
- *

- */ - @SearchParamDefinition(name="deceased", path="Practitioner.deceased.exists() and Practitioner.deceased != false", description="This Practitioner has been marked as deceased, or has a death date entered", type="token" ) - public static final String SP_DECEASED = "deceased"; - /** - * Fluent Client search parameter constant for deceased - *

- * Description: This Practitioner has been marked as deceased, or has a death date entered
- * Type: token
- * Path: Practitioner.deceased.exists() and Practitioner.deceased != false
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DECEASED = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DECEASED); - - /** - * Search parameter: identifier - *

- * Description: A practitioner's Identifier
- * Type: token
- * Path: Practitioner.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Practitioner.identifier", description="A practitioner's Identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A practitioner's Identifier
- * Type: token
- * Path: Practitioner.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
- * Type: string
- * Path: Practitioner.name
- *

- */ - @SearchParamDefinition(name="name", path="Practitioner.name", description="A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
- * Type: string
- * Path: Practitioner.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A city specified in an address\r\n* [Person](person.html): A city specified in an address\r\n* [Practitioner](practitioner.html): A city specified in an address\r\n* [RelatedPerson](relatedperson.html): A city specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A country specified in an address\r\n* [Person](person.html): A country specified in an address\r\n* [Practitioner](practitioner.html): A country specified in an address\r\n* [RelatedPerson](relatedperson.html): A country specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode specified in an address\r\n* [Person](person.html): A postal code specified in an address\r\n* [Practitioner](practitioner.html): A postalCode specified in an address\r\n* [RelatedPerson](relatedperson.html): A postal code specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A state specified in an address\r\n* [Person](person.html): A state specified in an address\r\n* [Practitioner](practitioner.html): A state specified in an address\r\n* [RelatedPerson](relatedperson.html): A state specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A use code specified in an address\r\n* [Person](person.html): A use code specified in an address\r\n* [Practitioner](practitioner.html): A use code specified in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified in an address\r\n", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - @SearchParamDefinition(name="address", path="Patient.address | Person.address | Practitioner.address | RelatedPerson.address", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - @SearchParamDefinition(name="email", path="Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in an email contact\r\n* [Person](person.html): A value in an email contact\r\n* [Practitioner](practitioner.html): A value in an email contact\r\n* [PractitionerRole](practitionerrole.html): A value in an email contact\r\n* [RelatedPerson](relatedperson.html): A value in an email contact\r\n", type="token" ) - public static final String SP_EMAIL = "email"; - /** - * Fluent Client search parameter constant for email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMAIL); - - /** - * Search parameter: family - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the family name of the patient -* [Practitioner](practitioner.html): A portion of the family name -
- * Type: string
- * Path: Patient.name.family | Practitioner.name.family
- *

- */ - @SearchParamDefinition(name="family", path="Patient.name.family | Practitioner.name.family", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of the family name of the patient\r\n* [Practitioner](practitioner.html): A portion of the family name\r\n", type="string" ) - public static final String SP_FAMILY = "family"; - /** - * Fluent Client search parameter constant for family - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the family name of the patient -* [Practitioner](practitioner.html): A portion of the family name -
- * Type: string
- * Path: Patient.name.family | Practitioner.name.family
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam FAMILY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_FAMILY); - - /** - * Search parameter: gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - @SearchParamDefinition(name="gender", path="Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender of the patient\r\n* [Person](person.html): The gender of the person\r\n* [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html): Gender of the related person\r\n", type="token" ) - public static final String SP_GENDER = "gender"; - /** - * Fluent Client search parameter constant for gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GENDER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GENDER); - - /** - * Search parameter: given - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the given name of the patient -* [Practitioner](practitioner.html): A portion of the given name -
- * Type: string
- * Path: Patient.name.given | Practitioner.name.given
- *

- */ - @SearchParamDefinition(name="given", path="Patient.name.given | Practitioner.name.given", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of the given name of the patient\r\n* [Practitioner](practitioner.html): A portion of the given name\r\n", type="string" ) - public static final String SP_GIVEN = "given"; - /** - * Fluent Client search parameter constant for given - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of the given name of the patient -* [Practitioner](practitioner.html): A portion of the given name -
- * Type: string
- * Path: Patient.name.given | Practitioner.name.given
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam GIVEN = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_GIVEN); - - /** - * Search parameter: phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - @SearchParamDefinition(name="phone", path="Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html): A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A value in a phone contact\r\n", type="token" ) - public static final String SP_PHONE = "phone"; - /** - * Fluent Client search parameter constant for phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PHONE); - - /** - * Search parameter: phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - @SearchParamDefinition(name="phonetic", path="Patient.name | Person.name | Practitioner.name | RelatedPerson.name", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [Person](person.html): A portion of name using some kind of phonetic matching algorithm\r\n* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm\r\n", type="string" ) - public static final String SP_PHONETIC = "phonetic"; - /** - * Fluent Client search parameter constant for phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PHONETIC); - - /** - * Search parameter: telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The value in any kind of telecom details of the patient\r\n* [Person](person.html): The value in any kind of contact\r\n* [Practitioner](practitioner.html): The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html): The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html): The value in any kind of contact\r\n", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PractitionerRole.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PractitionerRole.java index 27ecc0e5e..a9b461b11 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PractitionerRole.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/PractitionerRole.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -64,10 +64,10 @@ public class PractitionerRole extends DomainResource { protected List> daysOfWeek; /** - * Indicates always available, hence times are irrelevant. (e.g. 24-hour service). + * Indicates always available, hence times are irrelevant. (i.e. 24-hour service). */ @Child(name = "allDay", type = {BooleanType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Always available? e.g. 24 hour service", formalDefinition="Indicates always available, hence times are irrelevant. (e.g. 24-hour service)." ) + @Description(shortDefinition="Always available? i.e. 24 hour service", formalDefinition="Indicates always available, hence times are irrelevant. (i.e. 24-hour service)." ) protected BooleanType allDay; /** @@ -155,7 +155,7 @@ public class PractitionerRole extends DomainResource { } /** - * @return {@link #allDay} (Indicates always available, hence times are irrelevant. (e.g. 24-hour service).). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value + * @return {@link #allDay} (Indicates always available, hence times are irrelevant. (i.e. 24-hour service).). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value */ public BooleanType getAllDayElement() { if (this.allDay == null) @@ -175,7 +175,7 @@ public class PractitionerRole extends DomainResource { } /** - * @param value {@link #allDay} (Indicates always available, hence times are irrelevant. (e.g. 24-hour service).). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value + * @param value {@link #allDay} (Indicates always available, hence times are irrelevant. (i.e. 24-hour service).). This is the underlying object with id, value and extensions. The accessor "getAllDay" gives direct access to the value */ public PractitionerRoleAvailableTimeComponent setAllDayElement(BooleanType value) { this.allDay = value; @@ -183,14 +183,14 @@ public class PractitionerRole extends DomainResource { } /** - * @return Indicates always available, hence times are irrelevant. (e.g. 24-hour service). + * @return Indicates always available, hence times are irrelevant. (i.e. 24-hour service). */ public boolean getAllDay() { return this.allDay == null || this.allDay.isEmpty() ? false : this.allDay.getValue(); } /** - * @param value Indicates always available, hence times are irrelevant. (e.g. 24-hour service). + * @param value Indicates always available, hence times are irrelevant. (i.e. 24-hour service). */ public PractitionerRoleAvailableTimeComponent setAllDay(boolean value) { if (this.allDay == null) @@ -300,7 +300,7 @@ public class PractitionerRole extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("daysOfWeek", "code", "Indicates which days of the week are available between the start and end times.", 0, java.lang.Integer.MAX_VALUE, daysOfWeek)); - children.add(new Property("allDay", "boolean", "Indicates always available, hence times are irrelevant. (e.g. 24-hour service).", 0, 1, allDay)); + children.add(new Property("allDay", "boolean", "Indicates always available, hence times are irrelevant. (i.e. 24-hour service).", 0, 1, allDay)); children.add(new Property("availableStartTime", "time", "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableStartTime)); children.add(new Property("availableEndTime", "time", "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableEndTime)); } @@ -309,7 +309,7 @@ public class PractitionerRole extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 68050338: /*daysOfWeek*/ return new Property("daysOfWeek", "code", "Indicates which days of the week are available between the start and end times.", 0, java.lang.Integer.MAX_VALUE, daysOfWeek); - case -1414913477: /*allDay*/ return new Property("allDay", "boolean", "Indicates always available, hence times are irrelevant. (e.g. 24-hour service).", 0, 1, allDay); + case -1414913477: /*allDay*/ return new Property("allDay", "boolean", "Indicates always available, hence times are irrelevant. (i.e. 24-hour service).", 0, 1, allDay); case -1039453818: /*availableStartTime*/ return new Property("availableStartTime", "time", "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableStartTime); case 101151551: /*availableEndTime*/ return new Property("availableEndTime", "time", "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", 0, 1, availableEndTime); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -733,10 +733,10 @@ public class PractitionerRole extends DomainResource { protected List code; /** - * Specific specialty of the practitioner. + * A type of specialized or skilled care the practitioner is able to deliver in the context of this particular role. */ @Child(name = "specialty", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Specific specialty of the practitioner", formalDefinition="Specific specialty of the practitioner." ) + @Description(shortDefinition="Specific specialty of the practitioner", formalDefinition="A type of specialized or skilled care the practitioner is able to deliver in the context of this particular role." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/c80-practice-codes") protected List specialty; @@ -754,42 +754,49 @@ public class PractitionerRole extends DomainResource { @Description(shortDefinition="The list of healthcare services that this worker provides for this role's Organization/Location(s)", formalDefinition="The list of healthcare services that this worker provides for this role's Organization/Location(s)." ) protected List healthcareService; + /** + * The contact details of communication devices available relevant to the specific PractitionerRole. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites. + */ + @Child(name = "contact", type = {ExtendedContactDetail.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Official contact details relating to this PractitionerRole", formalDefinition="The contact details of communication devices available relevant to the specific PractitionerRole. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites." ) + protected List contact; + /** * Contact details that are specific to the role/location/service. */ - @Child(name = "telecom", type = {ContactPoint.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Contact details that are specific to the role/location/service", formalDefinition="Contact details that are specific to the role/location/service." ) + @Child(name = "telecom", type = {ContactPoint.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Deprecated - use contact.telecom", formalDefinition="Contact details that are specific to the role/location/service." ) protected List telecom; /** * A collection of times the practitioner is available or performing this role at the location and/or healthcareservice. */ - @Child(name = "availableTime", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "availableTime", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Times the Service Site is available", formalDefinition="A collection of times the practitioner is available or performing this role at the location and/or healthcareservice." ) protected List availableTime; /** * The practitioner is not available or performing this role during this period of time due to the provided reason. */ - @Child(name = "notAvailable", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "notAvailable", type = {}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Not available during this time due to provided reason", formalDefinition="The practitioner is not available or performing this role during this period of time due to the provided reason." ) protected List notAvailable; /** * 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. */ - @Child(name = "availabilityExceptions", type = {StringType.class}, order=12, min=0, max=1, modifier=false, summary=false) + @Child(name = "availabilityExceptions", type = {StringType.class}, order=13, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Description of availability exceptions", formalDefinition="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." ) protected StringType availabilityExceptions; /** * Technical endpoints providing access to services operated for the practitioner with this role. */ - @Child(name = "endpoint", type = {Endpoint.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "endpoint", type = {Endpoint.class}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Technical endpoints providing access to services operated for the practitioner with this role", formalDefinition="Technical endpoints providing access to services operated for the practitioner with this role." ) protected List endpoint; - private static final long serialVersionUID = 293775464L; + private static final long serialVersionUID = 1173713774L; /** * Constructor @@ -1022,7 +1029,7 @@ public class PractitionerRole extends DomainResource { } /** - * @return {@link #specialty} (Specific specialty of the practitioner.) + * @return {@link #specialty} (A type of specialized or skilled care the practitioner is able to deliver in the context of this particular role.) */ public List getSpecialty() { if (this.specialty == null) @@ -1180,6 +1187,59 @@ public class PractitionerRole extends DomainResource { return getHealthcareService().get(0); } + /** + * @return {@link #contact} (The contact details of communication devices available relevant to the specific PractitionerRole. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.) + */ + public List getContact() { + if (this.contact == null) + this.contact = new ArrayList(); + return this.contact; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public PractitionerRole setContact(List theContact) { + this.contact = theContact; + return this; + } + + public boolean hasContact() { + if (this.contact == null) + return false; + for (ExtendedContactDetail item : this.contact) + if (!item.isEmpty()) + return true; + return false; + } + + public ExtendedContactDetail addContact() { //3 + ExtendedContactDetail t = new ExtendedContactDetail(); + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return t; + } + + public PractitionerRole addContact(ExtendedContactDetail t) { //3 + if (t == null) + return this; + if (this.contact == null) + this.contact = new ArrayList(); + this.contact.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #contact}, creating it if it does not already exist {3} + */ + public ExtendedContactDetail getContactFirstRep() { + if (getContact().isEmpty()) { + addContact(); + } + return getContact().get(0); + } + /** * @return {@link #telecom} (Contact details that are specific to the role/location/service.) */ @@ -1449,9 +1509,10 @@ public class PractitionerRole extends DomainResource { children.add(new Property("practitioner", "Reference(Practitioner)", "Practitioner that is able to provide the defined services for the organization.", 0, 1, practitioner)); children.add(new Property("organization", "Reference(Organization)", "The organization where the Practitioner performs the roles associated.", 0, 1, organization)); children.add(new Property("code", "CodeableConcept", "Roles which this practitioner is authorized to perform for the organization.", 0, java.lang.Integer.MAX_VALUE, code)); - children.add(new Property("specialty", "CodeableConcept", "Specific specialty of the practitioner.", 0, java.lang.Integer.MAX_VALUE, specialty)); + children.add(new Property("specialty", "CodeableConcept", "A type of specialized or skilled care the practitioner is able to deliver in the context of this particular role.", 0, java.lang.Integer.MAX_VALUE, specialty)); children.add(new Property("location", "Reference(Location)", "The location(s) at which this practitioner provides care.", 0, java.lang.Integer.MAX_VALUE, location)); children.add(new Property("healthcareService", "Reference(HealthcareService)", "The list of healthcare services that this worker provides for this role's Organization/Location(s).", 0, java.lang.Integer.MAX_VALUE, healthcareService)); + children.add(new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific PractitionerRole. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("telecom", "ContactPoint", "Contact details that are specific to the role/location/service.", 0, java.lang.Integer.MAX_VALUE, telecom)); children.add(new Property("availableTime", "", "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.", 0, java.lang.Integer.MAX_VALUE, availableTime)); children.add(new Property("notAvailable", "", "The practitioner is not available or performing this role during this period of time due to the provided reason.", 0, java.lang.Integer.MAX_VALUE, notAvailable)); @@ -1468,9 +1529,10 @@ public class PractitionerRole extends DomainResource { case 574573338: /*practitioner*/ return new Property("practitioner", "Reference(Practitioner)", "Practitioner that is able to provide the defined services for the organization.", 0, 1, practitioner); case 1178922291: /*organization*/ return new Property("organization", "Reference(Organization)", "The organization where the Practitioner performs the roles associated.", 0, 1, organization); case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Roles which this practitioner is authorized to perform for the organization.", 0, java.lang.Integer.MAX_VALUE, code); - case -1694759682: /*specialty*/ return new Property("specialty", "CodeableConcept", "Specific specialty of the practitioner.", 0, java.lang.Integer.MAX_VALUE, specialty); + case -1694759682: /*specialty*/ return new Property("specialty", "CodeableConcept", "A type of specialized or skilled care the practitioner is able to deliver in the context of this particular role.", 0, java.lang.Integer.MAX_VALUE, specialty); case 1901043637: /*location*/ return new Property("location", "Reference(Location)", "The location(s) at which this practitioner provides care.", 0, java.lang.Integer.MAX_VALUE, location); case 1289661064: /*healthcareService*/ return new Property("healthcareService", "Reference(HealthcareService)", "The list of healthcare services that this worker provides for this role's Organization/Location(s).", 0, java.lang.Integer.MAX_VALUE, healthcareService); + case 951526432: /*contact*/ return new Property("contact", "ExtendedContactDetail", "The contact details of communication devices available relevant to the specific PractitionerRole. This can include addresses, phone numbers, fax numbers, mobile numbers, email addresses and web sites.", 0, java.lang.Integer.MAX_VALUE, contact); case -1429363305: /*telecom*/ return new Property("telecom", "ContactPoint", "Contact details that are specific to the role/location/service.", 0, java.lang.Integer.MAX_VALUE, telecom); case 1873069366: /*availableTime*/ return new Property("availableTime", "", "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.", 0, java.lang.Integer.MAX_VALUE, availableTime); case -629572298: /*notAvailable*/ return new Property("notAvailable", "", "The practitioner is not available or performing this role during this period of time due to the provided reason.", 0, java.lang.Integer.MAX_VALUE, notAvailable); @@ -1493,6 +1555,7 @@ public class PractitionerRole extends DomainResource { case -1694759682: /*specialty*/ return this.specialty == null ? new Base[0] : this.specialty.toArray(new Base[this.specialty.size()]); // CodeableConcept case 1901043637: /*location*/ return this.location == null ? new Base[0] : this.location.toArray(new Base[this.location.size()]); // Reference case 1289661064: /*healthcareService*/ return this.healthcareService == null ? new Base[0] : this.healthcareService.toArray(new Base[this.healthcareService.size()]); // Reference + case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ExtendedContactDetail case -1429363305: /*telecom*/ return this.telecom == null ? new Base[0] : this.telecom.toArray(new Base[this.telecom.size()]); // ContactPoint case 1873069366: /*availableTime*/ return this.availableTime == null ? new Base[0] : this.availableTime.toArray(new Base[this.availableTime.size()]); // PractitionerRoleAvailableTimeComponent case -629572298: /*notAvailable*/ return this.notAvailable == null ? new Base[0] : this.notAvailable.toArray(new Base[this.notAvailable.size()]); // PractitionerRoleNotAvailableComponent @@ -1533,6 +1596,9 @@ public class PractitionerRole extends DomainResource { case 1289661064: // healthcareService this.getHealthcareService().add(TypeConvertor.castToReference(value)); // Reference return value; + case 951526432: // contact + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); // ExtendedContactDetail + return value; case -1429363305: // telecom this.getTelecom().add(TypeConvertor.castToContactPoint(value)); // ContactPoint return value; @@ -1573,6 +1639,8 @@ public class PractitionerRole extends DomainResource { this.getLocation().add(TypeConvertor.castToReference(value)); } else if (name.equals("healthcareService")) { this.getHealthcareService().add(TypeConvertor.castToReference(value)); + } else if (name.equals("contact")) { + this.getContact().add(TypeConvertor.castToExtendedContactDetail(value)); } else if (name.equals("telecom")) { this.getTelecom().add(TypeConvertor.castToContactPoint(value)); } else if (name.equals("availableTime")) { @@ -1600,6 +1668,7 @@ public class PractitionerRole extends DomainResource { case -1694759682: return addSpecialty(); case 1901043637: return addLocation(); case 1289661064: return addHealthcareService(); + case 951526432: return addContact(); case -1429363305: return addTelecom(); case 1873069366: return addAvailableTime(); case -629572298: return addNotAvailable(); @@ -1622,6 +1691,7 @@ public class PractitionerRole extends DomainResource { case -1694759682: /*specialty*/ return new String[] {"CodeableConcept"}; case 1901043637: /*location*/ return new String[] {"Reference"}; case 1289661064: /*healthcareService*/ return new String[] {"Reference"}; + case 951526432: /*contact*/ return new String[] {"ExtendedContactDetail"}; case -1429363305: /*telecom*/ return new String[] {"ContactPoint"}; case 1873069366: /*availableTime*/ return new String[] {}; case -629572298: /*notAvailable*/ return new String[] {}; @@ -1664,6 +1734,9 @@ public class PractitionerRole extends DomainResource { else if (name.equals("healthcareService")) { return addHealthcareService(); } + else if (name.equals("contact")) { + return addContact(); + } else if (name.equals("telecom")) { return addTelecom(); } @@ -1725,6 +1798,11 @@ public class PractitionerRole extends DomainResource { for (Reference i : healthcareService) dst.healthcareService.add(i.copy()); }; + if (contact != null) { + dst.contact = new ArrayList(); + for (ExtendedContactDetail i : contact) + dst.contact.add(i.copy()); + }; if (telecom != null) { dst.telecom = new ArrayList(); for (ContactPoint i : telecom) @@ -1762,8 +1840,8 @@ public class PractitionerRole extends DomainResource { return compareDeep(identifier, o.identifier, true) && compareDeep(active, o.active, true) && compareDeep(period, o.period, true) && compareDeep(practitioner, o.practitioner, true) && compareDeep(organization, o.organization, true) && compareDeep(code, o.code, true) && compareDeep(specialty, o.specialty, true) && compareDeep(location, o.location, true) - && compareDeep(healthcareService, o.healthcareService, true) && compareDeep(telecom, o.telecom, true) - && compareDeep(availableTime, o.availableTime, true) && compareDeep(notAvailable, o.notAvailable, true) + && compareDeep(healthcareService, o.healthcareService, true) && compareDeep(contact, o.contact, true) + && compareDeep(telecom, o.telecom, true) && compareDeep(availableTime, o.availableTime, true) && compareDeep(notAvailable, o.notAvailable, true) && compareDeep(availabilityExceptions, o.availabilityExceptions, true) && compareDeep(endpoint, o.endpoint, true) ; } @@ -1781,8 +1859,8 @@ public class PractitionerRole extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, active, period - , practitioner, organization, code, specialty, location, healthcareService, telecom - , availableTime, notAvailable, availabilityExceptions, endpoint); + , practitioner, organization, code, specialty, location, healthcareService, contact + , telecom, availableTime, notAvailable, availabilityExceptions, endpoint); } @Override @@ -1790,338 +1868,6 @@ public class PractitionerRole extends DomainResource { return ResourceType.PractitionerRole; } - /** - * Search parameter: active - *

- * Description: Whether this practitioner role record is in active use
- * Type: token
- * Path: PractitionerRole.active
- *

- */ - @SearchParamDefinition(name="active", path="PractitionerRole.active", description="Whether this practitioner role record is in active use", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Whether this practitioner role record is in active use
- * Type: token
- * Path: PractitionerRole.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: date - *

- * Description: The period during which the practitioner is authorized to perform in these role(s)
- * Type: date
- * Path: PractitionerRole.period
- *

- */ - @SearchParamDefinition(name="date", path="PractitionerRole.period", description="The period during which the practitioner is authorized to perform in these role(s)", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The period during which the practitioner is authorized to perform in these role(s)
- * Type: date
- * Path: PractitionerRole.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: endpoint - *

- * Description: Technical endpoints providing access to services operated for the practitioner with this role
- * Type: reference
- * Path: PractitionerRole.endpoint
- *

- */ - @SearchParamDefinition(name="endpoint", path="PractitionerRole.endpoint", description="Technical endpoints providing access to services operated for the practitioner with this role", type="reference", target={Endpoint.class } ) - public static final String SP_ENDPOINT = "endpoint"; - /** - * Fluent Client search parameter constant for endpoint - *

- * Description: Technical endpoints providing access to services operated for the practitioner with this role
- * Type: reference
- * Path: PractitionerRole.endpoint
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENDPOINT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PractitionerRole:endpoint". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT = new ca.uhn.fhir.model.api.Include("PractitionerRole:endpoint").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: A practitioner's Identifier
- * Type: token
- * Path: PractitionerRole.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="PractitionerRole.identifier", description="A practitioner's Identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A practitioner's Identifier
- * Type: token
- * Path: PractitionerRole.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: location - *

- * Description: One of the locations at which this practitioner provides care
- * Type: reference
- * Path: PractitionerRole.location
- *

- */ - @SearchParamDefinition(name="location", path="PractitionerRole.location", description="One of the locations at which this practitioner provides care", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: One of the locations at which this practitioner provides care
- * Type: reference
- * Path: PractitionerRole.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PractitionerRole:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("PractitionerRole:location").toLocked(); - - /** - * Search parameter: organization - *

- * Description: The identity of the organization the practitioner represents / acts on behalf of
- * Type: reference
- * Path: PractitionerRole.organization
- *

- */ - @SearchParamDefinition(name="organization", path="PractitionerRole.organization", description="The identity of the organization the practitioner represents / acts on behalf of", type="reference", target={Organization.class } ) - public static final String SP_ORGANIZATION = "organization"; - /** - * Fluent Client search parameter constant for organization - *

- * Description: The identity of the organization the practitioner represents / acts on behalf of
- * Type: reference
- * Path: PractitionerRole.organization
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ORGANIZATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PractitionerRole:organization". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION = new ca.uhn.fhir.model.api.Include("PractitionerRole:organization").toLocked(); - - /** - * Search parameter: practitioner - *

- * Description: Practitioner that is able to provide the defined services for the organization
- * Type: reference
- * Path: PractitionerRole.practitioner
- *

- */ - @SearchParamDefinition(name="practitioner", path="PractitionerRole.practitioner", description="Practitioner that is able to provide the defined services for the organization", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class } ) - public static final String SP_PRACTITIONER = "practitioner"; - /** - * Fluent Client search parameter constant for practitioner - *

- * Description: Practitioner that is able to provide the defined services for the organization
- * Type: reference
- * Path: PractitionerRole.practitioner
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRACTITIONER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PractitionerRole:practitioner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER = new ca.uhn.fhir.model.api.Include("PractitionerRole:practitioner").toLocked(); - - /** - * Search parameter: role - *

- * Description: The practitioner can perform this role at for the organization
- * Type: token
- * Path: PractitionerRole.code
- *

- */ - @SearchParamDefinition(name="role", path="PractitionerRole.code", description="The practitioner can perform this role at for the organization", type="token" ) - public static final String SP_ROLE = "role"; - /** - * Fluent Client search parameter constant for role - *

- * Description: The practitioner can perform this role at for the organization
- * Type: token
- * Path: PractitionerRole.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ROLE); - - /** - * Search parameter: service - *

- * Description: The list of healthcare services that this worker provides for this role's Organization/Location(s)
- * Type: reference
- * Path: PractitionerRole.healthcareService
- *

- */ - @SearchParamDefinition(name="service", path="PractitionerRole.healthcareService", description="The list of healthcare services that this worker provides for this role's Organization/Location(s)", type="reference", target={HealthcareService.class } ) - public static final String SP_SERVICE = "service"; - /** - * Fluent Client search parameter constant for service - *

- * Description: The list of healthcare services that this worker provides for this role's Organization/Location(s)
- * Type: reference
- * Path: PractitionerRole.healthcareService
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SERVICE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SERVICE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "PractitionerRole:service". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SERVICE = new ca.uhn.fhir.model.api.Include("PractitionerRole:service").toLocked(); - - /** - * Search parameter: specialty - *

- * Description: The practitioner has this specialty at an organization
- * Type: token
- * Path: PractitionerRole.specialty
- *

- */ - @SearchParamDefinition(name="specialty", path="PractitionerRole.specialty", description="The practitioner has this specialty at an organization", type="token" ) - public static final String SP_SPECIALTY = "specialty"; - /** - * Fluent Client search parameter constant for specialty - *

- * Description: The practitioner has this specialty at an organization
- * Type: token
- * Path: PractitionerRole.specialty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIALTY); - - /** - * Search parameter: email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - @SearchParamDefinition(name="email", path="Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in an email contact\r\n* [Person](person.html): A value in an email contact\r\n* [Practitioner](practitioner.html): A value in an email contact\r\n* [PractitionerRole](practitionerrole.html): A value in an email contact\r\n* [RelatedPerson](relatedperson.html): A value in an email contact\r\n", type="token" ) - public static final String SP_EMAIL = "email"; - /** - * Fluent Client search parameter constant for email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMAIL); - - /** - * Search parameter: phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - @SearchParamDefinition(name="phone", path="Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html): A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A value in a phone contact\r\n", type="token" ) - public static final String SP_PHONE = "phone"; - /** - * Fluent Client search parameter constant for phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PHONE); - - /** - * Search parameter: telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The value in any kind of telecom details of the patient\r\n* [Person](person.html): The value in any kind of contact\r\n* [Practitioner](practitioner.html): The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html): The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html): The value in any kind of contact\r\n", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Procedure.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Procedure.java index 23e919a15..c261f015c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Procedure.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Procedure.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -2713,636 +2713,6 @@ public class Procedure extends DomainResource { return ResourceType.Procedure; } - /** - * Search parameter: based-on - *

- * Description: A request for this procedure
- * Type: reference
- * Path: Procedure.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Procedure.basedOn", description="A request for this procedure", type="reference", target={CarePlan.class, ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: A request for this procedure
- * Type: reference
- * Path: Procedure.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Procedure:based-on").toLocked(); - - /** - * Search parameter: category - *

- * Description: Classification of the procedure
- * Type: token
- * Path: Procedure.category
- *

- */ - @SearchParamDefinition(name="category", path="Procedure.category", description="Classification of the procedure", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Classification of the procedure
- * Type: token
- * Path: Procedure.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: Procedure.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="Procedure.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, Measure.class, OperationDefinition.class, PlanDefinition.class, Questionnaire.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: Procedure.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("Procedure:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: Procedure.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="Procedure.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: Procedure.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: location - *

- * Description: Where the procedure happened
- * Type: reference
- * Path: Procedure.location
- *

- */ - @SearchParamDefinition(name="location", path="Procedure.location", description="Where the procedure happened", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Where the procedure happened
- * Type: reference
- * Path: Procedure.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("Procedure:location").toLocked(); - - /** - * Search parameter: part-of - *

- * Description: Part of referenced event
- * Type: reference
- * Path: Procedure.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="Procedure.partOf", description="Part of referenced event", type="reference", target={MedicationAdministration.class, Observation.class, Procedure.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Part of referenced event
- * Type: reference
- * Path: Procedure.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("Procedure:part-of").toLocked(); - - /** - * Search parameter: performer - *

- * Description: Who performed the procedure
- * Type: reference
- * Path: Procedure.performer.actor
- *

- */ - @SearchParamDefinition(name="performer", path="Procedure.performer.actor", description="Who performed the procedure", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Who performed the procedure
- * Type: reference
- * Path: Procedure.performer.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("Procedure:performer").toLocked(); - - /** - * Search parameter: reason-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Procedure.reason.concept
- *

- */ - @SearchParamDefinition(name="reason-code", path="Procedure.reason.concept", description="Reference to a concept (by class)", type="token" ) - public static final String SP_REASON_CODE = "reason-code"; - /** - * Fluent Client search parameter constant for reason-code - *

- * Description: Reference to a concept (by class)
- * Type: token
- * Path: Procedure.reason.concept
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REASON_CODE); - - /** - * Search parameter: reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Procedure.reason.reference
- *

- */ - @SearchParamDefinition(name="reason-reference", path="Procedure.reason.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_REASON_REFERENCE = "reason-reference"; - /** - * Fluent Client search parameter constant for reason-reference - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Procedure.reason.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REASON_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REASON_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:reason-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REASON_REFERENCE = new ca.uhn.fhir.model.api.Include("Procedure:reason-reference").toLocked(); - - /** - * Search parameter: report - *

- * Description: Any report resulting from the procedure
- * Type: reference
- * Path: Procedure.report
- *

- */ - @SearchParamDefinition(name="report", path="Procedure.report", description="Any report resulting from the procedure", type="reference", target={Composition.class, DiagnosticReport.class, DocumentReference.class } ) - public static final String SP_REPORT = "report"; - /** - * Fluent Client search parameter constant for report - *

- * Description: Any report resulting from the procedure
- * Type: reference
- * Path: Procedure.report
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPORT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REPORT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:report". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REPORT = new ca.uhn.fhir.model.api.Include("Procedure:report").toLocked(); - - /** - * Search parameter: status - *

- * Description: preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- * Type: token
- * Path: Procedure.status
- *

- */ - @SearchParamDefinition(name="status", path="Procedure.status", description="preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
- * Type: token
- * Path: Procedure.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Search by subject
- * Type: reference
- * Path: Procedure.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Procedure.subject", description="Search by subject", type="reference", target={Device.class, Group.class, Location.class, Organization.class, Patient.class, Practitioner.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Search by subject
- * Type: reference
- * Path: Procedure.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Procedure:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Procedure:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Procedure:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Procedure:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ProductShelfLife.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ProductShelfLife.java index 8b9837c88..87e3e3e69 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ProductShelfLife.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ProductShelfLife.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Provenance.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Provenance.java index 63a1a7744..aa5fd46a1 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Provenance.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Provenance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -55,19 +55,15 @@ public class Provenance extends DomainResource { public enum ProvenanceEntityRole { /** - * 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 pre-existing entity. - */ - DERIVATION, - /** - * The record resulting from this event is a new version updated from this entity. + * An entity that is used by the activity to produce a new version of that entity. */ REVISION, /** - * The record resulting from this event repeats some or all of the data in this entity, such as by a different author than the author of this entity. + * An entity that is copied in full or part by an agent that is not the author of the entity. */ QUOTATION, /** - * The record resulting from this event is constructed using the information in this source entity. + * An entity that is used as input to the activity that produced the target. */ SOURCE, /** @@ -75,7 +71,7 @@ public class Provenance extends DomainResource { */ INSTANTIATES, /** - * The record resulting from this event is no longer accessible, usually through the use of the Delete operation. + * An entity that is removed from accessibility, usually through the DELETE operator. */ REMOVAL, /** @@ -85,8 +81,6 @@ public class Provenance extends DomainResource { public static ProvenanceEntityRole fromCode(String codeString) throws FHIRException { if (codeString == null || "".equals(codeString)) return null; - if ("derivation".equals(codeString)) - return DERIVATION; if ("revision".equals(codeString)) return REVISION; if ("quotation".equals(codeString)) @@ -104,45 +98,45 @@ public class Provenance extends DomainResource { } public String toCode() { switch (this) { - case DERIVATION: return "derivation"; case REVISION: return "revision"; case QUOTATION: return "quotation"; case SOURCE: return "source"; case INSTANTIATES: return "instantiates"; case REMOVAL: return "removal"; + case NULL: return null; default: return "?"; } } 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 INSTANTIATES: return "http://hl7.org/fhir/provenance-entity-role"; case REMOVAL: return "http://hl7.org/fhir/provenance-entity-role"; + case NULL: return null; default: return "?"; } } public String getDefinition() { switch (this) { - case DERIVATION: return "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 pre-existing entity."; - case REVISION: return "The record resulting from this event is a new version updated from this entity."; - case QUOTATION: return "The record resulting from this event repeats some or all of the data in this entity, such as by a different author than the author of this entity."; - case SOURCE: return "The record resulting from this event is constructed using the information in this source entity."; + case REVISION: return "An entity that is used by the activity to produce a new version of that entity."; + case QUOTATION: return "An entity that is copied in full or part by an agent that is not the author of the entity."; + case SOURCE: return "An entity that is used as input to the activity that produced the target."; case INSTANTIATES: return "The record resulting from this event adheres to the protocol, guideline, order set or other definition represented by this entity."; - case REMOVAL: return "The record resulting from this event is no longer accessible, usually through the use of the Delete operation. "; + case REMOVAL: return "An entity that is removed from accessibility, usually through the DELETE operator."; + case NULL: return null; default: return "?"; } } public String getDisplay() { switch (this) { - case DERIVATION: return "Derivation"; case REVISION: return "Revision"; case QUOTATION: return "Quotation"; case SOURCE: return "Source"; case INSTANTIATES: return "Instantiates"; case REMOVAL: return "Removal"; + case NULL: return null; default: return "?"; } } @@ -153,8 +147,6 @@ public class Provenance extends DomainResource { if (codeString == null || "".equals(codeString)) if (codeString == null || "".equals(codeString)) return null; - if ("derivation".equals(codeString)) - return ProvenanceEntityRole.DERIVATION; if ("revision".equals(codeString)) return ProvenanceEntityRole.REVISION; if ("quotation".equals(codeString)) @@ -175,8 +167,6 @@ public class Provenance extends DomainResource { String codeString = ((PrimitiveType) code).asStringValue(); if (codeString == null || "".equals(codeString)) return null; - if ("derivation".equals(codeString)) - return new Enumeration(this, ProvenanceEntityRole.DERIVATION); if ("revision".equals(codeString)) return new Enumeration(this, ProvenanceEntityRole.REVISION); if ("quotation".equals(codeString)) @@ -190,8 +180,6 @@ public class Provenance extends DomainResource { throw new FHIRException("Unknown ProvenanceEntityRole code '"+codeString+"'"); } public String toCode(ProvenanceEntityRole code) { - if (code == ProvenanceEntityRole.DERIVATION) - return "derivation"; if (code == ProvenanceEntityRole.REVISION) return "revision"; if (code == ProvenanceEntityRole.QUOTATION) @@ -552,7 +540,7 @@ public class Provenance extends DomainResource { * How the entity was used during the activity. */ @Child(name = "role", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="derivation | revision | quotation | source | instantiates | removal", formalDefinition="How the entity was used during the activity." ) + @Description(shortDefinition="revision | quotation | source | instantiates | removal", formalDefinition="How the entity was used during the activity." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/provenance-entity-role") protected Enumeration role; @@ -916,35 +904,42 @@ public class Provenance extends DomainResource { @Description(shortDefinition="Workflow authorization within which this event occurred", formalDefinition="Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon." ) protected List basedOn; + /** + * The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity. + */ + @Child(name = "patient", type = {Patient.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="The patient is the subject of the data created/updated (.target) by the activity", formalDefinition="The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity." ) + protected Reference patient; + /** * This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests). */ - @Child(name = "encounter", type = {Encounter.class}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "encounter", type = {Encounter.class}, order=9, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Encounter within which this event occurred or which the event is tightly associated", formalDefinition="This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests)." ) protected Reference encounter; /** * An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place. */ - @Child(name = "agent", type = {}, order=9, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "agent", type = {}, order=10, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Actor involved", formalDefinition="An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place." ) protected List agent; /** * An entity used in this activity. */ - @Child(name = "entity", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "entity", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="An entity used in this activity", formalDefinition="An entity used in this activity." ) protected List entity; /** * A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated. */ - @Child(name = "signature", type = {Signature.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "signature", type = {Signature.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Signature on target", formalDefinition="A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated." ) protected List signature; - private static final long serialVersionUID = -433228328L; + private static final long serialVersionUID = 2001521682L; /** * Constructor @@ -1330,6 +1325,30 @@ public class Provenance extends DomainResource { return getBasedOn().get(0); } + /** + * @return {@link #patient} (The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.) + */ + public Reference getPatient() { + if (this.patient == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Provenance.patient"); + else if (Configuration.doAutoCreate()) + this.patient = new Reference(); // cc + return this.patient; + } + + public boolean hasPatient() { + return this.patient != null && !this.patient.isEmpty(); + } + + /** + * @param value {@link #patient} (The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.) + */ + public Provenance setPatient(Reference value) { + this.patient = value; + return this; + } + /** * @return {@link #encounter} (This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).) */ @@ -1523,6 +1542,7 @@ public class Provenance extends DomainResource { children.add(new Property("authorization", "CodeableReference", "The authorization (e.g., PurposeOfUse) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, authorization)); children.add(new Property("activity", "CodeableConcept", "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.", 0, 1, activity)); children.add(new Property("basedOn", "Reference(CarePlan|DeviceRequest|ImmunizationRecommendation|MedicationRequest|NutritionOrder|ServiceRequest|Task)", "Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("patient", "Reference(Patient)", "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.", 0, 1, patient)); children.add(new Property("encounter", "Reference(Encounter)", "This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).", 0, 1, encounter)); children.add(new Property("agent", "", "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", 0, java.lang.Integer.MAX_VALUE, agent)); children.add(new Property("entity", "", "An entity used in this activity.", 0, java.lang.Integer.MAX_VALUE, entity)); @@ -1543,6 +1563,7 @@ public class Provenance extends DomainResource { case -1385570183: /*authorization*/ return new Property("authorization", "CodeableReference", "The authorization (e.g., PurposeOfUse) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, authorization); case -1655966961: /*activity*/ return new Property("activity", "CodeableConcept", "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.", 0, 1, activity); case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(CarePlan|DeviceRequest|ImmunizationRecommendation|MedicationRequest|NutritionOrder|ServiceRequest|Task)", "Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -791418107: /*patient*/ return new Property("patient", "Reference(Patient)", "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.", 0, 1, patient); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).", 0, 1, encounter); case 92750597: /*agent*/ return new Property("agent", "", "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", 0, java.lang.Integer.MAX_VALUE, agent); case -1298275357: /*entity*/ return new Property("entity", "", "An entity used in this activity.", 0, java.lang.Integer.MAX_VALUE, entity); @@ -1563,6 +1584,7 @@ public class Provenance extends DomainResource { case -1385570183: /*authorization*/ return this.authorization == null ? new Base[0] : this.authorization.toArray(new Base[this.authorization.size()]); // CodeableReference case -1655966961: /*activity*/ return this.activity == null ? new Base[0] : new Base[] {this.activity}; // CodeableConcept case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference + case -791418107: /*patient*/ return this.patient == null ? new Base[0] : new Base[] {this.patient}; // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 92750597: /*agent*/ return this.agent == null ? new Base[0] : this.agent.toArray(new Base[this.agent.size()]); // ProvenanceAgentComponent case -1298275357: /*entity*/ return this.entity == null ? new Base[0] : this.entity.toArray(new Base[this.entity.size()]); // ProvenanceEntityComponent @@ -1599,6 +1621,9 @@ public class Provenance extends DomainResource { case -332612366: // basedOn this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference return value; + case -791418107: // patient + this.patient = TypeConvertor.castToReference(value); // Reference + return value; case 1524132147: // encounter this.encounter = TypeConvertor.castToReference(value); // Reference return value; @@ -1634,6 +1659,8 @@ public class Provenance extends DomainResource { this.activity = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("basedOn")) { this.getBasedOn().add(TypeConvertor.castToReference(value)); + } else if (name.equals("patient")) { + this.patient = TypeConvertor.castToReference(value); // Reference } else if (name.equals("encounter")) { this.encounter = TypeConvertor.castToReference(value); // Reference } else if (name.equals("agent")) { @@ -1659,6 +1686,7 @@ public class Provenance extends DomainResource { case -1385570183: return addAuthorization(); case -1655966961: return getActivity(); case -332612366: return addBasedOn(); + case -791418107: return getPatient(); case 1524132147: return getEncounter(); case 92750597: return addAgent(); case -1298275357: return addEntity(); @@ -1679,6 +1707,7 @@ public class Provenance extends DomainResource { case -1385570183: /*authorization*/ return new String[] {"CodeableReference"}; case -1655966961: /*activity*/ return new String[] {"CodeableConcept"}; case -332612366: /*basedOn*/ return new String[] {"Reference"}; + case -791418107: /*patient*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 92750597: /*agent*/ return new String[] {}; case -1298275357: /*entity*/ return new String[] {}; @@ -1721,6 +1750,10 @@ public class Provenance extends DomainResource { else if (name.equals("basedOn")) { return addBasedOn(); } + else if (name.equals("patient")) { + this.patient = new Reference(); + return this.patient; + } else if (name.equals("encounter")) { this.encounter = new Reference(); return this.encounter; @@ -1775,6 +1808,7 @@ public class Provenance extends DomainResource { for (Reference i : basedOn) dst.basedOn.add(i.copy()); }; + dst.patient = patient == null ? null : patient.copy(); dst.encounter = encounter == null ? null : encounter.copy(); if (agent != null) { dst.agent = new ArrayList(); @@ -1806,9 +1840,9 @@ public class Provenance extends DomainResource { Provenance o = (Provenance) other_; return compareDeep(target, o.target, true) && compareDeep(occurred, o.occurred, true) && compareDeep(recorded, o.recorded, true) && compareDeep(policy, o.policy, true) && compareDeep(location, o.location, true) && compareDeep(authorization, o.authorization, true) - && compareDeep(activity, o.activity, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(encounter, o.encounter, true) - && compareDeep(agent, o.agent, true) && compareDeep(entity, o.entity, true) && compareDeep(signature, o.signature, true) - ; + && compareDeep(activity, o.activity, true) && compareDeep(basedOn, o.basedOn, true) && compareDeep(patient, o.patient, true) + && compareDeep(encounter, o.encounter, true) && compareDeep(agent, o.agent, true) && compareDeep(entity, o.entity, true) + && compareDeep(signature, o.signature, true); } @Override @@ -1823,8 +1857,8 @@ public class Provenance extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(target, occurred, recorded - , policy, location, authorization, activity, basedOn, encounter, agent, entity - , signature); + , policy, location, authorization, activity, basedOn, patient, encounter, agent + , entity, signature); } @Override @@ -1832,308 +1866,6 @@ public class Provenance extends DomainResource { return ResourceType.Provenance; } - /** - * Search parameter: activity - *

- * Description: Activity that occurred
- * Type: token
- * Path: Provenance.activity
- *

- */ - @SearchParamDefinition(name="activity", path="Provenance.activity", description="Activity that occurred", type="token" ) - public static final String SP_ACTIVITY = "activity"; - /** - * Fluent Client search parameter constant for activity - *

- * Description: Activity that occurred
- * Type: token
- * Path: Provenance.activity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVITY); - - /** - * Search parameter: agent-role - *

- * Description: What the agents role was
- * Type: token
- * Path: Provenance.agent.role
- *

- */ - @SearchParamDefinition(name="agent-role", path="Provenance.agent.role", description="What the agents role was", type="token" ) - public static final String SP_AGENT_ROLE = "agent-role"; - /** - * Fluent Client search parameter constant for agent-role - *

- * Description: What the agents role was
- * Type: token
- * Path: Provenance.agent.role
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam AGENT_ROLE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_AGENT_ROLE); - - /** - * Search parameter: agent-type - *

- * Description: How the agent participated
- * Type: token
- * Path: Provenance.agent.type
- *

- */ - @SearchParamDefinition(name="agent-type", path="Provenance.agent.type", description="How the agent participated", type="token" ) - public static final String SP_AGENT_TYPE = "agent-type"; - /** - * Fluent Client search parameter constant for agent-type - *

- * Description: How the agent participated
- * Type: token
- * Path: Provenance.agent.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam AGENT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_AGENT_TYPE); - - /** - * Search parameter: agent - *

- * Description: Who participated
- * Type: reference
- * Path: Provenance.agent.who
- *

- */ - @SearchParamDefinition(name="agent", path="Provenance.agent.who", description="Who participated", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AGENT = "agent"; - /** - * Fluent Client search parameter constant for agent - *

- * Description: Who participated
- * Type: reference
- * Path: Provenance.agent.who
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AGENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AGENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:agent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AGENT = new ca.uhn.fhir.model.api.Include("Provenance:agent").toLocked(); - - /** - * Search parameter: based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: Provenance.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Provenance.basedOn", description="Reference to the service request.", type="reference", target={CarePlan.class, DeviceRequest.class, ImmunizationRecommendation.class, MedicationRequest.class, NutritionOrder.class, ServiceRequest.class, Task.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Reference to the service request.
- * Type: reference
- * Path: Provenance.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Provenance:based-on").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: Encounter related to the Provenance
- * Type: reference
- * Path: Provenance.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Provenance.encounter", description="Encounter related to the Provenance", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Encounter related to the Provenance
- * Type: reference
- * Path: Provenance.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Provenance:encounter").toLocked(); - - /** - * Search parameter: entity - *

- * Description: Identity of entity
- * Type: reference
- * Path: Provenance.entity.what
- *

- */ - @SearchParamDefinition(name="entity", path="Provenance.entity.what", description="Identity of entity", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_ENTITY = "entity"; - /** - * Fluent Client search parameter constant for entity - *

- * Description: Identity of entity
- * Type: reference
- * Path: Provenance.entity.what
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTITY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENTITY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:entity". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTITY = new ca.uhn.fhir.model.api.Include("Provenance:entity").toLocked(); - - /** - * Search parameter: location - *

- * Description: Where the activity occurred, if relevant
- * Type: reference
- * Path: Provenance.location
- *

- */ - @SearchParamDefinition(name="location", path="Provenance.location", description="Where the activity occurred, if relevant", type="reference", target={Location.class } ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Where the activity occurred, if relevant
- * Type: reference
- * Path: Provenance.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_LOCATION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:location". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION = new ca.uhn.fhir.model.api.Include("Provenance:location").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Target Reference(s) (usually version specific)
- * Type: reference
- * Path: Provenance.target.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Provenance.target.where(resolve() is Patient)", description="Target Reference(s) (usually version specific)", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Target Reference(s) (usually version specific)
- * Type: reference
- * Path: Provenance.target.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Provenance:patient").toLocked(); - - /** - * Search parameter: recorded - *

- * Description: When the activity was recorded / updated
- * Type: date
- * Path: Provenance.recorded
- *

- */ - @SearchParamDefinition(name="recorded", path="Provenance.recorded", description="When the activity was recorded / updated", type="date" ) - public static final String SP_RECORDED = "recorded"; - /** - * Fluent Client search parameter constant for recorded - *

- * Description: When the activity was recorded / updated
- * Type: date
- * Path: Provenance.recorded
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam RECORDED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_RECORDED); - - /** - * Search parameter: signature-type - *

- * Description: Indication of the reason the entity signed the object(s)
- * Type: token
- * Path: Provenance.signature.type
- *

- */ - @SearchParamDefinition(name="signature-type", path="Provenance.signature.type", description="Indication of the reason the entity signed the object(s)", type="token" ) - public static final String SP_SIGNATURE_TYPE = "signature-type"; - /** - * Fluent Client search parameter constant for signature-type - *

- * Description: Indication of the reason the entity signed the object(s)
- * Type: token
- * Path: Provenance.signature.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SIGNATURE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SIGNATURE_TYPE); - - /** - * Search parameter: target - *

- * Description: Target Reference(s) (usually version specific)
- * Type: reference
- * Path: Provenance.target
- *

- */ - @SearchParamDefinition(name="target", path="Provenance.target", description="Target Reference(s) (usually version specific)", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_TARGET = "target"; - /** - * Fluent Client search parameter constant for target - *

- * Description: Target Reference(s) (usually version specific)
- * Type: reference
- * Path: Provenance.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Provenance:target". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET = new ca.uhn.fhir.model.api.Include("Provenance:target").toLocked(); - - /** - * Search parameter: when - *

- * Description: When the activity occurred
- * Type: date
- * Path: (Provenance.occurred as dateTime)
- *

- */ - @SearchParamDefinition(name="when", path="(Provenance.occurred as dateTime)", description="When the activity occurred", type="date" ) - public static final String SP_WHEN = "when"; - /** - * Fluent Client search parameter constant for when - *

- * Description: When the activity occurred
- * Type: date
- * Path: (Provenance.occurred as dateTime)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam WHEN = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_WHEN); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Quantity.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Quantity.java index d7f34b5f3..e27f1a3da 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Quantity.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Quantity.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Questionnaire.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Questionnaire.java index 14f69e8c1..64f58eb75 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Questionnaire.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Questionnaire.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case ALL: return "all"; case ANY: return "any"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case ALL: return "http://hl7.org/fhir/questionnaire-enable-behavior"; case ANY: return "http://hl7.org/fhir/questionnaire-enable-behavior"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case ALL: return "Enable the question when all the enableWhen criteria are satisfied."; case ANY: return "Enable the question when any of the enableWhen criteria are satisfied."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case ALL: return "All"; case ANY: return "Any"; + case NULL: return null; default: return "?"; } } @@ -181,6 +185,7 @@ public class Questionnaire extends MetadataResource { case OPTIONSONLY: return "optionsOnly"; case OPTIONSORTYPE: return "optionsOrType"; case OPTIONSORSTRING: return "optionsOrString"; + case NULL: return null; default: return "?"; } } @@ -189,6 +194,7 @@ public class Questionnaire extends MetadataResource { case OPTIONSONLY: return "http://hl7.org/fhir/questionnaire-answer-constraint"; case OPTIONSORTYPE: return "http://hl7.org/fhir/questionnaire-answer-constraint"; case OPTIONSORSTRING: return "http://hl7.org/fhir/questionnaire-answer-constraint"; + case NULL: return null; default: return "?"; } } @@ -197,6 +203,7 @@ public class Questionnaire extends MetadataResource { case OPTIONSONLY: return "Only values listed as answerOption or in the expansion of the answerValueSet are permitted"; case OPTIONSORTYPE: return "In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted"; case OPTIONSORSTRING: return "In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of 'string'."; + case NULL: return null; default: return "?"; } } @@ -205,6 +212,7 @@ public class Questionnaire extends MetadataResource { case OPTIONSONLY: return "Options only"; case OPTIONSORTYPE: return "Options or 'type'"; case OPTIONSORSTRING: return "Options or string"; + case NULL: return null; default: return "?"; } } @@ -282,6 +290,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case HIDDEN: return "hidden"; case PROTECTED: return "protected"; + case NULL: return null; default: return "?"; } } @@ -289,6 +298,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case HIDDEN: return "http://hl7.org/fhir/questionnaire-disabled-display"; case PROTECTED: return "http://hl7.org/fhir/questionnaire-disabled-display"; + case NULL: return null; default: return "?"; } } @@ -296,6 +306,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case HIDDEN: return "The item (and its children) should not be visible to the user at all."; case PROTECTED: return "The item (and possibly its children) should not be selectable or editable but should still be visible - to allow the user to see what questions *could* have been completed had other answers caused the item to be enabled."; + case NULL: return null; default: return "?"; } } @@ -303,6 +314,7 @@ public class Questionnaire extends MetadataResource { switch (this) { case HIDDEN: return "Hidden"; case PROTECTED: return "Protected"; + case NULL: return null; default: return "?"; } } @@ -409,6 +421,7 @@ public class Questionnaire extends MetadataResource { case LESS_THAN: return "<"; case GREATER_OR_EQUAL: return ">="; case LESS_OR_EQUAL: return "<="; + case NULL: return null; default: return "?"; } } @@ -421,6 +434,7 @@ public class Questionnaire extends MetadataResource { case LESS_THAN: return "http://hl7.org/fhir/questionnaire-enable-operator"; case GREATER_OR_EQUAL: return "http://hl7.org/fhir/questionnaire-enable-operator"; case LESS_OR_EQUAL: return "http://hl7.org/fhir/questionnaire-enable-operator"; + case NULL: return null; default: return "?"; } } @@ -433,6 +447,7 @@ public class Questionnaire extends MetadataResource { case LESS_THAN: return "True if at least one answer has a value that is less than the enableWhen answer."; case GREATER_OR_EQUAL: return "True if at least one answer has a value that is greater or equal to the enableWhen answer."; case LESS_OR_EQUAL: return "True if at least one answer has a value that is less or equal to the enableWhen answer."; + case NULL: return null; default: return "?"; } } @@ -445,6 +460,7 @@ public class Questionnaire extends MetadataResource { case LESS_THAN: return "Less Than"; case GREATER_OR_EQUAL: return "Greater or Equals"; case LESS_OR_EQUAL: return "Less or Equals"; + case NULL: return null; default: return "?"; } } @@ -644,6 +660,7 @@ public class Questionnaire extends MetadataResource { case ATTACHMENT: return "attachment"; case REFERENCE: return "reference"; case QUANTITY: return "quantity"; + case NULL: return null; default: return "?"; } } @@ -665,6 +682,7 @@ public class Questionnaire extends MetadataResource { case ATTACHMENT: return "http://hl7.org/fhir/item-type"; case REFERENCE: return "http://hl7.org/fhir/item-type"; case QUANTITY: return "http://hl7.org/fhir/item-type"; + case NULL: return null; default: return "?"; } } @@ -686,6 +704,7 @@ public class Questionnaire extends MetadataResource { case ATTACHMENT: return "Question with binary content such as an image, PDF, etc. as an answer (valueAttachment)."; case REFERENCE: return "Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference)."; case QUANTITY: return "Question with a combination of a numeric value and unit, potentially with a comparator (<, >, etc.) as an answer. (valueQuantity) There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to define what unit should be captured (or the unit that has a ucum conversion from the provided unit)."; + case NULL: return null; default: return "?"; } } @@ -707,6 +726,7 @@ public class Questionnaire extends MetadataResource { case ATTACHMENT: return "Attachment"; case REFERENCE: return "Reference"; case QUANTITY: return "Quantity"; + case NULL: return null; default: return "?"; } } @@ -4811,7 +4831,7 @@ public QuestionnaireItemComponent getQuestion(String linkId) { return 0; } /** - * @return {@link #topic} (Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.) + * @return {@link #topic} (Descriptive topics related to the content of the questionnaire. Topics provide a high-level categorization of the questionnaire that can be useful for filtering and searching.) */ public List getTopic() { return new ArrayList<>(); @@ -5477,426 +5497,6 @@ public QuestionnaireItemComponent getQuestion(String linkId) { return ResourceType.Questionnaire; } - /** - * Search parameter: combo-code - *

- * Description: A code that corresponds to one of its items in the questionnaire
- * Type: token
- * Path: Questionnaire.code | Questionnaire.item.code
- *

- */ - @SearchParamDefinition(name="combo-code", path="Questionnaire.code | Questionnaire.item.code", description="A code that corresponds to one of its items in the questionnaire", type="token" ) - public static final String SP_COMBO_CODE = "combo-code"; - /** - * Fluent Client search parameter constant for combo-code - *

- * Description: A code that corresponds to one of its items in the questionnaire
- * Type: token
- * Path: Questionnaire.code | Questionnaire.item.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_COMBO_CODE); - - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the questionnaire
- * Type: quantity
- * Path: (Questionnaire.useContext.value as Quantity) | (Questionnaire.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(Questionnaire.useContext.value as Quantity) | (Questionnaire.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the questionnaire", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the questionnaire
- * Type: quantity
- * Path: (Questionnaire.useContext.value as Quantity) | (Questionnaire.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the questionnaire
- * Type: composite
- * Path: Questionnaire.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="Questionnaire.useContext", description="A use context type and quantity- or range-based value assigned to the questionnaire", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the questionnaire
- * Type: composite
- * Path: Questionnaire.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the questionnaire
- * Type: composite
- * Path: Questionnaire.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="Questionnaire.useContext", description="A use context type and value assigned to the questionnaire", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the questionnaire
- * Type: composite
- * Path: Questionnaire.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the questionnaire
- * Type: token
- * Path: Questionnaire.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="Questionnaire.useContext.code", description="A type of use context assigned to the questionnaire", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the questionnaire
- * Type: token
- * Path: Questionnaire.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the questionnaire
- * Type: token
- * Path: (Questionnaire.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(Questionnaire.useContext.value as CodeableConcept)", description="A use context assigned to the questionnaire", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the questionnaire
- * Type: token
- * Path: (Questionnaire.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The questionnaire publication date
- * Type: date
- * Path: Questionnaire.date
- *

- */ - @SearchParamDefinition(name="date", path="Questionnaire.date", description="The questionnaire publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The questionnaire publication date
- * Type: date
- * Path: Questionnaire.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: definition - *

- * Description: ElementDefinition - details for the item
- * Type: uri
- * Path: Questionnaire.item.definition
- *

- */ - @SearchParamDefinition(name="definition", path="Questionnaire.item.definition", description="ElementDefinition - details for the item", type="uri" ) - public static final String SP_DEFINITION = "definition"; - /** - * Fluent Client search parameter constant for definition - *

- * Description: ElementDefinition - details for the item
- * Type: uri
- * Path: Questionnaire.item.definition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam DEFINITION = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_DEFINITION); - - /** - * Search parameter: description - *

- * Description: The description of the questionnaire
- * Type: string
- * Path: Questionnaire.description
- *

- */ - @SearchParamDefinition(name="description", path="Questionnaire.description", description="The description of the questionnaire", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the questionnaire
- * Type: string
- * Path: Questionnaire.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: effective - *

- * Description: The time during which the questionnaire is intended to be in use
- * Type: date
- * Path: Questionnaire.effectivePeriod
- *

- */ - @SearchParamDefinition(name="effective", path="Questionnaire.effectivePeriod", description="The time during which the questionnaire is intended to be in use", type="date" ) - public static final String SP_EFFECTIVE = "effective"; - /** - * Fluent Client search parameter constant for effective - *

- * Description: The time during which the questionnaire is intended to be in use
- * Type: date
- * Path: Questionnaire.effectivePeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EFFECTIVE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EFFECTIVE); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the questionnaire
- * Type: token
- * Path: Questionnaire.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Questionnaire.identifier", description="External identifier for the questionnaire", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the questionnaire
- * Type: token
- * Path: Questionnaire.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: item-code - *

- * Description: A code that corresponds to one of the items in the questionnaire
- * Type: token
- * Path: Questionnaire.item.code
- *

- */ - @SearchParamDefinition(name="item-code", path="Questionnaire.item.code", description="A code that corresponds to one of the items in the questionnaire", type="token" ) - public static final String SP_ITEM_CODE = "item-code"; - /** - * Fluent Client search parameter constant for item-code - *

- * Description: A code that corresponds to one of the items in the questionnaire
- * Type: token
- * Path: Questionnaire.item.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ITEM_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ITEM_CODE); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the questionnaire
- * Type: token
- * Path: Questionnaire.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="Questionnaire.jurisdiction", description="Intended jurisdiction for the questionnaire", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the questionnaire
- * Type: token
- * Path: Questionnaire.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the questionnaire
- * Type: string
- * Path: Questionnaire.name
- *

- */ - @SearchParamDefinition(name="name", path="Questionnaire.name", description="Computationally friendly name of the questionnaire", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the questionnaire
- * Type: string
- * Path: Questionnaire.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the questionnaire
- * Type: string
- * Path: Questionnaire.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="Questionnaire.publisher", description="Name of the publisher of the questionnaire", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the questionnaire
- * Type: string
- * Path: Questionnaire.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: questionnaire-code - *

- * Description: A code that matches one of the Questionnaire.code codings
- * Type: token
- * Path: Questionnaire.code
- *

- */ - @SearchParamDefinition(name="questionnaire-code", path="Questionnaire.code", description="A code that matches one of the Questionnaire.code codings", type="token" ) - public static final String SP_QUESTIONNAIRE_CODE = "questionnaire-code"; - /** - * Fluent Client search parameter constant for questionnaire-code - *

- * Description: A code that matches one of the Questionnaire.code codings
- * Type: token
- * Path: Questionnaire.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam QUESTIONNAIRE_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_QUESTIONNAIRE_CODE); - - /** - * Search parameter: status - *

- * Description: The current status of the questionnaire
- * Type: token
- * Path: Questionnaire.status
- *

- */ - @SearchParamDefinition(name="status", path="Questionnaire.status", description="The current status of the questionnaire", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the questionnaire
- * Type: token
- * Path: Questionnaire.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject-type - *

- * Description: Resource that can be subject of QuestionnaireResponse
- * Type: token
- * Path: Questionnaire.subjectType
- *

- */ - @SearchParamDefinition(name="subject-type", path="Questionnaire.subjectType", description="Resource that can be subject of QuestionnaireResponse", type="token" ) - public static final String SP_SUBJECT_TYPE = "subject-type"; - /** - * Fluent Client search parameter constant for subject-type - *

- * Description: Resource that can be subject of QuestionnaireResponse
- * Type: token
- * Path: Questionnaire.subjectType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBJECT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SUBJECT_TYPE); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the questionnaire
- * Type: string
- * Path: Questionnaire.title
- *

- */ - @SearchParamDefinition(name="title", path="Questionnaire.title", description="The human-friendly name of the questionnaire", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the questionnaire
- * Type: string
- * Path: Questionnaire.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the questionnaire
- * Type: uri
- * Path: Questionnaire.url
- *

- */ - @SearchParamDefinition(name="url", path="Questionnaire.url", description="The uri that identifies the questionnaire", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the questionnaire
- * Type: uri
- * Path: Questionnaire.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the questionnaire
- * Type: token
- * Path: Questionnaire.version
- *

- */ - @SearchParamDefinition(name="version", path="Questionnaire.version", description="The business version of the questionnaire", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the questionnaire
- * Type: token
- * Path: Questionnaire.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public QuestionnaireItemComponent getQuestion(String linkId) { if (linkId == null) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/QuestionnaireResponse.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/QuestionnaireResponse.java index cba5d4450..0ae48bb11 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/QuestionnaireResponse.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/QuestionnaireResponse.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class QuestionnaireResponse extends DomainResource { case AMENDED: return "amended"; case ENTEREDINERROR: return "entered-in-error"; case STOPPED: return "stopped"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class QuestionnaireResponse extends DomainResource { case AMENDED: return "http://hl7.org/fhir/questionnaire-answers-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/questionnaire-answers-status"; case STOPPED: return "http://hl7.org/fhir/questionnaire-answers-status"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class QuestionnaireResponse extends DomainResource { case AMENDED: return "This QuestionnaireResponse has been filled out with answers, then marked as complete, yet changes or additions have been made to it afterwards."; case ENTEREDINERROR: return "This QuestionnaireResponse was entered in error and voided."; case STOPPED: return "This QuestionnaireResponse has been partially filled out with answers but has been abandoned. No subsequent changes can be made."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class QuestionnaireResponse extends DomainResource { case AMENDED: return "Amended"; case ENTEREDINERROR: return "Entered in Error"; case STOPPED: return "Stopped"; + case NULL: return null; default: return "?"; } } @@ -1985,300 +1989,6 @@ public class QuestionnaireResponse extends DomainResource { return ResourceType.QuestionnaireResponse; } - /** - * Search parameter: author - *

- * Description: The author of the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.author
- *

- */ - @SearchParamDefinition(name="author", path="QuestionnaireResponse.author", description="The author of the questionnaire response", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: The author of the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:author").toLocked(); - - /** - * Search parameter: authored - *

- * Description: When the questionnaire response was last changed
- * Type: date
- * Path: QuestionnaireResponse.authored
- *

- */ - @SearchParamDefinition(name="authored", path="QuestionnaireResponse.authored", description="When the questionnaire response was last changed", type="date" ) - public static final String SP_AUTHORED = "authored"; - /** - * Fluent Client search parameter constant for authored - *

- * Description: When the questionnaire response was last changed
- * Type: date
- * Path: QuestionnaireResponse.authored
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHORED); - - /** - * Search parameter: based-on - *

- * Description: Plan/proposal/order fulfilled by this questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="QuestionnaireResponse.basedOn", description="Plan/proposal/order fulfilled by this questionnaire response", type="reference", target={CarePlan.class, ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Plan/proposal/order fulfilled by this questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:based-on").toLocked(); - - /** - * Search parameter: encounter - *

- * Description: Encounter associated with the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="QuestionnaireResponse.encounter", description="Encounter associated with the questionnaire response", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Encounter associated with the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: The unique identifier for the questionnaire response
- * Type: token
- * Path: QuestionnaireResponse.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="QuestionnaireResponse.identifier", description="The unique identifier for the questionnaire response", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The unique identifier for the questionnaire response
- * Type: token
- * Path: QuestionnaireResponse.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: item-subject - *

- * Description: Allows searching for QuestionnaireResponses by item value where the item has isSubject=true
- * Type: reference
- * Path: QuestionnaireResponse.item.where(extension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject').exists()).answer.value.ofType(Reference)
- *

- */ - @SearchParamDefinition(name="item-subject", path="QuestionnaireResponse.item.where(extension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject').exists()).answer.value.ofType(Reference)", description="Allows searching for QuestionnaireResponses by item value where the item has isSubject=true", type="reference" ) - public static final String SP_ITEM_SUBJECT = "item-subject"; - /** - * Fluent Client search parameter constant for item-subject - *

- * Description: Allows searching for QuestionnaireResponses by item value where the item has isSubject=true
- * Type: reference
- * Path: QuestionnaireResponse.item.where(extension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject').exists()).answer.value.ofType(Reference)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM_SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ITEM_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:item-subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM_SUBJECT = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:item-subject").toLocked(); - - /** - * Search parameter: part-of - *

- * Description: Procedure or observation this questionnaire response was performed as a part of
- * Type: reference
- * Path: QuestionnaireResponse.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="QuestionnaireResponse.partOf", description="Procedure or observation this questionnaire response was performed as a part of", type="reference", target={Observation.class, Procedure.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Procedure or observation this questionnaire response was performed as a part of
- * Type: reference
- * Path: QuestionnaireResponse.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:part-of").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The patient that is the subject of the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="QuestionnaireResponse.subject.where(resolve() is Patient)", description="The patient that is the subject of the questionnaire response", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The patient that is the subject of the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:patient").toLocked(); - - /** - * Search parameter: questionnaire - *

- * Description: The questionnaire the answers are provided for
- * Type: reference
- * Path: QuestionnaireResponse.questionnaire
- *

- */ - @SearchParamDefinition(name="questionnaire", path="QuestionnaireResponse.questionnaire", description="The questionnaire the answers are provided for", type="reference", target={Questionnaire.class } ) - public static final String SP_QUESTIONNAIRE = "questionnaire"; - /** - * Fluent Client search parameter constant for questionnaire - *

- * Description: The questionnaire the answers are provided for
- * Type: reference
- * Path: QuestionnaireResponse.questionnaire
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam QUESTIONNAIRE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_QUESTIONNAIRE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:questionnaire". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_QUESTIONNAIRE = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:questionnaire").toLocked(); - - /** - * Search parameter: source - *

- * Description: The individual providing the information reflected in the questionnaire respose
- * Type: reference
- * Path: QuestionnaireResponse.source
- *

- */ - @SearchParamDefinition(name="source", path="QuestionnaireResponse.source", description="The individual providing the information reflected in the questionnaire respose", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_SOURCE = "source"; - /** - * Fluent Client search parameter constant for source - *

- * Description: The individual providing the information reflected in the questionnaire respose
- * Type: reference
- * Path: QuestionnaireResponse.source
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SOURCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:source". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:source").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the questionnaire response
- * Type: token
- * Path: QuestionnaireResponse.status
- *

- */ - @SearchParamDefinition(name="status", path="QuestionnaireResponse.status", description="The status of the questionnaire response", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the questionnaire response
- * Type: token
- * Path: QuestionnaireResponse.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject of the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.subject
- *

- */ - @SearchParamDefinition(name="subject", path="QuestionnaireResponse.subject", description="The subject of the questionnaire response", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject of the questionnaire response
- * Type: reference
- * Path: QuestionnaireResponse.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "QuestionnaireResponse:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("QuestionnaireResponse:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Range.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Range.java index 1804edb20..7ceaa19fb 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Range.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Range.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ratio.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ratio.java index fe144135b..63add5e2a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ratio.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Ratio.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RatioRange.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RatioRange.java index 21a68459c..1fb54b209 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RatioRange.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RatioRange.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Reference.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Reference.java index 20772c728..ef9b47cbb 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Reference.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Reference.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RegulatedAuthorization.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RegulatedAuthorization.java index d892b3894..bf427bd55 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RegulatedAuthorization.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RegulatedAuthorization.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -66,6 +66,7 @@ public class RegulatedAuthorization extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The defining type of case", formalDefinition="The defining type of case." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/regulated-authorization-case-type") protected CodeableConcept type; /** @@ -73,20 +74,21 @@ public class RegulatedAuthorization extends DomainResource { */ @Child(name = "status", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The status associated with the case", formalDefinition="The status associated with the case." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** - * Relevant date for this of case. + * Relevant date for this case. */ @Child(name = "date", type = {Period.class, DateTimeType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Relevant date for this of case", formalDefinition="Relevant date for this of case." ) + @Description(shortDefinition="Relevant date for this case", formalDefinition="Relevant date for this case." ) protected DataType date; /** - * Applications submitted to obtain a marketing authorization. Steps within the longer running case or procedure. + * A regulatory submission from an organization to a regulator, as part of an assessing case. Multiple applications may occur over time, with more or different information to support or modify the submission or the authorization. The applications can be considered as steps within the longer running case or procedure for this authorization process. */ @Child(name = "application", type = {RegulatedAuthorizationCaseComponent.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Applications submitted to obtain a marketing authorization. Steps within the longer running case or procedure", formalDefinition="Applications submitted to obtain a marketing authorization. Steps within the longer running case or procedure." ) + @Description(shortDefinition="Applications submitted to obtain a regulated authorization. Steps within the longer running case or procedure", formalDefinition="A regulatory submission from an organization to a regulator, as part of an assessing case. Multiple applications may occur over time, with more or different information to support or modify the submission or the authorization. The applications can be considered as steps within the longer running case or procedure for this authorization process." ) protected List application; private static final long serialVersionUID = 2052202113L; @@ -171,14 +173,14 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #date} (Relevant date for this of case.) + * @return {@link #date} (Relevant date for this case.) */ public DataType getDate() { return this.date; } /** - * @return {@link #date} (Relevant date for this of case.) + * @return {@link #date} (Relevant date for this case.) */ public Period getDatePeriod() throws FHIRException { if (this.date == null) @@ -193,7 +195,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #date} (Relevant date for this of case.) + * @return {@link #date} (Relevant date for this case.) */ public DateTimeType getDateDateTimeType() throws FHIRException { if (this.date == null) @@ -212,7 +214,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @param value {@link #date} (Relevant date for this of case.) + * @param value {@link #date} (Relevant date for this case.) */ public RegulatedAuthorizationCaseComponent setDate(DataType value) { if (value != null && !(value instanceof Period || value instanceof DateTimeType)) @@ -222,7 +224,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #application} (Applications submitted to obtain a marketing authorization. Steps within the longer running case or procedure.) + * @return {@link #application} (A regulatory submission from an organization to a regulator, as part of an assessing case. Multiple applications may occur over time, with more or different information to support or modify the submission or the authorization. The applications can be considered as steps within the longer running case or procedure for this authorization process.) */ public List getApplication() { if (this.application == null) @@ -279,8 +281,8 @@ public class RegulatedAuthorization extends DomainResource { children.add(new Property("identifier", "Identifier", "Identifier by which this case can be referenced.", 0, 1, identifier)); children.add(new Property("type", "CodeableConcept", "The defining type of case.", 0, 1, type)); children.add(new Property("status", "CodeableConcept", "The status associated with the case.", 0, 1, status)); - children.add(new Property("date[x]", "Period|dateTime", "Relevant date for this of case.", 0, 1, date)); - children.add(new Property("application", "@RegulatedAuthorization.case", "Applications submitted to obtain a marketing authorization. Steps within the longer running case or procedure.", 0, java.lang.Integer.MAX_VALUE, application)); + children.add(new Property("date[x]", "Period|dateTime", "Relevant date for this case.", 0, 1, date)); + children.add(new Property("application", "@RegulatedAuthorization.case", "A regulatory submission from an organization to a regulator, as part of an assessing case. Multiple applications may occur over time, with more or different information to support or modify the submission or the authorization. The applications can be considered as steps within the longer running case or procedure for this authorization process.", 0, java.lang.Integer.MAX_VALUE, application)); } @Override @@ -289,11 +291,11 @@ public class RegulatedAuthorization extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier by which this case can be referenced.", 0, 1, identifier); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The defining type of case.", 0, 1, type); case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status associated with the case.", 0, 1, status); - case 1443311122: /*date[x]*/ return new Property("date[x]", "Period|dateTime", "Relevant date for this of case.", 0, 1, date); - case 3076014: /*date*/ return new Property("date[x]", "Period|dateTime", "Relevant date for this of case.", 0, 1, date); - case 432297743: /*datePeriod*/ return new Property("date[x]", "Period", "Relevant date for this of case.", 0, 1, date); - case 185136489: /*dateDateTime*/ return new Property("date[x]", "dateTime", "Relevant date for this of case.", 0, 1, date); - case 1554253136: /*application*/ return new Property("application", "@RegulatedAuthorization.case", "Applications submitted to obtain a marketing authorization. Steps within the longer running case or procedure.", 0, java.lang.Integer.MAX_VALUE, application); + case 1443311122: /*date[x]*/ return new Property("date[x]", "Period|dateTime", "Relevant date for this case.", 0, 1, date); + case 3076014: /*date*/ return new Property("date[x]", "Period|dateTime", "Relevant date for this case.", 0, 1, date); + case 432297743: /*datePeriod*/ return new Property("date[x]", "Period", "Relevant date for this case.", 0, 1, date); + case 185136489: /*dateDateTime*/ return new Property("date[x]", "dateTime", "Relevant date for this case.", 0, 1, date); + case 1554253136: /*application*/ return new Property("application", "@RegulatedAuthorization.case", "A regulatory submission from an organization to a regulator, as part of an assessing case. Multiple applications may occur over time, with more or different information to support or modify the submission or the authorization. The applications can be considered as steps within the longer running case or procedure for this authorization process.", 0, java.lang.Integer.MAX_VALUE, application); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -470,7 +472,7 @@ public class RegulatedAuthorization extends DomainResource { /** * The product type, treatment, facility or activity that is being authorized. */ - @Child(name = "subject", type = {MedicinalProductDefinition.class, BiologicallyDerivedProduct.class, NutritionProduct.class, PackagedProductDefinition.class, SubstanceDefinition.class, DeviceDefinition.class, ResearchStudy.class, ActivityDefinition.class, PlanDefinition.class, ObservationDefinition.class, Practitioner.class, Organization.class, Location.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "subject", type = {MedicinalProductDefinition.class, BiologicallyDerivedProduct.class, NutritionProduct.class, PackagedProductDefinition.class, Ingredient.class, SubstanceDefinition.class, DeviceDefinition.class, ResearchStudy.class, ActivityDefinition.class, PlanDefinition.class, ObservationDefinition.class, Practitioner.class, Organization.class, Location.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The product type, treatment, facility or activity that is being authorized", formalDefinition="The product type, treatment, facility or activity that is being authorized." ) protected List subject; @@ -479,6 +481,7 @@ public class RegulatedAuthorization extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Overall type of this authorization, for example drug marketing approval, orphan drug designation", formalDefinition="Overall type of this authorization, for example drug marketing approval, orphan drug designation." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/regulated-authorization-type") protected CodeableConcept type; /** @@ -492,14 +495,16 @@ public class RegulatedAuthorization extends DomainResource { * The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted. */ @Child(name = "region", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted", formalDefinition="The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted." ) + @Description(shortDefinition="The territory in which the authorization has been granted", formalDefinition="The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") protected List region; /** - * The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications. + * The status that is authorised e.g. approved. Intermediate states and actions can be tracked with cases and applications. */ @Child(name = "status", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications", formalDefinition="The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications." ) + @Description(shortDefinition="The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications", formalDefinition="The status that is authorised e.g. approved. Intermediate states and actions can be tracked with cases and applications." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** @@ -513,35 +518,37 @@ public class RegulatedAuthorization extends DomainResource { * The time period in which the regulatory approval, clearance or licencing is in effect. As an example, a Marketing Authorization includes the date of authorization and/or an expiration date. */ @Child(name = "validityPeriod", type = {Period.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The time period in which the regulatory approval, clearance or licencing is in effect. As an example, a Marketing Authorization includes the date of authorization and/or an expiration date", formalDefinition="The time period in which the regulatory approval, clearance or licencing is in effect. As an example, a Marketing Authorization includes the date of authorization and/or an expiration date." ) + @Description(shortDefinition="The time period in which the regulatory approval etc. is in effect, e.g. a Marketing Authorization includes the date of authorization and/or expiration date", formalDefinition="The time period in which the regulatory approval, clearance or licencing is in effect. As an example, a Marketing Authorization includes the date of authorization and/or an expiration date." ) protected Period validityPeriod; /** * Condition for which the use of the regulated product applies. */ @Child(name = "indication", type = {CodeableReference.class}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Condition for which the use of the regulated product applies", formalDefinition="Condition for which the use of the regulated product applies." ) + @Description(shortDefinition="Condition for which the use of the regulated product applies", formalDefinition="Condition for which the use of the regulated product applies." ) protected CodeableReference indication; /** - * The intended use of the product, e.g. prevention, treatment. + * The intended use of the product, e.g. prevention, treatment, diagnosis. */ @Child(name = "intendedUse", type = {CodeableConcept.class}, order=9, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The intended use of the product, e.g. prevention, treatment", formalDefinition="The intended use of the product, e.g. prevention, treatment." ) + @Description(shortDefinition="The intended use of the product, e.g. prevention, treatment", formalDefinition="The intended use of the product, e.g. prevention, treatment, diagnosis." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-intended-use") protected CodeableConcept intendedUse; /** * The legal or regulatory framework against which this authorization is granted, or other reasons for it. */ @Child(name = "basis", type = {CodeableConcept.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The legal or regulatory framework against which this authorization is granted, or other reasons for it", formalDefinition="The legal or regulatory framework against which this authorization is granted, or other reasons for it." ) + @Description(shortDefinition="The legal/regulatory framework or reasons under which this authorization is granted", formalDefinition="The legal or regulatory framework against which this authorization is granted, or other reasons for it." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/regulated-authorization-basis") protected List basis; /** - * The organization that holds the granted authorization. + * The organization that has been granted this authorization, by some authoritative body (the 'regulator'). */ @Child(name = "holder", type = {Organization.class}, order=11, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The organization that holds the granted authorization", formalDefinition="The organization that holds the granted authorization." ) + @Description(shortDefinition="The organization that has been granted this authorization, by the regulator", formalDefinition="The organization that has been granted this authorization, by some authoritative body (the 'regulator')." ) protected Reference holder; /** @@ -559,10 +566,10 @@ public class RegulatedAuthorization extends DomainResource { protected List attachedDocument; /** - * The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page). + * The case or regulatory procedure for granting or amending a regulated authorization. An authorization is granted in response to submissions/applications by those seeking authorization. A case is the administrative process that deals with the application(s) that relate to this and assesses them. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page). */ @Child(name = "case", type = {}, order=14, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page)", formalDefinition="The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page)." ) + @Description(shortDefinition="The case or regulatory procedure for granting or amending a regulated authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page)", formalDefinition="The case or regulatory procedure for granting or amending a regulated authorization. An authorization is granted in response to submissions/applications by those seeking authorization. A case is the administrative process that deals with the application(s) that relate to this and assesses them. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page)." ) protected RegulatedAuthorizationCaseComponent case_; private static final long serialVersionUID = 1242044467L; @@ -807,7 +814,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #status} (The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications.) + * @return {@link #status} (The status that is authorised e.g. approved. Intermediate states and actions can be tracked with cases and applications.) */ public CodeableConcept getStatus() { if (this.status == null) @@ -823,7 +830,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @param value {@link #status} (The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications.) + * @param value {@link #status} (The status that is authorised e.g. approved. Intermediate states and actions can be tracked with cases and applications.) */ public RegulatedAuthorization setStatus(CodeableConcept value) { this.status = value; @@ -928,7 +935,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #intendedUse} (The intended use of the product, e.g. prevention, treatment.) + * @return {@link #intendedUse} (The intended use of the product, e.g. prevention, treatment, diagnosis.) */ public CodeableConcept getIntendedUse() { if (this.intendedUse == null) @@ -944,7 +951,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @param value {@link #intendedUse} (The intended use of the product, e.g. prevention, treatment.) + * @param value {@link #intendedUse} (The intended use of the product, e.g. prevention, treatment, diagnosis.) */ public RegulatedAuthorization setIntendedUse(CodeableConcept value) { this.intendedUse = value; @@ -1005,7 +1012,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #holder} (The organization that holds the granted authorization.) + * @return {@link #holder} (The organization that has been granted this authorization, by some authoritative body (the 'regulator').) */ public Reference getHolder() { if (this.holder == null) @@ -1021,7 +1028,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @param value {@link #holder} (The organization that holds the granted authorization.) + * @param value {@link #holder} (The organization that has been granted this authorization, by some authoritative body (the 'regulator').) */ public RegulatedAuthorization setHolder(Reference value) { this.holder = value; @@ -1106,7 +1113,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @return {@link #case_} (The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).) + * @return {@link #case_} (The case or regulatory procedure for granting or amending a regulated authorization. An authorization is granted in response to submissions/applications by those seeking authorization. A case is the administrative process that deals with the application(s) that relate to this and assesses them. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).) */ public RegulatedAuthorizationCaseComponent getCase() { if (this.case_ == null) @@ -1122,7 +1129,7 @@ public class RegulatedAuthorization extends DomainResource { } /** - * @param value {@link #case_} (The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).) + * @param value {@link #case_} (The case or regulatory procedure for granting or amending a regulated authorization. An authorization is granted in response to submissions/applications by those seeking authorization. A case is the administrative process that deals with the application(s) that relate to this and assesses them. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).) */ public RegulatedAuthorization setCase(RegulatedAuthorizationCaseComponent value) { this.case_ = value; @@ -1132,40 +1139,40 @@ public class RegulatedAuthorization extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("identifier", "Identifier", "Business identifier for the authorization, typically assigned by the authorizing body.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("subject", "Reference(MedicinalProductDefinition|BiologicallyDerivedProduct|NutritionProduct|PackagedProductDefinition|SubstanceDefinition|DeviceDefinition|ResearchStudy|ActivityDefinition|PlanDefinition|ObservationDefinition|Practitioner|Organization|Location)", "The product type, treatment, facility or activity that is being authorized.", 0, java.lang.Integer.MAX_VALUE, subject)); + children.add(new Property("subject", "Reference(MedicinalProductDefinition|BiologicallyDerivedProduct|NutritionProduct|PackagedProductDefinition|Ingredient|SubstanceDefinition|DeviceDefinition|ResearchStudy|ActivityDefinition|PlanDefinition|ObservationDefinition|Practitioner|Organization|Location)", "The product type, treatment, facility or activity that is being authorized.", 0, java.lang.Integer.MAX_VALUE, subject)); children.add(new Property("type", "CodeableConcept", "Overall type of this authorization, for example drug marketing approval, orphan drug designation.", 0, 1, type)); children.add(new Property("description", "markdown", "General textual supporting information.", 0, 1, description)); children.add(new Property("region", "CodeableConcept", "The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted.", 0, java.lang.Integer.MAX_VALUE, region)); - children.add(new Property("status", "CodeableConcept", "The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications.", 0, 1, status)); + children.add(new Property("status", "CodeableConcept", "The status that is authorised e.g. approved. Intermediate states and actions can be tracked with cases and applications.", 0, 1, status)); children.add(new Property("statusDate", "dateTime", "The date at which the current status was assigned.", 0, 1, statusDate)); children.add(new Property("validityPeriod", "Period", "The time period in which the regulatory approval, clearance or licencing is in effect. As an example, a Marketing Authorization includes the date of authorization and/or an expiration date.", 0, 1, validityPeriod)); children.add(new Property("indication", "CodeableReference(ClinicalUseDefinition)", "Condition for which the use of the regulated product applies.", 0, 1, indication)); - children.add(new Property("intendedUse", "CodeableConcept", "The intended use of the product, e.g. prevention, treatment.", 0, 1, intendedUse)); + children.add(new Property("intendedUse", "CodeableConcept", "The intended use of the product, e.g. prevention, treatment, diagnosis.", 0, 1, intendedUse)); children.add(new Property("basis", "CodeableConcept", "The legal or regulatory framework against which this authorization is granted, or other reasons for it.", 0, java.lang.Integer.MAX_VALUE, basis)); - children.add(new Property("holder", "Reference(Organization)", "The organization that holds the granted authorization.", 0, 1, holder)); + children.add(new Property("holder", "Reference(Organization)", "The organization that has been granted this authorization, by some authoritative body (the 'regulator').", 0, 1, holder)); children.add(new Property("regulator", "Reference(Organization)", "The regulatory authority or authorizing body granting the authorization. For example, European Medicines Agency (EMA), Food and Drug Administration (FDA), Health Canada (HC), etc.", 0, 1, regulator)); children.add(new Property("attachedDocument", "Reference(DocumentReference)", "Additional information or supporting documentation about the authorization.", 0, java.lang.Integer.MAX_VALUE, attachedDocument)); - children.add(new Property("case", "", "The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).", 0, 1, case_)); + children.add(new Property("case", "", "The case or regulatory procedure for granting or amending a regulated authorization. An authorization is granted in response to submissions/applications by those seeking authorization. A case is the administrative process that deals with the application(s) that relate to this and assesses them. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).", 0, 1, case_)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for the authorization, typically assigned by the authorizing body.", 0, java.lang.Integer.MAX_VALUE, identifier); - case -1867885268: /*subject*/ return new Property("subject", "Reference(MedicinalProductDefinition|BiologicallyDerivedProduct|NutritionProduct|PackagedProductDefinition|SubstanceDefinition|DeviceDefinition|ResearchStudy|ActivityDefinition|PlanDefinition|ObservationDefinition|Practitioner|Organization|Location)", "The product type, treatment, facility or activity that is being authorized.", 0, java.lang.Integer.MAX_VALUE, subject); + case -1867885268: /*subject*/ return new Property("subject", "Reference(MedicinalProductDefinition|BiologicallyDerivedProduct|NutritionProduct|PackagedProductDefinition|Ingredient|SubstanceDefinition|DeviceDefinition|ResearchStudy|ActivityDefinition|PlanDefinition|ObservationDefinition|Practitioner|Organization|Location)", "The product type, treatment, facility or activity that is being authorized.", 0, java.lang.Integer.MAX_VALUE, subject); case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Overall type of this authorization, for example drug marketing approval, orphan drug designation.", 0, 1, type); case -1724546052: /*description*/ return new Property("description", "markdown", "General textual supporting information.", 0, 1, description); case -934795532: /*region*/ return new Property("region", "CodeableConcept", "The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted.", 0, java.lang.Integer.MAX_VALUE, region); - case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications.", 0, 1, status); + case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status that is authorised e.g. approved. Intermediate states and actions can be tracked with cases and applications.", 0, 1, status); case 247524032: /*statusDate*/ return new Property("statusDate", "dateTime", "The date at which the current status was assigned.", 0, 1, statusDate); case -1434195053: /*validityPeriod*/ return new Property("validityPeriod", "Period", "The time period in which the regulatory approval, clearance or licencing is in effect. As an example, a Marketing Authorization includes the date of authorization and/or an expiration date.", 0, 1, validityPeriod); case -597168804: /*indication*/ return new Property("indication", "CodeableReference(ClinicalUseDefinition)", "Condition for which the use of the regulated product applies.", 0, 1, indication); - case -1618671268: /*intendedUse*/ return new Property("intendedUse", "CodeableConcept", "The intended use of the product, e.g. prevention, treatment.", 0, 1, intendedUse); + case -1618671268: /*intendedUse*/ return new Property("intendedUse", "CodeableConcept", "The intended use of the product, e.g. prevention, treatment, diagnosis.", 0, 1, intendedUse); case 93508670: /*basis*/ return new Property("basis", "CodeableConcept", "The legal or regulatory framework against which this authorization is granted, or other reasons for it.", 0, java.lang.Integer.MAX_VALUE, basis); - case -1211707988: /*holder*/ return new Property("holder", "Reference(Organization)", "The organization that holds the granted authorization.", 0, 1, holder); + case -1211707988: /*holder*/ return new Property("holder", "Reference(Organization)", "The organization that has been granted this authorization, by some authoritative body (the 'regulator').", 0, 1, holder); case 414760449: /*regulator*/ return new Property("regulator", "Reference(Organization)", "The regulatory authority or authorizing body granting the authorization. For example, European Medicines Agency (EMA), Food and Drug Administration (FDA), Health Canada (HC), etc.", 0, 1, regulator); case -513945889: /*attachedDocument*/ return new Property("attachedDocument", "Reference(DocumentReference)", "Additional information or supporting documentation about the authorization.", 0, java.lang.Integer.MAX_VALUE, attachedDocument); - case 3046192: /*case*/ return new Property("case", "", "The case or regulatory procedure for granting or amending a marketing authorization. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).", 0, 1, case_); + case 3046192: /*case*/ return new Property("case", "", "The case or regulatory procedure for granting or amending a regulated authorization. An authorization is granted in response to submissions/applications by those seeking authorization. A case is the administrative process that deals with the application(s) that relate to this and assesses them. Note: This area is subject to ongoing review and the workgroup is seeking implementer feedback on its use (see link at bottom of page).", 0, 1, case_); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1481,158 +1488,6 @@ public class RegulatedAuthorization extends DomainResource { return ResourceType.RegulatedAuthorization; } - /** - * Search parameter: case-type - *

- * Description: The defining type of case
- * Type: token
- * Path: RegulatedAuthorization.case.type
- *

- */ - @SearchParamDefinition(name="case-type", path="RegulatedAuthorization.case.type", description="The defining type of case", type="token" ) - public static final String SP_CASE_TYPE = "case-type"; - /** - * Fluent Client search parameter constant for case-type - *

- * Description: The defining type of case
- * Type: token
- * Path: RegulatedAuthorization.case.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CASE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CASE_TYPE); - - /** - * Search parameter: case - *

- * Description: The case or procedure number
- * Type: token
- * Path: RegulatedAuthorization.case.identifier
- *

- */ - @SearchParamDefinition(name="case", path="RegulatedAuthorization.case.identifier", description="The case or procedure number", type="token" ) - public static final String SP_CASE = "case"; - /** - * Fluent Client search parameter constant for case - *

- * Description: The case or procedure number
- * Type: token
- * Path: RegulatedAuthorization.case.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CASE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CASE); - - /** - * Search parameter: holder - *

- * Description: The organization that holds the granted authorization
- * Type: reference
- * Path: RegulatedAuthorization.holder
- *

- */ - @SearchParamDefinition(name="holder", path="RegulatedAuthorization.holder", description="The organization that holds the granted authorization", type="reference", target={Organization.class } ) - public static final String SP_HOLDER = "holder"; - /** - * Fluent Client search parameter constant for holder - *

- * Description: The organization that holds the granted authorization
- * Type: reference
- * Path: RegulatedAuthorization.holder
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam HOLDER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_HOLDER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RegulatedAuthorization:holder". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_HOLDER = new ca.uhn.fhir.model.api.Include("RegulatedAuthorization:holder").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Business identifier for the authorization, typically assigned by the authorizing body
- * Type: token
- * Path: RegulatedAuthorization.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="RegulatedAuthorization.identifier", description="Business identifier for the authorization, typically assigned by the authorizing body", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business identifier for the authorization, typically assigned by the authorizing body
- * Type: token
- * Path: RegulatedAuthorization.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: region - *

- * Description: The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted
- * Type: token
- * Path: RegulatedAuthorization.region
- *

- */ - @SearchParamDefinition(name="region", path="RegulatedAuthorization.region", description="The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted", type="token" ) - public static final String SP_REGION = "region"; - /** - * Fluent Client search parameter constant for region - *

- * Description: The territory (e.g., country, jurisdiction etc.) in which the authorization has been granted
- * Type: token
- * Path: RegulatedAuthorization.region
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REGION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REGION); - - /** - * Search parameter: status - *

- * Description: The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications
- * Type: token
- * Path: RegulatedAuthorization.status
- *

- */ - @SearchParamDefinition(name="status", path="RegulatedAuthorization.status", description="The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status that is authorised e.g. approved. Intermediate states can be tracked with cases and applications
- * Type: token
- * Path: RegulatedAuthorization.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The type of regulated product, treatment, facility or activity that is being authorized
- * Type: reference
- * Path: RegulatedAuthorization.subject
- *

- */ - @SearchParamDefinition(name="subject", path="RegulatedAuthorization.subject", description="The type of regulated product, treatment, facility or activity that is being authorized", type="reference", target={ActivityDefinition.class, BiologicallyDerivedProduct.class, DeviceDefinition.class, Location.class, MedicinalProductDefinition.class, NutritionProduct.class, ObservationDefinition.class, Organization.class, PackagedProductDefinition.class, PlanDefinition.class, Practitioner.class, ResearchStudy.class, SubstanceDefinition.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The type of regulated product, treatment, facility or activity that is being authorized
- * Type: reference
- * Path: RegulatedAuthorization.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RegulatedAuthorization:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("RegulatedAuthorization:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedArtifact.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedArtifact.java index 607c95e39..1461a60ff 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedArtifact.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedArtifact.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -290,6 +290,7 @@ public class RelatedArtifact extends DataType implements ICompositeType { case TRANSFORMS: return "transforms"; case TRANSFORMEDINTO: return "transformed-into"; case TRANSFORMEDWITH: return "transformed-with"; + case NULL: return null; default: return "?"; } } @@ -327,6 +328,7 @@ public class RelatedArtifact extends DataType implements ICompositeType { case TRANSFORMS: return "http://hl7.org/fhir/related-artifact-type"; case TRANSFORMEDINTO: return "http://hl7.org/fhir/related-artifact-type"; case TRANSFORMEDWITH: return "http://hl7.org/fhir/related-artifact-type"; + case NULL: return null; default: return "?"; } } @@ -364,6 +366,7 @@ public class RelatedArtifact extends DataType implements ICompositeType { case TRANSFORMS: return "This artifact was generated by transforming the target artifact (e.g., format or language conversion). This is intended to capture the relationship in which a particular knowledge resource is based on the content of another artifact, but changes are only apparent in form and there is only one target artifact with the “transforms” relationship type."; case TRANSFORMEDINTO: return "This artifact was transformed into the target artifact (e.g., by format or language conversion)."; case TRANSFORMEDWITH: return "This artifact was generated by transforming a related artifact (e.g., format or language conversion), noted separately with the “transforms” relationship type. This transformation used the target artifact to inform the transformation. The target artifact may be a conversion script or translation guide."; + case NULL: return null; default: return "?"; } } @@ -401,6 +404,7 @@ public class RelatedArtifact extends DataType implements ICompositeType { case TRANSFORMS: return "Transforms"; case TRANSFORMEDINTO: return "Transformed Into"; case TRANSFORMEDWITH: return "Transformed With"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedPerson.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedPerson.java index 3921f4c6c..ee5b2b41e 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedPerson.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RelatedPerson.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -48,7 +48,7 @@ import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Block; /** - * 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 a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. */ @ResourceDef(name="RelatedPerson", profile="http://hl7.org/fhir/StructureDefinition/RelatedPerson") public class RelatedPerson extends DomainResource { @@ -59,15 +59,15 @@ public class RelatedPerson extends DomainResource { * 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. */ @Child(name = "language", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="The language which can be used to communicate with the patient about his or her health", formalDefinition="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." ) + @Description(shortDefinition="The language which can be used to communicate with the related person about the patient's health", formalDefinition="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." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/languages") protected CodeableConcept language; /** - * Indicates whether or not the patient prefers this language (over other languages he masters up a certain level). + * Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level). */ @Child(name = "preferred", type = {BooleanType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Language preference indicator", formalDefinition="Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)." ) + @Description(shortDefinition="Language preference indicator", formalDefinition="Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level)." ) protected BooleanType preferred; private static final long serialVersionUID = 633792918L; @@ -112,7 +112,7 @@ public class RelatedPerson extends DomainResource { } /** - * @return {@link #preferred} (Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the value + * @return {@link #preferred} (Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level).). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the value */ public BooleanType getPreferredElement() { if (this.preferred == null) @@ -132,7 +132,7 @@ public class RelatedPerson extends DomainResource { } /** - * @param value {@link #preferred} (Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the value + * @param value {@link #preferred} (Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level).). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the value */ public RelatedPersonCommunicationComponent setPreferredElement(BooleanType value) { this.preferred = value; @@ -140,14 +140,14 @@ public class RelatedPerson extends DomainResource { } /** - * @return Indicates whether or not the patient prefers this language (over other languages he masters up a certain level). + * @return Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level). */ public boolean getPreferred() { return this.preferred == null || this.preferred.isEmpty() ? false : this.preferred.getValue(); } /** - * @param value Indicates whether or not the patient prefers this language (over other languages he masters up a certain level). + * @param value Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level). */ public RelatedPersonCommunicationComponent setPreferred(boolean value) { if (this.preferred == null) @@ -159,14 +159,14 @@ public class RelatedPerson extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("language", "CodeableConcept", "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.", 0, 1, language)); - children.add(new Property("preferred", "boolean", "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", 0, 1, preferred)); + children.add(new Property("preferred", "boolean", "Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level).", 0, 1, preferred)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1613589672: /*language*/ return new Property("language", "CodeableConcept", "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.", 0, 1, language); - case -1294005119: /*preferred*/ return new Property("preferred", "boolean", "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", 0, 1, preferred); + case -1294005119: /*preferred*/ return new Property("preferred", "boolean", "Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level).", 0, 1, preferred); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -305,10 +305,10 @@ public class RelatedPerson extends DomainResource { protected Reference patient; /** - * The nature of the relationship between a patient and the related person. + * The nature of the relationship between the related person and the patient. */ @Child(name = "relationship", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The nature of the relationship", formalDefinition="The nature of the relationship between a patient and the related person." ) + @Description(shortDefinition="The relationship of the related person to the patient", formalDefinition="The nature of the relationship between the related person and the patient." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype") protected List relationship; @@ -363,10 +363,10 @@ public class RelatedPerson extends DomainResource { protected Period period; /** - * A language which may be used to communicate with about the patient's health. + * A language which may be used to communicate with the related person about the patient's health. */ @Child(name = "communication", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="A language which may be used to communicate with about the patient's health", formalDefinition="A language which may be used to communicate with about the patient's health." ) + @Description(shortDefinition="A language which may be used to communicate with the related person about the patient's health", formalDefinition="A language which may be used to communicate with the related person about the patient's health." ) protected List communication; private static final long serialVersionUID = -857475397L; @@ -509,7 +509,7 @@ public class RelatedPerson extends DomainResource { } /** - * @return {@link #relationship} (The nature of the relationship between a patient and the related person.) + * @return {@link #relationship} (The nature of the relationship between the related person and the patient.) */ public List getRelationship() { if (this.relationship == null) @@ -896,7 +896,7 @@ public class RelatedPerson extends DomainResource { } /** - * @return {@link #communication} (A language which may be used to communicate with about the patient's health.) + * @return {@link #communication} (A language which may be used to communicate with the related person about the patient's health.) */ public List getCommunication() { if (this.communication == null) @@ -953,7 +953,7 @@ public class RelatedPerson extends DomainResource { children.add(new Property("identifier", "Identifier", "Identifier for a person within a particular scope.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("active", "boolean", "Whether this related person record is in active use.", 0, 1, active)); children.add(new Property("patient", "Reference(Patient)", "The patient this person is related to.", 0, 1, patient)); - children.add(new Property("relationship", "CodeableConcept", "The nature of the relationship between a patient and the related person.", 0, java.lang.Integer.MAX_VALUE, relationship)); + children.add(new Property("relationship", "CodeableConcept", "The nature of the relationship between the related person and the patient.", 0, java.lang.Integer.MAX_VALUE, relationship)); children.add(new Property("name", "HumanName", "A name associated with the person.", 0, java.lang.Integer.MAX_VALUE, name)); children.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)); children.add(new Property("gender", "code", "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", 0, 1, gender)); @@ -961,7 +961,7 @@ public class RelatedPerson extends DomainResource { children.add(new Property("address", "Address", "Address where the related person can be contacted or visited.", 0, java.lang.Integer.MAX_VALUE, address)); children.add(new Property("photo", "Attachment", "Image of the person.", 0, java.lang.Integer.MAX_VALUE, photo)); children.add(new Property("period", "Period", "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.", 0, 1, period)); - children.add(new Property("communication", "", "A language which may be used to communicate with about the patient's health.", 0, java.lang.Integer.MAX_VALUE, communication)); + children.add(new Property("communication", "", "A language which may be used to communicate with the related person about the patient's health.", 0, java.lang.Integer.MAX_VALUE, communication)); } @Override @@ -970,7 +970,7 @@ public class RelatedPerson extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for a person within a particular scope.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1422950650: /*active*/ return new Property("active", "boolean", "Whether this related person record is in active use.", 0, 1, active); case -791418107: /*patient*/ return new Property("patient", "Reference(Patient)", "The patient this person is related to.", 0, 1, patient); - case -261851592: /*relationship*/ return new Property("relationship", "CodeableConcept", "The nature of the relationship between a patient and the related person.", 0, java.lang.Integer.MAX_VALUE, relationship); + case -261851592: /*relationship*/ return new Property("relationship", "CodeableConcept", "The nature of the relationship between the related person and the patient.", 0, java.lang.Integer.MAX_VALUE, relationship); case 3373707: /*name*/ return new Property("name", "HumanName", "A name associated with the person.", 0, java.lang.Integer.MAX_VALUE, name); case -1429363305: /*telecom*/ return 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); case -1249512767: /*gender*/ return new Property("gender", "code", "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", 0, 1, gender); @@ -978,7 +978,7 @@ public class RelatedPerson extends DomainResource { case -1147692044: /*address*/ return new Property("address", "Address", "Address where the related person can be contacted or visited.", 0, java.lang.Integer.MAX_VALUE, address); case 106642994: /*photo*/ return new Property("photo", "Attachment", "Image of the person.", 0, java.lang.Integer.MAX_VALUE, photo); case -991726143: /*period*/ return new Property("period", "Period", "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.", 0, 1, period); - case -1035284522: /*communication*/ return new Property("communication", "", "A language which may be used to communicate with about the patient's health.", 0, java.lang.Integer.MAX_VALUE, communication); + case -1035284522: /*communication*/ return new Property("communication", "", "A language which may be used to communicate with the related person about the patient's health.", 0, java.lang.Integer.MAX_VALUE, communication); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1260,540 +1260,6 @@ public class RelatedPerson extends DomainResource { return ResourceType.RelatedPerson; } - /** - * Search parameter: active - *

- * Description: Indicates if the related person record is active
- * Type: token
- * Path: RelatedPerson.active
- *

- */ - @SearchParamDefinition(name="active", path="RelatedPerson.active", description="Indicates if the related person record is active", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Indicates if the related person record is active
- * Type: token
- * Path: RelatedPerson.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: family - *

- * Description: A portion of the family name of the related person
- * Type: string
- * Path: RelatedPerson.name.family
- *

- */ - @SearchParamDefinition(name="family", path="RelatedPerson.name.family", description="A portion of the family name of the related person", type="string" ) - public static final String SP_FAMILY = "family"; - /** - * Fluent Client search parameter constant for family - *

- * Description: A portion of the family name of the related person
- * Type: string
- * Path: RelatedPerson.name.family
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam FAMILY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_FAMILY); - - /** - * Search parameter: given - *

- * Description: A portion of the given name of the related person
- * Type: string
- * Path: RelatedPerson.name.given
- *

- */ - @SearchParamDefinition(name="given", path="RelatedPerson.name.given", description="A portion of the given name of the related person", type="string" ) - public static final String SP_GIVEN = "given"; - /** - * Fluent Client search parameter constant for given - *

- * Description: A portion of the given name of the related person
- * Type: string
- * Path: RelatedPerson.name.given
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam GIVEN = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_GIVEN); - - /** - * Search parameter: identifier - *

- * Description: An Identifier of the RelatedPerson
- * Type: token
- * Path: RelatedPerson.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="RelatedPerson.identifier", description="An Identifier of the RelatedPerson", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An Identifier of the RelatedPerson
- * Type: token
- * Path: RelatedPerson.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
- * Type: string
- * Path: RelatedPerson.name
- *

- */ - @SearchParamDefinition(name="name", path="RelatedPerson.name", description="A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
- * Type: string
- * Path: RelatedPerson.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: patient - *

- * Description: The patient this related person is related to
- * Type: reference
- * Path: RelatedPerson.patient
- *

- */ - @SearchParamDefinition(name="patient", path="RelatedPerson.patient", description="The patient this related person is related to", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The patient this related person is related to
- * Type: reference
- * Path: RelatedPerson.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RelatedPerson:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("RelatedPerson:patient").toLocked(); - - /** - * Search parameter: relationship - *

- * Description: The relationship between the patient and the relatedperson
- * Type: token
- * Path: RelatedPerson.relationship
- *

- */ - @SearchParamDefinition(name="relationship", path="RelatedPerson.relationship", description="The relationship between the patient and the relatedperson", type="token" ) - public static final String SP_RELATIONSHIP = "relationship"; - /** - * Fluent Client search parameter constant for relationship - *

- * Description: The relationship between the patient and the relatedperson
- * Type: token
- * Path: RelatedPerson.relationship
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATIONSHIP = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RELATIONSHIP); - - /** - * Search parameter: address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - @SearchParamDefinition(name="address-city", path="Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A city specified in an address\r\n* [Person](person.html): A city specified in an address\r\n* [Practitioner](practitioner.html): A city specified in an address\r\n* [RelatedPerson](relatedperson.html): A city specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_CITY = "address-city"; - /** - * Fluent Client search parameter constant for address-city - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A city specified in an address -* [Person](person.html): A city specified in an address -* [Practitioner](practitioner.html): A city specified in an address -* [RelatedPerson](relatedperson.html): A city specified in an address -
- * Type: string
- * Path: Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_CITY); - - /** - * Search parameter: address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - @SearchParamDefinition(name="address-country", path="Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A country specified in an address\r\n* [Person](person.html): A country specified in an address\r\n* [Practitioner](practitioner.html): A country specified in an address\r\n* [RelatedPerson](relatedperson.html): A country specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_COUNTRY = "address-country"; - /** - * Fluent Client search parameter constant for address-country - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A country specified in an address -* [Person](person.html): A country specified in an address -* [Practitioner](practitioner.html): A country specified in an address -* [RelatedPerson](relatedperson.html): A country specified in an address -
- * Type: string
- * Path: Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_COUNTRY); - - /** - * Search parameter: address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - @SearchParamDefinition(name="address-postalcode", path="Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode specified in an address\r\n* [Person](person.html): A postal code specified in an address\r\n* [Practitioner](practitioner.html): A postalCode specified in an address\r\n* [RelatedPerson](relatedperson.html): A postal code specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_POSTALCODE = "address-postalcode"; - /** - * Fluent Client search parameter constant for address-postalcode - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A postalCode specified in an address -* [Person](person.html): A postal code specified in an address -* [Practitioner](practitioner.html): A postalCode specified in an address -* [RelatedPerson](relatedperson.html): A postal code specified in an address -
- * Type: string
- * Path: Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_POSTALCODE); - - /** - * Search parameter: address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - @SearchParamDefinition(name="address-state", path="Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A state specified in an address\r\n* [Person](person.html): A state specified in an address\r\n* [Practitioner](practitioner.html): A state specified in an address\r\n* [RelatedPerson](relatedperson.html): A state specified in an address\r\n", type="string" ) - public static final String SP_ADDRESS_STATE = "address-state"; - /** - * Fluent Client search parameter constant for address-state - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A state specified in an address -* [Person](person.html): A state specified in an address -* [Practitioner](practitioner.html): A state specified in an address -* [RelatedPerson](relatedperson.html): A state specified in an address -
- * Type: string
- * Path: Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS_STATE); - - /** - * Search parameter: address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - @SearchParamDefinition(name="address-use", path="Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A use code specified in an address\r\n* [Person](person.html): A use code specified in an address\r\n* [Practitioner](practitioner.html): A use code specified in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified in an address\r\n", type="token" ) - public static final String SP_ADDRESS_USE = "address-use"; - /** - * Fluent Client search parameter constant for address-use - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A use code specified in an address -* [Person](person.html): A use code specified in an address -* [Practitioner](practitioner.html): A use code specified in an address -* [RelatedPerson](relatedperson.html): A use code specified in an address -
- * Type: token
- * Path: Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ADDRESS_USE); - - /** - * Search parameter: address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - @SearchParamDefinition(name="address", path="Patient.address | Person.address | Practitioner.address | RelatedPerson.address", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\r\n", type="string" ) - public static final String SP_ADDRESS = "address"; - /** - * Fluent Client search parameter constant for address - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -* [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text -
- * Type: string
- * Path: Patient.address | Person.address | Practitioner.address | RelatedPerson.address
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ADDRESS); - - /** - * Search parameter: birthdate - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The patient's date of birth -* [Person](person.html): The person's date of birth -* [RelatedPerson](relatedperson.html): The Related Person's date of birth -
- * Type: date
- * Path: Patient.birthDate | Person.birthDate | RelatedPerson.birthDate
- *

- */ - @SearchParamDefinition(name="birthdate", path="Patient.birthDate | Person.birthDate | RelatedPerson.birthDate", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's date of birth\r\n* [Person](person.html): The person's date of birth\r\n* [RelatedPerson](relatedperson.html): The Related Person's date of birth\r\n", type="date" ) - public static final String SP_BIRTHDATE = "birthdate"; - /** - * Fluent Client search parameter constant for birthdate - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The patient's date of birth -* [Person](person.html): The person's date of birth -* [RelatedPerson](relatedperson.html): The Related Person's date of birth -
- * Type: date
- * Path: Patient.birthDate | Person.birthDate | RelatedPerson.birthDate
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam BIRTHDATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_BIRTHDATE); - - /** - * Search parameter: email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - @SearchParamDefinition(name="email", path="Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in an email contact\r\n* [Person](person.html): A value in an email contact\r\n* [Practitioner](practitioner.html): A value in an email contact\r\n* [PractitionerRole](practitionerrole.html): A value in an email contact\r\n* [RelatedPerson](relatedperson.html): A value in an email contact\r\n", type="token" ) - public static final String SP_EMAIL = "email"; - /** - * Fluent Client search parameter constant for email - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in an email contact -* [Person](person.html): A value in an email contact -* [Practitioner](practitioner.html): A value in an email contact -* [PractitionerRole](practitionerrole.html): A value in an email contact -* [RelatedPerson](relatedperson.html): A value in an email contact -
- * Type: token
- * Path: Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EMAIL); - - /** - * Search parameter: gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - @SearchParamDefinition(name="gender", path="Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender of the patient\r\n* [Person](person.html): The gender of the person\r\n* [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html): Gender of the related person\r\n", type="token" ) - public static final String SP_GENDER = "gender"; - /** - * Fluent Client search parameter constant for gender - *

- * Description: Multiple Resources: - -* [Patient](patient.html): Gender of the patient -* [Person](person.html): The gender of the person -* [Practitioner](practitioner.html): Gender of the practitioner -* [RelatedPerson](relatedperson.html): Gender of the related person -
- * Type: token
- * Path: Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GENDER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GENDER); - - /** - * Search parameter: phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - @SearchParamDefinition(name="phone", path="Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A value in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html): A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A value in a phone contact\r\n", type="token" ) - public static final String SP_PHONE = "phone"; - /** - * Fluent Client search parameter constant for phone - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A value in a phone contact -* [Person](person.html): A value in a phone contact -* [Practitioner](practitioner.html): A value in a phone contact -* [PractitionerRole](practitionerrole.html): A value in a phone contact -* [RelatedPerson](relatedperson.html): A value in a phone contact -
- * Type: token
- * Path: Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone')
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PHONE); - - /** - * Search parameter: phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - @SearchParamDefinition(name="phonetic", path="Patient.name | Person.name | Practitioner.name | RelatedPerson.name", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [Person](person.html): A portion of name using some kind of phonetic matching algorithm\r\n* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm\r\n* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm\r\n", type="string" ) - public static final String SP_PHONETIC = "phonetic"; - /** - * Fluent Client search parameter constant for phonetic - *

- * Description: Multiple Resources: - -* [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [Person](person.html): A portion of name using some kind of phonetic matching algorithm -* [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm -* [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm -
- * Type: string
- * Path: Patient.name | Person.name | Practitioner.name | RelatedPerson.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PHONETIC); - - /** - * Search parameter: telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - @SearchParamDefinition(name="telecom", path="Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom", description="Multiple Resources: \r\n\r\n* [Patient](patient.html): The value in any kind of telecom details of the patient\r\n* [Person](person.html): The value in any kind of contact\r\n* [Practitioner](practitioner.html): The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html): The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html): The value in any kind of contact\r\n", type="token" ) - public static final String SP_TELECOM = "telecom"; - /** - * Fluent Client search parameter constant for telecom - *

- * Description: Multiple Resources: - -* [Patient](patient.html): The value in any kind of telecom details of the patient -* [Person](person.html): The value in any kind of contact -* [Practitioner](practitioner.html): The value in any kind of contact -* [PractitionerRole](practitionerrole.html): The value in any kind of contact -* [RelatedPerson](relatedperson.html): The value in any kind of contact -
- * Type: token
- * Path: Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TELECOM); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RequestGroup.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RequestGroup.java index ae182cdfe..042db4b4d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RequestGroup.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RequestGroup.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -4118,322 +4118,6 @@ public class RequestGroup extends DomainResource { return ResourceType.RequestGroup; } - /** - * Search parameter: author - *

- * Description: The author of the request group
- * Type: reference
- * Path: RequestGroup.author
- *

- */ - @SearchParamDefinition(name="author", path="RequestGroup.author", description="The author of the request group", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_AUTHOR = "author"; - /** - * Fluent Client search parameter constant for author - *

- * Description: The author of the request group
- * Type: reference
- * Path: RequestGroup.author
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_AUTHOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RequestGroup:author". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR = new ca.uhn.fhir.model.api.Include("RequestGroup:author").toLocked(); - - /** - * Search parameter: authored - *

- * Description: The date the request group was authored
- * Type: date
- * Path: RequestGroup.authoredOn
- *

- */ - @SearchParamDefinition(name="authored", path="RequestGroup.authoredOn", description="The date the request group was authored", type="date" ) - public static final String SP_AUTHORED = "authored"; - /** - * Fluent Client search parameter constant for authored - *

- * Description: The date the request group was authored
- * Type: date
- * Path: RequestGroup.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHORED); - - /** - * Search parameter: code - *

- * Description: The code of the request group
- * Type: token
- * Path: RequestGroup.code
- *

- */ - @SearchParamDefinition(name="code", path="RequestGroup.code", description="The code of the request group", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: The code of the request group
- * Type: token
- * Path: RequestGroup.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: encounter - *

- * Description: The encounter the request group applies to
- * Type: reference
- * Path: RequestGroup.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="RequestGroup.encounter", description="The encounter the request group applies to", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: The encounter the request group applies to
- * Type: reference
- * Path: RequestGroup.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RequestGroup:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("RequestGroup:encounter").toLocked(); - - /** - * Search parameter: group-identifier - *

- * Description: The group identifier for the request group
- * Type: token
- * Path: RequestGroup.groupIdentifier
- *

- */ - @SearchParamDefinition(name="group-identifier", path="RequestGroup.groupIdentifier", description="The group identifier for the request group", type="token" ) - public static final String SP_GROUP_IDENTIFIER = "group-identifier"; - /** - * Fluent Client search parameter constant for group-identifier - *

- * Description: The group identifier for the request group
- * Type: token
- * Path: RequestGroup.groupIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GROUP_IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GROUP_IDENTIFIER); - - /** - * Search parameter: identifier - *

- * Description: External identifiers for the request group
- * Type: token
- * Path: RequestGroup.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="RequestGroup.identifier", description="External identifiers for the request group", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifiers for the request group
- * Type: token
- * Path: RequestGroup.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: instantiates-canonical - *

- * Description: The FHIR-based definition from which the request group is realized
- * Type: reference
- * Path: RequestGroup.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="RequestGroup.instantiatesCanonical", description="The FHIR-based definition from which the request group is realized", type="reference" ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: The FHIR-based definition from which the request group is realized
- * Type: reference
- * Path: RequestGroup.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RequestGroup:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("RequestGroup:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: The external definition from which the request group is realized
- * Type: uri
- * Path: RequestGroup.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="RequestGroup.instantiatesUri", description="The external definition from which the request group is realized", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: The external definition from which the request group is realized
- * Type: uri
- * Path: RequestGroup.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: intent - *

- * Description: The intent of the request group
- * Type: token
- * Path: RequestGroup.intent
- *

- */ - @SearchParamDefinition(name="intent", path="RequestGroup.intent", description="The intent of the request group", type="token" ) - public static final String SP_INTENT = "intent"; - /** - * Fluent Client search parameter constant for intent - *

- * Description: The intent of the request group
- * Type: token
- * Path: RequestGroup.intent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENT); - - /** - * Search parameter: participant - *

- * Description: The participant in the requests in the group
- * Type: reference
- * Path: RequestGroup.action.participant.actor
- *

- */ - @SearchParamDefinition(name="participant", path="RequestGroup.action.participant.actor", description="The participant in the requests in the group", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, Group.class, HealthcareService.class, Location.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PARTICIPANT = "participant"; - /** - * Fluent Client search parameter constant for participant - *

- * Description: The participant in the requests in the group
- * Type: reference
- * Path: RequestGroup.action.participant.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTICIPANT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RequestGroup:participant". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT = new ca.uhn.fhir.model.api.Include("RequestGroup:participant").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The identity of a patient to search for request groups
- * Type: reference
- * Path: RequestGroup.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="RequestGroup.subject.where(resolve() is Patient)", description="The identity of a patient to search for request groups", type="reference", target={Group.class, Patient.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The identity of a patient to search for request groups
- * Type: reference
- * Path: RequestGroup.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RequestGroup:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("RequestGroup:patient").toLocked(); - - /** - * Search parameter: priority - *

- * Description: The priority of the request group
- * Type: token
- * Path: RequestGroup.priority
- *

- */ - @SearchParamDefinition(name="priority", path="RequestGroup.priority", description="The priority of the request group", type="token" ) - public static final String SP_PRIORITY = "priority"; - /** - * Fluent Client search parameter constant for priority - *

- * Description: The priority of the request group
- * Type: token
- * Path: RequestGroup.priority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRIORITY); - - /** - * Search parameter: status - *

- * Description: The status of the request group
- * Type: token
- * Path: RequestGroup.status
- *

- */ - @SearchParamDefinition(name="status", path="RequestGroup.status", description="The status of the request group", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the request group
- * Type: token
- * Path: RequestGroup.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject that the request group is about
- * Type: reference
- * Path: RequestGroup.subject
- *

- */ - @SearchParamDefinition(name="subject", path="RequestGroup.subject", description="The subject that the request group is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject that the request group is about
- * Type: reference
- * Path: RequestGroup.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RequestGroup:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("RequestGroup:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchStudy.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchStudy.java index aa3f9c9b0..5c95fddde 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchStudy.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchStudy.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -59,8 +59,8 @@ public class ResearchStudy extends DomainResource { * Kind of name. */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="short | public | scientific", formalDefinition="Kind of name." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-title-type") + @Description(shortDefinition="primary | official | scientific | plain-language | subtitle | short-title | acronym | earlier-title | language | auto-translated | human-use | machine-use | duplicate-uid", formalDefinition="Kind of name." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/title-type") protected CodeableConcept type; /** @@ -600,7 +600,7 @@ public class ResearchStudy extends DomainResource { */ @Child(name = "classifier", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="n-a | early-phase-1 | phase-1 | phase-1-phase-2 | phase-2 | phase-2-phase-3 | phase-3 | phase-4", formalDefinition="Value of classifier." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-classification-classifier") + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-classifiers") protected List classifier; private static final long serialVersionUID = -283121869L; @@ -833,14 +833,21 @@ public class ResearchStudy extends DomainResource { * Type of association. */ @Child(name = "role", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=false) - @Description(shortDefinition="sponsor | sponsor-investigator | primary-investigator | collaborator | funding-source | recruitment-contact | sub-investigator | study-director | study-chair", formalDefinition="Type of association." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-party-type") + @Description(shortDefinition="sponsor | lead-sponsor | sponsor-investigator | primary-investigator | collaborator | funding-source | recruitment-contact | sub-investigator | study-director | study-chair", formalDefinition="Type of association." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-party-role") protected CodeableConcept role; + /** + * Identifies the start date and the end date of the associated party in the role. + */ + @Child(name = "period", type = {Period.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="When active in the role", formalDefinition="Identifies the start date and the end date of the associated party in the role." ) + protected List period; + /** * Organisational type of association. */ - @Child(name = "classifier", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "classifier", type = {CodeableConcept.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="nih | fda", formalDefinition="Organisational type of association." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-party-org-type") protected List classifier; @@ -848,11 +855,11 @@ public class ResearchStudy extends DomainResource { /** * Individual or organization associated with study (use practitionerRole to specify their organisation). */ - @Child(name = "party", type = {Practitioner.class, PractitionerRole.class, Organization.class}, order=4, min=0, max=1, modifier=false, summary=false) + @Child(name = "party", type = {Practitioner.class, PractitionerRole.class, Organization.class}, order=5, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Individual or organization associated with study (use practitionerRole to specify their organisation)", formalDefinition="Individual or organization associated with study (use practitionerRole to specify their organisation)." ) protected Reference party; - private static final long serialVersionUID = 2116155954L; + private static final long serialVersionUID = -1418550998L; /** * Constructor @@ -942,6 +949,59 @@ public class ResearchStudy extends DomainResource { return this; } + /** + * @return {@link #period} (Identifies the start date and the end date of the associated party in the role.) + */ + public List getPeriod() { + if (this.period == null) + this.period = new ArrayList(); + return this.period; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public ResearchStudyAssociatedPartyComponent setPeriod(List thePeriod) { + this.period = thePeriod; + return this; + } + + public boolean hasPeriod() { + if (this.period == null) + return false; + for (Period item : this.period) + if (!item.isEmpty()) + return true; + return false; + } + + public Period addPeriod() { //3 + Period t = new Period(); + if (this.period == null) + this.period = new ArrayList(); + this.period.add(t); + return t; + } + + public ResearchStudyAssociatedPartyComponent addPeriod(Period t) { //3 + if (t == null) + return this; + if (this.period == null) + this.period = new ArrayList(); + this.period.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #period}, creating it if it does not already exist {3} + */ + public Period getPeriodFirstRep() { + if (getPeriod().isEmpty()) { + addPeriod(); + } + return getPeriod().get(0); + } + /** * @return {@link #classifier} (Organisational type of association.) */ @@ -1023,6 +1083,7 @@ public class ResearchStudy extends DomainResource { super.listChildren(children); children.add(new Property("name", "string", "Name of associated party.", 0, 1, name)); children.add(new Property("role", "CodeableConcept", "Type of association.", 0, 1, role)); + children.add(new Property("period", "Period", "Identifies the start date and the end date of the associated party in the role.", 0, java.lang.Integer.MAX_VALUE, period)); children.add(new Property("classifier", "CodeableConcept", "Organisational type of association.", 0, java.lang.Integer.MAX_VALUE, classifier)); children.add(new Property("party", "Reference(Practitioner|PractitionerRole|Organization)", "Individual or organization associated with study (use practitionerRole to specify their organisation).", 0, 1, party)); } @@ -1032,6 +1093,7 @@ public class ResearchStudy extends DomainResource { switch (_hash) { case 3373707: /*name*/ return new Property("name", "string", "Name of associated party.", 0, 1, name); case 3506294: /*role*/ return new Property("role", "CodeableConcept", "Type of association.", 0, 1, role); + case -991726143: /*period*/ return new Property("period", "Period", "Identifies the start date and the end date of the associated party in the role.", 0, java.lang.Integer.MAX_VALUE, period); case -281470431: /*classifier*/ return new Property("classifier", "CodeableConcept", "Organisational type of association.", 0, java.lang.Integer.MAX_VALUE, classifier); case 106437350: /*party*/ return new Property("party", "Reference(Practitioner|PractitionerRole|Organization)", "Individual or organization associated with study (use practitionerRole to specify their organisation).", 0, 1, party); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -1044,6 +1106,7 @@ public class ResearchStudy extends DomainResource { switch (hash) { case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case 3506294: /*role*/ return this.role == null ? new Base[0] : new Base[] {this.role}; // CodeableConcept + case -991726143: /*period*/ return this.period == null ? new Base[0] : this.period.toArray(new Base[this.period.size()]); // Period case -281470431: /*classifier*/ return this.classifier == null ? new Base[0] : this.classifier.toArray(new Base[this.classifier.size()]); // CodeableConcept case 106437350: /*party*/ return this.party == null ? new Base[0] : new Base[] {this.party}; // Reference default: return super.getProperty(hash, name, checkValid); @@ -1060,6 +1123,9 @@ public class ResearchStudy extends DomainResource { case 3506294: // role this.role = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; + case -991726143: // period + this.getPeriod().add(TypeConvertor.castToPeriod(value)); // Period + return value; case -281470431: // classifier this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; @@ -1077,6 +1143,8 @@ public class ResearchStudy extends DomainResource { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("role")) { this.role = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("period")) { + this.getPeriod().add(TypeConvertor.castToPeriod(value)); } else if (name.equals("classifier")) { this.getClassifier().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("party")) { @@ -1091,6 +1159,7 @@ public class ResearchStudy extends DomainResource { switch (hash) { case 3373707: return getNameElement(); case 3506294: return getRole(); + case -991726143: return addPeriod(); case -281470431: return addClassifier(); case 106437350: return getParty(); default: return super.makeProperty(hash, name); @@ -1103,6 +1172,7 @@ public class ResearchStudy extends DomainResource { switch (hash) { case 3373707: /*name*/ return new String[] {"string"}; case 3506294: /*role*/ return new String[] {"CodeableConcept"}; + case -991726143: /*period*/ return new String[] {"Period"}; case -281470431: /*classifier*/ return new String[] {"CodeableConcept"}; case 106437350: /*party*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); @@ -1119,6 +1189,9 @@ public class ResearchStudy extends DomainResource { this.role = new CodeableConcept(); return this.role; } + else if (name.equals("period")) { + return addPeriod(); + } else if (name.equals("classifier")) { return addClassifier(); } @@ -1140,6 +1213,11 @@ public class ResearchStudy extends DomainResource { super.copyValues(dst); dst.name = name == null ? null : name.copy(); dst.role = role == null ? null : role.copy(); + if (period != null) { + dst.period = new ArrayList(); + for (Period i : period) + dst.period.add(i.copy()); + }; if (classifier != null) { dst.classifier = new ArrayList(); for (CodeableConcept i : classifier) @@ -1155,8 +1233,8 @@ public class ResearchStudy extends DomainResource { if (!(other_ instanceof ResearchStudyAssociatedPartyComponent)) return false; ResearchStudyAssociatedPartyComponent o = (ResearchStudyAssociatedPartyComponent) other_; - return compareDeep(name, o.name, true) && compareDeep(role, o.role, true) && compareDeep(classifier, o.classifier, true) - && compareDeep(party, o.party, true); + return compareDeep(name, o.name, true) && compareDeep(role, o.role, true) && compareDeep(period, o.period, true) + && compareDeep(classifier, o.classifier, true) && compareDeep(party, o.party, true); } @Override @@ -1170,8 +1248,8 @@ public class ResearchStudy extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, role, classifier, party - ); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(name, role, period, classifier + , party); } public String fhirType() { @@ -1479,7 +1557,7 @@ public class ResearchStudy extends DomainResource { /** * Inclusion and exclusion criteria. */ - @Child(name = "eligibility", type = {Group.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "eligibility", type = {Group.class, EvidenceVariable.class}, order=3, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Inclusion and exclusion criteria", formalDefinition="Inclusion and exclusion criteria." ) protected Reference eligibility; @@ -1641,7 +1719,7 @@ public class ResearchStudy extends DomainResource { super.listChildren(children); children.add(new Property("targetNumber", "unsignedInt", "Estimated total number of participants to be enrolled.", 0, 1, targetNumber)); children.add(new Property("actualNumber", "unsignedInt", "Actual total number of participants enrolled in study.", 0, 1, actualNumber)); - children.add(new Property("eligibility", "Reference(Group)", "Inclusion and exclusion criteria.", 0, 1, eligibility)); + children.add(new Property("eligibility", "Reference(Group|EvidenceVariable)", "Inclusion and exclusion criteria.", 0, 1, eligibility)); children.add(new Property("actualGroup", "Reference(Group)", "Group of participants who were enrolled in study.", 0, 1, actualGroup)); } @@ -1650,7 +1728,7 @@ public class ResearchStudy extends DomainResource { switch (_hash) { case -682948550: /*targetNumber*/ return new Property("targetNumber", "unsignedInt", "Estimated total number of participants to be enrolled.", 0, 1, targetNumber); case 746557047: /*actualNumber*/ return new Property("actualNumber", "unsignedInt", "Actual total number of participants enrolled in study.", 0, 1, actualNumber); - case -930847859: /*eligibility*/ return new Property("eligibility", "Reference(Group)", "Inclusion and exclusion criteria.", 0, 1, eligibility); + case -930847859: /*eligibility*/ return new Property("eligibility", "Reference(Group|EvidenceVariable)", "Inclusion and exclusion criteria.", 0, 1, eligibility); case 1403004305: /*actualGroup*/ return new Property("actualGroup", "Reference(Group)", "Group of participants who were enrolled in study.", 0, 1, actualGroup); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -2984,10 +3062,10 @@ public class ResearchStudy extends DomainResource { /** * Describes the nature of the location being specified. */ - @Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Child(name = "classifier", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="registry-page|recruitment-page|contact-page", formalDefinition="Describes the nature of the location being specified." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-url-type") - protected CodeableConcept type; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/artifact-url-classifier") + protected CodeableConcept classifier; /** * The location address. @@ -2996,7 +3074,7 @@ public class ResearchStudy extends DomainResource { @Description(shortDefinition="The location address", formalDefinition="The location address." ) protected UriType url; - private static final long serialVersionUID = 397204034L; + private static final long serialVersionUID = -1718812997L; /** * Constructor @@ -3014,26 +3092,26 @@ public class ResearchStudy extends DomainResource { } /** - * @return {@link #type} (Describes the nature of the location being specified.) + * @return {@link #classifier} (Describes the nature of the location being specified.) */ - public CodeableConcept getType() { - if (this.type == null) + public CodeableConcept getClassifier() { + if (this.classifier == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ResearchStudyWebLocationComponent.type"); + throw new Error("Attempt to auto-create ResearchStudyWebLocationComponent.classifier"); else if (Configuration.doAutoCreate()) - this.type = new CodeableConcept(); // cc - return this.type; + this.classifier = new CodeableConcept(); // cc + return this.classifier; } - public boolean hasType() { - return this.type != null && !this.type.isEmpty(); + public boolean hasClassifier() { + return this.classifier != null && !this.classifier.isEmpty(); } /** - * @param value {@link #type} (Describes the nature of the location being specified.) + * @param value {@link #classifier} (Describes the nature of the location being specified.) */ - public ResearchStudyWebLocationComponent setType(CodeableConcept value) { - this.type = value; + public ResearchStudyWebLocationComponent setClassifier(CodeableConcept value) { + this.classifier = value; return this; } @@ -3084,14 +3162,14 @@ public class ResearchStudy extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("type", "CodeableConcept", "Describes the nature of the location being specified.", 0, 1, type)); + children.add(new Property("classifier", "CodeableConcept", "Describes the nature of the location being specified.", 0, 1, classifier)); children.add(new Property("url", "uri", "The location address.", 0, 1, url)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "Describes the nature of the location being specified.", 0, 1, type); + case -281470431: /*classifier*/ return new Property("classifier", "CodeableConcept", "Describes the nature of the location being specified.", 0, 1, classifier); case 116079: /*url*/ return new Property("url", "uri", "The location address.", 0, 1, url); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3101,7 +3179,7 @@ public class ResearchStudy extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept + case -281470431: /*classifier*/ return this.classifier == null ? new Base[0] : new Base[] {this.classifier}; // CodeableConcept case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType default: return super.getProperty(hash, name, checkValid); } @@ -3111,8 +3189,8 @@ public class ResearchStudy extends DomainResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case 3575610: // type - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + case -281470431: // classifier + this.classifier = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case 116079: // url this.url = TypeConvertor.castToUri(value); // UriType @@ -3124,8 +3202,8 @@ public class ResearchStudy extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("type")) { - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + if (name.equals("classifier")) { + this.classifier = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("url")) { this.url = TypeConvertor.castToUri(value); // UriType } else @@ -3136,7 +3214,7 @@ public class ResearchStudy extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3575610: return getType(); + case -281470431: return getClassifier(); case 116079: return getUrlElement(); default: return super.makeProperty(hash, name); } @@ -3146,7 +3224,7 @@ public class ResearchStudy extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 3575610: /*type*/ return new String[] {"CodeableConcept"}; + case -281470431: /*classifier*/ return new String[] {"CodeableConcept"}; case 116079: /*url*/ return new String[] {"uri"}; default: return super.getTypesForProperty(hash, name); } @@ -3155,9 +3233,9 @@ public class ResearchStudy extends DomainResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("type")) { - this.type = new CodeableConcept(); - return this.type; + if (name.equals("classifier")) { + this.classifier = new CodeableConcept(); + return this.classifier; } else if (name.equals("url")) { throw new FHIRException("Cannot call addChild on a primitive type ResearchStudy.webLocation.url"); @@ -3174,7 +3252,7 @@ public class ResearchStudy extends DomainResource { public void copyValues(ResearchStudyWebLocationComponent dst) { super.copyValues(dst); - dst.type = type == null ? null : type.copy(); + dst.classifier = classifier == null ? null : classifier.copy(); dst.url = url == null ? null : url.copy(); } @@ -3185,7 +3263,7 @@ public class ResearchStudy extends DomainResource { if (!(other_ instanceof ResearchStudyWebLocationComponent)) return false; ResearchStudyWebLocationComponent o = (ResearchStudyWebLocationComponent) other_; - return compareDeep(type, o.type, true) && compareDeep(url, o.url, true); + return compareDeep(classifier, o.classifier, true) && compareDeep(url, o.url, true); } @Override @@ -3199,7 +3277,7 @@ public class ResearchStudy extends DomainResource { } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, url); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(classifier, url); } public String fhirType() { @@ -3238,10 +3316,10 @@ public class ResearchStudy extends DomainResource { protected StringType name; /** - * A short, descriptive label for the study particularly for compouter use. + * The human readable name of the research study. */ @Child(name = "title", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Name for this study (for computers)", formalDefinition="A short, descriptive label for the study particularly for compouter use." ) + @Description(shortDefinition="Human readable name of the study", formalDefinition="The human readable name of the research study." ) protected StringType title; /** @@ -3273,10 +3351,10 @@ public class ResearchStudy extends DomainResource { protected List relatedArtifact; /** - * Date the resource last changed. + * The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes. */ @Child(name = "date", type = {DateTimeType.class}, order=9, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Date the resource last changed", formalDefinition="Date the resource last changed." ) + @Description(shortDefinition="Date the resource last changed", formalDefinition="The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes." ) protected DateTimeType date; /** @@ -3414,7 +3492,7 @@ public class ResearchStudy extends DomainResource { * Current status of the study. */ @Child(name = "currentState", type = {CodeableConcept.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) - @Description(shortDefinition="active | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | in-review | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | withdrawn", formalDefinition="Current status of the study." ) + @Description(shortDefinition="active | active-but-not-recruiting | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | enrolling-by-invitation | in-review | not-yet-recruiting | recruiting | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | terminated | withdrawn", formalDefinition="Current status of the study." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/research-study-status") protected List currentState; @@ -3693,7 +3771,7 @@ public class ResearchStudy extends DomainResource { } /** - * @return {@link #title} (A short, descriptive label for the study particularly for compouter use.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value + * @return {@link #title} (The human readable name of the research study.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value */ public StringType getTitleElement() { if (this.title == null) @@ -3713,7 +3791,7 @@ public class ResearchStudy extends DomainResource { } /** - * @param value {@link #title} (A short, descriptive label for the study particularly for compouter use.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value + * @param value {@link #title} (The human readable name of the research study.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value */ public ResearchStudy setTitleElement(StringType value) { this.title = value; @@ -3721,14 +3799,14 @@ public class ResearchStudy extends DomainResource { } /** - * @return A short, descriptive label for the study particularly for compouter use. + * @return The human readable name of the research study. */ public String getTitle() { return this.title == null ? null : this.title.getValue(); } /** - * @param value A short, descriptive label for the study particularly for compouter use. + * @param value The human readable name of the research study. */ public ResearchStudy setTitle(String value) { if (Utilities.noString(value)) @@ -3954,7 +4032,7 @@ public class ResearchStudy extends DomainResource { } /** - * @return {@link #date} (Date the resource last changed.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + * @return {@link #date} (The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes.). 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) @@ -3974,7 +4052,7 @@ public class ResearchStudy extends DomainResource { } /** - * @param value {@link #date} (Date the resource last changed.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + * @param value {@link #date} (The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value */ public ResearchStudy setDateElement(DateTimeType value) { this.date = value; @@ -3982,14 +4060,14 @@ public class ResearchStudy extends DomainResource { } /** - * @return Date the resource last changed. + * @return The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes. */ public Date getDate() { return this.date == null ? null : this.date.getValue(); } /** - * @param value Date the resource last changed. + * @param value The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes. */ public ResearchStudy setDate(Date value) { if (value == null) @@ -5220,12 +5298,12 @@ public class ResearchStudy extends DomainResource { children.add(new Property("identifier", "Identifier", "Identifiers assigned to this research study by the sponsor or other systems.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("version", "string", "Business identifier for the study record.", 0, 1, version)); children.add(new Property("name", "string", "Name for this study (computer friendly).", 0, 1, name)); - children.add(new Property("title", "string", "A short, descriptive label for the study particularly for compouter use.", 0, 1, title)); + children.add(new Property("title", "string", "The human readable name of the research study.", 0, 1, title)); children.add(new Property("label", "", "Additional names for the study.", 0, java.lang.Integer.MAX_VALUE, label)); children.add(new Property("protocol", "Reference(PlanDefinition)", "The set of steps expected to be performed as part of the execution of the study.", 0, java.lang.Integer.MAX_VALUE, protocol)); children.add(new Property("partOf", "Reference(ResearchStudy)", "A larger research study of which this particular study is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf)); children.add(new Property("relatedArtifact", "RelatedArtifact", "Citations, references and other related documents.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact)); - children.add(new Property("date", "dateTime", "Date the resource last changed.", 0, 1, date)); + children.add(new Property("date", "dateTime", "The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes.", 0, 1, date)); children.add(new Property("status", "code", "The publication state of the resource (not of the study).", 0, 1, status)); children.add(new Property("primaryPurposeType", "CodeableConcept", "The type of study based upon the intent of the study activities. A classification of the intent of the study.", 0, 1, primaryPurposeType)); children.add(new Property("phase", "CodeableConcept", "The stage in the progression of a therapy from initial experimental use in humans in clinical trials to post-market evaluation.", 0, 1, phase)); @@ -5262,12 +5340,12 @@ public class ResearchStudy extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifiers assigned to this research study by the sponsor or other systems.", 0, java.lang.Integer.MAX_VALUE, identifier); case 351608024: /*version*/ return new Property("version", "string", "Business identifier for the study record.", 0, 1, version); case 3373707: /*name*/ return new Property("name", "string", "Name for this study (computer friendly).", 0, 1, name); - case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive label for the study particularly for compouter use.", 0, 1, title); + case 110371416: /*title*/ return new Property("title", "string", "The human readable name of the research study.", 0, 1, title); case 102727412: /*label*/ return new Property("label", "", "Additional names for the study.", 0, java.lang.Integer.MAX_VALUE, label); case -989163880: /*protocol*/ return new Property("protocol", "Reference(PlanDefinition)", "The set of steps expected to be performed as part of the execution of the study.", 0, java.lang.Integer.MAX_VALUE, protocol); case -995410646: /*partOf*/ return new Property("partOf", "Reference(ResearchStudy)", "A larger research study of which this particular study is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf); case 666807069: /*relatedArtifact*/ return new Property("relatedArtifact", "RelatedArtifact", "Citations, references and other related documents.", 0, java.lang.Integer.MAX_VALUE, relatedArtifact); - case 3076014: /*date*/ return new Property("date", "dateTime", "Date the resource last changed.", 0, 1, date); + case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the ResearchStudy Resource was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the ResearchStudy Resource changes.", 0, 1, date); case -892481550: /*status*/ return new Property("status", "code", "The publication state of the resource (not of the study).", 0, 1, status); case -2132842986: /*primaryPurposeType*/ return new Property("primaryPurposeType", "CodeableConcept", "The type of study based upon the intent of the study activities. A classification of the intent of the study.", 0, 1, primaryPurposeType); case 106629499: /*phase*/ return new Property("phase", "CodeableConcept", "The stage in the progression of a therapy from initial experimental use in humans in clinical trials to post-market evaluation.", 0, 1, phase); @@ -5956,356 +6034,6 @@ public class ResearchStudy extends DomainResource { return ResourceType.ResearchStudy; } - /** - * Search parameter: category - *

- * Description: Classifications for the study
- * Type: token
- * Path: ResearchStudy.category
- *

- */ - @SearchParamDefinition(name="category", path="ResearchStudy.category", description="Classifications for the study", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Classifications for the study
- * Type: token
- * Path: ResearchStudy.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: condition - *

- * Description: Condition being studied
- * Type: token
- * Path: ResearchStudy.condition
- *

- */ - @SearchParamDefinition(name="condition", path="ResearchStudy.condition", description="Condition being studied", type="token" ) - public static final String SP_CONDITION = "condition"; - /** - * Fluent Client search parameter constant for condition - *

- * Description: Condition being studied
- * Type: token
- * Path: ResearchStudy.condition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONDITION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONDITION); - - /** - * Search parameter: date - *

- * Description: When the study began and ended
- * Type: date
- * Path: ResearchStudy.period
- *

- */ - @SearchParamDefinition(name="date", path="ResearchStudy.period", description="When the study began and ended", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: When the study began and ended
- * Type: date
- * Path: ResearchStudy.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: focus - *

- * Description: Drugs, devices, etc. under study
- * Type: token
- * Path: ResearchStudy.focus
- *

- */ - @SearchParamDefinition(name="focus", path="ResearchStudy.focus", description="Drugs, devices, etc. under study", type="token" ) - public static final String SP_FOCUS = "focus"; - /** - * Fluent Client search parameter constant for focus - *

- * Description: Drugs, devices, etc. under study
- * Type: token
- * Path: ResearchStudy.focus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam FOCUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_FOCUS); - - /** - * Search parameter: identifier - *

- * Description: Business Identifier for study
- * Type: token
- * Path: ResearchStudy.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ResearchStudy.identifier", description="Business Identifier for study", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business Identifier for study
- * Type: token
- * Path: ResearchStudy.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: keyword - *

- * Description: Used to search for the study
- * Type: token
- * Path: ResearchStudy.keyword
- *

- */ - @SearchParamDefinition(name="keyword", path="ResearchStudy.keyword", description="Used to search for the study", type="token" ) - public static final String SP_KEYWORD = "keyword"; - /** - * Fluent Client search parameter constant for keyword - *

- * Description: Used to search for the study
- * Type: token
- * Path: ResearchStudy.keyword
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam KEYWORD = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_KEYWORD); - - /** - * Search parameter: location - *

- * Description: Geographic region(s) for study
- * Type: token
- * Path: ResearchStudy.location
- *

- */ - @SearchParamDefinition(name="location", path="ResearchStudy.location", description="Geographic region(s) for study", type="token" ) - public static final String SP_LOCATION = "location"; - /** - * Fluent Client search parameter constant for location - *

- * Description: Geographic region(s) for study
- * Type: token
- * Path: ResearchStudy.location
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam LOCATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_LOCATION); - - /** - * Search parameter: partof - *

- * Description: Part of larger study
- * Type: reference
- * Path: ResearchStudy.partOf
- *

- */ - @SearchParamDefinition(name="partof", path="ResearchStudy.partOf", description="Part of larger study", type="reference", target={ResearchStudy.class } ) - public static final String SP_PARTOF = "partof"; - /** - * Fluent Client search parameter constant for partof - *

- * Description: Part of larger study
- * Type: reference
- * Path: ResearchStudy.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTOF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARTOF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchStudy:partof". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTOF = new ca.uhn.fhir.model.api.Include("ResearchStudy:partof").toLocked(); - - /** - * Search parameter: principalinvestigator - *

- * Description: Researcher who oversees multiple aspects of the study
- * Type: reference
- * Path: ResearchStudy.principalInvestigator
- *

- */ - @SearchParamDefinition(name="principalinvestigator", path="ResearchStudy.principalInvestigator", description="Researcher who oversees multiple aspects of the study", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_PRINCIPALINVESTIGATOR = "principalinvestigator"; - /** - * Fluent Client search parameter constant for principalinvestigator - *

- * Description: Researcher who oversees multiple aspects of the study
- * Type: reference
- * Path: ResearchStudy.principalInvestigator
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRINCIPALINVESTIGATOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRINCIPALINVESTIGATOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchStudy:principalinvestigator". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRINCIPALINVESTIGATOR = new ca.uhn.fhir.model.api.Include("ResearchStudy:principalinvestigator").toLocked(); - - /** - * Search parameter: protocol - *

- * Description: Steps followed in executing study
- * Type: reference
- * Path: ResearchStudy.protocol
- *

- */ - @SearchParamDefinition(name="protocol", path="ResearchStudy.protocol", description="Steps followed in executing study", type="reference", target={PlanDefinition.class } ) - public static final String SP_PROTOCOL = "protocol"; - /** - * Fluent Client search parameter constant for protocol - *

- * Description: Steps followed in executing study
- * Type: reference
- * Path: ResearchStudy.protocol
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROTOCOL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PROTOCOL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchStudy:protocol". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PROTOCOL = new ca.uhn.fhir.model.api.Include("ResearchStudy:protocol").toLocked(); - - /** - * Search parameter: recruitment_actual - *

- * Description: Actual number of participants enrolled in study across all groups
- * Type: number
- * Path: ResearchStudy.recruitment.actualNumber
- *

- */ - @SearchParamDefinition(name="recruitment_actual", path="ResearchStudy.recruitment.actualNumber", description="Actual number of participants enrolled in study across all groups", type="number" ) - public static final String SP_RECRUITMENTACTUAL = "recruitment_actual"; - /** - * Fluent Client search parameter constant for recruitment_actual - *

- * Description: Actual number of participants enrolled in study across all groups
- * Type: number
- * Path: ResearchStudy.recruitment.actualNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam RECRUITMENTACTUAL = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_RECRUITMENTACTUAL); - - /** - * Search parameter: recruitment_target - *

- * Description: Target number of participants enrolled in study across all groups
- * Type: number
- * Path: ResearchStudy.recruitment.targetNumber
- *

- */ - @SearchParamDefinition(name="recruitment_target", path="ResearchStudy.recruitment.targetNumber", description="Target number of participants enrolled in study across all groups", type="number" ) - public static final String SP_RECRUITMENTTARGET = "recruitment_target"; - /** - * Fluent Client search parameter constant for recruitment_target - *

- * Description: Target number of participants enrolled in study across all groups
- * Type: number
- * Path: ResearchStudy.recruitment.targetNumber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam RECRUITMENTTARGET = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_RECRUITMENTTARGET); - - /** - * Search parameter: site - *

- * Description: Facility where study activities are conducted
- * Type: reference
- * Path: ResearchStudy.site
- *

- */ - @SearchParamDefinition(name="site", path="ResearchStudy.site", description="Facility where study activities are conducted", type="reference", target={Location.class, Organization.class, ResearchStudy.class } ) - public static final String SP_SITE = "site"; - /** - * Fluent Client search parameter constant for site - *

- * Description: Facility where study activities are conducted
- * Type: reference
- * Path: ResearchStudy.site
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SITE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SITE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchStudy:site". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SITE = new ca.uhn.fhir.model.api.Include("ResearchStudy:site").toLocked(); - - /** - * Search parameter: sponsor - *

- * Description: Organization that initiates and is legally responsible for the study
- * Type: reference
- * Path: ResearchStudy.sponsor
- *

- */ - @SearchParamDefinition(name="sponsor", path="ResearchStudy.sponsor", description="Organization that initiates and is legally responsible for the study", type="reference", target={Organization.class } ) - public static final String SP_SPONSOR = "sponsor"; - /** - * Fluent Client search parameter constant for sponsor - *

- * Description: Organization that initiates and is legally responsible for the study
- * Type: reference
- * Path: ResearchStudy.sponsor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SPONSOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SPONSOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchStudy:sponsor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SPONSOR = new ca.uhn.fhir.model.api.Include("ResearchStudy:sponsor").toLocked(); - - /** - * Search parameter: status - *

- * Description: active | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | in-review | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | withdrawn
- * Type: token
- * Path: ResearchStudy.status
- *

- */ - @SearchParamDefinition(name="status", path="ResearchStudy.status", description="active | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | in-review | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | withdrawn", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | in-review | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | withdrawn
- * Type: token
- * Path: ResearchStudy.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Name for this study
- * Type: string
- * Path: ResearchStudy.title
- *

- */ - @SearchParamDefinition(name="title", path="ResearchStudy.title", description="Name for this study", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Name for this study
- * Type: string
- * Path: ResearchStudy.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchSubject.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchSubject.java index c854a04b0..84ee089ae 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchSubject.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResearchSubject.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1171,164 +1171,6 @@ public class ResearchSubject extends DomainResource { return ResourceType.ResearchSubject; } - /** - * Search parameter: date - *

- * Description: Start and end of participation
- * Type: date
- * Path: ResearchSubject.period
- *

- */ - @SearchParamDefinition(name="date", path="ResearchSubject.period", description="Start and end of participation", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Start and end of participation
- * Type: date
- * Path: ResearchSubject.period
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Business Identifier for research subject in a study
- * Type: token
- * Path: ResearchSubject.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="ResearchSubject.identifier", description="Business Identifier for research subject in a study", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business Identifier for research subject in a study
- * Type: token
- * Path: ResearchSubject.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Who or what is part of study
- * Type: reference
- * Path: ResearchSubject.subject
- *

- */ - @SearchParamDefinition(name="patient", path="ResearchSubject.subject", description="Who or what is part of study", type="reference", target={BiologicallyDerivedProduct.class, Device.class, Group.class, Medication.class, Patient.class, Specimen.class, Substance.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Who or what is part of study
- * Type: reference
- * Path: ResearchSubject.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchSubject:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ResearchSubject:patient").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | active | retired | unknown
- * Type: token
- * Path: ResearchSubject.status
- *

- */ - @SearchParamDefinition(name="status", path="ResearchSubject.status", description="draft | active | retired | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | retired | unknown
- * Type: token
- * Path: ResearchSubject.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: study - *

- * Description: Study subject is part of
- * Type: reference
- * Path: ResearchSubject.study
- *

- */ - @SearchParamDefinition(name="study", path="ResearchSubject.study", description="Study subject is part of", type="reference", target={ResearchStudy.class } ) - public static final String SP_STUDY = "study"; - /** - * Fluent Client search parameter constant for study - *

- * Description: Study subject is part of
- * Type: reference
- * Path: ResearchSubject.study
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam STUDY = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_STUDY); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchSubject:study". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_STUDY = new ca.uhn.fhir.model.api.Include("ResearchSubject:study").toLocked(); - - /** - * Search parameter: subject - *

- * Description: Who or what is part of study
- * Type: reference
- * Path: ResearchSubject.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ResearchSubject.subject", description="Who or what is part of study", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={BiologicallyDerivedProduct.class, Device.class, Group.class, Medication.class, Patient.class, Specimen.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who or what is part of study
- * Type: reference
- * Path: ResearchSubject.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ResearchSubject:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ResearchSubject:subject").toLocked(); - - /** - * Search parameter: subject_state - *

- * Description: candidate | eligible | follow-up | ineligible | not-registered | off-study | on-study | on-study-intervention | on-study-observation | pending-on-study | potential-candidate | screening | withdrawn
- * Type: token
- * Path: ResearchSubject.progress.subjectState
- *

- */ - @SearchParamDefinition(name="subject_state", path="ResearchSubject.progress.subjectState", description="candidate | eligible | follow-up | ineligible | not-registered | off-study | on-study | on-study-intervention | on-study-observation | pending-on-study | potential-candidate | screening | withdrawn", type="token" ) - public static final String SP_SUBJECTSTATE = "subject_state"; - /** - * Fluent Client search parameter constant for subject_state - *

- * Description: candidate | eligible | follow-up | ineligible | not-registered | off-study | on-study | on-study-intervention | on-study-observation | pending-on-study | potential-candidate | screening | withdrawn
- * Type: token
- * Path: ResearchSubject.progress.subjectState
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBJECTSTATE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SUBJECTSTATE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceFactory.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceFactory.java index 16af00567..b48b09b80 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceFactory.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceFactory.java @@ -28,7 +28,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent @@ -87,8 +87,6 @@ public class ResourceFactory extends Factory { return new ClinicalImpression(); if ("ClinicalUseDefinition".equals(name)) return new ClinicalUseDefinition(); - if ("ClinicalUseIssue".equals(name)) - return new ClinicalUseIssue(); if ("CodeSystem".equals(name)) return new CodeSystem(); if ("Communication".equals(name)) @@ -101,8 +99,6 @@ public class ResourceFactory extends Factory { return new Composition(); if ("ConceptMap".equals(name)) return new ConceptMap(); - if ("ConceptMap2".equals(name)) - return new ConceptMap2(); if ("Condition".equals(name)) return new Condition(); if ("ConditionDefinition".equals(name)) @@ -163,6 +159,8 @@ public class ResourceFactory extends Factory { return new FamilyMemberHistory(); if ("Flag".equals(name)) return new Flag(); + if ("FormularyItem".equals(name)) + return new FormularyItem(); if ("Goal".equals(name)) return new Goal(); if ("GraphDefinition".equals(name)) @@ -335,6 +333,8 @@ public class ResourceFactory extends Factory { return new TestReport(); if ("TestScript".equals(name)) return new TestScript(); + if ("Transport".equals(name)) + return new Transport(); if ("ValueSet".equals(name)) return new ValueSet(); if ("VerificationResult".equals(name)) @@ -421,6 +421,8 @@ public class ResourceFactory extends Factory { return new ElementDefinition(); if ("Expression".equals(name)) return new Expression(); + if ("ExtendedContactDetail".equals(name)) + return new ExtendedContactDetail(); if ("Extension".equals(name)) return new Extension(); if ("HumanName".equals(name)) @@ -441,8 +443,6 @@ public class ResourceFactory extends Factory { return new Period(); if ("Population".equals(name)) return new Population(); - if ("ProdCharacteristic".equals(name)) - return new ProdCharacteristic(); if ("ProductShelfLife".equals(name)) return new ProductShelfLife(); if ("Quantity".equals(name)) @@ -517,14 +517,12 @@ public class ResourceFactory extends Factory { case 1488475261: return new ClaimResponse(); case -1268501092: return new ClinicalImpression(); case 462236103: return new ClinicalUseDefinition(); - case -590890011: return new ClinicalUseIssue(); case 1076953756: return new CodeSystem(); case -236322890: return new Communication(); case -1874423303: return new CommunicationRequest(); case 1287805733: return new CompartmentDefinition(); case 828944778: return new Composition(); case 57185780: return new ConceptMap(); - case 1772759230: return new ConceptMap2(); case 1142656251: return new Condition(); case 1722998958: return new ConditionDefinition(); case -1678813190: return new Consent(); @@ -555,6 +553,7 @@ public class ResourceFactory extends Factory { case -1001676601: return new ExplanationOfBenefit(); case 1260711798: return new FamilyMemberHistory(); case 2192268: return new Flag(); + case 1238228672: return new FormularyItem(); case 2224947: return new Goal(); case -180371167: return new GraphDefinition(); case 69076575: return new Group(); @@ -641,6 +640,7 @@ public class ResourceFactory extends Factory { case -549565975: return new TerminologyCapabilities(); case -616289146: return new TestReport(); case -589453283: return new TestScript(); + case -1238034679: return new Transport(); case -1345530543: return new ValueSet(); case 957089336: return new VerificationResult(); case -555387838: return new VisionPrescription(); @@ -661,6 +661,7 @@ public class ResourceFactory extends Factory { case -1927368268: return new Duration(); case -1605049009: return new ElementDefinition(); case 198012600: return new Expression(); + case 1711712184: return new ExtendedContactDetail(); case 1391410207: return new Extension(); case 1592332600: return new HumanName(); case 375032009: return new Identifier(); @@ -671,7 +672,6 @@ public class ResourceFactory extends Factory { case 671337916: return new ParameterDefinition(); case -1907858975: return new Period(); case -30093459: return new Population(); - case 458000626: return new ProdCharacteristic(); case 1209602103: return new ProductShelfLife(); case -1220360021: return new Quantity(); case 78727453: return new Range(); diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceType.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceType.java index 5177f7e32..7451ec7f0 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceType.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ResourceType.java @@ -28,7 +28,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent @@ -60,14 +60,12 @@ Account, ClaimResponse, ClinicalImpression, ClinicalUseDefinition, - ClinicalUseIssue, CodeSystem, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, - ConceptMap2, Condition, ConditionDefinition, Consent, @@ -98,6 +96,7 @@ Account, ExplanationOfBenefit, FamilyMemberHistory, Flag, + FormularyItem, Goal, GraphDefinition, Group, @@ -184,6 +183,7 @@ Account, TerminologyCapabilities, TestReport, TestScript, + Transport, ValueSet, VerificationResult, VisionPrescription; @@ -241,8 +241,6 @@ Account, return "clinicalimpression"; case ClinicalUseDefinition: return "clinicalusedefinition"; - case ClinicalUseIssue: - return "clinicaluseissue"; case CodeSystem: return "codesystem"; case Communication: @@ -255,8 +253,6 @@ Account, return "composition"; case ConceptMap: return "conceptmap"; - case ConceptMap2: - return "conceptmap2"; case Condition: return "condition"; case ConditionDefinition: @@ -317,6 +313,8 @@ Account, return "familymemberhistory"; case Flag: return "flag"; + case FormularyItem: + return "formularyitem"; case Goal: return "goal"; case GraphDefinition: @@ -489,6 +487,8 @@ Account, return "testreport"; case TestScript: return "testscript"; + case Transport: + return "transport"; case ValueSet: return "valueset"; case VerificationResult: @@ -552,8 +552,6 @@ Account, return ClinicalImpression; if ("ClinicalUseDefinition".equals(code)) return ClinicalUseDefinition; - if ("ClinicalUseIssue".equals(code)) - return ClinicalUseIssue; if ("CodeSystem".equals(code)) return CodeSystem; if ("Communication".equals(code)) @@ -566,8 +564,6 @@ Account, return Composition; if ("ConceptMap".equals(code)) return ConceptMap; - if ("ConceptMap2".equals(code)) - return ConceptMap2; if ("Condition".equals(code)) return Condition; if ("ConditionDefinition".equals(code)) @@ -628,6 +624,8 @@ Account, return FamilyMemberHistory; if ("Flag".equals(code)) return Flag; + if ("FormularyItem".equals(code)) + return FormularyItem; if ("Goal".equals(code)) return Goal; if ("GraphDefinition".equals(code)) @@ -800,6 +798,8 @@ Account, return TestReport; if ("TestScript".equals(code)) return TestScript; + if ("Transport".equals(code)) + return Transport; if ("ValueSet".equals(code)) return ValueSet; if ("VerificationResult".equals(code)) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RiskAssessment.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RiskAssessment.java index e068a0da4..e0f4b68b6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RiskAssessment.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/RiskAssessment.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -1688,434 +1688,6 @@ public class RiskAssessment extends DomainResource { return ResourceType.RiskAssessment; } - /** - * Search parameter: condition - *

- * Description: Condition assessed
- * Type: reference
- * Path: RiskAssessment.condition
- *

- */ - @SearchParamDefinition(name="condition", path="RiskAssessment.condition", description="Condition assessed", type="reference", target={Condition.class } ) - public static final String SP_CONDITION = "condition"; - /** - * Fluent Client search parameter constant for condition - *

- * Description: Condition assessed
- * Type: reference
- * Path: RiskAssessment.condition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CONDITION); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RiskAssessment:condition". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CONDITION = new ca.uhn.fhir.model.api.Include("RiskAssessment:condition").toLocked(); - - /** - * Search parameter: method - *

- * Description: Evaluation mechanism
- * Type: token
- * Path: RiskAssessment.method
- *

- */ - @SearchParamDefinition(name="method", path="RiskAssessment.method", description="Evaluation mechanism", type="token" ) - public static final String SP_METHOD = "method"; - /** - * Fluent Client search parameter constant for method - *

- * Description: Evaluation mechanism
- * Type: token
- * Path: RiskAssessment.method
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam METHOD = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_METHOD); - - /** - * Search parameter: performer - *

- * Description: Who did assessment?
- * Type: reference
- * Path: RiskAssessment.performer
- *

- */ - @SearchParamDefinition(name="performer", path="RiskAssessment.performer", description="Who did assessment?", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Who did assessment?
- * Type: reference
- * Path: RiskAssessment.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RiskAssessment:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("RiskAssessment:performer").toLocked(); - - /** - * Search parameter: probability - *

- * Description: Likelihood of specified outcome
- * Type: number
- * Path: RiskAssessment.prediction.probability
- *

- */ - @SearchParamDefinition(name="probability", path="RiskAssessment.prediction.probability", description="Likelihood of specified outcome", type="number" ) - public static final String SP_PROBABILITY = "probability"; - /** - * Fluent Client search parameter constant for probability - *

- * Description: Likelihood of specified outcome
- * Type: number
- * Path: RiskAssessment.prediction.probability
- *

- */ - public static final ca.uhn.fhir.rest.gclient.NumberClientParam PROBABILITY = new ca.uhn.fhir.rest.gclient.NumberClientParam(SP_PROBABILITY); - - /** - * Search parameter: risk - *

- * Description: Likelihood of specified outcome as a qualitative value
- * Type: token
- * Path: RiskAssessment.prediction.qualitativeRisk
- *

- */ - @SearchParamDefinition(name="risk", path="RiskAssessment.prediction.qualitativeRisk", description="Likelihood of specified outcome as a qualitative value", type="token" ) - public static final String SP_RISK = "risk"; - /** - * Fluent Client search parameter constant for risk - *

- * Description: Likelihood of specified outcome as a qualitative value
- * Type: token
- * Path: RiskAssessment.prediction.qualitativeRisk
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RISK = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RISK); - - /** - * Search parameter: subject - *

- * Description: Who/what does assessment apply to?
- * Type: reference
- * Path: RiskAssessment.subject
- *

- */ - @SearchParamDefinition(name="subject", path="RiskAssessment.subject", description="Who/what does assessment apply to?", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Who/what does assessment apply to?
- * Type: reference
- * Path: RiskAssessment.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RiskAssessment:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("RiskAssessment:subject").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RiskAssessment:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("RiskAssessment:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "RiskAssessment:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("RiskAssessment:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SampledData.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SampledData.java index d21b47919..82e8068ce 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SampledData.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SampledData.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Schedule.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Schedule.java index 8e43eaeaf..dda27df0f 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Schedule.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Schedule.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -78,10 +78,10 @@ public class Schedule extends DomainResource { /** * The specific service that is to be performed during this appointment. */ - @Child(name = "serviceType", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "serviceType", type = {CodeableReference.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Specific service", formalDefinition="The specific service that is to be performed during this appointment." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-type") - protected List serviceType; + protected List serviceType; /** * The specialty of a practitioner that would be required to perform the service requested in this appointment. @@ -112,7 +112,7 @@ public class Schedule extends DomainResource { @Description(shortDefinition="Comments on availability", formalDefinition="Comments on the availability to describe any extended information. Such as custom constraints on the slots that may be associated." ) protected StringType comment; - private static final long serialVersionUID = -1624500976L; + private static final long serialVersionUID = 929720115L; /** * Constructor @@ -283,16 +283,16 @@ public class Schedule extends DomainResource { /** * @return {@link #serviceType} (The specific service that is to be performed during this appointment.) */ - public List getServiceType() { + public List getServiceType() { if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); return this.serviceType; } /** * @return Returns a reference to this for easy method chaining */ - public Schedule setServiceType(List theServiceType) { + public Schedule setServiceType(List theServiceType) { this.serviceType = theServiceType; return this; } @@ -300,25 +300,25 @@ public class Schedule extends DomainResource { public boolean hasServiceType() { if (this.serviceType == null) return false; - for (CodeableConcept item : this.serviceType) + for (CodeableReference item : this.serviceType) if (!item.isEmpty()) return true; return false; } - public CodeableConcept addServiceType() { //3 - CodeableConcept t = new CodeableConcept(); + public CodeableReference addServiceType() { //3 + CodeableReference t = new CodeableReference(); if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); this.serviceType.add(t); return t; } - public Schedule addServiceType(CodeableConcept t) { //3 + public Schedule addServiceType(CodeableReference t) { //3 if (t == null) return this; if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); this.serviceType.add(t); return this; } @@ -326,7 +326,7 @@ public class Schedule extends DomainResource { /** * @return The first repetition of repeating field {@link #serviceType}, creating it if it does not already exist {3} */ - public CodeableConcept getServiceTypeFirstRep() { + public CodeableReference getServiceTypeFirstRep() { if (getServiceType().isEmpty()) { addServiceType(); } @@ -517,7 +517,7 @@ public class Schedule extends DomainResource { children.add(new Property("identifier", "Identifier", "External Ids for this item.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("active", "boolean", "Whether this schedule record is in active use or should not be used (such as was entered in error).", 0, 1, active)); children.add(new Property("serviceCategory", "CodeableConcept", "A broad categorization of the service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceCategory)); - children.add(new Property("serviceType", "CodeableConcept", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType)); + children.add(new Property("serviceType", "CodeableReference(HealthcareService)", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType)); children.add(new Property("specialty", "CodeableConcept", "The specialty of a practitioner that would be required to perform the service requested in this appointment.", 0, java.lang.Integer.MAX_VALUE, specialty)); children.add(new Property("actor", "Reference(Patient|Practitioner|PractitionerRole|CareTeam|RelatedPerson|Device|HealthcareService|Location)", "Slots that reference this schedule resource provide the availability details to these referenced resource(s).", 0, java.lang.Integer.MAX_VALUE, actor)); children.add(new Property("planningHorizon", "Period", "The period of time that the slots that reference 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, 1, planningHorizon)); @@ -530,7 +530,7 @@ public class Schedule extends DomainResource { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "External Ids for this item.", 0, java.lang.Integer.MAX_VALUE, identifier); case -1422950650: /*active*/ return new Property("active", "boolean", "Whether this schedule record is in active use or should not be used (such as was entered in error).", 0, 1, active); case 1281188563: /*serviceCategory*/ return new Property("serviceCategory", "CodeableConcept", "A broad categorization of the service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceCategory); - case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableConcept", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType); + case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableReference(HealthcareService)", "The specific service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceType); case -1694759682: /*specialty*/ return new Property("specialty", "CodeableConcept", "The specialty of a practitioner that would be required to perform the service requested in this appointment.", 0, java.lang.Integer.MAX_VALUE, specialty); case 92645877: /*actor*/ return new Property("actor", "Reference(Patient|Practitioner|PractitionerRole|CareTeam|RelatedPerson|Device|HealthcareService|Location)", "Slots that reference this schedule resource provide the availability details to these referenced resource(s).", 0, java.lang.Integer.MAX_VALUE, actor); case -1718507650: /*planningHorizon*/ return new Property("planningHorizon", "Period", "The period of time that the slots that reference 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, 1, planningHorizon); @@ -546,7 +546,7 @@ public class Schedule extends DomainResource { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case -1422950650: /*active*/ return this.active == null ? new Base[0] : new Base[] {this.active}; // BooleanType case 1281188563: /*serviceCategory*/ return this.serviceCategory == null ? new Base[0] : this.serviceCategory.toArray(new Base[this.serviceCategory.size()]); // CodeableConcept - case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : this.serviceType.toArray(new Base[this.serviceType.size()]); // CodeableConcept + case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : this.serviceType.toArray(new Base[this.serviceType.size()]); // CodeableReference case -1694759682: /*specialty*/ return this.specialty == null ? new Base[0] : this.specialty.toArray(new Base[this.specialty.size()]); // CodeableConcept case 92645877: /*actor*/ return this.actor == null ? new Base[0] : this.actor.toArray(new Base[this.actor.size()]); // Reference case -1718507650: /*planningHorizon*/ return this.planningHorizon == null ? new Base[0] : new Base[] {this.planningHorizon}; // Period @@ -569,7 +569,7 @@ public class Schedule extends DomainResource { this.getServiceCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; case -1928370289: // serviceType - this.getServiceType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + this.getServiceType().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference return value; case -1694759682: // specialty this.getSpecialty().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept @@ -597,7 +597,7 @@ public class Schedule extends DomainResource { } else if (name.equals("serviceCategory")) { this.getServiceCategory().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("serviceType")) { - this.getServiceType().add(TypeConvertor.castToCodeableConcept(value)); + this.getServiceType().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("specialty")) { this.getSpecialty().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("actor")) { @@ -633,7 +633,7 @@ public class Schedule extends DomainResource { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case -1422950650: /*active*/ return new String[] {"boolean"}; case 1281188563: /*serviceCategory*/ return new String[] {"CodeableConcept"}; - case -1928370289: /*serviceType*/ return new String[] {"CodeableConcept"}; + case -1928370289: /*serviceType*/ return new String[] {"CodeableReference"}; case -1694759682: /*specialty*/ return new String[] {"CodeableConcept"}; case 92645877: /*actor*/ return new String[] {"Reference"}; case -1718507650: /*planningHorizon*/ return new String[] {"Period"}; @@ -699,8 +699,8 @@ public class Schedule extends DomainResource { dst.serviceCategory.add(i.copy()); }; if (serviceType != null) { - dst.serviceType = new ArrayList(); - for (CodeableConcept i : serviceType) + dst.serviceType = new ArrayList(); + for (CodeableReference i : serviceType) dst.serviceType.add(i.copy()); }; if (specialty != null) { @@ -754,152 +754,6 @@ public class Schedule extends DomainResource { return ResourceType.Schedule; } - /** - * Search parameter: active - *

- * Description: Is the schedule in active use
- * Type: token
- * Path: Schedule.active
- *

- */ - @SearchParamDefinition(name="active", path="Schedule.active", description="Is the schedule in active use", type="token" ) - public static final String SP_ACTIVE = "active"; - /** - * Fluent Client search parameter constant for active - *

- * Description: Is the schedule in active use
- * Type: token
- * Path: Schedule.active
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVE); - - /** - * Search parameter: actor - *

- * Description: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
- * Type: reference
- * Path: Schedule.actor
- *

- */ - @SearchParamDefinition(name="actor", path="Schedule.actor", description="The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, HealthcareService.class, Location.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_ACTOR = "actor"; - /** - * Fluent Client search parameter constant for actor - *

- * Description: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
- * Type: reference
- * Path: Schedule.actor
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ACTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Schedule:actor". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR = new ca.uhn.fhir.model.api.Include("Schedule:actor").toLocked(); - - /** - * Search parameter: date - *

- * Description: Search for Schedule resources that have a period that contains this date specified
- * Type: date
- * Path: Schedule.planningHorizon
- *

- */ - @SearchParamDefinition(name="date", path="Schedule.planningHorizon", description="Search for Schedule resources that have a period that contains this date specified", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Search for Schedule resources that have a period that contains this date specified
- * Type: date
- * Path: Schedule.planningHorizon
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: A Schedule Identifier
- * Type: token
- * Path: Schedule.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Schedule.identifier", description="A Schedule Identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A Schedule Identifier
- * Type: token
- * Path: Schedule.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: service-category - *

- * Description: High-level category
- * Type: token
- * Path: Schedule.serviceCategory
- *

- */ - @SearchParamDefinition(name="service-category", path="Schedule.serviceCategory", description="High-level category", type="token" ) - public static final String SP_SERVICE_CATEGORY = "service-category"; - /** - * Fluent Client search parameter constant for service-category - *

- * Description: High-level category
- * Type: token
- * Path: Schedule.serviceCategory
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_CATEGORY); - - /** - * Search parameter: service-type - *

- * Description: The type of appointments that can be booked into associated slot(s)
- * Type: token
- * Path: Schedule.serviceType
- *

- */ - @SearchParamDefinition(name="service-type", path="Schedule.serviceType", description="The type of appointments that can be booked into associated slot(s)", type="token" ) - public static final String SP_SERVICE_TYPE = "service-type"; - /** - * Fluent Client search parameter constant for service-type - *

- * Description: The type of appointments that can be booked into associated slot(s)
- * Type: token
- * Path: Schedule.serviceType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_TYPE); - - /** - * Search parameter: specialty - *

- * Description: Type of specialty needed
- * Type: token
- * Path: Schedule.specialty
- *

- */ - @SearchParamDefinition(name="specialty", path="Schedule.specialty", description="Type of specialty needed", type="token" ) - public static final String SP_SPECIALTY = "specialty"; - /** - * Fluent Client search parameter constant for specialty - *

- * Description: Type of specialty needed
- * Type: token
- * Path: Schedule.specialty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIALTY); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SearchParameter.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SearchParameter.java index 8a73da8ad..f9eb45201 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SearchParameter.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SearchParameter.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -131,6 +131,7 @@ public class SearchParameter extends CanonicalResource { case SA: return "sa"; case EB: return "eb"; case AP: return "ap"; + case NULL: return null; default: return "?"; } } @@ -145,6 +146,7 @@ public class SearchParameter extends CanonicalResource { case SA: return "http://hl7.org/fhir/search-comparator"; case EB: return "http://hl7.org/fhir/search-comparator"; case AP: return "http://hl7.org/fhir/search-comparator"; + case NULL: return null; default: return "?"; } } @@ -159,6 +161,7 @@ public class SearchParameter extends CanonicalResource { case SA: return "the value for the parameter in the resource starts after the provided value."; case EB: return "the value for the parameter in the resource ends before the provided value."; case AP: return "the value for the parameter in the resource is approximately the same to the provided value."; + case NULL: return null; default: return "?"; } } @@ -173,6 +176,7 @@ public class SearchParameter extends CanonicalResource { case SA: return "Starts After"; case EB: return "Ends Before"; case AP: return "Approximately"; + case NULL: return null; default: return "?"; } } @@ -356,6 +360,7 @@ public class SearchParameter extends CanonicalResource { case TYPE: return "type"; case IDENTIFIER: return "identifier"; case OFTYPE: return "ofType"; + case NULL: return null; default: return "?"; } } @@ -373,6 +378,7 @@ public class SearchParameter extends CanonicalResource { case TYPE: return "http://hl7.org/fhir/search-modifier-code"; case IDENTIFIER: return "http://hl7.org/fhir/search-modifier-code"; case OFTYPE: return "http://hl7.org/fhir/search-modifier-code"; + case NULL: return null; default: return "?"; } } @@ -390,6 +396,7 @@ public class SearchParameter extends CanonicalResource { case TYPE: return "The search parameter only applies to the Resource Type specified as a modifier (e.g. the modifier is not actually :type, but :Patient etc.)."; case IDENTIFIER: return "The search parameter applies to the identifier on the resource, not the reference."; case OFTYPE: return "The search parameter has the format system|code|value, where the system and code refer to an Identifier.type.coding.system and .code, and match if any of the type codes match. All 3 parts must be present."; + case NULL: return null; default: return "?"; } } @@ -407,6 +414,7 @@ public class SearchParameter extends CanonicalResource { case TYPE: return "Type"; case IDENTIFIER: return "Identifier"; case OFTYPE: return "Of Type"; + case NULL: return null; default: return "?"; } } @@ -518,14 +526,6 @@ public class SearchParameter extends CanonicalResource { * The search parameter is derived by a phonetic transform from the selected nodes. */ PHONETIC, - /** - * The search parameter is based on a spatial transform of the selected nodes. - */ - NEARBY, - /** - * The search parameter is based on a spatial transform of the selected nodes, using physical distance from the middle. - */ - DISTANCE, /** * The interpretation of the xpath statement is unknown (and can't be automated). */ @@ -541,10 +541,6 @@ public class SearchParameter extends CanonicalResource { return NORMAL; if ("phonetic".equals(codeString)) return PHONETIC; - if ("nearby".equals(codeString)) - return NEARBY; - if ("distance".equals(codeString)) - return DISTANCE; if ("other".equals(codeString)) return OTHER; if (Configuration.isAcceptInvalidEnums()) @@ -556,9 +552,8 @@ public class SearchParameter extends CanonicalResource { switch (this) { case NORMAL: return "normal"; case PHONETIC: return "phonetic"; - case NEARBY: return "nearby"; - case DISTANCE: return "distance"; case OTHER: return "other"; + case NULL: return null; default: return "?"; } } @@ -566,9 +561,8 @@ public class SearchParameter extends CanonicalResource { switch (this) { case NORMAL: return "http://hl7.org/fhir/search-xpath-usage"; case PHONETIC: return "http://hl7.org/fhir/search-xpath-usage"; - case NEARBY: return "http://hl7.org/fhir/search-xpath-usage"; - case DISTANCE: return "http://hl7.org/fhir/search-xpath-usage"; case OTHER: return "http://hl7.org/fhir/search-xpath-usage"; + case NULL: return null; default: return "?"; } } @@ -576,9 +570,8 @@ public class SearchParameter extends CanonicalResource { switch (this) { case NORMAL: return "The search parameter is derived directly from the selected nodes based on the type definitions."; case PHONETIC: return "The search parameter is derived by a phonetic transform from the selected nodes."; - case NEARBY: return "The search parameter is based on a spatial transform of the selected nodes."; - case DISTANCE: return "The search parameter is based on a spatial transform of the selected nodes, using physical distance from the middle."; case OTHER: return "The interpretation of the xpath statement is unknown (and can't be automated)."; + case NULL: return null; default: return "?"; } } @@ -586,9 +579,8 @@ public class SearchParameter extends CanonicalResource { switch (this) { case NORMAL: return "Normal"; case PHONETIC: return "Phonetic"; - case NEARBY: return "Nearby"; - case DISTANCE: return "Distance"; case OTHER: return "Other"; + case NULL: return null; default: return "?"; } } @@ -603,10 +595,6 @@ public class SearchParameter extends CanonicalResource { return XPathUsageType.NORMAL; if ("phonetic".equals(codeString)) return XPathUsageType.PHONETIC; - if ("nearby".equals(codeString)) - return XPathUsageType.NEARBY; - if ("distance".equals(codeString)) - return XPathUsageType.DISTANCE; if ("other".equals(codeString)) return XPathUsageType.OTHER; throw new IllegalArgumentException("Unknown XPathUsageType code '"+codeString+"'"); @@ -623,10 +611,6 @@ public class SearchParameter extends CanonicalResource { return new Enumeration(this, XPathUsageType.NORMAL); if ("phonetic".equals(codeString)) return new Enumeration(this, XPathUsageType.PHONETIC); - if ("nearby".equals(codeString)) - return new Enumeration(this, XPathUsageType.NEARBY); - if ("distance".equals(codeString)) - return new Enumeration(this, XPathUsageType.DISTANCE); if ("other".equals(codeString)) return new Enumeration(this, XPathUsageType.OTHER); throw new FHIRException("Unknown XPathUsageType code '"+codeString+"'"); @@ -636,10 +620,6 @@ public class SearchParameter extends CanonicalResource { return "normal"; if (code == XPathUsageType.PHONETIC) return "phonetic"; - if (code == XPathUsageType.NEARBY) - return "nearby"; - if (code == XPathUsageType.DISTANCE) - return "distance"; if (code == XPathUsageType.OTHER) return "other"; return "?"; @@ -922,17 +902,24 @@ public class SearchParameter extends CanonicalResource { @Description(shortDefinition="Name for this search parameter (computer friendly)", formalDefinition="A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation." ) protected StringType name; + /** + * A short, descriptive, user-friendly title for the search parameter. + */ + @Child(name = "title", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Name for this search parameter (human friendly)", formalDefinition="A short, descriptive, user-friendly title for the search parameter." ) + protected StringType title; + /** * Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter. */ - @Child(name = "derivedFrom", type = {CanonicalType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "derivedFrom", type = {CanonicalType.class}, order=4, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Original definition for the search parameter", formalDefinition="Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter." ) protected CanonicalType derivedFrom; /** * The status of this search parameter. Enables tracking the life-cycle of the content. */ - @Child(name = "status", type = {CodeType.class}, order=4, min=1, max=1, modifier=true, summary=true) + @Child(name = "status", type = {CodeType.class}, order=5, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="draft | active | retired | unknown", formalDefinition="The status of this search parameter. Enables tracking the life-cycle of the content." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected Enumeration status; @@ -940,49 +927,49 @@ public class SearchParameter extends CanonicalResource { /** * A Boolean value to indicate that this search parameter is 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=5, min=0, max=1, modifier=false, summary=true) + @Child(name = "experimental", type = {BooleanType.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="For testing purposes, not real usage", formalDefinition="A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ) protected BooleanType experimental; /** * The date (and optionally time) when the search parameter was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes. */ - @Child(name = "date", type = {DateTimeType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "date", type = {DateTimeType.class}, order=7, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the search parameter was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes." ) protected DateTimeType date; /** * The name of the organization or individual that published the search parameter. */ - @Child(name = "publisher", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Child(name = "publisher", type = {StringType.class}, order=8, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Name of the publisher (organization or individual)", formalDefinition="The name of the organization or individual that published the search parameter." ) protected StringType publisher; /** * Contact details to assist a user in finding and communicating with the publisher. */ - @Child(name = "contact", type = {ContactDetail.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "contact", type = {ContactDetail.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Contact details for the publisher", formalDefinition="Contact details to assist a user in finding and communicating with the publisher." ) protected List contact; /** * And how it used. */ - @Child(name = "description", type = {MarkdownType.class}, order=9, min=1, max=1, modifier=false, summary=true) + @Child(name = "description", type = {MarkdownType.class}, order=10, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Natural language description of the search parameter", formalDefinition="And how it used." ) protected MarkdownType description; /** * The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate search parameter instances. */ - @Child(name = "useContext", type = {UsageContext.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "useContext", type = {UsageContext.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The context that the content is intended to support", formalDefinition="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate search parameter instances." ) protected List useContext; /** * A legal or geographic region in which the search parameter is intended to be used. */ - @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Intended jurisdiction for search parameter (if applicable)", formalDefinition="A legal or geographic region in which the search parameter is intended to be used." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") protected List jurisdiction; @@ -990,21 +977,21 @@ public class SearchParameter extends CanonicalResource { /** * Explanation of why this search parameter is needed and why it has been designed as it has. */ - @Child(name = "purpose", type = {MarkdownType.class}, order=12, min=0, max=1, modifier=false, summary=false) + @Child(name = "purpose", type = {MarkdownType.class}, order=13, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Why this search parameter is defined", formalDefinition="Explanation of why this search parameter is needed and why it has been designed as it has." ) protected MarkdownType purpose; /** * The code used in the URL or the parameter name in a parameters resource for this search parameter. */ - @Child(name = "code", type = {CodeType.class}, order=13, min=1, max=1, modifier=false, summary=true) + @Child(name = "code", type = {CodeType.class}, order=14, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Code used in URL", formalDefinition="The code used in the URL or the parameter name in a parameters resource for this search parameter." ) protected CodeType code; /** * The base resource type(s) that this search parameter can be used against. */ - @Child(name = "base", type = {CodeType.class}, order=14, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "base", type = {CodeType.class}, order=15, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The resource type(s) this search parameter applies to", formalDefinition="The base resource type(s) that this search parameter can be used against." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types") protected List base; @@ -1012,7 +999,7 @@ public class SearchParameter extends CanonicalResource { /** * The type of value that a search parameter may contain, and how the content is interpreted. */ - @Child(name = "type", type = {CodeType.class}, order=15, min=1, max=1, modifier=false, summary=true) + @Child(name = "type", type = {CodeType.class}, order=16, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="number | date | string | token | reference | composite | quantity | uri | special", formalDefinition="The type of value that a search parameter may contain, and how the content is interpreted." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-param-type") protected Enumeration type; @@ -1020,29 +1007,29 @@ public class SearchParameter extends CanonicalResource { /** * A FHIRPath expression that returns a set of elements for the search parameter. */ - @Child(name = "expression", type = {StringType.class}, order=16, min=0, max=1, modifier=false, summary=false) + @Child(name = "expression", type = {StringType.class}, order=17, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="FHIRPath expression that extracts the values", formalDefinition="A FHIRPath expression that returns a set of elements for the search parameter." ) protected StringType expression; /** * An XPath expression that returns a set of elements for the search parameter. */ - @Child(name = "xpath", type = {StringType.class}, order=17, min=0, max=1, modifier=false, summary=false) + @Child(name = "xpath", type = {StringType.class}, order=18, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="XPath that extracts the values", formalDefinition="An XPath expression that returns a set of elements for the search parameter." ) protected StringType xpath; /** * How the search parameter relates to the set of elements returned by evaluating the xpath query. */ - @Child(name = "xpathUsage", type = {CodeType.class}, order=18, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="normal | phonetic | nearby | distance | other", formalDefinition="How the search parameter relates to the set of elements returned by evaluating the xpath query." ) + @Child(name = "xpathUsage", type = {CodeType.class}, order=19, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="normal | phonetic | other", formalDefinition="How the search parameter relates to the set of elements returned by evaluating the xpath query." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-xpath-usage") protected Enumeration xpathUsage; /** * Types of resource (if a resource is referenced). */ - @Child(name = "target", type = {CodeType.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "target", type = {CodeType.class}, order=20, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Types of resource (if a resource reference)", formalDefinition="Types of resource (if a resource is referenced)." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/resource-types") protected List target; @@ -1050,21 +1037,21 @@ public class SearchParameter extends CanonicalResource { /** * Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match. */ - @Child(name = "multipleOr", type = {BooleanType.class}, order=20, min=0, max=1, modifier=false, summary=false) + @Child(name = "multipleOr", type = {BooleanType.class}, order=21, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Allow multiple values per parameter (or)", formalDefinition="Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match." ) protected BooleanType multipleOr; /** * Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match. */ - @Child(name = "multipleAnd", type = {BooleanType.class}, order=21, min=0, max=1, modifier=false, summary=false) + @Child(name = "multipleAnd", type = {BooleanType.class}, order=22, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Allow multiple parameters (and)", formalDefinition="Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match." ) protected BooleanType multipleAnd; /** * Comparators supported for the search parameter. */ - @Child(name = "comparator", type = {CodeType.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "comparator", type = {CodeType.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="eq | ne | gt | lt | ge | le | sa | eb | ap", formalDefinition="Comparators supported for the search parameter." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-comparator") protected List> comparator; @@ -1072,7 +1059,7 @@ public class SearchParameter extends CanonicalResource { /** * A modifier supported for the search parameter. */ - @Child(name = "modifier", type = {CodeType.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "modifier", type = {CodeType.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="missing | exact | contains | not | text | in | not-in | below | above | type | identifier | ofType", formalDefinition="A modifier supported for the search parameter." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/search-modifier-code") protected List> modifier; @@ -1080,18 +1067,18 @@ public class SearchParameter extends CanonicalResource { /** * Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type. */ - @Child(name = "chain", type = {StringType.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "chain", type = {StringType.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Chained names supported", formalDefinition="Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type." ) protected List chain; /** * Used to define the parts of a composite search parameter. */ - @Child(name = "component", type = {}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "component", type = {}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="For Composite resources to define the parts", formalDefinition="Used to define the parts of a composite search parameter." ) protected List component; - private static final long serialVersionUID = -877703644L; + private static final long serialVersionUID = -1284509007L; /** * Constructor @@ -1253,6 +1240,55 @@ public class SearchParameter extends CanonicalResource { return this; } + /** + * @return {@link #title} (A short, descriptive, user-friendly title for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value + */ + public StringType getTitleElement() { + if (this.title == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SearchParameter.title"); + else if (Configuration.doAutoCreate()) + this.title = new StringType(); // bb + return this.title; + } + + public boolean hasTitleElement() { + return this.title != null && !this.title.isEmpty(); + } + + public boolean hasTitle() { + return this.title != null && !this.title.isEmpty(); + } + + /** + * @param value {@link #title} (A short, descriptive, user-friendly title for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value + */ + public SearchParameter setTitleElement(StringType value) { + this.title = value; + return this; + } + + /** + * @return A short, descriptive, user-friendly title for the search parameter. + */ + public String getTitle() { + return this.title == null ? null : this.title.getValue(); + } + + /** + * @param value A short, descriptive, user-friendly title for the search parameter. + */ + public SearchParameter setTitle(String value) { + if (Utilities.noString(value)) + this.title = null; + else { + if (this.title == null) + this.title = new StringType(); + this.title.setValue(value); + } + return this; + } + /** * @return {@link #derivedFrom} (Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.). This is the underlying object with id, value and extensions. The accessor "getDerivedFrom" gives direct access to the value */ @@ -2467,42 +2503,6 @@ public class SearchParameter extends CanonicalResource { * not supported on this implementation */ @Override - public int getTitleMax() { - return 0; - } - /** - * @return {@link #title} (A short, descriptive, user-friendly title for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value - */ - public StringType getTitleElement() { - throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\""); - } - - public boolean hasTitleElement() { - return false; - } - public boolean hasTitle() { - return false; - } - - /** - * @param value {@link #title} (A short, descriptive, user-friendly title for the search parameter.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value - */ - public SearchParameter setTitleElement(StringType value) { - throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\""); - } - public String getTitle() { - throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\""); - } - /** - * @param value A short, descriptive, user-friendly title for the search parameter. - */ - public SearchParameter setTitle(String value) { - throw new Error("The resource type \"SearchParameter\" does not implement the property \"title\""); - } - /** - * not supported on this implementation - */ - @Override public int getCopyrightMax() { return 0; } @@ -2540,6 +2540,7 @@ public class SearchParameter extends CanonicalResource { children.add(new Property("url", "uri", "An absolute URI that is used to identify this search parameter when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.", 0, 1, url)); children.add(new Property("version", "string", "The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version)); children.add(new Property("name", "string", "A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name)); + children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the search parameter.", 0, 1, title)); children.add(new Property("derivedFrom", "canonical(SearchParameter)", "Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.", 0, 1, derivedFrom)); children.add(new Property("status", "code", "The status of this search parameter. Enables tracking the life-cycle of the content.", 0, 1, status)); children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); @@ -2571,6 +2572,7 @@ public class SearchParameter extends CanonicalResource { case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this search parameter when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter is stored on different servers.", 0, 1, url); case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", 0, 1, version); case 3373707: /*name*/ return new Property("name", "string", "A natural language name identifying the search parameter. This name should be usable as an identifier for the module by machine processing applications such as code generation.", 0, 1, name); + case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the search parameter.", 0, 1, title); case 1077922663: /*derivedFrom*/ return new Property("derivedFrom", "canonical(SearchParameter)", "Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter.", 0, 1, derivedFrom); case -892481550: /*status*/ return new Property("status", "code", "The status of this search parameter. Enables tracking the life-cycle of the content.", 0, 1, status); case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); @@ -2605,6 +2607,7 @@ public class SearchParameter extends CanonicalResource { case 116079: /*url*/ return this.url == null ? new Base[0] : new Base[] {this.url}; // UriType case 351608024: /*version*/ return this.version == null ? new Base[0] : new Base[] {this.version}; // StringType case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType + case 110371416: /*title*/ return this.title == null ? new Base[0] : new Base[] {this.title}; // StringType case 1077922663: /*derivedFrom*/ return this.derivedFrom == null ? new Base[0] : new Base[] {this.derivedFrom}; // CanonicalType case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case -404562712: /*experimental*/ return this.experimental == null ? new Base[0] : new Base[] {this.experimental}; // BooleanType @@ -2645,6 +2648,9 @@ public class SearchParameter extends CanonicalResource { case 3373707: // name this.name = TypeConvertor.castToString(value); // StringType return value; + case 110371416: // title + this.title = TypeConvertor.castToString(value); // StringType + return value; case 1077922663: // derivedFrom this.derivedFrom = TypeConvertor.castToCanonical(value); // CanonicalType return value; @@ -2732,6 +2738,8 @@ public class SearchParameter extends CanonicalResource { this.version = TypeConvertor.castToString(value); // StringType } else if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType + } else if (name.equals("title")) { + this.title = TypeConvertor.castToString(value); // StringType } else if (name.equals("derivedFrom")) { this.derivedFrom = TypeConvertor.castToCanonical(value); // CanonicalType } else if (name.equals("status")) { @@ -2794,6 +2802,7 @@ public class SearchParameter extends CanonicalResource { case 116079: return getUrlElement(); case 351608024: return getVersionElement(); case 3373707: return getNameElement(); + case 110371416: return getTitleElement(); case 1077922663: return getDerivedFromElement(); case -892481550: return getStatusElement(); case -404562712: return getExperimentalElement(); @@ -2828,6 +2837,7 @@ public class SearchParameter extends CanonicalResource { case 116079: /*url*/ return new String[] {"uri"}; case 351608024: /*version*/ return new String[] {"string"}; case 3373707: /*name*/ return new String[] {"string"}; + case 110371416: /*title*/ return new String[] {"string"}; case 1077922663: /*derivedFrom*/ return new String[] {"canonical"}; case -892481550: /*status*/ return new String[] {"code"}; case -404562712: /*experimental*/ return new String[] {"boolean"}; @@ -2867,6 +2877,9 @@ public class SearchParameter extends CanonicalResource { else if (name.equals("name")) { throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.name"); } + else if (name.equals("title")) { + throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.title"); + } else if (name.equals("derivedFrom")) { throw new FHIRException("Cannot call addChild on a primitive type SearchParameter.derivedFrom"); } @@ -2956,6 +2969,7 @@ public class SearchParameter extends CanonicalResource { dst.url = url == null ? null : url.copy(); dst.version = version == null ? null : version.copy(); dst.name = name == null ? null : name.copy(); + dst.title = title == null ? null : title.copy(); dst.derivedFrom = derivedFrom == null ? null : derivedFrom.copy(); dst.status = status == null ? null : status.copy(); dst.experimental = experimental == null ? null : experimental.copy(); @@ -3029,9 +3043,9 @@ public class SearchParameter extends CanonicalResource { return false; SearchParameter o = (SearchParameter) other_; return compareDeep(url, o.url, true) && compareDeep(version, o.version, true) && compareDeep(name, o.name, true) - && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(status, o.status, true) && compareDeep(experimental, o.experimental, true) - && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) && compareDeep(contact, o.contact, true) - && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) + && compareDeep(title, o.title, true) && compareDeep(derivedFrom, o.derivedFrom, true) && compareDeep(status, o.status, true) + && compareDeep(experimental, o.experimental, true) && compareDeep(date, o.date, true) && compareDeep(publisher, o.publisher, true) + && compareDeep(contact, o.contact, true) && compareDeep(description, o.description, true) && compareDeep(useContext, o.useContext, true) && compareDeep(jurisdiction, o.jurisdiction, true) && compareDeep(purpose, o.purpose, true) && compareDeep(code, o.code, true) && compareDeep(base, o.base, true) && compareDeep(type, o.type, true) && compareDeep(expression, o.expression, true) && compareDeep(xpath, o.xpath, true) && compareDeep(xpathUsage, o.xpathUsage, true) && compareDeep(target, o.target, true) @@ -3048,20 +3062,21 @@ public class SearchParameter extends CanonicalResource { return false; SearchParameter o = (SearchParameter) other_; return compareValues(url, o.url, true) && compareValues(version, o.version, true) && compareValues(name, o.name, true) - && compareValues(derivedFrom, o.derivedFrom, true) && compareValues(status, o.status, true) && compareValues(experimental, o.experimental, true) - && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) && compareValues(description, o.description, true) - && compareValues(purpose, o.purpose, true) && compareValues(code, o.code, true) && compareValues(base, o.base, true) - && compareValues(type, o.type, true) && compareValues(expression, o.expression, true) && compareValues(xpath, o.xpath, true) - && compareValues(xpathUsage, o.xpathUsage, true) && compareValues(target, o.target, true) && compareValues(multipleOr, o.multipleOr, true) - && compareValues(multipleAnd, o.multipleAnd, true) && compareValues(comparator, o.comparator, true) - && compareValues(modifier, o.modifier, true) && compareValues(chain, o.chain, true); + && compareValues(title, o.title, true) && compareValues(derivedFrom, o.derivedFrom, true) && compareValues(status, o.status, true) + && compareValues(experimental, o.experimental, true) && compareValues(date, o.date, true) && compareValues(publisher, o.publisher, true) + && compareValues(description, o.description, true) && compareValues(purpose, o.purpose, true) && compareValues(code, o.code, true) + && compareValues(base, o.base, true) && compareValues(type, o.type, true) && compareValues(expression, o.expression, true) + && compareValues(xpath, o.xpath, true) && compareValues(xpathUsage, o.xpathUsage, true) && compareValues(target, o.target, true) + && compareValues(multipleOr, o.multipleOr, true) && compareValues(multipleAnd, o.multipleAnd, true) + && compareValues(comparator, o.comparator, true) && compareValues(modifier, o.modifier, true) && compareValues(chain, o.chain, true) + ; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, version, name, derivedFrom - , status, experimental, date, publisher, contact, description, useContext, jurisdiction - , purpose, code, base, type, expression, xpath, xpathUsage, target, multipleOr - , multipleAnd, comparator, modifier, chain, component); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(url, version, name, title + , derivedFrom, status, experimental, date, publisher, contact, description, useContext + , jurisdiction, purpose, code, base, type, expression, xpath, xpathUsage, target + , multipleOr, multipleAnd, comparator, modifier, chain, component); } @Override @@ -3069,812 +3084,6 @@ public class SearchParameter extends CanonicalResource { return ResourceType.SearchParameter; } - /** - * Search parameter: base - *

- * Description: The resource type(s) this search parameter applies to
- * Type: token
- * Path: SearchParameter.base
- *

- */ - @SearchParamDefinition(name="base", path="SearchParameter.base", description="The resource type(s) this search parameter applies to", type="token" ) - public static final String SP_BASE = "base"; - /** - * Fluent Client search parameter constant for base - *

- * Description: The resource type(s) this search parameter applies to
- * Type: token
- * Path: SearchParameter.base
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BASE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BASE); - - /** - * Search parameter: code - *

- * Description: Code used in URL
- * Type: token
- * Path: SearchParameter.code
- *

- */ - @SearchParamDefinition(name="code", path="SearchParameter.code", description="Code used in URL", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Code used in URL
- * Type: token
- * Path: SearchParameter.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: component - *

- * Description: Defines how the part works
- * Type: reference
- * Path: SearchParameter.component.definition
- *

- */ - @SearchParamDefinition(name="component", path="SearchParameter.component.definition", description="Defines how the part works", type="reference", target={SearchParameter.class } ) - public static final String SP_COMPONENT = "component"; - /** - * Fluent Client search parameter constant for component - *

- * Description: Defines how the part works
- * Type: reference
- * Path: SearchParameter.component.definition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COMPONENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COMPONENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SearchParameter:component". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COMPONENT = new ca.uhn.fhir.model.api.Include("SearchParameter:component").toLocked(); - - /** - * Search parameter: derived-from - *

- * Description: Original definition for the search parameter
- * Type: reference
- * Path: SearchParameter.derivedFrom
- *

- */ - @SearchParamDefinition(name="derived-from", path="SearchParameter.derivedFrom", description="Original definition for the search parameter", type="reference", target={SearchParameter.class } ) - public static final String SP_DERIVED_FROM = "derived-from"; - /** - * Fluent Client search parameter constant for derived-from - *

- * Description: Original definition for the search parameter
- * Type: reference
- * Path: SearchParameter.derivedFrom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_DERIVED_FROM); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SearchParameter:derived-from". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM = new ca.uhn.fhir.model.api.Include("SearchParameter:derived-from").toLocked(); - - /** - * Search parameter: target - *

- * Description: Types of resource (if a resource reference)
- * Type: token
- * Path: SearchParameter.target
- *

- */ - @SearchParamDefinition(name="target", path="SearchParameter.target", description="Types of resource (if a resource reference)", type="token" ) - public static final String SP_TARGET = "target"; - /** - * Fluent Client search parameter constant for target - *

- * Description: Types of resource (if a resource reference)
- * Type: token
- * Path: SearchParameter.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TARGET = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TARGET); - - /** - * Search parameter: type - *

- * Description: number | date | string | token | reference | composite | quantity | uri | special
- * Type: token
- * Path: SearchParameter.type
- *

- */ - @SearchParamDefinition(name="type", path="SearchParameter.type", description="number | date | string | token | reference | composite | quantity | uri | special", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: number | date | string | token | reference | composite | quantity | uri | special
- * Type: token
- * Path: SearchParameter.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public boolean supportsCopyright() { return false; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ServiceRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ServiceRequest.java index 8357936d1..d8c0a84ae 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ServiceRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ServiceRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -164,24 +164,31 @@ public class ServiceRequest extends DomainResource { @Description(shortDefinition="Individual or Entity the service is ordered for", formalDefinition="On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)." ) protected Reference subject; + /** + * The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition, an intervention, the subject's diet, another service request on the subject, or a body structure such as tumor or implanted device. + */ + @Child(name = "focus", type = {Reference.class}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="What the service request is about, when it is not about the subject of record", formalDefinition="The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition, an intervention, the subject's diet, another service request on the subject, or a body structure such as tumor or implanted device." ) + protected List focus; + /** * An encounter that provides additional information about the healthcare context in which this request is made. */ - @Child(name = "encounter", type = {Encounter.class}, order=15, min=0, max=1, modifier=false, summary=true) + @Child(name = "encounter", type = {Encounter.class}, order=16, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Encounter in which the request was created", formalDefinition="An encounter that provides additional information about the healthcare context in which this request is made." ) protected Reference encounter; /** * The date/time at which the requested service should occur. */ - @Child(name = "occurrence", type = {DateTimeType.class, Period.class, Timing.class}, order=16, min=0, max=1, modifier=false, summary=true) + @Child(name = "occurrence", type = {DateTimeType.class, Period.class, Timing.class}, order=17, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="When service should occur", formalDefinition="The date/time at which the requested service should occur." ) protected DataType occurrence; /** * If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc. */ - @Child(name = "asNeeded", type = {BooleanType.class, CodeableConcept.class}, order=17, min=0, max=1, modifier=false, summary=true) + @Child(name = "asNeeded", type = {BooleanType.class, CodeableConcept.class}, order=18, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Preconditions for service", formalDefinition="If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example \"pain\", \"on flare-up\", etc." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medication-as-needed-reason") protected DataType asNeeded; @@ -189,21 +196,21 @@ public class ServiceRequest extends DomainResource { /** * When the request transitioned to being actionable. */ - @Child(name = "authoredOn", type = {DateTimeType.class}, order=18, min=0, max=1, modifier=false, summary=true) + @Child(name = "authoredOn", type = {DateTimeType.class}, order=19, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Date request signed", formalDefinition="When the request transitioned to being actionable." ) protected DateTimeType authoredOn; /** * The individual who initiated the request and has responsibility for its activation. */ - @Child(name = "requester", type = {Practitioner.class, PractitionerRole.class, Organization.class, Patient.class, RelatedPerson.class, Device.class}, order=19, min=0, max=1, modifier=false, summary=true) + @Child(name = "requester", type = {Practitioner.class, PractitionerRole.class, Organization.class, Patient.class, RelatedPerson.class, Device.class}, order=20, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who/what is requesting service", formalDefinition="The individual who initiated the request and has responsibility for its activation." ) protected Reference requester; /** * Desired type of performer for doing the requested service. */ - @Child(name = "performerType", type = {CodeableConcept.class}, order=20, min=0, max=1, modifier=false, summary=true) + @Child(name = "performerType", type = {CodeableConcept.class}, order=21, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Performer role", formalDefinition="Desired type of performer for doing the requested service." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/participant-role") protected CodeableConcept performerType; @@ -211,14 +218,14 @@ public class ServiceRequest extends DomainResource { /** * The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc. */ - @Child(name = "performer", type = {Practitioner.class, PractitionerRole.class, Organization.class, CareTeam.class, HealthcareService.class, Patient.class, Device.class, RelatedPerson.class}, order=21, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "performer", type = {Practitioner.class, PractitionerRole.class, Organization.class, CareTeam.class, HealthcareService.class, Patient.class, Device.class, RelatedPerson.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Requested performer", formalDefinition="The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc." ) protected List performer; /** * The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center. */ - @Child(name = "location", type = {CodeableReference.class}, order=22, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "location", type = {CodeableReference.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Requested location", formalDefinition="The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType") protected List location; @@ -226,7 +233,7 @@ public class ServiceRequest extends DomainResource { /** * An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`. */ - @Child(name = "reason", type = {CodeableReference.class}, order=23, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "reason", type = {CodeableReference.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Explanation/Justification for procedure or service", formalDefinition="An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/procedure-reason") protected List reason; @@ -234,54 +241,61 @@ public class ServiceRequest extends DomainResource { /** * Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service. */ - @Child(name = "insurance", type = {Coverage.class, ClaimResponse.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "insurance", type = {Coverage.class, ClaimResponse.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Associated insurance coverage", formalDefinition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service." ) protected List insurance; /** * Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements. */ - @Child(name = "supportingInfo", type = {Reference.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "supportingInfo", type = {Reference.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Additional clinical information", formalDefinition="Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as \"ask at order entry questions (AOEs)\". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements." ) protected List supportingInfo; /** * One or more specimens that the laboratory procedure will use. */ - @Child(name = "specimen", type = {Specimen.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "specimen", type = {Specimen.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Procedure Samples", formalDefinition="One or more specimens that the laboratory procedure will use." ) protected List specimen; /** * Anatomic location where the procedure should be performed. This is the target site. */ - @Child(name = "bodySite", type = {CodeableConcept.class}, order=27, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Location on Body", formalDefinition="Anatomic location where the procedure should be performed. This is the target site." ) + @Child(name = "bodySite", type = {CodeableConcept.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Coded location on Body", formalDefinition="Anatomic location where the procedure should be performed. This is the target site." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") protected List bodySite; + /** + * Anatomic location where the procedure should be performed. This is the target site. + */ + @Child(name = "bodyStructure", type = {BodyStructure.class}, order=29, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="BodyStructure-based location on the body", formalDefinition="Anatomic location where the procedure should be performed. This is the target site." ) + protected Reference bodyStructure; + /** * Any other notes and comments made about the service request. For example, internal billing notes. */ - @Child(name = "note", type = {Annotation.class}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=30, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Comments", formalDefinition="Any other notes and comments made about the service request. For example, internal billing notes." ) protected List note; /** * Instructions in terms that are understood by the patient or consumer. */ - @Child(name = "patientInstruction", type = {StringType.class}, order=29, min=0, max=1, modifier=false, summary=true) + @Child(name = "patientInstruction", type = {StringType.class}, order=31, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Patient or consumer-oriented instructions", formalDefinition="Instructions in terms that are understood by the patient or consumer." ) protected StringType patientInstruction; /** * Key events in the history of the request. */ - @Child(name = "relevantHistory", type = {Provenance.class}, order=30, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "relevantHistory", type = {Provenance.class}, order=32, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Request provenance", formalDefinition="Key events in the history of the request." ) protected List relevantHistory; - private static final long serialVersionUID = -578395935L; + private static final long serialVersionUID = 475754062L; /** * Constructor @@ -1009,6 +1023,59 @@ public class ServiceRequest extends DomainResource { return this; } + /** + * @return {@link #focus} (The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition, an intervention, the subject's diet, another service request on the subject, or a body structure such as tumor or implanted device.) + */ + public List getFocus() { + if (this.focus == null) + this.focus = new ArrayList(); + return this.focus; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public ServiceRequest setFocus(List theFocus) { + this.focus = theFocus; + return this; + } + + public boolean hasFocus() { + if (this.focus == null) + return false; + for (Reference item : this.focus) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addFocus() { //3 + Reference t = new Reference(); + if (this.focus == null) + this.focus = new ArrayList(); + this.focus.add(t); + return t; + } + + public ServiceRequest addFocus(Reference t) { //3 + if (t == null) + return this; + if (this.focus == null) + this.focus = new ArrayList(); + this.focus.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #focus}, creating it if it does not already exist {3} + */ + public Reference getFocusFirstRep() { + if (getFocus().isEmpty()) { + addFocus(); + } + return getFocus().get(0); + } + /** * @return {@link #encounter} (An encounter that provides additional information about the healthcare context in which this request is made.) */ @@ -1618,6 +1685,30 @@ public class ServiceRequest extends DomainResource { return getBodySite().get(0); } + /** + * @return {@link #bodyStructure} (Anatomic location where the procedure should be performed. This is the target site.) + */ + public Reference getBodyStructure() { + if (this.bodyStructure == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ServiceRequest.bodyStructure"); + else if (Configuration.doAutoCreate()) + this.bodyStructure = new Reference(); // cc + return this.bodyStructure; + } + + public boolean hasBodyStructure() { + return this.bodyStructure != null && !this.bodyStructure.isEmpty(); + } + + /** + * @param value {@link #bodyStructure} (Anatomic location where the procedure should be performed. This is the target site.) + */ + public ServiceRequest setBodyStructure(Reference value) { + this.bodyStructure = value; + return this; + } + /** * @return {@link #note} (Any other notes and comments made about the service request. For example, internal billing notes.) */ @@ -1790,6 +1881,7 @@ public class ServiceRequest extends DomainResource { children.add(new Property("orderDetail", "CodeableConcept", "Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.", 0, java.lang.Integer.MAX_VALUE, orderDetail)); children.add(new Property("quantity[x]", "Quantity|Ratio|Range", "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", 0, 1, quantity)); children.add(new Property("subject", "Reference(Patient|Group|Location|Device)", "On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).", 0, 1, subject)); + children.add(new Property("focus", "Reference(Any)", "The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition, an intervention, the subject's diet, another service request on the subject, or a body structure such as tumor or implanted device.", 0, java.lang.Integer.MAX_VALUE, focus)); children.add(new Property("encounter", "Reference(Encounter)", "An encounter that provides additional information about the healthcare context in which this request is made.", 0, 1, encounter)); children.add(new Property("occurrence[x]", "dateTime|Period|Timing", "The date/time at which the requested service should occur.", 0, 1, occurrence)); children.add(new Property("asNeeded[x]", "boolean|CodeableConcept", "If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example \"pain\", \"on flare-up\", etc.", 0, 1, asNeeded)); @@ -1803,6 +1895,7 @@ public class ServiceRequest extends DomainResource { children.add(new Property("supportingInfo", "Reference(Any)", "Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as \"ask at order entry questions (AOEs)\". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.", 0, java.lang.Integer.MAX_VALUE, supportingInfo)); children.add(new Property("specimen", "Reference(Specimen)", "One or more specimens that the laboratory procedure will use.", 0, java.lang.Integer.MAX_VALUE, specimen)); children.add(new Property("bodySite", "CodeableConcept", "Anatomic location where the procedure should be performed. This is the target site.", 0, java.lang.Integer.MAX_VALUE, bodySite)); + children.add(new Property("bodyStructure", "Reference(BodyStructure)", "Anatomic location where the procedure should be performed. This is the target site.", 0, 1, bodyStructure)); children.add(new Property("note", "Annotation", "Any other notes and comments made about the service request. For example, internal billing notes.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("patientInstruction", "string", "Instructions in terms that are understood by the patient or consumer.", 0, 1, patientInstruction)); children.add(new Property("relevantHistory", "Reference(Provenance)", "Key events in the history of the request.", 0, java.lang.Integer.MAX_VALUE, relevantHistory)); @@ -1830,6 +1923,7 @@ public class ServiceRequest extends DomainResource { case -1004987840: /*quantityRatio*/ return new Property("quantity[x]", "Ratio", "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", 0, 1, quantity); case -1004993678: /*quantityRange*/ return new Property("quantity[x]", "Range", "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", 0, 1, quantity); case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Location|Device)", "On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).", 0, 1, subject); + case 97604824: /*focus*/ return new Property("focus", "Reference(Any)", "The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition, an intervention, the subject's diet, another service request on the subject, or a body structure such as tumor or implanted device.", 0, java.lang.Integer.MAX_VALUE, focus); case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "An encounter that provides additional information about the healthcare context in which this request is made.", 0, 1, encounter); case -2022646513: /*occurrence[x]*/ return new Property("occurrence[x]", "dateTime|Period|Timing", "The date/time at which the requested service should occur.", 0, 1, occurrence); case 1687874001: /*occurrence*/ return new Property("occurrence[x]", "dateTime|Period|Timing", "The date/time at which the requested service should occur.", 0, 1, occurrence); @@ -1850,6 +1944,7 @@ public class ServiceRequest extends DomainResource { case 1922406657: /*supportingInfo*/ return new Property("supportingInfo", "Reference(Any)", "Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as \"ask at order entry questions (AOEs)\". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.", 0, java.lang.Integer.MAX_VALUE, supportingInfo); case -2132868344: /*specimen*/ return new Property("specimen", "Reference(Specimen)", "One or more specimens that the laboratory procedure will use.", 0, java.lang.Integer.MAX_VALUE, specimen); case 1702620169: /*bodySite*/ return new Property("bodySite", "CodeableConcept", "Anatomic location where the procedure should be performed. This is the target site.", 0, java.lang.Integer.MAX_VALUE, bodySite); + case -1001731599: /*bodyStructure*/ return new Property("bodyStructure", "Reference(BodyStructure)", "Anatomic location where the procedure should be performed. This is the target site.", 0, 1, bodyStructure); case 3387378: /*note*/ return new Property("note", "Annotation", "Any other notes and comments made about the service request. For example, internal billing notes.", 0, java.lang.Integer.MAX_VALUE, note); case 737543241: /*patientInstruction*/ return new Property("patientInstruction", "string", "Instructions in terms that are understood by the patient or consumer.", 0, 1, patientInstruction); case 1538891575: /*relevantHistory*/ return new Property("relevantHistory", "Reference(Provenance)", "Key events in the history of the request.", 0, java.lang.Integer.MAX_VALUE, relevantHistory); @@ -1876,6 +1971,7 @@ public class ServiceRequest extends DomainResource { case 1187338559: /*orderDetail*/ return this.orderDetail == null ? new Base[0] : this.orderDetail.toArray(new Base[this.orderDetail.size()]); // CodeableConcept case -1285004149: /*quantity*/ return this.quantity == null ? new Base[0] : new Base[] {this.quantity}; // DataType case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference + case 97604824: /*focus*/ return this.focus == null ? new Base[0] : this.focus.toArray(new Base[this.focus.size()]); // Reference case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference case 1687874001: /*occurrence*/ return this.occurrence == null ? new Base[0] : new Base[] {this.occurrence}; // DataType case -1432923513: /*asNeeded*/ return this.asNeeded == null ? new Base[0] : new Base[] {this.asNeeded}; // DataType @@ -1889,6 +1985,7 @@ public class ServiceRequest extends DomainResource { case 1922406657: /*supportingInfo*/ return this.supportingInfo == null ? new Base[0] : this.supportingInfo.toArray(new Base[this.supportingInfo.size()]); // Reference case -2132868344: /*specimen*/ return this.specimen == null ? new Base[0] : this.specimen.toArray(new Base[this.specimen.size()]); // Reference case 1702620169: /*bodySite*/ return this.bodySite == null ? new Base[0] : this.bodySite.toArray(new Base[this.bodySite.size()]); // CodeableConcept + case -1001731599: /*bodyStructure*/ return this.bodyStructure == null ? new Base[0] : new Base[] {this.bodyStructure}; // Reference case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation case 737543241: /*patientInstruction*/ return this.patientInstruction == null ? new Base[0] : new Base[] {this.patientInstruction}; // StringType case 1538891575: /*relevantHistory*/ return this.relevantHistory == null ? new Base[0] : this.relevantHistory.toArray(new Base[this.relevantHistory.size()]); // Reference @@ -1948,6 +2045,9 @@ public class ServiceRequest extends DomainResource { case -1867885268: // subject this.subject = TypeConvertor.castToReference(value); // Reference return value; + case 97604824: // focus + this.getFocus().add(TypeConvertor.castToReference(value)); // Reference + return value; case 1524132147: // encounter this.encounter = TypeConvertor.castToReference(value); // Reference return value; @@ -1987,6 +2087,9 @@ public class ServiceRequest extends DomainResource { case 1702620169: // bodySite this.getBodySite().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; + case -1001731599: // bodyStructure + this.bodyStructure = TypeConvertor.castToReference(value); // Reference + return value; case 3387378: // note this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation return value; @@ -2036,6 +2139,8 @@ public class ServiceRequest extends DomainResource { this.quantity = TypeConvertor.castToType(value); // DataType } else if (name.equals("subject")) { this.subject = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("focus")) { + this.getFocus().add(TypeConvertor.castToReference(value)); } else if (name.equals("encounter")) { this.encounter = TypeConvertor.castToReference(value); // Reference } else if (name.equals("occurrence[x]")) { @@ -2062,6 +2167,8 @@ public class ServiceRequest extends DomainResource { this.getSpecimen().add(TypeConvertor.castToReference(value)); } else if (name.equals("bodySite")) { this.getBodySite().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("bodyStructure")) { + this.bodyStructure = TypeConvertor.castToReference(value); // Reference } else if (name.equals("note")) { this.getNote().add(TypeConvertor.castToAnnotation(value)); } else if (name.equals("patientInstruction")) { @@ -2092,6 +2199,7 @@ public class ServiceRequest extends DomainResource { case -515002347: return getQuantity(); case -1285004149: return getQuantity(); case -1867885268: return getSubject(); + case 97604824: return addFocus(); case 1524132147: return getEncounter(); case -2022646513: return getOccurrence(); case 1687874001: return getOccurrence(); @@ -2107,6 +2215,7 @@ public class ServiceRequest extends DomainResource { case 1922406657: return addSupportingInfo(); case -2132868344: return addSpecimen(); case 1702620169: return addBodySite(); + case -1001731599: return getBodyStructure(); case 3387378: return addNote(); case 737543241: return getPatientInstructionElement(); case 1538891575: return addRelevantHistory(); @@ -2133,6 +2242,7 @@ public class ServiceRequest extends DomainResource { case 1187338559: /*orderDetail*/ return new String[] {"CodeableConcept"}; case -1285004149: /*quantity*/ return new String[] {"Quantity", "Ratio", "Range"}; case -1867885268: /*subject*/ return new String[] {"Reference"}; + case 97604824: /*focus*/ return new String[] {"Reference"}; case 1524132147: /*encounter*/ return new String[] {"Reference"}; case 1687874001: /*occurrence*/ return new String[] {"dateTime", "Period", "Timing"}; case -1432923513: /*asNeeded*/ return new String[] {"boolean", "CodeableConcept"}; @@ -2146,6 +2256,7 @@ public class ServiceRequest extends DomainResource { case 1922406657: /*supportingInfo*/ return new String[] {"Reference"}; case -2132868344: /*specimen*/ return new String[] {"Reference"}; case 1702620169: /*bodySite*/ return new String[] {"CodeableConcept"}; + case -1001731599: /*bodyStructure*/ return new String[] {"Reference"}; case 3387378: /*note*/ return new String[] {"Annotation"}; case 737543241: /*patientInstruction*/ return new String[] {"string"}; case 1538891575: /*relevantHistory*/ return new String[] {"Reference"}; @@ -2213,6 +2324,9 @@ public class ServiceRequest extends DomainResource { this.subject = new Reference(); return this.subject; } + else if (name.equals("focus")) { + return addFocus(); + } else if (name.equals("encounter")) { this.encounter = new Reference(); return this.encounter; @@ -2269,6 +2383,10 @@ public class ServiceRequest extends DomainResource { else if (name.equals("bodySite")) { return addBodySite(); } + else if (name.equals("bodyStructure")) { + this.bodyStructure = new Reference(); + return this.bodyStructure; + } else if (name.equals("note")) { return addNote(); } @@ -2338,6 +2456,11 @@ public class ServiceRequest extends DomainResource { }; dst.quantity = quantity == null ? null : quantity.copy(); dst.subject = subject == null ? null : subject.copy(); + if (focus != null) { + dst.focus = new ArrayList(); + for (Reference i : focus) + dst.focus.add(i.copy()); + }; dst.encounter = encounter == null ? null : encounter.copy(); dst.occurrence = occurrence == null ? null : occurrence.copy(); dst.asNeeded = asNeeded == null ? null : asNeeded.copy(); @@ -2379,6 +2502,7 @@ public class ServiceRequest extends DomainResource { for (CodeableConcept i : bodySite) dst.bodySite.add(i.copy()); }; + dst.bodyStructure = bodyStructure == null ? null : bodyStructure.copy(); if (note != null) { dst.note = new ArrayList(); for (Annotation i : note) @@ -2408,14 +2532,14 @@ public class ServiceRequest extends DomainResource { && compareDeep(replaces, o.replaces, true) && compareDeep(requisition, o.requisition, true) && compareDeep(status, o.status, true) && compareDeep(intent, o.intent, true) && compareDeep(category, o.category, true) && compareDeep(priority, o.priority, true) && compareDeep(doNotPerform, o.doNotPerform, true) && compareDeep(code, o.code, true) && compareDeep(orderDetail, o.orderDetail, true) - && compareDeep(quantity, o.quantity, true) && compareDeep(subject, o.subject, true) && compareDeep(encounter, o.encounter, true) - && compareDeep(occurrence, o.occurrence, true) && compareDeep(asNeeded, o.asNeeded, true) && compareDeep(authoredOn, o.authoredOn, true) - && compareDeep(requester, o.requester, true) && compareDeep(performerType, o.performerType, true) + && compareDeep(quantity, o.quantity, true) && compareDeep(subject, o.subject, true) && compareDeep(focus, o.focus, true) + && compareDeep(encounter, o.encounter, true) && compareDeep(occurrence, o.occurrence, true) && compareDeep(asNeeded, o.asNeeded, true) + && compareDeep(authoredOn, o.authoredOn, true) && compareDeep(requester, o.requester, true) && compareDeep(performerType, o.performerType, true) && compareDeep(performer, o.performer, true) && compareDeep(location, o.location, true) && compareDeep(reason, o.reason, true) && compareDeep(insurance, o.insurance, true) && compareDeep(supportingInfo, o.supportingInfo, true) - && compareDeep(specimen, o.specimen, true) && compareDeep(bodySite, o.bodySite, true) && compareDeep(note, o.note, true) - && compareDeep(patientInstruction, o.patientInstruction, true) && compareDeep(relevantHistory, o.relevantHistory, true) - ; + && compareDeep(specimen, o.specimen, true) && compareDeep(bodySite, o.bodySite, true) && compareDeep(bodyStructure, o.bodyStructure, true) + && compareDeep(note, o.note, true) && compareDeep(patientInstruction, o.patientInstruction, true) + && compareDeep(relevantHistory, o.relevantHistory, true); } @Override @@ -2434,10 +2558,10 @@ public class ServiceRequest extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiatesCanonical , instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority - , doNotPerform, code, orderDetail, quantity, subject, encounter, occurrence, asNeeded - , authoredOn, requester, performerType, performer, location, reason, insurance - , supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory - ); + , doNotPerform, code, orderDetail, quantity, subject, focus, encounter, occurrence + , asNeeded, authoredOn, requester, performerType, performer, location, reason + , insurance, supportingInfo, specimen, bodySite, bodyStructure, note, patientInstruction + , relevantHistory); } @Override @@ -2445,672 +2569,6 @@ public class ServiceRequest extends DomainResource { return ResourceType.ServiceRequest; } - /** - * Search parameter: authored - *

- * Description: Date request signed
- * Type: date
- * Path: ServiceRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="authored", path="ServiceRequest.authoredOn", description="Date request signed", type="date" ) - public static final String SP_AUTHORED = "authored"; - /** - * Fluent Client search parameter constant for authored - *

- * Description: Date request signed
- * Type: date
- * Path: ServiceRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHORED); - - /** - * Search parameter: based-on - *

- * Description: What request fulfills
- * Type: reference
- * Path: ServiceRequest.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="ServiceRequest.basedOn", description="What request fulfills", type="reference", target={CarePlan.class, MedicationRequest.class, ServiceRequest.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: What request fulfills
- * Type: reference
- * Path: ServiceRequest.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("ServiceRequest:based-on").toLocked(); - - /** - * Search parameter: body-site - *

- * Description: Where procedure is going to be done
- * Type: token
- * Path: ServiceRequest.bodySite
- *

- */ - @SearchParamDefinition(name="body-site", path="ServiceRequest.bodySite", description="Where procedure is going to be done", type="token" ) - public static final String SP_BODY_SITE = "body-site"; - /** - * Fluent Client search parameter constant for body-site - *

- * Description: Where procedure is going to be done
- * Type: token
- * Path: ServiceRequest.bodySite
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BODY_SITE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BODY_SITE); - - /** - * Search parameter: category - *

- * Description: Classification of service
- * Type: token
- * Path: ServiceRequest.category
- *

- */ - @SearchParamDefinition(name="category", path="ServiceRequest.category", description="Classification of service", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: Classification of service
- * Type: token
- * Path: ServiceRequest.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: ServiceRequest.instantiatesCanonical
- *

- */ - @SearchParamDefinition(name="instantiates-canonical", path="ServiceRequest.instantiatesCanonical", description="Instantiates FHIR protocol or definition", type="reference", target={ActivityDefinition.class, PlanDefinition.class } ) - public static final String SP_INSTANTIATES_CANONICAL = "instantiates-canonical"; - /** - * Fluent Client search parameter constant for instantiates-canonical - *

- * Description: Instantiates FHIR protocol or definition
- * Type: reference
- * Path: ServiceRequest.instantiatesCanonical
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_INSTANTIATES_CANONICAL); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:instantiates-canonical". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL = new ca.uhn.fhir.model.api.Include("ServiceRequest:instantiates-canonical").toLocked(); - - /** - * Search parameter: instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: ServiceRequest.instantiatesUri
- *

- */ - @SearchParamDefinition(name="instantiates-uri", path="ServiceRequest.instantiatesUri", description="Instantiates external protocol or definition", type="uri" ) - public static final String SP_INSTANTIATES_URI = "instantiates-uri"; - /** - * Fluent Client search parameter constant for instantiates-uri - *

- * Description: Instantiates external protocol or definition
- * Type: uri
- * Path: ServiceRequest.instantiatesUri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_INSTANTIATES_URI); - - /** - * Search parameter: intent - *

- * Description: proposal | plan | directive | order +
- * Type: token
- * Path: ServiceRequest.intent
- *

- */ - @SearchParamDefinition(name="intent", path="ServiceRequest.intent", description="proposal | plan | directive | order +", type="token" ) - public static final String SP_INTENT = "intent"; - /** - * Fluent Client search parameter constant for intent - *

- * Description: proposal | plan | directive | order +
- * Type: token
- * Path: ServiceRequest.intent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENT); - - /** - * Search parameter: occurrence - *

- * Description: When service should occur
- * Type: date
- * Path: ServiceRequest.occurrence
- *

- */ - @SearchParamDefinition(name="occurrence", path="ServiceRequest.occurrence", description="When service should occur", type="date" ) - public static final String SP_OCCURRENCE = "occurrence"; - /** - * Fluent Client search parameter constant for occurrence - *

- * Description: When service should occur
- * Type: date
- * Path: ServiceRequest.occurrence
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam OCCURRENCE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_OCCURRENCE); - - /** - * Search parameter: performer-type - *

- * Description: Performer role
- * Type: token
- * Path: ServiceRequest.performerType
- *

- */ - @SearchParamDefinition(name="performer-type", path="ServiceRequest.performerType", description="Performer role", type="token" ) - public static final String SP_PERFORMER_TYPE = "performer-type"; - /** - * Fluent Client search parameter constant for performer-type - *

- * Description: Performer role
- * Type: token
- * Path: ServiceRequest.performerType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PERFORMER_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PERFORMER_TYPE); - - /** - * Search parameter: performer - *

- * Description: Requested performer
- * Type: reference
- * Path: ServiceRequest.performer
- *

- */ - @SearchParamDefinition(name="performer", path="ServiceRequest.performer", description="Requested performer", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Requested performer
- * Type: reference
- * Path: ServiceRequest.performer
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PERFORMER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:performer". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER = new ca.uhn.fhir.model.api.Include("ServiceRequest:performer").toLocked(); - - /** - * Search parameter: priority - *

- * Description: routine | urgent | asap | stat
- * Type: token
- * Path: ServiceRequest.priority
- *

- */ - @SearchParamDefinition(name="priority", path="ServiceRequest.priority", description="routine | urgent | asap | stat", type="token" ) - public static final String SP_PRIORITY = "priority"; - /** - * Fluent Client search parameter constant for priority - *

- * Description: routine | urgent | asap | stat
- * Type: token
- * Path: ServiceRequest.priority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRIORITY); - - /** - * Search parameter: replaces - *

- * Description: What request replaces
- * Type: reference
- * Path: ServiceRequest.replaces
- *

- */ - @SearchParamDefinition(name="replaces", path="ServiceRequest.replaces", description="What request replaces", type="reference", target={ServiceRequest.class } ) - public static final String SP_REPLACES = "replaces"; - /** - * Fluent Client search parameter constant for replaces - *

- * Description: What request replaces
- * Type: reference
- * Path: ServiceRequest.replaces
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPLACES = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REPLACES); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:replaces". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REPLACES = new ca.uhn.fhir.model.api.Include("ServiceRequest:replaces").toLocked(); - - /** - * Search parameter: requester - *

- * Description: Who/what is requesting service
- * Type: reference
- * Path: ServiceRequest.requester
- *

- */ - @SearchParamDefinition(name="requester", path="ServiceRequest.requester", description="Who/what is requesting service", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_REQUESTER = "requester"; - /** - * Fluent Client search parameter constant for requester - *

- * Description: Who/what is requesting service
- * Type: reference
- * Path: ServiceRequest.requester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:requester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER = new ca.uhn.fhir.model.api.Include("ServiceRequest:requester").toLocked(); - - /** - * Search parameter: requisition - *

- * Description: Composite Request ID
- * Type: token
- * Path: ServiceRequest.requisition
- *

- */ - @SearchParamDefinition(name="requisition", path="ServiceRequest.requisition", description="Composite Request ID", type="token" ) - public static final String SP_REQUISITION = "requisition"; - /** - * Fluent Client search parameter constant for requisition - *

- * Description: Composite Request ID
- * Type: token
- * Path: ServiceRequest.requisition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam REQUISITION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_REQUISITION); - - /** - * Search parameter: specimen - *

- * Description: Specimen to be tested
- * Type: reference
- * Path: ServiceRequest.specimen
- *

- */ - @SearchParamDefinition(name="specimen", path="ServiceRequest.specimen", description="Specimen to be tested", type="reference", target={Specimen.class } ) - public static final String SP_SPECIMEN = "specimen"; - /** - * Fluent Client search parameter constant for specimen - *

- * Description: Specimen to be tested
- * Type: reference
- * Path: ServiceRequest.specimen
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SPECIMEN = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SPECIMEN); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:specimen". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SPECIMEN = new ca.uhn.fhir.model.api.Include("ServiceRequest:specimen").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
- * Type: token
- * Path: ServiceRequest.status
- *

- */ - @SearchParamDefinition(name="status", path="ServiceRequest.status", description="draft | active | on-hold | revoked | completed | entered-in-error | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
- * Type: token
- * Path: ServiceRequest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Search by subject
- * Type: reference
- * Path: ServiceRequest.subject
- *

- */ - @SearchParamDefinition(name="subject", path="ServiceRequest.subject", description="Search by subject", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Device.class, Group.class, Location.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Search by subject
- * Type: reference
- * Path: ServiceRequest.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("ServiceRequest:subject").toLocked(); - - /** - * Search parameter: code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - @SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance -* [Condition](condition.html): Code for the condition -* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered -* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result -* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code -* [List](list.html): What the purpose of this list is -* [Medication](medication.html): Returns medications for a specific code -* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code -* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code -* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code -* [MedicationUsage](medicationusage.html): Return statements of this medication code -* [Observation](observation.html): The code of the observation type -* [Procedure](procedure.html): A code to identify a procedure -* [ServiceRequest](servicerequest.html): What is being requested/ordered -
- * Type: token
- * Path: AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("ServiceRequest:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "ServiceRequest:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("ServiceRequest:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Signature.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Signature.java index 8183fed47..7010251c9 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Signature.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Signature.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -54,7 +54,7 @@ public class Signature extends DataType implements ICompositeType { /** * 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. */ - @Child(name = "type", type = {Coding.class}, order=0, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "type", type = {Coding.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Indication of the reason the entity signed the object(s)", formalDefinition="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." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/signature-type") protected List type; @@ -62,14 +62,14 @@ public class Signature extends DataType implements ICompositeType { /** * When the digital signature was signed. */ - @Child(name = "when", type = {InstantType.class}, order=1, min=1, max=1, modifier=false, summary=true) + @Child(name = "when", type = {InstantType.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="When the signature was created", formalDefinition="When the digital signature was signed." ) protected InstantType when; /** * A reference to an application-usable description of the identity that signed (e.g. the signature used their private key). */ - @Child(name = "who", type = {Practitioner.class, PractitionerRole.class, RelatedPerson.class, Patient.class, Device.class, Organization.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Child(name = "who", type = {Practitioner.class, PractitionerRole.class, RelatedPerson.class, Patient.class, Device.class, Organization.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Who signed", formalDefinition="A reference to an application-usable description of the identity that signed (e.g. the signature used their private key)." ) protected Reference who; @@ -112,16 +112,6 @@ public class Signature extends DataType implements ICompositeType { super(); } - /** - * Constructor - */ - public Signature(Coding type, Date when, Reference who) { - super(); - this.addType(type); - this.setWhen(when); - this.setWho(who); - } - /** * @return {@link #type} (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.) */ @@ -214,9 +204,13 @@ public class Signature extends DataType implements ICompositeType { * @param value When the digital signature was signed. */ public Signature setWhen(Date value) { + if (value == null) + this.when = null; + else { if (this.when == null) this.when = new InstantType(); this.when.setValue(value); + } return this; } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Slot.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Slot.java index 1fa5ea30d..a8d2f4a98 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Slot.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Slot.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class Slot extends DomainResource { case BUSYUNAVAILABLE: return "busy-unavailable"; case BUSYTENTATIVE: return "busy-tentative"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class Slot extends DomainResource { case BUSYUNAVAILABLE: return "http://hl7.org/fhir/slotstatus"; case BUSYTENTATIVE: return "http://hl7.org/fhir/slotstatus"; case ENTEREDINERROR: return "http://hl7.org/fhir/slotstatus"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class Slot extends DomainResource { case BUSYUNAVAILABLE: return "Indicates that the time interval is busy and that the interval cannot be scheduled."; case BUSYTENTATIVE: return "Indicates that the time interval is busy because one or more events have been tentatively scheduled for that interval."; case ENTEREDINERROR: return "This instance should not have been part of this patient's medical record."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class Slot extends DomainResource { case BUSYUNAVAILABLE: return "Busy (Unavailable)"; case BUSYTENTATIVE: return "Busy (Tentative)"; case ENTEREDINERROR: return "Entered in error"; + case NULL: return null; default: return "?"; } } @@ -209,12 +213,12 @@ public class Slot extends DomainResource { protected List serviceCategory; /** - * 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 Schedule resource. */ - @Child(name = "serviceType", type = {CodeableConcept.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="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", formalDefinition="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." ) + @Child(name = "serviceType", type = {CodeableReference.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="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 Schedule resource", formalDefinition="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 Schedule resource." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/service-type") - protected List serviceType; + protected List serviceType; /** * The specialty of a practitioner that would be required to perform the service requested in this appointment. @@ -275,7 +279,7 @@ public class Slot extends DomainResource { @Description(shortDefinition="Comments on the slot to describe any extended information. Such as custom constraints on the slot", formalDefinition="Comments on the slot to describe any extended information. Such as custom constraints on the slot." ) protected StringType comment; - private static final long serialVersionUID = 1338658975L; + private static final long serialVersionUID = 2060370370L; /** * Constructor @@ -402,18 +406,18 @@ public class Slot extends DomainResource { } /** - * @return {@link #serviceType} (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.) + * @return {@link #serviceType} (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 Schedule resource.) */ - public List getServiceType() { + public List getServiceType() { if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); return this.serviceType; } /** * @return Returns a reference to this for easy method chaining */ - public Slot setServiceType(List theServiceType) { + public Slot setServiceType(List theServiceType) { this.serviceType = theServiceType; return this; } @@ -421,25 +425,25 @@ public class Slot extends DomainResource { public boolean hasServiceType() { if (this.serviceType == null) return false; - for (CodeableConcept item : this.serviceType) + for (CodeableReference item : this.serviceType) if (!item.isEmpty()) return true; return false; } - public CodeableConcept addServiceType() { //3 - CodeableConcept t = new CodeableConcept(); + public CodeableReference addServiceType() { //3 + CodeableReference t = new CodeableReference(); if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); this.serviceType.add(t); return t; } - public Slot addServiceType(CodeableConcept t) { //3 + public Slot addServiceType(CodeableReference t) { //3 if (t == null) return this; if (this.serviceType == null) - this.serviceType = new ArrayList(); + this.serviceType = new ArrayList(); this.serviceType.add(t); return this; } @@ -447,7 +451,7 @@ public class Slot extends DomainResource { /** * @return The first repetition of repeating field {@link #serviceType}, creating it if it does not already exist {3} */ - public CodeableConcept getServiceTypeFirstRep() { + public CodeableReference getServiceTypeFirstRep() { if (getServiceType().isEmpty()) { addServiceType(); } @@ -817,7 +821,7 @@ public class Slot extends DomainResource { super.listChildren(children); children.add(new Property("identifier", "Identifier", "External Ids for this item.", 0, java.lang.Integer.MAX_VALUE, identifier)); children.add(new Property("serviceCategory", "CodeableConcept", "A broad categorization of the service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceCategory)); - children.add(new Property("serviceType", "CodeableConcept", "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.", 0, java.lang.Integer.MAX_VALUE, serviceType)); + children.add(new Property("serviceType", "CodeableReference(HealthcareService)", "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 Schedule resource.", 0, java.lang.Integer.MAX_VALUE, serviceType)); children.add(new Property("specialty", "CodeableConcept", "The specialty of a practitioner that would be required to perform the service requested in this appointment.", 0, java.lang.Integer.MAX_VALUE, specialty)); children.add(new Property("appointmentType", "CodeableConcept", "The style of appointment or patient that may be booked in the slot (not service type).", 0, java.lang.Integer.MAX_VALUE, appointmentType)); children.add(new Property("schedule", "Reference(Schedule)", "The schedule resource that this slot defines an interval of status information.", 0, 1, schedule)); @@ -833,7 +837,7 @@ public class Slot extends DomainResource { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "External Ids for this item.", 0, java.lang.Integer.MAX_VALUE, identifier); case 1281188563: /*serviceCategory*/ return new Property("serviceCategory", "CodeableConcept", "A broad categorization of the service that is to be performed during this appointment.", 0, java.lang.Integer.MAX_VALUE, serviceCategory); - case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableConcept", "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.", 0, java.lang.Integer.MAX_VALUE, serviceType); + case -1928370289: /*serviceType*/ return new Property("serviceType", "CodeableReference(HealthcareService)", "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 Schedule resource.", 0, java.lang.Integer.MAX_VALUE, serviceType); case -1694759682: /*specialty*/ return new Property("specialty", "CodeableConcept", "The specialty of a practitioner that would be required to perform the service requested in this appointment.", 0, java.lang.Integer.MAX_VALUE, specialty); case -1596426375: /*appointmentType*/ return new Property("appointmentType", "CodeableConcept", "The style of appointment or patient that may be booked in the slot (not service type).", 0, java.lang.Integer.MAX_VALUE, appointmentType); case -697920873: /*schedule*/ return new Property("schedule", "Reference(Schedule)", "The schedule resource that this slot defines an interval of status information.", 0, 1, schedule); @@ -852,7 +856,7 @@ public class Slot extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case 1281188563: /*serviceCategory*/ return this.serviceCategory == null ? new Base[0] : this.serviceCategory.toArray(new Base[this.serviceCategory.size()]); // CodeableConcept - case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : this.serviceType.toArray(new Base[this.serviceType.size()]); // CodeableConcept + case -1928370289: /*serviceType*/ return this.serviceType == null ? new Base[0] : this.serviceType.toArray(new Base[this.serviceType.size()]); // CodeableReference case -1694759682: /*specialty*/ return this.specialty == null ? new Base[0] : this.specialty.toArray(new Base[this.specialty.size()]); // CodeableConcept case -1596426375: /*appointmentType*/ return this.appointmentType == null ? new Base[0] : this.appointmentType.toArray(new Base[this.appointmentType.size()]); // CodeableConcept case -697920873: /*schedule*/ return this.schedule == null ? new Base[0] : new Base[] {this.schedule}; // Reference @@ -876,7 +880,7 @@ public class Slot extends DomainResource { this.getServiceCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept return value; case -1928370289: // serviceType - this.getServiceType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + this.getServiceType().add(TypeConvertor.castToCodeableReference(value)); // CodeableReference return value; case -1694759682: // specialty this.getSpecialty().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept @@ -915,7 +919,7 @@ public class Slot extends DomainResource { } else if (name.equals("serviceCategory")) { this.getServiceCategory().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("serviceType")) { - this.getServiceType().add(TypeConvertor.castToCodeableConcept(value)); + this.getServiceType().add(TypeConvertor.castToCodeableReference(value)); } else if (name.equals("specialty")) { this.getSpecialty().add(TypeConvertor.castToCodeableConcept(value)); } else if (name.equals("appointmentType")) { @@ -962,7 +966,7 @@ public class Slot extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case 1281188563: /*serviceCategory*/ return new String[] {"CodeableConcept"}; - case -1928370289: /*serviceType*/ return new String[] {"CodeableConcept"}; + case -1928370289: /*serviceType*/ return new String[] {"CodeableReference"}; case -1694759682: /*specialty*/ return new String[] {"CodeableConcept"}; case -1596426375: /*appointmentType*/ return new String[] {"CodeableConcept"}; case -697920873: /*schedule*/ return new String[] {"Reference"}; @@ -1040,8 +1044,8 @@ public class Slot extends DomainResource { dst.serviceCategory.add(i.copy()); }; if (serviceType != null) { - dst.serviceType = new ArrayList(); - for (CodeableConcept i : serviceType) + dst.serviceType = new ArrayList(); + for (CodeableReference i : serviceType) dst.serviceType.add(i.copy()); }; if (specialty != null) { @@ -1102,172 +1106,6 @@ public class Slot extends DomainResource { return ResourceType.Slot; } - /** - * Search parameter: appointment-type - *

- * Description: The style of appointment or patient that may be booked in the slot (not service type)
- * Type: token
- * Path: Slot.appointmentType
- *

- */ - @SearchParamDefinition(name="appointment-type", path="Slot.appointmentType", description="The style of appointment or patient that may be booked in the slot (not service type)", type="token" ) - public static final String SP_APPOINTMENT_TYPE = "appointment-type"; - /** - * Fluent Client search parameter constant for appointment-type - *

- * Description: The style of appointment or patient that may be booked in the slot (not service type)
- * Type: token
- * Path: Slot.appointmentType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam APPOINTMENT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_APPOINTMENT_TYPE); - - /** - * Search parameter: identifier - *

- * Description: A Slot Identifier
- * Type: token
- * Path: Slot.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Slot.identifier", description="A Slot Identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A Slot Identifier
- * Type: token
- * Path: Slot.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: schedule - *

- * Description: The Schedule Resource that we are seeking a slot within
- * Type: reference
- * Path: Slot.schedule
- *

- */ - @SearchParamDefinition(name="schedule", path="Slot.schedule", description="The Schedule Resource that we are seeking a slot within", type="reference", target={Schedule.class } ) - public static final String SP_SCHEDULE = "schedule"; - /** - * Fluent Client search parameter constant for schedule - *

- * Description: The Schedule Resource that we are seeking a slot within
- * Type: reference
- * Path: Slot.schedule
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SCHEDULE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SCHEDULE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Slot:schedule". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SCHEDULE = new ca.uhn.fhir.model.api.Include("Slot:schedule").toLocked(); - - /** - * Search parameter: service-category - *

- * Description: A broad categorization of the service that is to be performed during this appointment
- * Type: token
- * Path: Slot.serviceCategory
- *

- */ - @SearchParamDefinition(name="service-category", path="Slot.serviceCategory", description="A broad categorization of the service that is to be performed during this appointment", type="token" ) - public static final String SP_SERVICE_CATEGORY = "service-category"; - /** - * Fluent Client search parameter constant for service-category - *

- * Description: A broad categorization of the service that is to be performed during this appointment
- * Type: token
- * Path: Slot.serviceCategory
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_CATEGORY); - - /** - * Search parameter: service-type - *

- * Description: The type of appointments that can be booked into the slot
- * Type: token
- * Path: Slot.serviceType
- *

- */ - @SearchParamDefinition(name="service-type", path="Slot.serviceType", description="The type of appointments that can be booked into the slot", type="token" ) - public static final String SP_SERVICE_TYPE = "service-type"; - /** - * Fluent Client search parameter constant for service-type - *

- * Description: The type of appointments that can be booked into the slot
- * Type: token
- * Path: Slot.serviceType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SERVICE_TYPE); - - /** - * Search parameter: specialty - *

- * Description: The specialty of a practitioner that would be required to perform the service requested in this appointment
- * Type: token
- * Path: Slot.specialty
- *

- */ - @SearchParamDefinition(name="specialty", path="Slot.specialty", description="The specialty of a practitioner that would be required to perform the service requested in this appointment", type="token" ) - public static final String SP_SPECIALTY = "specialty"; - /** - * Fluent Client search parameter constant for specialty - *

- * Description: The specialty of a practitioner that would be required to perform the service requested in this appointment
- * Type: token
- * Path: Slot.specialty
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_SPECIALTY); - - /** - * Search parameter: start - *

- * Description: Appointment date/time.
- * Type: date
- * Path: Slot.start
- *

- */ - @SearchParamDefinition(name="start", path="Slot.start", description="Appointment date/time.", type="date" ) - public static final String SP_START = "start"; - /** - * Fluent Client search parameter constant for start - *

- * Description: Appointment date/time.
- * Type: date
- * Path: Slot.start
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam START = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_START); - - /** - * Search parameter: status - *

- * Description: The free/busy status of the appointment
- * Type: token
- * Path: Slot.status
- *

- */ - @SearchParamDefinition(name="status", path="Slot.status", description="The free/busy status of the appointment", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The free/busy status of the appointment
- * Type: token
- * Path: Slot.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Specimen.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Specimen.java index 8e4500e1c..ffe9a5f44 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Specimen.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Specimen.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class Specimen extends DomainResource { case UNAVAILABLE: return "unavailable"; case UNSATISFACTORY: return "unsatisfactory"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class Specimen extends DomainResource { case UNAVAILABLE: return "http://hl7.org/fhir/specimen-status"; case UNSATISFACTORY: return "http://hl7.org/fhir/specimen-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/specimen-status"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class Specimen extends DomainResource { case UNAVAILABLE: return "There is no physical specimen because it is either lost, destroyed or consumed."; case UNSATISFACTORY: return "The specimen cannot be used because of a quality issue such as a broken container, contamination, or too old."; case ENTEREDINERROR: return "The specimen was entered in error and therefore nullified."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class Specimen extends DomainResource { case UNAVAILABLE: return "Unavailable"; case UNSATISFACTORY: return "Unsatisfactory"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -177,6 +181,237 @@ public class Specimen extends DomainResource { } } + @Block() + public static class SpecimenFeatureComponent extends BackboneElement implements IBaseBackboneElement { + /** + * The landmark or feature being highlighted. + */ + @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Highlighted feature", formalDefinition="The landmark or feature being highlighted." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/body-site") + protected CodeableConcept type; + + /** + * Description of the feature of the specimen. + */ + @Child(name = "description", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Information about the feature", formalDefinition="Description of the feature of the specimen." ) + protected StringType description; + + private static final long serialVersionUID = 1762224562L; + + /** + * Constructor + */ + public SpecimenFeatureComponent() { + super(); + } + + /** + * Constructor + */ + public SpecimenFeatureComponent(CodeableConcept type, String description) { + super(); + this.setType(type); + this.setDescription(description); + } + + /** + * @return {@link #type} (The landmark or feature being highlighted.) + */ + public CodeableConcept getType() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SpecimenFeatureComponent.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} (The landmark or feature being highlighted.) + */ + public SpecimenFeatureComponent setType(CodeableConcept value) { + this.type = value; + return this; + } + + /** + * @return {@link #description} (Description of the feature of the specimen.). 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 SpecimenFeatureComponent.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} (Description of the feature of the specimen.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public SpecimenFeatureComponent setDescriptionElement(StringType value) { + this.description = value; + return this; + } + + /** + * @return Description of the feature of the specimen. + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value Description of the feature of the specimen. + */ + public SpecimenFeatureComponent setDescription(String value) { + if (this.description == null) + this.description = new StringType(); + this.description.setValue(value); + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("type", "CodeableConcept", "The landmark or feature being highlighted.", 0, 1, type)); + children.add(new Property("description", "string", "Description of the feature of the specimen.", 0, 1, description)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The landmark or feature being highlighted.", 0, 1, type); + case -1724546052: /*description*/ return new Property("description", "string", "Description of the feature of the specimen.", 0, 1, description); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept + case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3575610: // type + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -1724546052: // description + this.description = TypeConvertor.castToString(value); // StringType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("type")) { + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("description")) { + this.description = TypeConvertor.castToString(value); // StringType + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: return getType(); + case -1724546052: return getDescriptionElement(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return new String[] {"CodeableConcept"}; + case -1724546052: /*description*/ return new String[] {"string"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("type")) { + this.type = new CodeableConcept(); + return this.type; + } + else if (name.equals("description")) { + throw new FHIRException("Cannot call addChild on a primitive type Specimen.feature.description"); + } + else + return super.addChild(name); + } + + public SpecimenFeatureComponent copy() { + SpecimenFeatureComponent dst = new SpecimenFeatureComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(SpecimenFeatureComponent dst) { + super.copyValues(dst); + dst.type = type == null ? null : type.copy(); + dst.description = description == null ? null : description.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof SpecimenFeatureComponent)) + return false; + SpecimenFeatureComponent o = (SpecimenFeatureComponent) other_; + return compareDeep(type, o.type, true) && compareDeep(description, o.description, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof SpecimenFeatureComponent)) + return false; + SpecimenFeatureComponent o = (SpecimenFeatureComponent) other_; + return compareValues(description, o.description, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, description); + } + + public String fhirType() { + return "Specimen.feature"; + + } + + } + @Block() public static class SpecimenCollectionComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -1167,57 +1402,27 @@ public class Specimen extends DomainResource { @Block() public static class SpecimenContainerComponent extends BackboneElement implements IBaseBackboneElement { /** - * 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. + * The device resource for the the container holding the specimen. If the container is in a holder then the referenced device will point to a parent device. */ - @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Id for the container", formalDefinition="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." ) - protected List identifier; - - /** - * Textual description of the container. - */ - @Child(name = "description", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Textual description of the container", formalDefinition="Textual description of the container." ) - protected StringType description; + @Child(name = "device", type = {Device.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Device resource for the container", formalDefinition="The device resource for the the container holding the specimen. If the container is in a holder then the referenced device will point to a parent device." ) + protected Reference device; /** * The location of the container holding the specimen. */ - @Child(name = "location", type = {Location.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "location", type = {Location.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Where the container is", formalDefinition="The location of the container holding the specimen." ) protected Reference location; - /** - * The type of container associated with the specimen (e.g. slide, aliquot, etc.). - */ - @Child(name = "type", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Kind of container directly associated with specimen", formalDefinition="The type of container associated with the specimen (e.g. slide, aliquot, etc.)." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/specimen-container-type") - protected CodeableConcept type; - - /** - * The capacity (volume or other measure) the container may contain. - */ - @Child(name = "capacity", type = {Quantity.class}, order=5, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Container volume or size", formalDefinition="The capacity (volume or other measure) the container may contain." ) - protected Quantity capacity; - /** * The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type. */ - @Child(name = "specimenQuantity", type = {Quantity.class}, order=6, min=0, max=1, modifier=false, summary=false) + @Child(name = "specimenQuantity", type = {Quantity.class}, order=3, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Quantity of specimen within container", formalDefinition="The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type." ) protected Quantity specimenQuantity; - /** - * Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA. - */ - @Child(name = "additive", type = {CodeableConcept.class, Substance.class}, order=7, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Additive associated with container", formalDefinition="Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v2-0371") - protected DataType additive; - - private static final long serialVersionUID = -49477129L; + private static final long serialVersionUID = 1973387427L; /** * Constructor @@ -1226,105 +1431,35 @@ public class Specimen extends DomainResource { super(); } - /** - * @return {@link #identifier} (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.) - */ - public List getIdentifier() { - if (this.identifier == null) - this.identifier = new ArrayList(); - return this.identifier; - } + /** + * Constructor + */ + public SpecimenContainerComponent(Reference device) { + super(); + this.setDevice(device); + } /** - * @return Returns a reference to this for easy method chaining + * @return {@link #device} (The device resource for the the container holding the specimen. If the container is in a holder then the referenced device will point to a parent device.) */ - public SpecimenContainerComponent setIdentifier(List theIdentifier) { - this.identifier = theIdentifier; - return this; - } - - public boolean hasIdentifier() { - if (this.identifier == null) - return false; - for (Identifier item : this.identifier) - if (!item.isEmpty()) - return true; - return false; - } - - public Identifier addIdentifier() { //3 - Identifier t = new Identifier(); - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return t; - } - - public SpecimenContainerComponent addIdentifier(Identifier t) { //3 - if (t == null) - return this; - if (this.identifier == null) - this.identifier = new ArrayList(); - this.identifier.add(t); - return this; - } - - /** - * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} - */ - public Identifier getIdentifierFirstRep() { - if (getIdentifier().isEmpty()) { - addIdentifier(); - } - return getIdentifier().get(0); - } - - /** - * @return {@link #description} (Textual description of the container.). 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) + public Reference getDevice() { + if (this.device == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SpecimenContainerComponent.description"); + throw new Error("Attempt to auto-create SpecimenContainerComponent.device"); else if (Configuration.doAutoCreate()) - this.description = new StringType(); // bb - return this.description; + this.device = new Reference(); // cc + return this.device; } - public boolean hasDescriptionElement() { - return this.description != null && !this.description.isEmpty(); - } - - public boolean hasDescription() { - return this.description != null && !this.description.isEmpty(); + public boolean hasDevice() { + return this.device != null && !this.device.isEmpty(); } /** - * @param value {@link #description} (Textual description of the container.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + * @param value {@link #device} (The device resource for the the container holding the specimen. If the container is in a holder then the referenced device will point to a parent device.) */ - public SpecimenContainerComponent setDescriptionElement(StringType value) { - this.description = value; - return this; - } - - /** - * @return Textual description of the container. - */ - public String getDescription() { - return this.description == null ? null : this.description.getValue(); - } - - /** - * @param value Textual description of the container. - */ - public SpecimenContainerComponent setDescription(String value) { - if (Utilities.noString(value)) - this.description = null; - else { - if (this.description == null) - this.description = new StringType(); - this.description.setValue(value); - } + public SpecimenContainerComponent setDevice(Reference value) { + this.device = value; return this; } @@ -1352,54 +1487,6 @@ public class Specimen extends DomainResource { return this; } - /** - * @return {@link #type} (The type of container associated with the specimen (e.g. slide, aliquot, etc.).) - */ - public CodeableConcept getType() { - if (this.type == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SpecimenContainerComponent.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} (The type of container associated with the specimen (e.g. slide, aliquot, etc.).) - */ - public SpecimenContainerComponent setType(CodeableConcept value) { - this.type = value; - return this; - } - - /** - * @return {@link #capacity} (The capacity (volume or other measure) the container may contain.) - */ - public Quantity getCapacity() { - if (this.capacity == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SpecimenContainerComponent.capacity"); - else if (Configuration.doAutoCreate()) - this.capacity = new Quantity(); // cc - return this.capacity; - } - - public boolean hasCapacity() { - return this.capacity != null && !this.capacity.isEmpty(); - } - - /** - * @param value {@link #capacity} (The capacity (volume or other measure) the container may contain.) - */ - public SpecimenContainerComponent setCapacity(Quantity value) { - this.capacity = value; - return this; - } - /** * @return {@link #specimenQuantity} (The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.) */ @@ -1424,81 +1511,19 @@ public class Specimen extends DomainResource { return this; } - /** - * @return {@link #additive} (Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.) - */ - public DataType getAdditive() { - return this.additive; - } - - /** - * @return {@link #additive} (Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.) - */ - public CodeableConcept getAdditiveCodeableConcept() throws FHIRException { - if (this.additive == null) - this.additive = new CodeableConcept(); - if (!(this.additive instanceof CodeableConcept)) - throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.additive.getClass().getName()+" was encountered"); - return (CodeableConcept) this.additive; - } - - public boolean hasAdditiveCodeableConcept() { - return this != null && this.additive instanceof CodeableConcept; - } - - /** - * @return {@link #additive} (Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.) - */ - public Reference getAdditiveReference() throws FHIRException { - if (this.additive == null) - this.additive = new Reference(); - if (!(this.additive instanceof Reference)) - throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.additive.getClass().getName()+" was encountered"); - return (Reference) this.additive; - } - - public boolean hasAdditiveReference() { - return this != null && this.additive instanceof Reference; - } - - public boolean hasAdditive() { - return this.additive != null && !this.additive.isEmpty(); - } - - /** - * @param value {@link #additive} (Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.) - */ - public SpecimenContainerComponent setAdditive(DataType value) { - if (value != null && !(value instanceof CodeableConcept || value instanceof Reference)) - throw new Error("Not the right type for Specimen.container.additive[x]: "+value.fhirType()); - this.additive = value; - return this; - } - protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "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.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("description", "string", "Textual description of the container.", 0, 1, description)); + children.add(new Property("device", "Reference(Device)", "The device resource for the the container holding the specimen. If the container is in a holder then the referenced device will point to a parent device.", 0, 1, device)); children.add(new Property("location", "Reference(Location)", "The location of the container holding the specimen.", 0, 1, location)); - children.add(new Property("type", "CodeableConcept", "The type of container associated with the specimen (e.g. slide, aliquot, etc.).", 0, 1, type)); - children.add(new Property("capacity", "Quantity", "The capacity (volume or other measure) the container may contain.", 0, 1, capacity)); children.add(new Property("specimenQuantity", "Quantity", "The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.", 0, 1, specimenQuantity)); - children.add(new Property("additive[x]", "CodeableConcept|Reference(Substance)", "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", 0, 1, additive)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "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.", 0, java.lang.Integer.MAX_VALUE, identifier); - case -1724546052: /*description*/ return new Property("description", "string", "Textual description of the container.", 0, 1, description); + case -1335157162: /*device*/ return new Property("device", "Reference(Device)", "The device resource for the the container holding the specimen. If the container is in a holder then the referenced device will point to a parent device.", 0, 1, device); case 1901043637: /*location*/ return new Property("location", "Reference(Location)", "The location of the container holding the specimen.", 0, 1, location); - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The type of container associated with the specimen (e.g. slide, aliquot, etc.).", 0, 1, type); - case -67824454: /*capacity*/ return new Property("capacity", "Quantity", "The capacity (volume or other measure) the container may contain.", 0, 1, capacity); case 1485980595: /*specimenQuantity*/ return new Property("specimenQuantity", "Quantity", "The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.", 0, 1, specimenQuantity); - case 261915956: /*additive[x]*/ return new Property("additive[x]", "CodeableConcept|Reference(Substance)", "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", 0, 1, additive); - case -1226589236: /*additive*/ return new Property("additive[x]", "CodeableConcept|Reference(Substance)", "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", 0, 1, additive); - case 1330272821: /*additiveCodeableConcept*/ return new Property("additive[x]", "CodeableConcept", "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", 0, 1, additive); - case -386783009: /*additiveReference*/ return new Property("additive[x]", "Reference(Substance)", "Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", 0, 1, additive); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1507,13 +1532,9 @@ public class Specimen extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier - case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType + case -1335157162: /*device*/ return this.device == null ? new Base[0] : new Base[] {this.device}; // Reference case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // Reference - case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept - case -67824454: /*capacity*/ return this.capacity == null ? new Base[0] : new Base[] {this.capacity}; // Quantity case 1485980595: /*specimenQuantity*/ return this.specimenQuantity == null ? new Base[0] : new Base[] {this.specimenQuantity}; // Quantity - case -1226589236: /*additive*/ return this.additive == null ? new Base[0] : new Base[] {this.additive}; // DataType default: return super.getProperty(hash, name, checkValid); } @@ -1522,27 +1543,15 @@ public class Specimen extends DomainResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case -1618432855: // identifier - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier - return value; - case -1724546052: // description - this.description = TypeConvertor.castToString(value); // StringType + case -1335157162: // device + this.device = TypeConvertor.castToReference(value); // Reference return value; case 1901043637: // location this.location = TypeConvertor.castToReference(value); // Reference return value; - case 3575610: // type - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - return value; - case -67824454: // capacity - this.capacity = TypeConvertor.castToQuantity(value); // Quantity - return value; case 1485980595: // specimenQuantity this.specimenQuantity = TypeConvertor.castToQuantity(value); // Quantity return value; - case -1226589236: // additive - this.additive = TypeConvertor.castToType(value); // DataType - return value; default: return super.setProperty(hash, name, value); } @@ -1550,20 +1559,12 @@ public class Specimen extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("identifier")) { - this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); - } else if (name.equals("description")) { - this.description = TypeConvertor.castToString(value); // StringType + if (name.equals("device")) { + this.device = TypeConvertor.castToReference(value); // Reference } else if (name.equals("location")) { this.location = TypeConvertor.castToReference(value); // Reference - } else if (name.equals("type")) { - this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept - } else if (name.equals("capacity")) { - this.capacity = TypeConvertor.castToQuantity(value); // Quantity } else if (name.equals("specimenQuantity")) { this.specimenQuantity = TypeConvertor.castToQuantity(value); // Quantity - } else if (name.equals("additive[x]")) { - this.additive = TypeConvertor.castToType(value); // DataType } else return super.setProperty(name, value); return value; @@ -1572,14 +1573,9 @@ public class Specimen extends DomainResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case -1618432855: return addIdentifier(); - case -1724546052: return getDescriptionElement(); + case -1335157162: return getDevice(); case 1901043637: return getLocation(); - case 3575610: return getType(); - case -67824454: return getCapacity(); case 1485980595: return getSpecimenQuantity(); - case 261915956: return getAdditive(); - case -1226589236: return getAdditive(); default: return super.makeProperty(hash, name); } @@ -1588,13 +1584,9 @@ public class Specimen extends DomainResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case -1618432855: /*identifier*/ return new String[] {"Identifier"}; - case -1724546052: /*description*/ return new String[] {"string"}; + case -1335157162: /*device*/ return new String[] {"Reference"}; case 1901043637: /*location*/ return new String[] {"Reference"}; - case 3575610: /*type*/ return new String[] {"CodeableConcept"}; - case -67824454: /*capacity*/ return new String[] {"Quantity"}; case 1485980595: /*specimenQuantity*/ return new String[] {"Quantity"}; - case -1226589236: /*additive*/ return new String[] {"CodeableConcept", "Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -1602,36 +1594,18 @@ public class Specimen extends DomainResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("identifier")) { - return addIdentifier(); - } - else if (name.equals("description")) { - throw new FHIRException("Cannot call addChild on a primitive type Specimen.container.description"); + if (name.equals("device")) { + this.device = new Reference(); + return this.device; } else if (name.equals("location")) { this.location = new Reference(); return this.location; } - else if (name.equals("type")) { - this.type = new CodeableConcept(); - return this.type; - } - else if (name.equals("capacity")) { - this.capacity = new Quantity(); - return this.capacity; - } else if (name.equals("specimenQuantity")) { this.specimenQuantity = new Quantity(); return this.specimenQuantity; } - else if (name.equals("additiveCodeableConcept")) { - this.additive = new CodeableConcept(); - return this.additive; - } - else if (name.equals("additiveReference")) { - this.additive = new Reference(); - return this.additive; - } else return super.addChild(name); } @@ -1644,17 +1618,9 @@ public class Specimen extends DomainResource { public void copyValues(SpecimenContainerComponent dst) { super.copyValues(dst); - if (identifier != null) { - dst.identifier = new ArrayList(); - for (Identifier i : identifier) - dst.identifier.add(i.copy()); - }; - dst.description = description == null ? null : description.copy(); + dst.device = device == null ? null : device.copy(); dst.location = location == null ? null : location.copy(); - dst.type = type == null ? null : type.copy(); - dst.capacity = capacity == null ? null : capacity.copy(); dst.specimenQuantity = specimenQuantity == null ? null : specimenQuantity.copy(); - dst.additive = additive == null ? null : additive.copy(); } @Override @@ -1664,9 +1630,7 @@ public class Specimen extends DomainResource { if (!(other_ instanceof SpecimenContainerComponent)) return false; SpecimenContainerComponent o = (SpecimenContainerComponent) other_; - return compareDeep(identifier, o.identifier, true) && compareDeep(description, o.description, true) - && compareDeep(location, o.location, true) && compareDeep(type, o.type, true) && compareDeep(capacity, o.capacity, true) - && compareDeep(specimenQuantity, o.specimenQuantity, true) && compareDeep(additive, o.additive, true) + return compareDeep(device, o.device, true) && compareDeep(location, o.location, true) && compareDeep(specimenQuantity, o.specimenQuantity, true) ; } @@ -1677,12 +1641,12 @@ public class Specimen extends DomainResource { if (!(other_ instanceof SpecimenContainerComponent)) return false; SpecimenContainerComponent o = (SpecimenContainerComponent) other_; - return compareValues(description, o.description, true); + return true; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, description, location - , type, capacity, specimenQuantity, additive); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(device, location, specimenQuantity + ); } public String fhirType() { @@ -1750,31 +1714,38 @@ public class Specimen extends DomainResource { @Description(shortDefinition="Why the specimen was collected", formalDefinition="Details concerning a service request that required a specimen to be collected." ) protected List request; + /** + * A physical feature or landmark on a specimen, highlighted for context by the collector of the specimen (e.g. surgeon), that identifies the type of feature as well as its meaning (e.g. the red ink indicating the resection margin of the right lobe of the excised prostate tissue or wire loop at radiologically suspected tumor location). + */ + @Child(name = "feature", type = {}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="The physical feature of a specimen ", formalDefinition="A physical feature or landmark on a specimen, highlighted for context by the collector of the specimen (e.g. surgeon), that identifies the type of feature as well as its meaning (e.g. the red ink indicating the resection margin of the right lobe of the excised prostate tissue or wire loop at radiologically suspected tumor location)." ) + protected List feature; + /** * Details concerning the specimen collection. */ - @Child(name = "collection", type = {}, order=8, min=0, max=1, modifier=false, summary=false) + @Child(name = "collection", type = {}, order=9, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Collection details", formalDefinition="Details concerning the specimen collection." ) protected SpecimenCollectionComponent collection; /** * Details concerning processing and processing steps for the specimen. */ - @Child(name = "processing", type = {}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "processing", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Processing and processing step details", formalDefinition="Details concerning processing and processing steps for the specimen." ) protected List processing; /** * The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here. */ - @Child(name = "container", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "container", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Direct container of specimen (tube/slide, etc.)", formalDefinition="The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here." ) protected List container; /** * A mode or state of being that describes the nature of the specimen. */ - @Child(name = "condition", type = {CodeableConcept.class}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "condition", type = {CodeableConcept.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="State of the specimen", formalDefinition="A mode or state of being that describes the nature of the specimen." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v2-0493") protected List condition; @@ -1782,11 +1753,11 @@ public class Specimen extends DomainResource { /** * To communicate any details or issues about the specimen or during the specimen collection. (for example: broken vial, sent with patient, frozen). */ - @Child(name = "note", type = {Annotation.class}, order=12, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "note", type = {Annotation.class}, order=13, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Comments", formalDefinition="To communicate any details or issues about the specimen or during the specimen collection. (for example: broken vial, sent with patient, frozen)." ) protected List note; - private static final long serialVersionUID = -1069243129L; + private static final long serialVersionUID = 1193796650L; /** * Constructor @@ -2124,6 +2095,59 @@ public class Specimen extends DomainResource { return getRequest().get(0); } + /** + * @return {@link #feature} (A physical feature or landmark on a specimen, highlighted for context by the collector of the specimen (e.g. surgeon), that identifies the type of feature as well as its meaning (e.g. the red ink indicating the resection margin of the right lobe of the excised prostate tissue or wire loop at radiologically suspected tumor location).) + */ + public List getFeature() { + if (this.feature == null) + this.feature = new ArrayList(); + return this.feature; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Specimen setFeature(List theFeature) { + this.feature = theFeature; + return this; + } + + public boolean hasFeature() { + if (this.feature == null) + return false; + for (SpecimenFeatureComponent item : this.feature) + if (!item.isEmpty()) + return true; + return false; + } + + public SpecimenFeatureComponent addFeature() { //3 + SpecimenFeatureComponent t = new SpecimenFeatureComponent(); + if (this.feature == null) + this.feature = new ArrayList(); + this.feature.add(t); + return t; + } + + public Specimen addFeature(SpecimenFeatureComponent t) { //3 + if (t == null) + return this; + if (this.feature == null) + this.feature = new ArrayList(); + this.feature.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #feature}, creating it if it does not already exist {3} + */ + public SpecimenFeatureComponent getFeatureFirstRep() { + if (getFeature().isEmpty()) { + addFeature(); + } + return getFeature().get(0); + } + /** * @return {@link #collection} (Details concerning the specimen collection.) */ @@ -2370,6 +2394,7 @@ public class Specimen extends DomainResource { children.add(new Property("receivedTime", "dateTime", "Time when specimen is received by the testing laboratory for processing or testing.", 0, 1, receivedTime)); children.add(new Property("parent", "Reference(Specimen)", "Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.", 0, java.lang.Integer.MAX_VALUE, parent)); children.add(new Property("request", "Reference(ServiceRequest)", "Details concerning a service request that required a specimen to be collected.", 0, java.lang.Integer.MAX_VALUE, request)); + children.add(new Property("feature", "", "A physical feature or landmark on a specimen, highlighted for context by the collector of the specimen (e.g. surgeon), that identifies the type of feature as well as its meaning (e.g. the red ink indicating the resection margin of the right lobe of the excised prostate tissue or wire loop at radiologically suspected tumor location).", 0, java.lang.Integer.MAX_VALUE, feature)); children.add(new Property("collection", "", "Details concerning the specimen collection.", 0, 1, collection)); children.add(new Property("processing", "", "Details concerning processing and processing steps for the specimen.", 0, java.lang.Integer.MAX_VALUE, processing)); children.add(new Property("container", "", "The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.", 0, java.lang.Integer.MAX_VALUE, container)); @@ -2388,6 +2413,7 @@ public class Specimen extends DomainResource { case -767961010: /*receivedTime*/ return new Property("receivedTime", "dateTime", "Time when specimen is received by the testing laboratory for processing or testing.", 0, 1, receivedTime); case -995424086: /*parent*/ return new Property("parent", "Reference(Specimen)", "Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.", 0, java.lang.Integer.MAX_VALUE, parent); case 1095692943: /*request*/ return new Property("request", "Reference(ServiceRequest)", "Details concerning a service request that required a specimen to be collected.", 0, java.lang.Integer.MAX_VALUE, request); + case -979207434: /*feature*/ return new Property("feature", "", "A physical feature or landmark on a specimen, highlighted for context by the collector of the specimen (e.g. surgeon), that identifies the type of feature as well as its meaning (e.g. the red ink indicating the resection margin of the right lobe of the excised prostate tissue or wire loop at radiologically suspected tumor location).", 0, java.lang.Integer.MAX_VALUE, feature); case -1741312354: /*collection*/ return new Property("collection", "", "Details concerning the specimen collection.", 0, 1, collection); case 422194963: /*processing*/ return new Property("processing", "", "Details concerning processing and processing steps for the specimen.", 0, java.lang.Integer.MAX_VALUE, processing); case -410956671: /*container*/ return new Property("container", "", "The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.", 0, java.lang.Integer.MAX_VALUE, container); @@ -2409,6 +2435,7 @@ public class Specimen extends DomainResource { case -767961010: /*receivedTime*/ return this.receivedTime == null ? new Base[0] : new Base[] {this.receivedTime}; // DateTimeType case -995424086: /*parent*/ return this.parent == null ? new Base[0] : this.parent.toArray(new Base[this.parent.size()]); // Reference case 1095692943: /*request*/ return this.request == null ? new Base[0] : this.request.toArray(new Base[this.request.size()]); // Reference + case -979207434: /*feature*/ return this.feature == null ? new Base[0] : this.feature.toArray(new Base[this.feature.size()]); // SpecimenFeatureComponent case -1741312354: /*collection*/ return this.collection == null ? new Base[0] : new Base[] {this.collection}; // SpecimenCollectionComponent case 422194963: /*processing*/ return this.processing == null ? new Base[0] : this.processing.toArray(new Base[this.processing.size()]); // SpecimenProcessingComponent case -410956671: /*container*/ return this.container == null ? new Base[0] : this.container.toArray(new Base[this.container.size()]); // SpecimenContainerComponent @@ -2447,6 +2474,9 @@ public class Specimen extends DomainResource { case 1095692943: // request this.getRequest().add(TypeConvertor.castToReference(value)); // Reference return value; + case -979207434: // feature + this.getFeature().add((SpecimenFeatureComponent) value); // SpecimenFeatureComponent + return value; case -1741312354: // collection this.collection = (SpecimenCollectionComponent) value; // SpecimenCollectionComponent return value; @@ -2486,6 +2516,8 @@ public class Specimen extends DomainResource { this.getParent().add(TypeConvertor.castToReference(value)); } else if (name.equals("request")) { this.getRequest().add(TypeConvertor.castToReference(value)); + } else if (name.equals("feature")) { + this.getFeature().add((SpecimenFeatureComponent) value); } else if (name.equals("collection")) { this.collection = (SpecimenCollectionComponent) value; // SpecimenCollectionComponent } else if (name.equals("processing")) { @@ -2512,6 +2544,7 @@ public class Specimen extends DomainResource { case -767961010: return getReceivedTimeElement(); case -995424086: return addParent(); case 1095692943: return addRequest(); + case -979207434: return addFeature(); case -1741312354: return getCollection(); case 422194963: return addProcessing(); case -410956671: return addContainer(); @@ -2533,6 +2566,7 @@ public class Specimen extends DomainResource { case -767961010: /*receivedTime*/ return new String[] {"dateTime"}; case -995424086: /*parent*/ return new String[] {"Reference"}; case 1095692943: /*request*/ return new String[] {"Reference"}; + case -979207434: /*feature*/ return new String[] {}; case -1741312354: /*collection*/ return new String[] {}; case 422194963: /*processing*/ return new String[] {}; case -410956671: /*container*/ return new String[] {}; @@ -2572,6 +2606,9 @@ public class Specimen extends DomainResource { else if (name.equals("request")) { return addRequest(); } + else if (name.equals("feature")) { + return addFeature(); + } else if (name.equals("collection")) { this.collection = new SpecimenCollectionComponent(); return this.collection; @@ -2625,6 +2662,11 @@ public class Specimen extends DomainResource { for (Reference i : request) dst.request.add(i.copy()); }; + if (feature != null) { + dst.feature = new ArrayList(); + for (SpecimenFeatureComponent i : feature) + dst.feature.add(i.copy()); + }; dst.collection = collection == null ? null : collection.copy(); if (processing != null) { dst.processing = new ArrayList(); @@ -2662,8 +2704,9 @@ public class Specimen extends DomainResource { return compareDeep(identifier, o.identifier, true) && compareDeep(accessionIdentifier, o.accessionIdentifier, true) && compareDeep(status, o.status, true) && compareDeep(type, o.type, true) && compareDeep(subject, o.subject, true) && compareDeep(receivedTime, o.receivedTime, true) && compareDeep(parent, o.parent, true) && compareDeep(request, o.request, true) - && compareDeep(collection, o.collection, true) && compareDeep(processing, o.processing, true) && compareDeep(container, o.container, true) - && compareDeep(condition, o.condition, true) && compareDeep(note, o.note, true); + && compareDeep(feature, o.feature, true) && compareDeep(collection, o.collection, true) && compareDeep(processing, o.processing, true) + && compareDeep(container, o.container, true) && compareDeep(condition, o.condition, true) && compareDeep(note, o.note, true) + ; } @Override @@ -2678,8 +2721,8 @@ public class Specimen extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, accessionIdentifier - , status, type, subject, receivedTime, parent, request, collection, processing - , container, condition, note); + , status, type, subject, receivedTime, parent, request, feature, collection + , processing, container, condition, note); } @Override @@ -2687,276 +2730,6 @@ public class Specimen extends DomainResource { return ResourceType.Specimen; } - /** - * Search parameter: accession - *

- * Description: The accession number associated with the specimen
- * Type: token
- * Path: Specimen.accessionIdentifier
- *

- */ - @SearchParamDefinition(name="accession", path="Specimen.accessionIdentifier", description="The accession number associated with the specimen", type="token" ) - public static final String SP_ACCESSION = "accession"; - /** - * Fluent Client search parameter constant for accession - *

- * Description: The accession number associated with the specimen
- * Type: token
- * Path: Specimen.accessionIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACCESSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACCESSION); - - /** - * Search parameter: bodysite - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Specimen.collection.bodySite.reference
- *

- */ - @SearchParamDefinition(name="bodysite", path="Specimen.collection.bodySite.reference", description="Reference to a resource (by instance)", type="reference" ) - public static final String SP_BODYSITE = "bodysite"; - /** - * Fluent Client search parameter constant for bodysite - *

- * Description: Reference to a resource (by instance)
- * Type: reference
- * Path: Specimen.collection.bodySite.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BODYSITE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BODYSITE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Specimen:bodysite". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BODYSITE = new ca.uhn.fhir.model.api.Include("Specimen:bodysite").toLocked(); - - /** - * Search parameter: collected - *

- * Description: The date the specimen was collected
- * Type: date
- * Path: Specimen.collection.collected
- *

- */ - @SearchParamDefinition(name="collected", path="Specimen.collection.collected", description="The date the specimen was collected", type="date" ) - public static final String SP_COLLECTED = "collected"; - /** - * Fluent Client search parameter constant for collected - *

- * Description: The date the specimen was collected
- * Type: date
- * Path: Specimen.collection.collected
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam COLLECTED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_COLLECTED); - - /** - * Search parameter: collector - *

- * Description: Who collected the specimen
- * Type: reference
- * Path: Specimen.collection.collector
- *

- */ - @SearchParamDefinition(name="collector", path="Specimen.collection.collector", description="Who collected the specimen", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_COLLECTOR = "collector"; - /** - * Fluent Client search parameter constant for collector - *

- * Description: Who collected the specimen
- * Type: reference
- * Path: Specimen.collection.collector
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam COLLECTOR = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_COLLECTOR); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Specimen:collector". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_COLLECTOR = new ca.uhn.fhir.model.api.Include("Specimen:collector").toLocked(); - - /** - * Search parameter: container-id - *

- * Description: The unique identifier associated with the specimen container
- * Type: token
- * Path: Specimen.container.identifier
- *

- */ - @SearchParamDefinition(name="container-id", path="Specimen.container.identifier", description="The unique identifier associated with the specimen container", type="token" ) - public static final String SP_CONTAINER_ID = "container-id"; - /** - * Fluent Client search parameter constant for container-id - *

- * Description: The unique identifier associated with the specimen container
- * Type: token
- * Path: Specimen.container.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER_ID = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTAINER_ID); - - /** - * Search parameter: container - *

- * Description: The kind of specimen container
- * Type: token
- * Path: Specimen.container.type
- *

- */ - @SearchParamDefinition(name="container", path="Specimen.container.type", description="The kind of specimen container", type="token" ) - public static final String SP_CONTAINER = "container"; - /** - * Fluent Client search parameter constant for container - *

- * Description: The kind of specimen container
- * Type: token
- * Path: Specimen.container.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTAINER); - - /** - * Search parameter: identifier - *

- * Description: The unique identifier associated with the specimen
- * Type: token
- * Path: Specimen.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Specimen.identifier", description="The unique identifier associated with the specimen", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The unique identifier associated with the specimen
- * Type: token
- * Path: Specimen.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: parent - *

- * Description: The parent of the specimen
- * Type: reference
- * Path: Specimen.parent
- *

- */ - @SearchParamDefinition(name="parent", path="Specimen.parent", description="The parent of the specimen", type="reference", target={Specimen.class } ) - public static final String SP_PARENT = "parent"; - /** - * Fluent Client search parameter constant for parent - *

- * Description: The parent of the specimen
- * Type: reference
- * Path: Specimen.parent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PARENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Specimen:parent". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT = new ca.uhn.fhir.model.api.Include("Specimen:parent").toLocked(); - - /** - * Search parameter: patient - *

- * Description: The patient the specimen comes from
- * Type: reference
- * Path: Specimen.subject.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Specimen.subject.where(resolve() is Patient)", description="The patient the specimen comes from", type="reference", target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Patient.class, Substance.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: The patient the specimen comes from
- * Type: reference
- * Path: Specimen.subject.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Specimen:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Specimen:patient").toLocked(); - - /** - * Search parameter: status - *

- * Description: available | unavailable | unsatisfactory | entered-in-error
- * Type: token
- * Path: Specimen.status
- *

- */ - @SearchParamDefinition(name="status", path="Specimen.status", description="available | unavailable | unsatisfactory | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: available | unavailable | unsatisfactory | entered-in-error
- * Type: token
- * Path: Specimen.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The subject of the specimen
- * Type: reference
- * Path: Specimen.subject
- *

- */ - @SearchParamDefinition(name="subject", path="Specimen.subject", description="The subject of the specimen", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={BiologicallyDerivedProduct.class, Device.class, Group.class, Location.class, Patient.class, Substance.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The subject of the specimen
- * Type: reference
- * Path: Specimen.subject
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Specimen:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Specimen:subject").toLocked(); - - /** - * Search parameter: type - *

- * Description: The specimen type
- * Type: token
- * Path: Specimen.type
- *

- */ - @SearchParamDefinition(name="type", path="Specimen.type", description="The specimen type", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The specimen type
- * Type: token
- * Path: Specimen.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SpecimenDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SpecimenDefinition.java index f3243dbc0..f6d53f0ab 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SpecimenDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SpecimenDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class SpecimenDefinition extends DomainResource { switch (this) { case PREFERRED: return "preferred"; case ALTERNATE: return "alternate"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class SpecimenDefinition extends DomainResource { switch (this) { case PREFERRED: return "http://hl7.org/fhir/specimen-contained-preference"; case ALTERNATE: return "http://hl7.org/fhir/specimen-contained-preference"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class SpecimenDefinition extends DomainResource { switch (this) { case PREFERRED: return "This type of contained specimen is preferred to collect this kind of specimen."; case ALTERNATE: return "This type of conditioned specimen is an alternate."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class SpecimenDefinition extends DomainResource { switch (this) { case PREFERRED: return "Preferred"; case ALTERNATE: return "Alternate"; + case NULL: return null; default: return "?"; } } @@ -3918,186 +3922,6 @@ public class SpecimenDefinition extends DomainResource { return ResourceType.SpecimenDefinition; } - /** - * Search parameter: container - *

- * Description: The type of specimen conditioned in container expected by the lab
- * Type: token
- * Path: SpecimenDefinition.typeTested.container.type
- *

- */ - @SearchParamDefinition(name="container", path="SpecimenDefinition.typeTested.container.type", description="The type of specimen conditioned in container expected by the lab", type="token" ) - public static final String SP_CONTAINER = "container"; - /** - * Fluent Client search parameter constant for container - *

- * Description: The type of specimen conditioned in container expected by the lab
- * Type: token
- * Path: SpecimenDefinition.typeTested.container.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTAINER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTAINER); - - /** - * Search parameter: experimental - *

- * Description: Not for genuine usage (true)
- * Type: token
- * Path: SpecimenDefinition.experimental
- *

- */ - @SearchParamDefinition(name="experimental", path="SpecimenDefinition.experimental", description="Not for genuine usage (true)", type="token" ) - public static final String SP_EXPERIMENTAL = "experimental"; - /** - * Fluent Client search parameter constant for experimental - *

- * Description: Not for genuine usage (true)
- * Type: token
- * Path: SpecimenDefinition.experimental
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXPERIMENTAL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXPERIMENTAL); - - /** - * Search parameter: identifier - *

- * Description: The unique identifier associated with the SpecimenDefinition
- * Type: token
- * Path: SpecimenDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="SpecimenDefinition.identifier", description="The unique identifier associated with the SpecimenDefinition", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: The unique identifier associated with the SpecimenDefinition
- * Type: token
- * Path: SpecimenDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: is-derived - *

- * Description: Primary specimen (false) or derived specimen (true)
- * Type: token
- * Path: SpecimenDefinition.typeTested.isDerived
- *

- */ - @SearchParamDefinition(name="is-derived", path="SpecimenDefinition.typeTested.isDerived", description="Primary specimen (false) or derived specimen (true)", type="token" ) - public static final String SP_IS_DERIVED = "is-derived"; - /** - * Fluent Client search parameter constant for is-derived - *

- * Description: Primary specimen (false) or derived specimen (true)
- * Type: token
- * Path: SpecimenDefinition.typeTested.isDerived
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IS_DERIVED = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IS_DERIVED); - - /** - * Search parameter: status - *

- * Description: Publication status of the SpecimenDefinition: draft, active, retired, unknown
- * Type: token
- * Path: SpecimenDefinition.status
- *

- */ - @SearchParamDefinition(name="status", path="SpecimenDefinition.status", description="Publication status of the SpecimenDefinition: draft, active, retired, unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Publication status of the SpecimenDefinition: draft, active, retired, unknown
- * Type: token
- * Path: SpecimenDefinition.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Human-friendly name of the SpecimenDefinition
- * Type: string
- * Path: SpecimenDefinition.title
- *

- */ - @SearchParamDefinition(name="title", path="SpecimenDefinition.title", description="Human-friendly name of the SpecimenDefinition", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Human-friendly name of the SpecimenDefinition
- * Type: string
- * Path: SpecimenDefinition.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: type-tested - *

- * Description: The type of specimen conditioned for testing
- * Type: token
- * Path: SpecimenDefinition.typeTested.type
- *

- */ - @SearchParamDefinition(name="type-tested", path="SpecimenDefinition.typeTested.type", description="The type of specimen conditioned for testing", type="token" ) - public static final String SP_TYPE_TESTED = "type-tested"; - /** - * Fluent Client search parameter constant for type-tested - *

- * Description: The type of specimen conditioned for testing
- * Type: token
- * Path: SpecimenDefinition.typeTested.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE_TESTED = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE_TESTED); - - /** - * Search parameter: type - *

- * Description: The type of collected specimen
- * Type: token
- * Path: SpecimenDefinition.typeCollected
- *

- */ - @SearchParamDefinition(name="type", path="SpecimenDefinition.typeCollected", description="The type of collected specimen", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The type of collected specimen
- * Type: token
- * Path: SpecimenDefinition.typeCollected
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the specimen definition
- * Type: uri
- * Path: SpecimenDefinition.url
- *

- */ - @SearchParamDefinition(name="url", path="SpecimenDefinition.url", description="The uri that identifies the specimen definition", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the specimen definition
- * Type: uri
- * Path: SpecimenDefinition.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureDefinition.java index 6f8923f8a..fb941048c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class StructureDefinition extends CanonicalResource { case FHIRPATH: return "fhirpath"; case ELEMENT: return "element"; case EXTENSION: return "extension"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class StructureDefinition extends CanonicalResource { case FHIRPATH: return "http://hl7.org/fhir/extension-context-type"; case ELEMENT: return "http://hl7.org/fhir/extension-context-type"; case EXTENSION: return "http://hl7.org/fhir/extension-context-type"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class StructureDefinition extends CanonicalResource { case FHIRPATH: return "The context is all elements that match the FHIRPath query found in the expression."; case ELEMENT: return "The context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers. The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification."; case EXTENSION: return "The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class StructureDefinition extends CanonicalResource { case FHIRPATH: return "FHIRPath"; case ELEMENT: return "Element ID"; case EXTENSION: return "Extension URL"; + case NULL: return null; default: return "?"; } } @@ -204,6 +208,7 @@ public class StructureDefinition extends CanonicalResource { case COMPLEXTYPE: return "complex-type"; case RESOURCE: return "resource"; case LOGICAL: return "logical"; + case NULL: return null; default: return "?"; } } @@ -213,6 +218,7 @@ public class StructureDefinition extends CanonicalResource { case COMPLEXTYPE: return "http://hl7.org/fhir/structure-definition-kind"; case RESOURCE: return "http://hl7.org/fhir/structure-definition-kind"; case LOGICAL: return "http://hl7.org/fhir/structure-definition-kind"; + case NULL: return null; default: return "?"; } } @@ -222,6 +228,7 @@ public class StructureDefinition extends CanonicalResource { case COMPLEXTYPE: return "A complex structure that defines a set of data elements that is suitable for use in 'resources'. The base specification defines a number of complex types, and other specifications can define additional types. These structures do not have a maintained identity."; case RESOURCE: return "A 'resource' - a directed acyclic graph of elements that aggregrates other types into an identifiable entity. The base FHIR resources are defined by the FHIR specification itself but other 'resources' can be defined in additional specifications (though these will not be recognised as 'resources' by the FHIR specification (i.e. they do not get end-points etc, or act as the targets of references in FHIR defined resources - though other specificatiosn can treat them this way)."; case LOGICAL: return "A pattern or a template that is not intended to be a real resource or complex type."; + case NULL: return null; default: return "?"; } } @@ -231,6 +238,7 @@ public class StructureDefinition extends CanonicalResource { case COMPLEXTYPE: return "Complex Data Type"; case RESOURCE: return "Resource"; case LOGICAL: return "Logical"; + case NULL: return null; default: return "?"; } } @@ -314,6 +322,7 @@ public class StructureDefinition extends CanonicalResource { switch (this) { case SPECIALIZATION: return "specialization"; case CONSTRAINT: return "constraint"; + case NULL: return null; default: return "?"; } } @@ -321,6 +330,7 @@ public class StructureDefinition extends CanonicalResource { switch (this) { case SPECIALIZATION: return "http://hl7.org/fhir/type-derivation-rule"; case CONSTRAINT: return "http://hl7.org/fhir/type-derivation-rule"; + case NULL: return null; default: return "?"; } } @@ -328,6 +338,7 @@ public class StructureDefinition extends CanonicalResource { switch (this) { case SPECIALIZATION: return "This definition defines a new type that adds additional elements to the base type."; case CONSTRAINT: return "This definition adds additional rules to an existing concrete type."; + case NULL: return null; default: return "?"; } } @@ -335,6 +346,7 @@ public class StructureDefinition extends CanonicalResource { switch (this) { case SPECIALIZATION: return "Specialization"; case CONSTRAINT: return "Constraint"; + case NULL: return null; default: return "?"; } } @@ -1532,10 +1544,10 @@ public class StructureDefinition extends CanonicalResource { protected List keyword; /** - * 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 5.0.0-snapshot1. 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 4.6.0. for this version. */ @Child(name = "fhirVersion", type = {CodeType.class}, order=16, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="FHIR Version this StructureDefinition targets", formalDefinition="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 5.0.0-snapshot1. for this version." ) + @Description(shortDefinition="FHIR Version this StructureDefinition targets", formalDefinition="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 4.6.0. for this version." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/FHIR-version") protected Enumeration fhirVersion; @@ -2423,7 +2435,7 @@ public class StructureDefinition extends CanonicalResource { } /** - * @return {@link #fhirVersion} (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 5.0.0-snapshot1. for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value + * @return {@link #fhirVersion} (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 4.6.0. for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value */ public Enumeration getFhirVersionElement() { if (this.fhirVersion == null) @@ -2443,7 +2455,7 @@ public class StructureDefinition extends CanonicalResource { } /** - * @param value {@link #fhirVersion} (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 5.0.0-snapshot1. for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value + * @param value {@link #fhirVersion} (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 4.6.0. for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value */ public StructureDefinition setFhirVersionElement(Enumeration value) { this.fhirVersion = value; @@ -2451,14 +2463,14 @@ public class StructureDefinition extends CanonicalResource { } /** - * @return 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 5.0.0-snapshot1. for this version. + * @return 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 4.6.0. for this version. */ public FHIRVersion getFhirVersion() { return this.fhirVersion == null ? null : this.fhirVersion.getValue(); } /** - * @param value 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 5.0.0-snapshot1. for this version. + * @param value 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 4.6.0. for this version. */ public StructureDefinition setFhirVersion(FHIRVersion value) { if (value == null) @@ -2937,7 +2949,7 @@ public class StructureDefinition extends CanonicalResource { children.add(new Property("purpose", "markdown", "Explanation of why this structure definition is needed and why it has been designed as it has.", 0, 1, purpose)); children.add(new Property("copyright", "markdown", "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 structure definition.", 0, 1, copyright)); children.add(new Property("keyword", "Coding", "A set of key words or terms from external terminologies that may be used to assist with indexing and searching of templates nby describing the use of this structure definition, or the content it describes.", 0, java.lang.Integer.MAX_VALUE, keyword)); - children.add(new Property("fhirVersion", "code", "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 5.0.0-snapshot1. for this version.", 0, 1, fhirVersion)); + children.add(new Property("fhirVersion", "code", "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 4.6.0. for this version.", 0, 1, fhirVersion)); children.add(new Property("mapping", "", "An external specification that the content is mapped to.", 0, java.lang.Integer.MAX_VALUE, mapping)); children.add(new Property("kind", "code", "Defines the kind of structure that this definition is describing.", 0, 1, kind)); children.add(new Property("abstract", "boolean", "Whether structure this definition describes is abstract or not - that is, whether the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems.", 0, 1, abstract_)); @@ -2969,7 +2981,7 @@ public class StructureDefinition extends CanonicalResource { case -220463842: /*purpose*/ return new Property("purpose", "markdown", "Explanation of why this structure definition is needed and why it has been designed as it has.", 0, 1, purpose); case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "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 structure definition.", 0, 1, copyright); case -814408215: /*keyword*/ return new Property("keyword", "Coding", "A set of key words or terms from external terminologies that may be used to assist with indexing and searching of templates nby describing the use of this structure definition, or the content it describes.", 0, java.lang.Integer.MAX_VALUE, keyword); - case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "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 5.0.0-snapshot1. for this version.", 0, 1, fhirVersion); + case 461006061: /*fhirVersion*/ return new Property("fhirVersion", "code", "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 4.6.0. for this version.", 0, 1, fhirVersion); case 837556430: /*mapping*/ return new Property("mapping", "", "An external specification that the content is mapped to.", 0, java.lang.Integer.MAX_VALUE, mapping); case 3292052: /*kind*/ return new Property("kind", "code", "Defines the kind of structure that this definition is describing.", 0, 1, kind); case 1732898850: /*abstract*/ return new Property("abstract", "boolean", "Whether structure this definition describes is abstract or not - that is, whether the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems.", 0, 1, abstract_); @@ -3463,994 +3475,6 @@ public class StructureDefinition extends CanonicalResource { return ResourceType.StructureDefinition; } - /** - * Search parameter: abstract - *

- * Description: Whether the structure is abstract
- * Type: token
- * Path: StructureDefinition.abstract
- *

- */ - @SearchParamDefinition(name="abstract", path="StructureDefinition.abstract", description="Whether the structure is abstract", type="token" ) - public static final String SP_ABSTRACT = "abstract"; - /** - * Fluent Client search parameter constant for abstract - *

- * Description: Whether the structure is abstract
- * Type: token
- * Path: StructureDefinition.abstract
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam ABSTRACT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ABSTRACT); - - /** - * Search parameter: base-path - *

- * Description: Path that identifies the base element
- * Type: token
- * Path: StructureDefinition.snapshot.element.base.path | StructureDefinition.differential.element.base.path
- *

- */ - @SearchParamDefinition(name="base-path", path="StructureDefinition.snapshot.element.base.path | StructureDefinition.differential.element.base.path", description="Path that identifies the base element", type="token" ) - public static final String SP_BASE_PATH = "base-path"; - /** - * Fluent Client search parameter constant for base-path - *

- * Description: Path that identifies the base element
- * Type: token
- * Path: StructureDefinition.snapshot.element.base.path | StructureDefinition.differential.element.base.path
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BASE_PATH = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BASE_PATH); - - /** - * Search parameter: base - *

- * Description: Definition that this type is constrained/specialized from
- * Type: reference
- * Path: StructureDefinition.baseDefinition
- *

- */ - @SearchParamDefinition(name="base", path="StructureDefinition.baseDefinition", description="Definition that this type is constrained/specialized from", type="reference", target={StructureDefinition.class } ) - public static final String SP_BASE = "base"; - /** - * Fluent Client search parameter constant for base - *

- * Description: Definition that this type is constrained/specialized from
- * Type: reference
- * Path: StructureDefinition.baseDefinition
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "StructureDefinition:base". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASE = new ca.uhn.fhir.model.api.Include("StructureDefinition:base").toLocked(); - - /** - * Search parameter: derivation - *

- * Description: specialization | constraint - How relates to base definition
- * Type: token
- * Path: StructureDefinition.derivation
- *

- */ - @SearchParamDefinition(name="derivation", path="StructureDefinition.derivation", description="specialization | constraint - How relates to base definition", type="token" ) - public static final String SP_DERIVATION = "derivation"; - /** - * Fluent Client search parameter constant for derivation - *

- * Description: specialization | constraint - How relates to base definition
- * Type: token
- * Path: StructureDefinition.derivation
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DERIVATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DERIVATION); - - /** - * Search parameter: experimental - *

- * Description: For testing purposes, not real usage
- * Type: token
- * Path: StructureDefinition.experimental
- *

- */ - @SearchParamDefinition(name="experimental", path="StructureDefinition.experimental", description="For testing purposes, not real usage", type="token" ) - public static final String SP_EXPERIMENTAL = "experimental"; - /** - * Fluent Client search parameter constant for experimental - *

- * Description: For testing purposes, not real usage
- * Type: token
- * Path: StructureDefinition.experimental
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXPERIMENTAL = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXPERIMENTAL); - - /** - * Search parameter: ext-context - *

- * Description: The system is the URL for the context-type: e.g. http://hl7.org/fhir/extension-context-type#element|CodeableConcept.text
- * Type: token
- * Path: StructureDefinition.context
- *

- */ - @SearchParamDefinition(name="ext-context", path="StructureDefinition.context", description="The system is the URL for the context-type: e.g. http://hl7.org/fhir/extension-context-type#element|CodeableConcept.text", type="token" ) - public static final String SP_EXT_CONTEXT = "ext-context"; - /** - * Fluent Client search parameter constant for ext-context - *

- * Description: The system is the URL for the context-type: e.g. http://hl7.org/fhir/extension-context-type#element|CodeableConcept.text
- * Type: token
- * Path: StructureDefinition.context
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam EXT_CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_EXT_CONTEXT); - - /** - * Search parameter: keyword - *

- * Description: A code for the StructureDefinition
- * Type: token
- * Path: StructureDefinition.keyword
- *

- */ - @SearchParamDefinition(name="keyword", path="StructureDefinition.keyword", description="A code for the StructureDefinition", type="token" ) - public static final String SP_KEYWORD = "keyword"; - /** - * Fluent Client search parameter constant for keyword - *

- * Description: A code for the StructureDefinition
- * Type: token
- * Path: StructureDefinition.keyword
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam KEYWORD = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_KEYWORD); - - /** - * Search parameter: kind - *

- * Description: primitive-type | complex-type | resource | logical
- * Type: token
- * Path: StructureDefinition.kind
- *

- */ - @SearchParamDefinition(name="kind", path="StructureDefinition.kind", description="primitive-type | complex-type | resource | logical", type="token" ) - public static final String SP_KIND = "kind"; - /** - * Fluent Client search parameter constant for kind - *

- * Description: primitive-type | complex-type | resource | logical
- * Type: token
- * Path: StructureDefinition.kind
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_KIND); - - /** - * Search parameter: path - *

- * Description: A path that is constrained in the StructureDefinition
- * Type: token
- * Path: StructureDefinition.snapshot.element.path | StructureDefinition.differential.element.path
- *

- */ - @SearchParamDefinition(name="path", path="StructureDefinition.snapshot.element.path | StructureDefinition.differential.element.path", description="A path that is constrained in the StructureDefinition", type="token" ) - public static final String SP_PATH = "path"; - /** - * Fluent Client search parameter constant for path - *

- * Description: A path that is constrained in the StructureDefinition
- * Type: token
- * Path: StructureDefinition.snapshot.element.path | StructureDefinition.differential.element.path
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PATH = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PATH); - - /** - * Search parameter: type - *

- * Description: Type defined or constrained by this structure
- * Type: uri
- * Path: StructureDefinition.type
- *

- */ - @SearchParamDefinition(name="type", path="StructureDefinition.type", description="Type defined or constrained by this structure", type="uri" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: Type defined or constrained by this structure
- * Type: uri
- * Path: StructureDefinition.type
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam TYPE = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_TYPE); - - /** - * Search parameter: valueset - *

- * Description: A vocabulary binding reference
- * Type: reference
- * Path: StructureDefinition.snapshot.element.binding.valueSet
- *

- */ - @SearchParamDefinition(name="valueset", path="StructureDefinition.snapshot.element.binding.valueSet", description="A vocabulary binding reference", type="reference", target={ValueSet.class } ) - public static final String SP_VALUESET = "valueset"; - /** - * Fluent Client search parameter constant for valueset - *

- * Description: A vocabulary binding reference
- * Type: reference
- * Path: StructureDefinition.snapshot.element.binding.valueSet
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam VALUESET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_VALUESET); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "StructureDefinition:valueset". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_VALUESET = new ca.uhn.fhir.model.api.Include("StructureDefinition:valueset").toLocked(); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public String describeType() { if ("Extension".equals(getType())) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureMap.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureMap.java index 7af927cfb..89ea51055 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureMap.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/StructureMap.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -83,6 +83,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case TYPES: return "types"; case TYPEANDTYPES: return "type-and-types"; + case NULL: return null; default: return "?"; } } @@ -90,6 +91,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case TYPES: return "http://hl7.org/fhir/map-group-type-mode"; case TYPEANDTYPES: return "http://hl7.org/fhir/map-group-type-mode"; + case NULL: return null; default: return "?"; } } @@ -97,6 +99,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case TYPES: return "This group is a default mapping group for the specified types and for the primary source type."; case TYPEANDTYPES: return "This group is a default mapping group for the specified types."; + case NULL: return null; default: return "?"; } } @@ -104,6 +107,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case TYPES: return "Default for Type Combination"; case TYPEANDTYPES: return "Default for type + combination"; + case NULL: return null; default: return "?"; } } @@ -175,6 +179,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case SOURCE: return "source"; case TARGET: return "target"; + case NULL: return null; default: return "?"; } } @@ -182,6 +187,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case SOURCE: return "http://hl7.org/fhir/map-input-mode"; case TARGET: return "http://hl7.org/fhir/map-input-mode"; + case NULL: return null; default: return "?"; } } @@ -189,6 +195,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case SOURCE: return "Names an input instance used a source for mapping."; case TARGET: return "Names an instance that is being populated."; + case NULL: return null; default: return "?"; } } @@ -196,6 +203,7 @@ public class StructureMap extends CanonicalResource { switch (this) { case SOURCE: return "Source Instance"; case TARGET: return "Target Instance"; + case NULL: return null; default: return "?"; } } @@ -281,6 +289,7 @@ public class StructureMap extends CanonicalResource { case QUERIED: return "queried"; case TARGET: return "target"; case PRODUCED: return "produced"; + case NULL: return null; default: return "?"; } } @@ -290,6 +299,7 @@ public class StructureMap extends CanonicalResource { case QUERIED: return "http://hl7.org/fhir/map-model-mode"; case TARGET: return "http://hl7.org/fhir/map-model-mode"; case PRODUCED: return "http://hl7.org/fhir/map-model-mode"; + case NULL: return null; default: return "?"; } } @@ -299,6 +309,7 @@ public class StructureMap extends CanonicalResource { case QUERIED: return "This structure describes an instance that the mapping engine may ask for that is used a source of data."; case TARGET: return "This structure describes an instance passed to the mapping engine that is used a target of data."; case PRODUCED: return "This structure describes an instance that the mapping engine may ask to create that is used a target of data."; + case NULL: return null; default: return "?"; } } @@ -308,6 +319,7 @@ public class StructureMap extends CanonicalResource { case QUERIED: return "Queried Structure Definition"; case TARGET: return "Target Structure Definition"; case PRODUCED: return "Produced Structure Definition"; + case NULL: return null; default: return "?"; } } @@ -412,6 +424,7 @@ public class StructureMap extends CanonicalResource { case LAST: return "last"; case NOTLAST: return "not_last"; case ONLYONE: return "only_one"; + case NULL: return null; default: return "?"; } } @@ -422,6 +435,7 @@ public class StructureMap extends CanonicalResource { case LAST: return "http://hl7.org/fhir/map-source-list-mode"; case NOTLAST: return "http://hl7.org/fhir/map-source-list-mode"; case ONLYONE: return "http://hl7.org/fhir/map-source-list-mode"; + case NULL: return null; default: return "?"; } } @@ -432,6 +446,7 @@ public class StructureMap extends CanonicalResource { case LAST: return "Only process this rule for the last in the list."; case NOTLAST: return "Process this rule for all but the last."; case ONLYONE: return "Only process this rule is there is only item."; + case NULL: return null; default: return "?"; } } @@ -442,6 +457,7 @@ public class StructureMap extends CanonicalResource { case LAST: return "Last"; case NOTLAST: return "All but the last"; case ONLYONE: return "Enforce only one"; + case NULL: return null; default: return "?"; } } @@ -545,6 +561,7 @@ public class StructureMap extends CanonicalResource { case SHARE: return "share"; case LAST: return "last"; case COLLATE: return "collate"; + case NULL: return null; default: return "?"; } } @@ -554,6 +571,7 @@ public class StructureMap extends CanonicalResource { case SHARE: return "http://hl7.org/fhir/map-target-list-mode"; case LAST: return "http://hl7.org/fhir/map-target-list-mode"; case COLLATE: return "http://hl7.org/fhir/map-target-list-mode"; + case NULL: return null; default: return "?"; } } @@ -563,6 +581,7 @@ public class StructureMap extends CanonicalResource { case SHARE: return "the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones)."; case LAST: return "when the target list is being assembled, the items for this rule go last. If more than one rule defines a last item (for a given instance of mapping) then this is an error."; case COLLATE: return "re-use the first item in the list, and keep adding content to it."; + case NULL: return null; default: return "?"; } } @@ -572,6 +591,7 @@ public class StructureMap extends CanonicalResource { case SHARE: return "Share"; case LAST: return "Last"; case COLLATE: return "Collate"; + case NULL: return null; default: return "?"; } } @@ -760,6 +780,7 @@ public class StructureMap extends CanonicalResource { case QTY: return "qty"; case ID: return "id"; case CP: return "cp"; + case NULL: return null; default: return "?"; } } @@ -782,6 +803,7 @@ public class StructureMap extends CanonicalResource { case QTY: return "http://hl7.org/fhir/map-transform"; case ID: return "http://hl7.org/fhir/map-transform"; case CP: return "http://hl7.org/fhir/map-transform"; + case NULL: return null; default: return "?"; } } @@ -804,6 +826,7 @@ public class StructureMap extends CanonicalResource { case QTY: return "Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit."; case ID: return "Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set."; case CP: return "Create a contact details. Parameters = (value) or (system, value). If no system is provided, the system should be inferred from the content of the value."; + case NULL: return null; default: return "?"; } } @@ -826,6 +849,7 @@ public class StructureMap extends CanonicalResource { case QTY: return "qty"; case ID: return "id"; case CP: return "cp"; + case NULL: return null; default: return "?"; } } @@ -4428,7 +4452,7 @@ public String toString() { * Parameter value - variable or literal. */ @Child(name = "value", type = {IdType.class, StringType.class, BooleanType.class, IntegerType.class, DecimalType.class, DateType.class, TimeType.class, DateTimeType.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="-", formalDefinition="Parameter value - variable or literal." ) + @Description(shortDefinition="Parameter value - variable or literal", formalDefinition="Parameter value - variable or literal." ) protected DataType value; private static final long serialVersionUID = -1135414639L; @@ -6456,762 +6480,6 @@ public String toString() { return ResourceType.StructureMap; } - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - // Manual code (from Configuration.txt): public String toString() { return StructureMapUtilities.render(this); diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Subscription.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Subscription.java index 33663d7b8..2b0b1ccf8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Subscription.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Subscription.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Subscription extends DomainResource { case EMPTY: return "empty"; case IDONLY: return "id-only"; case FULLRESOURCE: return "full-resource"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Subscription extends DomainResource { case EMPTY: return "http://hl7.org/fhir/subscription-payload-content"; case IDONLY: return "http://hl7.org/fhir/subscription-payload-content"; case FULLRESOURCE: return "http://hl7.org/fhir/subscription-payload-content"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Subscription extends DomainResource { case EMPTY: return "No resource content is transacted in the notification payload."; case IDONLY: return "Only the resource id is transacted in the notification payload."; case FULLRESOURCE: return "The entire resource is transacted in the notification payload."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Subscription extends DomainResource { case EMPTY: return "empty"; case IDONLY: return "id-only"; case FULLRESOURCE: return "full-resource"; + case NULL: return null; default: return "?"; } } @@ -161,130 +165,6 @@ public class Subscription extends DomainResource { } } - public enum SubscriptionUrlLocation { - /** - * URLs should NOT be included in notifications. - */ - NONE, - /** - * URLs should be placed in Bundle.entry.fullUrl. - */ - FULLURL, - /** - * URLs should be placed in Bundle.entry.request and/or Bundle.entry.response. - */ - REQUESTRESPONSE, - /** - * URLS should be filled out in all available locations. - */ - ALL, - /** - * added to help the parsers with the generic types - */ - NULL; - public static SubscriptionUrlLocation fromCode(String codeString) throws FHIRException { - if (codeString == null || "".equals(codeString)) - return null; - if ("none".equals(codeString)) - return NONE; - if ("full-url".equals(codeString)) - return FULLURL; - if ("request-response".equals(codeString)) - return REQUESTRESPONSE; - if ("all".equals(codeString)) - return ALL; - if (Configuration.isAcceptInvalidEnums()) - return null; - else - throw new FHIRException("Unknown SubscriptionUrlLocation code '"+codeString+"'"); - } - public String toCode() { - switch (this) { - case NONE: return "none"; - case FULLURL: return "full-url"; - case REQUESTRESPONSE: return "request-response"; - case ALL: return "all"; - default: return "?"; - } - } - public String getSystem() { - switch (this) { - case NONE: return "http://hl7.org/fhir/subscription-url-location"; - case FULLURL: return "http://hl7.org/fhir/subscription-url-location"; - case REQUESTRESPONSE: return "http://hl7.org/fhir/subscription-url-location"; - case ALL: return "http://hl7.org/fhir/subscription-url-location"; - default: return "?"; - } - } - public String getDefinition() { - switch (this) { - case NONE: return "URLs should NOT be included in notifications."; - case FULLURL: return "URLs should be placed in Bundle.entry.fullUrl."; - case REQUESTRESPONSE: return "URLs should be placed in Bundle.entry.request and/or Bundle.entry.response."; - case ALL: return "URLS should be filled out in all available locations."; - default: return "?"; - } - } - public String getDisplay() { - switch (this) { - case NONE: return "none"; - case FULLURL: return "full-url"; - case REQUESTRESPONSE: return "request-response"; - case ALL: return "all"; - default: return "?"; - } - } - } - - public static class SubscriptionUrlLocationEnumFactory implements EnumFactory { - public SubscriptionUrlLocation fromCode(String codeString) throws IllegalArgumentException { - if (codeString == null || "".equals(codeString)) - if (codeString == null || "".equals(codeString)) - return null; - if ("none".equals(codeString)) - return SubscriptionUrlLocation.NONE; - if ("full-url".equals(codeString)) - return SubscriptionUrlLocation.FULLURL; - if ("request-response".equals(codeString)) - return SubscriptionUrlLocation.REQUESTRESPONSE; - if ("all".equals(codeString)) - return SubscriptionUrlLocation.ALL; - throw new IllegalArgumentException("Unknown SubscriptionUrlLocation code '"+codeString+"'"); - } - public Enumeration fromType(Base code) throws FHIRException { - if (code == null) - return null; - if (code.isEmpty()) - return new Enumeration(this); - String codeString = ((PrimitiveType) code).asStringValue(); - if (codeString == null || "".equals(codeString)) - return null; - if ("none".equals(codeString)) - return new Enumeration(this, SubscriptionUrlLocation.NONE); - if ("full-url".equals(codeString)) - return new Enumeration(this, SubscriptionUrlLocation.FULLURL); - if ("request-response".equals(codeString)) - return new Enumeration(this, SubscriptionUrlLocation.REQUESTRESPONSE); - if ("all".equals(codeString)) - return new Enumeration(this, SubscriptionUrlLocation.ALL); - throw new FHIRException("Unknown SubscriptionUrlLocation code '"+codeString+"'"); - } - public String toCode(SubscriptionUrlLocation code) { - if (code == SubscriptionUrlLocation.NONE) - return "none"; - if (code == SubscriptionUrlLocation.FULLURL) - return "full-url"; - if (code == SubscriptionUrlLocation.REQUESTRESPONSE) - return "request-response"; - if (code == SubscriptionUrlLocation.ALL) - return "all"; - return "?"; - } - public String toSystem(SubscriptionUrlLocation code) { - return code.getSystem(); - } - } - @Block() public static class SubscriptionFilterByComponent extends BackboneElement implements IBaseBackboneElement { /** @@ -296,19 +176,19 @@ public class Subscription extends DomainResource { protected UriType resourceType; /** - * The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element. + * The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element. */ - @Child(name = "searchParamName", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Filter label defined in SubscriptionTopic", formalDefinition="The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element." ) - protected StringType searchParamName; + @Child(name = "filterParameter", type = {StringType.class}, order=2, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Filter label defined in SubscriptionTopic", formalDefinition="The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element." ) + protected StringType filterParameter; /** - * The operator to apply to the filter value when determining matches (Search modifiers). + * Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic. */ - @Child(name = "searchModifier", type = {CodeType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="= | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type", formalDefinition="The operator to apply to the filter value when determining matches (Search modifiers)." ) + @Child(name = "modifier", type = {CodeType.class}, order=3, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="= | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type", formalDefinition="Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-search-modifier") - protected Enumeration searchModifier; + protected Enumeration modifier; /** * The literal value or resource path as is legal in search - for example, "Patient/123" or "le1950". @@ -317,7 +197,7 @@ public class Subscription extends DomainResource { @Description(shortDefinition="Literal value or resource path", formalDefinition="The literal value or resource path as is legal in search - for example, \"Patient/123\" or \"le1950\"." ) protected StringType value; - private static final long serialVersionUID = 1179250301L; + private static final long serialVersionUID = -642146252L; /** * Constructor @@ -329,9 +209,9 @@ public class Subscription extends DomainResource { /** * Constructor */ - public SubscriptionFilterByComponent(String searchParamName, String value) { + public SubscriptionFilterByComponent(String filterParameter, String value) { super(); - this.setSearchParamName(searchParamName); + this.setFilterParameter(filterParameter); this.setValue(value); } @@ -385,95 +265,95 @@ public class Subscription extends DomainResource { } /** - * @return {@link #searchParamName} (The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element.). This is the underlying object with id, value and extensions. The accessor "getSearchParamName" gives direct access to the value + * @return {@link #filterParameter} (The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element.). This is the underlying object with id, value and extensions. The accessor "getFilterParameter" gives direct access to the value */ - public StringType getSearchParamNameElement() { - if (this.searchParamName == null) + public StringType getFilterParameterElement() { + if (this.filterParameter == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SubscriptionFilterByComponent.searchParamName"); + throw new Error("Attempt to auto-create SubscriptionFilterByComponent.filterParameter"); else if (Configuration.doAutoCreate()) - this.searchParamName = new StringType(); // bb - return this.searchParamName; + this.filterParameter = new StringType(); // bb + return this.filterParameter; } - public boolean hasSearchParamNameElement() { - return this.searchParamName != null && !this.searchParamName.isEmpty(); + public boolean hasFilterParameterElement() { + return this.filterParameter != null && !this.filterParameter.isEmpty(); } - public boolean hasSearchParamName() { - return this.searchParamName != null && !this.searchParamName.isEmpty(); + public boolean hasFilterParameter() { + return this.filterParameter != null && !this.filterParameter.isEmpty(); } /** - * @param value {@link #searchParamName} (The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element.). This is the underlying object with id, value and extensions. The accessor "getSearchParamName" gives direct access to the value + * @param value {@link #filterParameter} (The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element.). This is the underlying object with id, value and extensions. The accessor "getFilterParameter" gives direct access to the value */ - public SubscriptionFilterByComponent setSearchParamNameElement(StringType value) { - this.searchParamName = value; + public SubscriptionFilterByComponent setFilterParameterElement(StringType value) { + this.filterParameter = value; return this; } /** - * @return The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element. + * @return The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element. */ - public String getSearchParamName() { - return this.searchParamName == null ? null : this.searchParamName.getValue(); + public String getFilterParameter() { + return this.filterParameter == null ? null : this.filterParameter.getValue(); } /** - * @param value The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element. + * @param value The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element. */ - public SubscriptionFilterByComponent setSearchParamName(String value) { - if (this.searchParamName == null) - this.searchParamName = new StringType(); - this.searchParamName.setValue(value); + public SubscriptionFilterByComponent setFilterParameter(String value) { + if (this.filterParameter == null) + this.filterParameter = new StringType(); + this.filterParameter.setValue(value); return this; } /** - * @return {@link #searchModifier} (The operator to apply to the filter value when determining matches (Search modifiers).). This is the underlying object with id, value and extensions. The accessor "getSearchModifier" gives direct access to the value + * @return {@link #modifier} (Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic.). This is the underlying object with id, value and extensions. The accessor "getModifier" gives direct access to the value */ - public Enumeration getSearchModifierElement() { - if (this.searchModifier == null) + public Enumeration getModifierElement() { + if (this.modifier == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SubscriptionFilterByComponent.searchModifier"); + throw new Error("Attempt to auto-create SubscriptionFilterByComponent.modifier"); else if (Configuration.doAutoCreate()) - this.searchModifier = new Enumeration(new SubscriptionSearchModifierEnumFactory()); // bb - return this.searchModifier; + this.modifier = new Enumeration(new SubscriptionSearchModifierEnumFactory()); // bb + return this.modifier; } - public boolean hasSearchModifierElement() { - return this.searchModifier != null && !this.searchModifier.isEmpty(); + public boolean hasModifierElement() { + return this.modifier != null && !this.modifier.isEmpty(); } - public boolean hasSearchModifier() { - return this.searchModifier != null && !this.searchModifier.isEmpty(); + public boolean hasModifier() { + return this.modifier != null && !this.modifier.isEmpty(); } /** - * @param value {@link #searchModifier} (The operator to apply to the filter value when determining matches (Search modifiers).). This is the underlying object with id, value and extensions. The accessor "getSearchModifier" gives direct access to the value + * @param value {@link #modifier} (Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic.). This is the underlying object with id, value and extensions. The accessor "getModifier" gives direct access to the value */ - public SubscriptionFilterByComponent setSearchModifierElement(Enumeration value) { - this.searchModifier = value; + public SubscriptionFilterByComponent setModifierElement(Enumeration value) { + this.modifier = value; return this; } /** - * @return The operator to apply to the filter value when determining matches (Search modifiers). + * @return Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic. */ - public SubscriptionSearchModifier getSearchModifier() { - return this.searchModifier == null ? null : this.searchModifier.getValue(); + public SubscriptionSearchModifier getModifier() { + return this.modifier == null ? null : this.modifier.getValue(); } /** - * @param value The operator to apply to the filter value when determining matches (Search modifiers). + * @param value Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic. */ - public SubscriptionFilterByComponent setSearchModifier(SubscriptionSearchModifier value) { + public SubscriptionFilterByComponent setModifier(SubscriptionSearchModifier value) { if (value == null) - this.searchModifier = null; + this.modifier = null; else { - if (this.searchModifier == null) - this.searchModifier = new Enumeration(new SubscriptionSearchModifierEnumFactory()); - this.searchModifier.setValue(value); + if (this.modifier == null) + this.modifier = new Enumeration(new SubscriptionSearchModifierEnumFactory()); + this.modifier.setValue(value); } return this; } @@ -526,8 +406,8 @@ public class Subscription extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("resourceType", "uri", "If the element is a reference to another resource, this element contains \"Reference\", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient).", 0, 1, resourceType)); - children.add(new Property("searchParamName", "string", "The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element.", 0, 1, searchParamName)); - children.add(new Property("searchModifier", "code", "The operator to apply to the filter value when determining matches (Search modifiers).", 0, 1, searchModifier)); + children.add(new Property("filterParameter", "string", "The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element.", 0, 1, filterParameter)); + children.add(new Property("modifier", "code", "Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic.", 0, 1, modifier)); children.add(new Property("value", "string", "The literal value or resource path as is legal in search - for example, \"Patient/123\" or \"le1950\".", 0, 1, value)); } @@ -535,8 +415,8 @@ public class Subscription extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -384364440: /*resourceType*/ return new Property("resourceType", "uri", "If the element is a reference to another resource, this element contains \"Reference\", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient).", 0, 1, resourceType); - case 83857392: /*searchParamName*/ return new Property("searchParamName", "string", "The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.searchParamName` element.", 0, 1, searchParamName); - case 1540924575: /*searchModifier*/ return new Property("searchModifier", "code", "The operator to apply to the filter value when determining matches (Search modifiers).", 0, 1, searchModifier); + case 618257: /*filterParameter*/ return new Property("filterParameter", "string", "The filter label (=key) as defined in the `SubscriptionTopic.canfilterBy.filterParameter` element.", 0, 1, filterParameter); + case -615513385: /*modifier*/ return new Property("modifier", "code", "Operator to apply when determining matches (Search Modifiers), from the list of allowed modifiers for this filter in the relevant SubscriptionTopic.", 0, 1, modifier); case 111972721: /*value*/ return new Property("value", "string", "The literal value or resource path as is legal in search - for example, \"Patient/123\" or \"le1950\".", 0, 1, value); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -547,8 +427,8 @@ public class Subscription extends DomainResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case -384364440: /*resourceType*/ return this.resourceType == null ? new Base[0] : new Base[] {this.resourceType}; // UriType - case 83857392: /*searchParamName*/ return this.searchParamName == null ? new Base[0] : new Base[] {this.searchParamName}; // StringType - case 1540924575: /*searchModifier*/ return this.searchModifier == null ? new Base[0] : new Base[] {this.searchModifier}; // Enumeration + case 618257: /*filterParameter*/ return this.filterParameter == null ? new Base[0] : new Base[] {this.filterParameter}; // StringType + case -615513385: /*modifier*/ return this.modifier == null ? new Base[0] : new Base[] {this.modifier}; // Enumeration case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // StringType default: return super.getProperty(hash, name, checkValid); } @@ -561,12 +441,12 @@ public class Subscription extends DomainResource { case -384364440: // resourceType this.resourceType = TypeConvertor.castToUri(value); // UriType return value; - case 83857392: // searchParamName - this.searchParamName = TypeConvertor.castToString(value); // StringType + case 618257: // filterParameter + this.filterParameter = TypeConvertor.castToString(value); // StringType return value; - case 1540924575: // searchModifier + case -615513385: // modifier value = new SubscriptionSearchModifierEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.searchModifier = (Enumeration) value; // Enumeration + this.modifier = (Enumeration) value; // Enumeration return value; case 111972721: // value this.value = TypeConvertor.castToString(value); // StringType @@ -580,11 +460,11 @@ public class Subscription extends DomainResource { public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("resourceType")) { this.resourceType = TypeConvertor.castToUri(value); // UriType - } else if (name.equals("searchParamName")) { - this.searchParamName = TypeConvertor.castToString(value); // StringType - } else if (name.equals("searchModifier")) { + } else if (name.equals("filterParameter")) { + this.filterParameter = TypeConvertor.castToString(value); // StringType + } else if (name.equals("modifier")) { value = new SubscriptionSearchModifierEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.searchModifier = (Enumeration) value; // Enumeration + this.modifier = (Enumeration) value; // Enumeration } else if (name.equals("value")) { this.value = TypeConvertor.castToString(value); // StringType } else @@ -596,8 +476,8 @@ public class Subscription extends DomainResource { public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -384364440: return getResourceTypeElement(); - case 83857392: return getSearchParamNameElement(); - case 1540924575: return getSearchModifierElement(); + case 618257: return getFilterParameterElement(); + case -615513385: return getModifierElement(); case 111972721: return getValueElement(); default: return super.makeProperty(hash, name); } @@ -608,8 +488,8 @@ public class Subscription extends DomainResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case -384364440: /*resourceType*/ return new String[] {"uri"}; - case 83857392: /*searchParamName*/ return new String[] {"string"}; - case 1540924575: /*searchModifier*/ return new String[] {"code"}; + case 618257: /*filterParameter*/ return new String[] {"string"}; + case -615513385: /*modifier*/ return new String[] {"code"}; case 111972721: /*value*/ return new String[] {"string"}; default: return super.getTypesForProperty(hash, name); } @@ -621,11 +501,11 @@ public class Subscription extends DomainResource { if (name.equals("resourceType")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.filterBy.resourceType"); } - else if (name.equals("searchParamName")) { - throw new FHIRException("Cannot call addChild on a primitive type Subscription.filterBy.searchParamName"); + else if (name.equals("filterParameter")) { + throw new FHIRException("Cannot call addChild on a primitive type Subscription.filterBy.filterParameter"); } - else if (name.equals("searchModifier")) { - throw new FHIRException("Cannot call addChild on a primitive type Subscription.filterBy.searchModifier"); + else if (name.equals("modifier")) { + throw new FHIRException("Cannot call addChild on a primitive type Subscription.filterBy.modifier"); } else if (name.equals("value")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.filterBy.value"); @@ -643,8 +523,8 @@ public class Subscription extends DomainResource { public void copyValues(SubscriptionFilterByComponent dst) { super.copyValues(dst); dst.resourceType = resourceType == null ? null : resourceType.copy(); - dst.searchParamName = searchParamName == null ? null : searchParamName.copy(); - dst.searchModifier = searchModifier == null ? null : searchModifier.copy(); + dst.filterParameter = filterParameter == null ? null : filterParameter.copy(); + dst.modifier = modifier == null ? null : modifier.copy(); dst.value = value == null ? null : value.copy(); } @@ -655,8 +535,8 @@ public class Subscription extends DomainResource { if (!(other_ instanceof SubscriptionFilterByComponent)) return false; SubscriptionFilterByComponent o = (SubscriptionFilterByComponent) other_; - return compareDeep(resourceType, o.resourceType, true) && compareDeep(searchParamName, o.searchParamName, true) - && compareDeep(searchModifier, o.searchModifier, true) && compareDeep(value, o.value, true); + return compareDeep(resourceType, o.resourceType, true) && compareDeep(filterParameter, o.filterParameter, true) + && compareDeep(modifier, o.modifier, true) && compareDeep(value, o.value, true); } @Override @@ -666,13 +546,13 @@ public class Subscription extends DomainResource { if (!(other_ instanceof SubscriptionFilterByComponent)) return false; SubscriptionFilterByComponent o = (SubscriptionFilterByComponent) other_; - return compareValues(resourceType, o.resourceType, true) && compareValues(searchParamName, o.searchParamName, true) - && compareValues(searchModifier, o.searchModifier, true) && compareValues(value, o.value, true); + return compareValues(resourceType, o.resourceType, true) && compareValues(filterParameter, o.filterParameter, true) + && compareValues(modifier, o.modifier, true) && compareValues(value, o.value, true); } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(resourceType, searchParamName - , searchModifier, value); + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(resourceType, filterParameter + , modifier, value); } public String fhirType() { @@ -701,8 +581,8 @@ public class Subscription extends DomainResource { */ @Child(name = "status", type = {CodeType.class}, order=2, min=1, max=1, modifier=true, summary=true) @Description(shortDefinition="requested | active | error | off | entered-in-error", formalDefinition="The status of the subscription, which marks the server state for managing the subscription." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-state") - protected Enumeration status; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-status") + protected Enumeration status; /** * The reference to the subscription topic to be notified about. @@ -791,22 +671,14 @@ public class Subscription extends DomainResource { @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-payload-content") protected Enumeration content; - /** - * If present, where to place URLs of resources in notifications. - */ - @Child(name = "notificationUrlLocation", type = {CodeType.class}, order=15, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="none | full-url | request-response | all", formalDefinition="If present, where to place URLs of resources in notifications." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-url-location") - protected Enumeration notificationUrlLocation; - /** * If present, the maximum number of triggering resources that will be included in a notification bundle (e.g., a server will not include more than this number of trigger resources in a single notification). Note that this is not a strict limit on the number of entries in a bundle, as dependent resources can be included. */ - @Child(name = "maxCount", type = {PositiveIntType.class}, order=16, min=0, max=1, modifier=false, summary=true) + @Child(name = "maxCount", type = {PositiveIntType.class}, order=15, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Maximum number of triggering resources included in notification bundles", formalDefinition="If present, the maximum number of triggering resources that will be included in a notification bundle (e.g., a server will not include more than this number of trigger resources in a single notification). Note that this is not a strict limit on the number of entries in a bundle, as dependent resources can be included." ) protected PositiveIntType maxCount; - private static final long serialVersionUID = -1188922658L; + private static final long serialVersionUID = -881003340L; /** * Constructor @@ -818,7 +690,7 @@ public class Subscription extends DomainResource { /** * Constructor */ - public Subscription(SubscriptionState status, String topic, Coding channelType) { + public Subscription(SubscriptionStatusCodes status, String topic, Coding channelType) { super(); this.setStatus(status); this.setTopic(topic); @@ -930,12 +802,12 @@ public class Subscription extends DomainResource { /** * @return {@link #status} (The status of the subscription, which marks the server state for managing the subscription.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ - public Enumeration getStatusElement() { + public Enumeration getStatusElement() { if (this.status == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Subscription.status"); else if (Configuration.doAutoCreate()) - this.status = new Enumeration(new SubscriptionStateEnumFactory()); // bb + this.status = new Enumeration(new SubscriptionStatusCodesEnumFactory()); // bb return this.status; } @@ -950,7 +822,7 @@ public class Subscription extends DomainResource { /** * @param value {@link #status} (The status of the subscription, which marks the server state for managing the subscription.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ - public Subscription setStatusElement(Enumeration value) { + public Subscription setStatusElement(Enumeration value) { this.status = value; return this; } @@ -958,16 +830,16 @@ public class Subscription extends DomainResource { /** * @return The status of the subscription, which marks the server state for managing the subscription. */ - public SubscriptionState getStatus() { + public SubscriptionStatusCodes getStatus() { return this.status == null ? null : this.status.getValue(); } /** * @param value The status of the subscription, which marks the server state for managing the subscription. */ - public Subscription setStatus(SubscriptionState value) { + public Subscription setStatus(SubscriptionStatusCodes value) { if (this.status == null) - this.status = new Enumeration(new SubscriptionStateEnumFactory()); + this.status = new Enumeration(new SubscriptionStatusCodesEnumFactory()); this.status.setValue(value); return this; } @@ -1543,55 +1415,6 @@ public class Subscription extends DomainResource { return this; } - /** - * @return {@link #notificationUrlLocation} (If present, where to place URLs of resources in notifications.). This is the underlying object with id, value and extensions. The accessor "getNotificationUrlLocation" gives direct access to the value - */ - public Enumeration getNotificationUrlLocationElement() { - if (this.notificationUrlLocation == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create Subscription.notificationUrlLocation"); - else if (Configuration.doAutoCreate()) - this.notificationUrlLocation = new Enumeration(new SubscriptionUrlLocationEnumFactory()); // bb - return this.notificationUrlLocation; - } - - public boolean hasNotificationUrlLocationElement() { - return this.notificationUrlLocation != null && !this.notificationUrlLocation.isEmpty(); - } - - public boolean hasNotificationUrlLocation() { - return this.notificationUrlLocation != null && !this.notificationUrlLocation.isEmpty(); - } - - /** - * @param value {@link #notificationUrlLocation} (If present, where to place URLs of resources in notifications.). This is the underlying object with id, value and extensions. The accessor "getNotificationUrlLocation" gives direct access to the value - */ - public Subscription setNotificationUrlLocationElement(Enumeration value) { - this.notificationUrlLocation = value; - return this; - } - - /** - * @return If present, where to place URLs of resources in notifications. - */ - public SubscriptionUrlLocation getNotificationUrlLocation() { - return this.notificationUrlLocation == null ? null : this.notificationUrlLocation.getValue(); - } - - /** - * @param value If present, where to place URLs of resources in notifications. - */ - public Subscription setNotificationUrlLocation(SubscriptionUrlLocation value) { - if (value == null) - this.notificationUrlLocation = null; - else { - if (this.notificationUrlLocation == null) - this.notificationUrlLocation = new Enumeration(new SubscriptionUrlLocationEnumFactory()); - this.notificationUrlLocation.setValue(value); - } - return this; - } - /** * @return {@link #maxCount} (If present, the maximum number of triggering resources that will be included in a notification bundle (e.g., a server will not include more than this number of trigger resources in a single notification). Note that this is not a strict limit on the number of entries in a bundle, as dependent resources can be included.). This is the underlying object with id, value and extensions. The accessor "getMaxCount" gives direct access to the value */ @@ -1654,7 +1477,6 @@ public class Subscription extends DomainResource { children.add(new Property("timeout", "unsignedInt", "If present, the maximum amount of time a server will allow before failing a notification attempt.", 0, 1, timeout)); children.add(new Property("contentType", "code", "The mime type to send the payload in - either application/fhir+xml, or application/fhir+json. The MIME types \"text/plain\" and \"text/html\" may also be used for Email subscriptions.", 0, 1, contentType)); children.add(new Property("content", "code", "How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.", 0, 1, content)); - children.add(new Property("notificationUrlLocation", "code", "If present, where to place URLs of resources in notifications.", 0, 1, notificationUrlLocation)); children.add(new Property("maxCount", "positiveInt", "If present, the maximum number of triggering resources that will be included in a notification bundle (e.g., a server will not include more than this number of trigger resources in a single notification). Note that this is not a strict limit on the number of entries in a bundle, as dependent resources can be included.", 0, 1, maxCount)); } @@ -1676,7 +1498,6 @@ public class Subscription extends DomainResource { case -1313911455: /*timeout*/ return new Property("timeout", "unsignedInt", "If present, the maximum amount of time a server will allow before failing a notification attempt.", 0, 1, timeout); case -389131437: /*contentType*/ return new Property("contentType", "code", "The mime type to send the payload in - either application/fhir+xml, or application/fhir+json. The MIME types \"text/plain\" and \"text/html\" may also be used for Email subscriptions.", 0, 1, contentType); case 951530617: /*content*/ return new Property("content", "code", "How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.", 0, 1, content); - case 1994381401: /*notificationUrlLocation*/ return new Property("notificationUrlLocation", "code", "If present, where to place URLs of resources in notifications.", 0, 1, notificationUrlLocation); case 382106123: /*maxCount*/ return new Property("maxCount", "positiveInt", "If present, the maximum number of triggering resources that will be included in a notification bundle (e.g., a server will not include more than this number of trigger resources in a single notification). Note that this is not a strict limit on the number of entries in a bundle, as dependent resources can be included.", 0, 1, maxCount); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1688,7 +1509,7 @@ public class Subscription extends DomainResource { switch (hash) { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType - case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 110546223: /*topic*/ return this.topic == null ? new Base[0] : new Base[] {this.topic}; // CanonicalType case 951526432: /*contact*/ return this.contact == null ? new Base[0] : this.contact.toArray(new Base[this.contact.size()]); // ContactPoint case 100571: /*end*/ return this.end == null ? new Base[0] : new Base[] {this.end}; // InstantType @@ -1701,7 +1522,6 @@ public class Subscription extends DomainResource { case -1313911455: /*timeout*/ return this.timeout == null ? new Base[0] : new Base[] {this.timeout}; // UnsignedIntType case -389131437: /*contentType*/ return this.contentType == null ? new Base[0] : new Base[] {this.contentType}; // CodeType case 951530617: /*content*/ return this.content == null ? new Base[0] : new Base[] {this.content}; // Enumeration - case 1994381401: /*notificationUrlLocation*/ return this.notificationUrlLocation == null ? new Base[0] : new Base[] {this.notificationUrlLocation}; // Enumeration case 382106123: /*maxCount*/ return this.maxCount == null ? new Base[0] : new Base[] {this.maxCount}; // PositiveIntType default: return super.getProperty(hash, name, checkValid); } @@ -1718,8 +1538,8 @@ public class Subscription extends DomainResource { this.name = TypeConvertor.castToString(value); // StringType return value; case -892481550: // status - value = new SubscriptionStateEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration + value = new SubscriptionStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration return value; case 110546223: // topic this.topic = TypeConvertor.castToCanonical(value); // CanonicalType @@ -1758,10 +1578,6 @@ public class Subscription extends DomainResource { value = new SubscriptionPayloadContentEnumFactory().fromType(TypeConvertor.castToCode(value)); this.content = (Enumeration) value; // Enumeration return value; - case 1994381401: // notificationUrlLocation - value = new SubscriptionUrlLocationEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.notificationUrlLocation = (Enumeration) value; // Enumeration - return value; case 382106123: // maxCount this.maxCount = TypeConvertor.castToPositiveInt(value); // PositiveIntType return value; @@ -1777,8 +1593,8 @@ public class Subscription extends DomainResource { } else if (name.equals("name")) { this.name = TypeConvertor.castToString(value); // StringType } else if (name.equals("status")) { - value = new SubscriptionStateEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration + value = new SubscriptionStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration } else if (name.equals("topic")) { this.topic = TypeConvertor.castToCanonical(value); // CanonicalType } else if (name.equals("contact")) { @@ -1804,9 +1620,6 @@ public class Subscription extends DomainResource { } else if (name.equals("content")) { value = new SubscriptionPayloadContentEnumFactory().fromType(TypeConvertor.castToCode(value)); this.content = (Enumeration) value; // Enumeration - } else if (name.equals("notificationUrlLocation")) { - value = new SubscriptionUrlLocationEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.notificationUrlLocation = (Enumeration) value; // Enumeration } else if (name.equals("maxCount")) { this.maxCount = TypeConvertor.castToPositiveInt(value); // PositiveIntType } else @@ -1832,7 +1645,6 @@ public class Subscription extends DomainResource { case -1313911455: return getTimeoutElement(); case -389131437: return getContentTypeElement(); case 951530617: return getContentElement(); - case 1994381401: return getNotificationUrlLocationElement(); case 382106123: return getMaxCountElement(); default: return super.makeProperty(hash, name); } @@ -1857,7 +1669,6 @@ public class Subscription extends DomainResource { case -1313911455: /*timeout*/ return new String[] {"unsignedInt"}; case -389131437: /*contentType*/ return new String[] {"code"}; case 951530617: /*content*/ return new String[] {"code"}; - case 1994381401: /*notificationUrlLocation*/ return new String[] {"code"}; case 382106123: /*maxCount*/ return new String[] {"positiveInt"}; default: return super.getTypesForProperty(hash, name); } @@ -1912,9 +1723,6 @@ public class Subscription extends DomainResource { else if (name.equals("content")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.content"); } - else if (name.equals("notificationUrlLocation")) { - throw new FHIRException("Cannot call addChild on a primitive type Subscription.notificationUrlLocation"); - } else if (name.equals("maxCount")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.maxCount"); } @@ -1966,7 +1774,6 @@ public class Subscription extends DomainResource { dst.timeout = timeout == null ? null : timeout.copy(); dst.contentType = contentType == null ? null : contentType.copy(); dst.content = content == null ? null : content.copy(); - dst.notificationUrlLocation = notificationUrlLocation == null ? null : notificationUrlLocation.copy(); dst.maxCount = maxCount == null ? null : maxCount.copy(); } @@ -1986,8 +1793,7 @@ public class Subscription extends DomainResource { && compareDeep(reason, o.reason, true) && compareDeep(filterBy, o.filterBy, true) && compareDeep(channelType, o.channelType, true) && compareDeep(endpoint, o.endpoint, true) && compareDeep(header, o.header, true) && compareDeep(heartbeatPeriod, o.heartbeatPeriod, true) && compareDeep(timeout, o.timeout, true) && compareDeep(contentType, o.contentType, true) && compareDeep(content, o.content, true) - && compareDeep(notificationUrlLocation, o.notificationUrlLocation, true) && compareDeep(maxCount, o.maxCount, true) - ; + && compareDeep(maxCount, o.maxCount, true); } @Override @@ -2001,14 +1807,13 @@ public class Subscription extends DomainResource { && compareValues(end, o.end, true) && compareValues(reason, o.reason, true) && compareValues(endpoint, o.endpoint, true) && compareValues(header, o.header, true) && compareValues(heartbeatPeriod, o.heartbeatPeriod, true) && compareValues(timeout, o.timeout, true) && compareValues(contentType, o.contentType, true) && compareValues(content, o.content, true) - && compareValues(notificationUrlLocation, o.notificationUrlLocation, true) && compareValues(maxCount, o.maxCount, true) - ; + && compareValues(maxCount, o.maxCount, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, name, status , topic, contact, end, reason, filterBy, channelType, endpoint, header, heartbeatPeriod - , timeout, contentType, content, notificationUrlLocation, maxCount); + , timeout, contentType, content, maxCount); } @Override @@ -2016,126 +1821,6 @@ public class Subscription extends DomainResource { return ResourceType.Subscription; } - /** - * Search parameter: contact - *

- * Description: Contact details for the subscription
- * Type: token
- * Path: Subscription.contact
- *

- */ - @SearchParamDefinition(name="contact", path="Subscription.contact", description="Contact details for the subscription", type="token" ) - public static final String SP_CONTACT = "contact"; - /** - * Fluent Client search parameter constant for contact - *

- * Description: Contact details for the subscription
- * Type: token
- * Path: Subscription.contact
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTACT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTACT); - - /** - * Search parameter: identifier - *

- * Description: A subscription identifier
- * Type: token
- * Path: Subscription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Subscription.identifier", description="A subscription identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: A subscription identifier
- * Type: token
- * Path: Subscription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: payload - *

- * Description: The mime-type of the notification payload
- * Type: token
- * Path: null
- *

- */ - @SearchParamDefinition(name="payload", path="", description="The mime-type of the notification payload", type="token" ) - public static final String SP_PAYLOAD = "payload"; - /** - * Fluent Client search parameter constant for payload - *

- * Description: The mime-type of the notification payload
- * Type: token
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PAYLOAD = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PAYLOAD); - - /** - * Search parameter: status - *

- * Description: The current state of the subscription
- * Type: token
- * Path: Subscription.status
- *

- */ - @SearchParamDefinition(name="status", path="Subscription.status", description="The current state of the subscription", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current state of the subscription
- * Type: token
- * Path: Subscription.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: type - *

- * Description: The type of channel for the sent notifications
- * Type: token
- * Path: null
- *

- */ - @SearchParamDefinition(name="type", path="", description="The type of channel for the sent notifications", type="token" ) - public static final String SP_TYPE = "type"; - /** - * Fluent Client search parameter constant for type - *

- * Description: The type of channel for the sent notifications
- * Type: token
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_TYPE); - - /** - * Search parameter: url - *

- * Description: The uri that will receive the notifications
- * Type: uri
- * Path: null
- *

- */ - @SearchParamDefinition(name="url", path="", description="The uri that will receive the notifications", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that will receive the notifications
- * Type: uri
- * Path: null
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionStatus.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionStatus.java index 1d8d604a9..88664a0ad 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionStatus.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionStatus.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -103,6 +103,7 @@ public class SubscriptionStatus extends DomainResource { case EVENTNOTIFICATION: return "event-notification"; case QUERYSTATUS: return "query-status"; case QUERYEVENT: return "query-event"; + case NULL: return null; default: return "?"; } } @@ -113,6 +114,7 @@ public class SubscriptionStatus extends DomainResource { case EVENTNOTIFICATION: return "http://hl7.org/fhir/subscription-notification-type"; case QUERYSTATUS: return "http://hl7.org/fhir/subscription-notification-type"; case QUERYEVENT: return "http://hl7.org/fhir/subscription-notification-type"; + case NULL: return null; default: return "?"; } } @@ -123,6 +125,7 @@ public class SubscriptionStatus extends DomainResource { case EVENTNOTIFICATION: return "The status was generated for an event to the subscriber."; case QUERYSTATUS: return "The status was generated in response to a status query/request."; case QUERYEVENT: return "The status was generated in response to an event query/request."; + case NULL: return null; default: return "?"; } } @@ -133,6 +136,7 @@ public class SubscriptionStatus extends DomainResource { case EVENTNOTIFICATION: return "Event Notification"; case QUERYSTATUS: return "Query Status"; case QUERYEVENT: return "Query Event"; + case NULL: return null; default: return "?"; } } @@ -578,8 +582,8 @@ public class SubscriptionStatus extends DomainResource { */ @Child(name = "status", type = {CodeType.class}, order=0, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="requested | active | error | off | entered-in-error", formalDefinition="The status of the subscription, which marks the server state for managing the subscription." ) - @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-state") - protected Enumeration status; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-status") + protected Enumeration status; /** * The type of event being conveyed with this notificaiton. @@ -596,43 +600,36 @@ public class SubscriptionStatus extends DomainResource { @Description(shortDefinition="Events since the Subscription was created", formalDefinition="The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications." ) protected Integer64Type eventsSinceSubscriptionStart; - /** - * The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching. - */ - @Child(name = "eventsInNotification", type = {IntegerType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The number of actual notifications represented by this bundle", formalDefinition="The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching." ) - protected IntegerType eventsInNotification; - /** * Detailed information about events relevant to this subscription notification. */ - @Child(name = "notificationEvent", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Child(name = "notificationEvent", type = {}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) @Description(shortDefinition="Detailed information about any events relevant to this notification", formalDefinition="Detailed information about events relevant to this subscription notification." ) protected List notificationEvent; /** * The reference to the Subscription which generated this notification. */ - @Child(name = "subscription", type = {Subscription.class}, order=5, min=1, max=1, modifier=false, summary=true) + @Child(name = "subscription", type = {Subscription.class}, order=4, min=1, max=1, modifier=false, summary=true) @Description(shortDefinition="Reference to the Subscription responsible for this notification", formalDefinition="The reference to the Subscription which generated this notification." ) protected Reference subscription; /** * The reference to the SubscriptionTopic for the Subscription which generated this notification. */ - @Child(name = "topic", type = {CanonicalType.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "topic", type = {CanonicalType.class}, order=5, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Reference to the SubscriptionTopic this notification relates to", formalDefinition="The reference to the SubscriptionTopic for the Subscription which generated this notification." ) protected CanonicalType topic; /** * A record of errors that occurred when the server processed a notification. */ - @Child(name = "error", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Child(name = "error", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="List of errors on the subscription", formalDefinition="A record of errors that occurred when the server processed a notification." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-error") protected List error; - private static final long serialVersionUID = -525473971L; + private static final long serialVersionUID = -285503955L; /** * Constructor @@ -653,12 +650,12 @@ public class SubscriptionStatus extends DomainResource { /** * @return {@link #status} (The status of the subscription, which marks the server state for managing the subscription.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ - public Enumeration getStatusElement() { + public Enumeration getStatusElement() { if (this.status == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubscriptionStatus.status"); else if (Configuration.doAutoCreate()) - this.status = new Enumeration(new SubscriptionStateEnumFactory()); // bb + this.status = new Enumeration(new SubscriptionStatusCodesEnumFactory()); // bb return this.status; } @@ -673,7 +670,7 @@ public class SubscriptionStatus extends DomainResource { /** * @param value {@link #status} (The status of the subscription, which marks the server state for managing the subscription.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value */ - public SubscriptionStatus setStatusElement(Enumeration value) { + public SubscriptionStatus setStatusElement(Enumeration value) { this.status = value; return this; } @@ -681,19 +678,19 @@ public class SubscriptionStatus extends DomainResource { /** * @return The status of the subscription, which marks the server state for managing the subscription. */ - public SubscriptionState getStatus() { + public SubscriptionStatusCodes getStatus() { return this.status == null ? null : this.status.getValue(); } /** * @param value The status of the subscription, which marks the server state for managing the subscription. */ - public SubscriptionStatus setStatus(SubscriptionState value) { + public SubscriptionStatus setStatus(SubscriptionStatusCodes value) { if (value == null) this.status = null; else { if (this.status == null) - this.status = new Enumeration(new SubscriptionStateEnumFactory()); + this.status = new Enumeration(new SubscriptionStatusCodesEnumFactory()); this.status.setValue(value); } return this; @@ -788,51 +785,6 @@ public class SubscriptionStatus extends DomainResource { return this; } - /** - * @return {@link #eventsInNotification} (The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching.). This is the underlying object with id, value and extensions. The accessor "getEventsInNotification" gives direct access to the value - */ - public IntegerType getEventsInNotificationElement() { - if (this.eventsInNotification == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SubscriptionStatus.eventsInNotification"); - else if (Configuration.doAutoCreate()) - this.eventsInNotification = new IntegerType(); // bb - return this.eventsInNotification; - } - - public boolean hasEventsInNotificationElement() { - return this.eventsInNotification != null && !this.eventsInNotification.isEmpty(); - } - - public boolean hasEventsInNotification() { - return this.eventsInNotification != null && !this.eventsInNotification.isEmpty(); - } - - /** - * @param value {@link #eventsInNotification} (The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching.). This is the underlying object with id, value and extensions. The accessor "getEventsInNotification" gives direct access to the value - */ - public SubscriptionStatus setEventsInNotificationElement(IntegerType value) { - this.eventsInNotification = value; - return this; - } - - /** - * @return The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching. - */ - public int getEventsInNotification() { - return this.eventsInNotification == null || this.eventsInNotification.isEmpty() ? 0 : this.eventsInNotification.getValue(); - } - - /** - * @param value The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching. - */ - public SubscriptionStatus setEventsInNotification(int value) { - if (this.eventsInNotification == null) - this.eventsInNotification = new IntegerType(); - this.eventsInNotification.setValue(value); - return this; - } - /** * @return {@link #notificationEvent} (Detailed information about events relevant to this subscription notification.) */ @@ -1017,7 +969,6 @@ public class SubscriptionStatus extends DomainResource { children.add(new Property("status", "code", "The status of the subscription, which marks the server state for managing the subscription.", 0, 1, status)); children.add(new Property("type", "code", "The type of event being conveyed with this notificaiton.", 0, 1, type)); children.add(new Property("eventsSinceSubscriptionStart", "integer64", "The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications.", 0, 1, eventsSinceSubscriptionStart)); - children.add(new Property("eventsInNotification", "integer", "The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching.", 0, 1, eventsInNotification)); children.add(new Property("notificationEvent", "", "Detailed information about events relevant to this subscription notification.", 0, java.lang.Integer.MAX_VALUE, notificationEvent)); children.add(new Property("subscription", "Reference(Subscription)", "The reference to the Subscription which generated this notification.", 0, 1, subscription)); children.add(new Property("topic", "canonical(SubscriptionTopic)", "The reference to the SubscriptionTopic for the Subscription which generated this notification.", 0, 1, topic)); @@ -1030,7 +981,6 @@ public class SubscriptionStatus extends DomainResource { case -892481550: /*status*/ return new Property("status", "code", "The status of the subscription, which marks the server state for managing the subscription.", 0, 1, status); case 3575610: /*type*/ return new Property("type", "code", "The type of event being conveyed with this notificaiton.", 0, 1, type); case 304566692: /*eventsSinceSubscriptionStart*/ return new Property("eventsSinceSubscriptionStart", "integer64", "The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications.", 0, 1, eventsSinceSubscriptionStart); - case 191408169: /*eventsInNotification*/ return new Property("eventsInNotification", "integer", "The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching.", 0, 1, eventsInNotification); case -1595878289: /*notificationEvent*/ return new Property("notificationEvent", "", "Detailed information about events relevant to this subscription notification.", 0, java.lang.Integer.MAX_VALUE, notificationEvent); case 341203229: /*subscription*/ return new Property("subscription", "Reference(Subscription)", "The reference to the Subscription which generated this notification.", 0, 1, subscription); case 110546223: /*topic*/ return new Property("topic", "canonical(SubscriptionTopic)", "The reference to the SubscriptionTopic for the Subscription which generated this notification.", 0, 1, topic); @@ -1043,10 +993,9 @@ public class SubscriptionStatus extends DomainResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration case 304566692: /*eventsSinceSubscriptionStart*/ return this.eventsSinceSubscriptionStart == null ? new Base[0] : new Base[] {this.eventsSinceSubscriptionStart}; // Integer64Type - case 191408169: /*eventsInNotification*/ return this.eventsInNotification == null ? new Base[0] : new Base[] {this.eventsInNotification}; // IntegerType case -1595878289: /*notificationEvent*/ return this.notificationEvent == null ? new Base[0] : this.notificationEvent.toArray(new Base[this.notificationEvent.size()]); // SubscriptionStatusNotificationEventComponent case 341203229: /*subscription*/ return this.subscription == null ? new Base[0] : new Base[] {this.subscription}; // Reference case 110546223: /*topic*/ return this.topic == null ? new Base[0] : new Base[] {this.topic}; // CanonicalType @@ -1060,8 +1009,8 @@ public class SubscriptionStatus extends DomainResource { public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case -892481550: // status - value = new SubscriptionStateEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration + value = new SubscriptionStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration return value; case 3575610: // type value = new SubscriptionNotificationTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); @@ -1070,9 +1019,6 @@ public class SubscriptionStatus extends DomainResource { case 304566692: // eventsSinceSubscriptionStart this.eventsSinceSubscriptionStart = TypeConvertor.castToInteger64(value); // Integer64Type return value; - case 191408169: // eventsInNotification - this.eventsInNotification = TypeConvertor.castToInteger(value); // IntegerType - return value; case -1595878289: // notificationEvent this.getNotificationEvent().add((SubscriptionStatusNotificationEventComponent) value); // SubscriptionStatusNotificationEventComponent return value; @@ -1093,15 +1039,13 @@ public class SubscriptionStatus extends DomainResource { @Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("status")) { - value = new SubscriptionStateEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.status = (Enumeration) value; // Enumeration + value = new SubscriptionStatusCodesEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration } else if (name.equals("type")) { value = new SubscriptionNotificationTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); this.type = (Enumeration) value; // Enumeration } else if (name.equals("eventsSinceSubscriptionStart")) { this.eventsSinceSubscriptionStart = TypeConvertor.castToInteger64(value); // Integer64Type - } else if (name.equals("eventsInNotification")) { - this.eventsInNotification = TypeConvertor.castToInteger(value); // IntegerType } else if (name.equals("notificationEvent")) { this.getNotificationEvent().add((SubscriptionStatusNotificationEventComponent) value); } else if (name.equals("subscription")) { @@ -1121,7 +1065,6 @@ public class SubscriptionStatus extends DomainResource { case -892481550: return getStatusElement(); case 3575610: return getTypeElement(); case 304566692: return getEventsSinceSubscriptionStartElement(); - case 191408169: return getEventsInNotificationElement(); case -1595878289: return addNotificationEvent(); case 341203229: return getSubscription(); case 110546223: return getTopicElement(); @@ -1137,7 +1080,6 @@ public class SubscriptionStatus extends DomainResource { case -892481550: /*status*/ return new String[] {"code"}; case 3575610: /*type*/ return new String[] {"code"}; case 304566692: /*eventsSinceSubscriptionStart*/ return new String[] {"integer64"}; - case 191408169: /*eventsInNotification*/ return new String[] {"integer"}; case -1595878289: /*notificationEvent*/ return new String[] {}; case 341203229: /*subscription*/ return new String[] {"Reference"}; case 110546223: /*topic*/ return new String[] {"canonical"}; @@ -1158,9 +1100,6 @@ public class SubscriptionStatus extends DomainResource { else if (name.equals("eventsSinceSubscriptionStart")) { throw new FHIRException("Cannot call addChild on a primitive type SubscriptionStatus.eventsSinceSubscriptionStart"); } - else if (name.equals("eventsInNotification")) { - throw new FHIRException("Cannot call addChild on a primitive type SubscriptionStatus.eventsInNotification"); - } else if (name.equals("notificationEvent")) { return addNotificationEvent(); } @@ -1194,7 +1133,6 @@ public class SubscriptionStatus extends DomainResource { dst.status = status == null ? null : status.copy(); dst.type = type == null ? null : type.copy(); dst.eventsSinceSubscriptionStart = eventsSinceSubscriptionStart == null ? null : eventsSinceSubscriptionStart.copy(); - dst.eventsInNotification = eventsInNotification == null ? null : eventsInNotification.copy(); if (notificationEvent != null) { dst.notificationEvent = new ArrayList(); for (SubscriptionStatusNotificationEventComponent i : notificationEvent) @@ -1221,9 +1159,8 @@ public class SubscriptionStatus extends DomainResource { return false; SubscriptionStatus o = (SubscriptionStatus) other_; return compareDeep(status, o.status, true) && compareDeep(type, o.type, true) && compareDeep(eventsSinceSubscriptionStart, o.eventsSinceSubscriptionStart, true) - && compareDeep(eventsInNotification, o.eventsInNotification, true) && compareDeep(notificationEvent, o.notificationEvent, true) - && compareDeep(subscription, o.subscription, true) && compareDeep(topic, o.topic, true) && compareDeep(error, o.error, true) - ; + && compareDeep(notificationEvent, o.notificationEvent, true) && compareDeep(subscription, o.subscription, true) + && compareDeep(topic, o.topic, true) && compareDeep(error, o.error, true); } @Override @@ -1234,13 +1171,12 @@ public class SubscriptionStatus extends DomainResource { return false; SubscriptionStatus o = (SubscriptionStatus) other_; return compareValues(status, o.status, true) && compareValues(type, o.type, true) && compareValues(eventsSinceSubscriptionStart, o.eventsSinceSubscriptionStart, true) - && compareValues(eventsInNotification, o.eventsInNotification, true) && compareValues(topic, o.topic, true) - ; + && compareValues(topic, o.topic, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(status, type, eventsSinceSubscriptionStart - , eventsInNotification, notificationEvent, subscription, topic, error); + , notificationEvent, subscription, topic, error); } @Override diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionTopic.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionTopic.java index 3c73c5d29..4002d9c27 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionTopic.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubscriptionTopic.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -51,7 +51,7 @@ import ca.uhn.fhir.model.api.annotation.Block; * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. */ @ResourceDef(name="SubscriptionTopic", profile="http://hl7.org/fhir/StructureDefinition/SubscriptionTopic") -public class SubscriptionTopic extends DomainResource { +public class SubscriptionTopic extends CanonicalResource { public enum CriteriaNotExistsBehavior { /** @@ -82,6 +82,7 @@ public class SubscriptionTopic extends DomainResource { switch (this) { case TESTPASSES: return "test-passes"; case TESTFAILS: return "test-fails"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class SubscriptionTopic extends DomainResource { switch (this) { case TESTPASSES: return "http://hl7.org/fhir/subscriptiontopic-cr-behavior"; case TESTFAILS: return "http://hl7.org/fhir/subscriptiontopic-cr-behavior"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class SubscriptionTopic extends DomainResource { switch (this) { case TESTPASSES: return "The requested conditional statement will pass if a matching state does not exist (e.g., previous state during create)."; case TESTFAILS: return "The requested conditional statement will fail if a matching state does not exist (e.g., previous state during create)."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class SubscriptionTopic extends DomainResource { switch (this) { case TESTPASSES: return "test passes"; case TESTFAILS: return "test fails"; + case NULL: return null; default: return "?"; } } @@ -181,6 +185,7 @@ public class SubscriptionTopic extends DomainResource { case CREATE: return "create"; case UPDATE: return "update"; case DELETE: return "delete"; + case NULL: return null; default: return "?"; } } @@ -189,6 +194,7 @@ public class SubscriptionTopic extends DomainResource { case CREATE: return "http://hl7.org/fhir/restful-interaction"; case UPDATE: return "http://hl7.org/fhir/restful-interaction"; case DELETE: return "http://hl7.org/fhir/restful-interaction"; + case NULL: return null; default: return "?"; } } @@ -197,6 +203,7 @@ public class SubscriptionTopic extends DomainResource { case CREATE: return "Create a new resource with a server assigned id."; case UPDATE: return "Update an existing resource by its id (or create it if it is new)."; case DELETE: return "Delete a resource."; + case NULL: return null; default: return "?"; } } @@ -205,6 +212,7 @@ public class SubscriptionTopic extends DomainResource { case CREATE: return "create"; case UPDATE: return "update"; case DELETE: return "delete"; + case NULL: return null; default: return "?"; } } @@ -727,10 +735,10 @@ public class SubscriptionTopic extends DomainResource { protected StringType previous; /** - * What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create). + * For "create" interactions, should the "previous" criteria count as an automatic pass or an automatic fail. */ @Child(name = "resultForCreate", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="test-passes | test-fails", formalDefinition="What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create)." ) + @Description(shortDefinition="test-passes | test-fails", formalDefinition="For \"create\" interactions, should the \"previous\" criteria count as an automatic pass or an automatic fail." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscriptiontopic-cr-behavior") protected Enumeration resultForCreate; @@ -742,10 +750,10 @@ public class SubscriptionTopic extends DomainResource { protected StringType current; /** - * What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE). + * For "delete" interactions, should the "current" criteria count as an automatic pass or an automatic fail. */ @Child(name = "resultForDelete", type = {CodeType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="test-passes | test-fails", formalDefinition="What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE)." ) + @Description(shortDefinition="test-passes | test-fails", formalDefinition="For \"delete\" interactions, should the \"current\" criteria count as an automatic pass or an automatic fail." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscriptiontopic-cr-behavior") protected Enumeration resultForDelete; @@ -815,7 +823,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return {@link #resultForCreate} (What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create).). This is the underlying object with id, value and extensions. The accessor "getResultForCreate" gives direct access to the value + * @return {@link #resultForCreate} (For "create" interactions, should the "previous" criteria count as an automatic pass or an automatic fail.). This is the underlying object with id, value and extensions. The accessor "getResultForCreate" gives direct access to the value */ public Enumeration getResultForCreateElement() { if (this.resultForCreate == null) @@ -835,7 +843,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @param value {@link #resultForCreate} (What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create).). This is the underlying object with id, value and extensions. The accessor "getResultForCreate" gives direct access to the value + * @param value {@link #resultForCreate} (For "create" interactions, should the "previous" criteria count as an automatic pass or an automatic fail.). This is the underlying object with id, value and extensions. The accessor "getResultForCreate" gives direct access to the value */ public SubscriptionTopicResourceTriggerQueryCriteriaComponent setResultForCreateElement(Enumeration value) { this.resultForCreate = value; @@ -843,14 +851,14 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create). + * @return For "create" interactions, should the "previous" criteria count as an automatic pass or an automatic fail. */ public CriteriaNotExistsBehavior getResultForCreate() { return this.resultForCreate == null ? null : this.resultForCreate.getValue(); } /** - * @param value What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create). + * @param value For "create" interactions, should the "previous" criteria count as an automatic pass or an automatic fail. */ public SubscriptionTopicResourceTriggerQueryCriteriaComponent setResultForCreate(CriteriaNotExistsBehavior value) { if (value == null) @@ -913,7 +921,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return {@link #resultForDelete} (What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE).). This is the underlying object with id, value and extensions. The accessor "getResultForDelete" gives direct access to the value + * @return {@link #resultForDelete} (For "delete" interactions, should the "current" criteria count as an automatic pass or an automatic fail.). This is the underlying object with id, value and extensions. The accessor "getResultForDelete" gives direct access to the value */ public Enumeration getResultForDeleteElement() { if (this.resultForDelete == null) @@ -933,7 +941,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @param value {@link #resultForDelete} (What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE).). This is the underlying object with id, value and extensions. The accessor "getResultForDelete" gives direct access to the value + * @param value {@link #resultForDelete} (For "delete" interactions, should the "current" criteria count as an automatic pass or an automatic fail.). This is the underlying object with id, value and extensions. The accessor "getResultForDelete" gives direct access to the value */ public SubscriptionTopicResourceTriggerQueryCriteriaComponent setResultForDeleteElement(Enumeration value) { this.resultForDelete = value; @@ -941,14 +949,14 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE). + * @return For "delete" interactions, should the "current" criteria count as an automatic pass or an automatic fail. */ public CriteriaNotExistsBehavior getResultForDelete() { return this.resultForDelete == null ? null : this.resultForDelete.getValue(); } /** - * @param value What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE). + * @param value For "delete" interactions, should the "current" criteria count as an automatic pass or an automatic fail. */ public SubscriptionTopicResourceTriggerQueryCriteriaComponent setResultForDelete(CriteriaNotExistsBehavior value) { if (value == null) @@ -1009,9 +1017,9 @@ public class SubscriptionTopic extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("previous", "string", "The FHIR query based rules are applied to the previous resource state (e.g., state before an update).", 0, 1, previous)); - children.add(new Property("resultForCreate", "code", "What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create).", 0, 1, resultForCreate)); + children.add(new Property("resultForCreate", "code", "For \"create\" interactions, should the \"previous\" criteria count as an automatic pass or an automatic fail.", 0, 1, resultForCreate)); children.add(new Property("current", "string", "The FHIR query based rules are applied to the current resource state (e.g., state after an update).", 0, 1, current)); - children.add(new Property("resultForDelete", "code", "What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE).", 0, 1, resultForDelete)); + children.add(new Property("resultForDelete", "code", "For \"delete\" interactions, should the \"current\" criteria count as an automatic pass or an automatic fail.", 0, 1, resultForDelete)); children.add(new Property("requireBoth", "boolean", "If set to true, both current and previous criteria must evaluate true to trigger a notification for this topic. Otherwise a notification for this topic will be triggered if either one evaluates to true.", 0, 1, requireBoth)); } @@ -1019,9 +1027,9 @@ public class SubscriptionTopic extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1273775369: /*previous*/ return new Property("previous", "string", "The FHIR query based rules are applied to the previous resource state (e.g., state before an update).", 0, 1, previous); - case -407976056: /*resultForCreate*/ return new Property("resultForCreate", "code", "What behavior a server will exhibit if the previous state of a resource does NOT exist (e.g., prior to a create).", 0, 1, resultForCreate); + case -407976056: /*resultForCreate*/ return new Property("resultForCreate", "code", "For \"create\" interactions, should the \"previous\" criteria count as an automatic pass or an automatic fail.", 0, 1, resultForCreate); case 1126940025: /*current*/ return new Property("current", "string", "The FHIR query based rules are applied to the current resource state (e.g., state after an update).", 0, 1, current); - case -391140297: /*resultForDelete*/ return new Property("resultForDelete", "code", "What behavior a server will exhibit if the current state of a resource does NOT exist (e.g., after a DELETE).", 0, 1, resultForDelete); + case -391140297: /*resultForDelete*/ return new Property("resultForDelete", "code", "For \"delete\" interactions, should the \"current\" criteria count as an automatic pass or an automatic fail.", 0, 1, resultForDelete); case 362116742: /*requireBoth*/ return new Property("requireBoth", "boolean", "If set to true, both current and previous criteria must evaluate true to trigger a notification for this topic. Otherwise a notification for this topic will be triggered if either one evaluates to true.", 0, 1, requireBoth); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1508,19 +1516,26 @@ public class SubscriptionTopic extends DomainResource { /** * Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or topic-defined parameter (like "hub.event") which is a label for the filter. */ - @Child(name = "filterParameter", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Resource Search Parameter or filter parameter defined in this topic that serves as filter key", formalDefinition="Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or topic-defined parameter (like \"hub.event\") which is a label for the filter." ) + @Child(name = "filterParameter", type = {StringType.class}, order=3, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Human-readable and computation-friendly name for a filter parameter usable by subscriptions on this topic, via Subscription.filterBy.filterParameter", formalDefinition="Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or topic-defined parameter (like \"hub.event\") which is a label for the filter." ) protected StringType filterParameter; /** - * Allowable operators to apply when determining matches (Search Modifiers). + * Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event"). */ - @Child(name = "modifier", type = {CodeType.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="= | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type", formalDefinition="Allowable operators to apply when determining matches (Search Modifiers)." ) + @Child(name = "filterDefinition", type = {UriType.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Canonical URL for a filterParameter definition", formalDefinition="Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or the officially-defined URI for a shared filter concept (like \"http://example.org/concepts/shared-common-event\")." ) + protected UriType filterDefinition; + + /** + * Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter. + */ + @Child(name = "modifier", type = {CodeType.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="= | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type", formalDefinition="Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/subscription-search-modifier") protected List> modifier; - private static final long serialVersionUID = -2140856175L; + private static final long serialVersionUID = 1579878218L; /** * Constructor @@ -1529,6 +1544,14 @@ public class SubscriptionTopic extends DomainResource { super(); } + /** + * Constructor + */ + public SubscriptionTopicCanFilterByComponent(String filterParameter) { + super(); + this.setFilterParameter(filterParameter); + } + /** * @return {@link #description} (Description of how this filtering parameter is intended to be used.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value */ @@ -1666,18 +1689,63 @@ public class SubscriptionTopic extends DomainResource { * @param value Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or topic-defined parameter (like "hub.event") which is a label for the filter. */ public SubscriptionTopicCanFilterByComponent setFilterParameter(String value) { - if (Utilities.noString(value)) - this.filterParameter = null; - else { if (this.filterParameter == null) this.filterParameter = new StringType(); this.filterParameter.setValue(value); + return this; + } + + /** + * @return {@link #filterDefinition} (Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event").). This is the underlying object with id, value and extensions. The accessor "getFilterDefinition" gives direct access to the value + */ + public UriType getFilterDefinitionElement() { + if (this.filterDefinition == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create SubscriptionTopicCanFilterByComponent.filterDefinition"); + else if (Configuration.doAutoCreate()) + this.filterDefinition = new UriType(); // bb + return this.filterDefinition; + } + + public boolean hasFilterDefinitionElement() { + return this.filterDefinition != null && !this.filterDefinition.isEmpty(); + } + + public boolean hasFilterDefinition() { + return this.filterDefinition != null && !this.filterDefinition.isEmpty(); + } + + /** + * @param value {@link #filterDefinition} (Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event").). This is the underlying object with id, value and extensions. The accessor "getFilterDefinition" gives direct access to the value + */ + public SubscriptionTopicCanFilterByComponent setFilterDefinitionElement(UriType value) { + this.filterDefinition = value; + return this; + } + + /** + * @return Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event"). + */ + public String getFilterDefinition() { + return this.filterDefinition == null ? null : this.filterDefinition.getValue(); + } + + /** + * @param value Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event"). + */ + public SubscriptionTopicCanFilterByComponent setFilterDefinition(String value) { + if (Utilities.noString(value)) + this.filterDefinition = null; + else { + if (this.filterDefinition == null) + this.filterDefinition = new UriType(); + this.filterDefinition.setValue(value); } return this; } /** - * @return {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers).) + * @return {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter.) */ public List> getModifier() { if (this.modifier == null) @@ -1703,7 +1771,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers).) + * @return {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter.) */ public Enumeration addModifierElement() {//2 Enumeration t = new Enumeration(new SubscriptionSearchModifierEnumFactory()); @@ -1714,7 +1782,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @param value {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers).) + * @param value {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter.) */ public SubscriptionTopicCanFilterByComponent addModifier(SubscriptionSearchModifier value) { //1 Enumeration t = new Enumeration(new SubscriptionSearchModifierEnumFactory()); @@ -1726,7 +1794,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @param value {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers).) + * @param value {@link #modifier} (Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter.) */ public boolean hasModifier(SubscriptionSearchModifier value) { if (this.modifier == null) @@ -1742,7 +1810,8 @@ public class SubscriptionTopic extends DomainResource { children.add(new Property("description", "markdown", "Description of how this filtering parameter is intended to be used.", 0, 1, description)); children.add(new Property("resource", "uri", "URL of the Resource that is the type used in this filter. This is the \"focus\" of the topic (or one of them if there are more than one). It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present.", 0, 1, resource)); children.add(new Property("filterParameter", "string", "Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or topic-defined parameter (like \"hub.event\") which is a label for the filter.", 0, 1, filterParameter)); - children.add(new Property("modifier", "code", "Allowable operators to apply when determining matches (Search Modifiers).", 0, java.lang.Integer.MAX_VALUE, modifier)); + children.add(new Property("filterDefinition", "uri", "Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or the officially-defined URI for a shared filter concept (like \"http://example.org/concepts/shared-common-event\").", 0, 1, filterDefinition)); + children.add(new Property("modifier", "code", "Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter.", 0, java.lang.Integer.MAX_VALUE, modifier)); } @Override @@ -1751,7 +1820,8 @@ public class SubscriptionTopic extends DomainResource { case -1724546052: /*description*/ return new Property("description", "markdown", "Description of how this filtering parameter is intended to be used.", 0, 1, description); case -341064690: /*resource*/ return new Property("resource", "uri", "URL of the Resource that is the type used in this filter. This is the \"focus\" of the topic (or one of them if there are more than one). It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present.", 0, 1, resource); case 618257: /*filterParameter*/ return new Property("filterParameter", "string", "Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or topic-defined parameter (like \"hub.event\") which is a label for the filter.", 0, 1, filterParameter); - case -615513385: /*modifier*/ return new Property("modifier", "code", "Allowable operators to apply when determining matches (Search Modifiers).", 0, java.lang.Integer.MAX_VALUE, modifier); + case -1453988117: /*filterDefinition*/ return new Property("filterDefinition", "uri", "Either the canonical URL to a search parameter (like \"http://hl7.org/fhir/SearchParameter/encounter-patient\") or the officially-defined URI for a shared filter concept (like \"http://example.org/concepts/shared-common-event\").", 0, 1, filterDefinition); + case -615513385: /*modifier*/ return new Property("modifier", "code", "Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter.", 0, java.lang.Integer.MAX_VALUE, modifier); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1763,6 +1833,7 @@ public class SubscriptionTopic extends DomainResource { case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType case -341064690: /*resource*/ return this.resource == null ? new Base[0] : new Base[] {this.resource}; // UriType case 618257: /*filterParameter*/ return this.filterParameter == null ? new Base[0] : new Base[] {this.filterParameter}; // StringType + case -1453988117: /*filterDefinition*/ return this.filterDefinition == null ? new Base[0] : new Base[] {this.filterDefinition}; // UriType case -615513385: /*modifier*/ return this.modifier == null ? new Base[0] : this.modifier.toArray(new Base[this.modifier.size()]); // Enumeration default: return super.getProperty(hash, name, checkValid); } @@ -1781,6 +1852,9 @@ public class SubscriptionTopic extends DomainResource { case 618257: // filterParameter this.filterParameter = TypeConvertor.castToString(value); // StringType return value; + case -1453988117: // filterDefinition + this.filterDefinition = TypeConvertor.castToUri(value); // UriType + return value; case -615513385: // modifier value = new SubscriptionSearchModifierEnumFactory().fromType(TypeConvertor.castToCode(value)); this.getModifier().add((Enumeration) value); // Enumeration @@ -1798,6 +1872,8 @@ public class SubscriptionTopic extends DomainResource { this.resource = TypeConvertor.castToUri(value); // UriType } else if (name.equals("filterParameter")) { this.filterParameter = TypeConvertor.castToString(value); // StringType + } else if (name.equals("filterDefinition")) { + this.filterDefinition = TypeConvertor.castToUri(value); // UriType } else if (name.equals("modifier")) { value = new SubscriptionSearchModifierEnumFactory().fromType(TypeConvertor.castToCode(value)); this.getModifier().add((Enumeration) value); @@ -1812,6 +1888,7 @@ public class SubscriptionTopic extends DomainResource { case -1724546052: return getDescriptionElement(); case -341064690: return getResourceElement(); case 618257: return getFilterParameterElement(); + case -1453988117: return getFilterDefinitionElement(); case -615513385: return addModifierElement(); default: return super.makeProperty(hash, name); } @@ -1824,6 +1901,7 @@ public class SubscriptionTopic extends DomainResource { case -1724546052: /*description*/ return new String[] {"markdown"}; case -341064690: /*resource*/ return new String[] {"uri"}; case 618257: /*filterParameter*/ return new String[] {"string"}; + case -1453988117: /*filterDefinition*/ return new String[] {"uri"}; case -615513385: /*modifier*/ return new String[] {"code"}; default: return super.getTypesForProperty(hash, name); } @@ -1841,6 +1919,9 @@ public class SubscriptionTopic extends DomainResource { else if (name.equals("filterParameter")) { throw new FHIRException("Cannot call addChild on a primitive type SubscriptionTopic.canFilterBy.filterParameter"); } + else if (name.equals("filterDefinition")) { + throw new FHIRException("Cannot call addChild on a primitive type SubscriptionTopic.canFilterBy.filterDefinition"); + } else if (name.equals("modifier")) { throw new FHIRException("Cannot call addChild on a primitive type SubscriptionTopic.canFilterBy.modifier"); } @@ -1859,6 +1940,7 @@ public class SubscriptionTopic extends DomainResource { dst.description = description == null ? null : description.copy(); dst.resource = resource == null ? null : resource.copy(); dst.filterParameter = filterParameter == null ? null : filterParameter.copy(); + dst.filterDefinition = filterDefinition == null ? null : filterDefinition.copy(); if (modifier != null) { dst.modifier = new ArrayList>(); for (Enumeration i : modifier) @@ -1874,8 +1956,8 @@ public class SubscriptionTopic extends DomainResource { return false; SubscriptionTopicCanFilterByComponent o = (SubscriptionTopicCanFilterByComponent) other_; return compareDeep(description, o.description, true) && compareDeep(resource, o.resource, true) - && compareDeep(filterParameter, o.filterParameter, true) && compareDeep(modifier, o.modifier, true) - ; + && compareDeep(filterParameter, o.filterParameter, true) && compareDeep(filterDefinition, o.filterDefinition, true) + && compareDeep(modifier, o.modifier, true); } @Override @@ -1886,13 +1968,13 @@ public class SubscriptionTopic extends DomainResource { return false; SubscriptionTopicCanFilterByComponent o = (SubscriptionTopicCanFilterByComponent) other_; return compareValues(description, o.description, true) && compareValues(resource, o.resource, true) - && compareValues(filterParameter, o.filterParameter, true) && compareValues(modifier, o.modifier, true) - ; + && compareValues(filterParameter, o.filterParameter, true) && compareValues(filterDefinition, o.filterDefinition, true) + && compareValues(modifier, o.modifier, true); } public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(description, resource, filterParameter - , modifier); + , filterDefinition, modifier); } public String fhirType() { @@ -2262,31 +2344,31 @@ public class SubscriptionTopic extends DomainResource { } /** - * An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions). + * An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers. */ @Child(name = "url", type = {UriType.class}, order=0, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Logical canonical URL to reference this SubscriptionTopic (globally unique)", formalDefinition="An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions)." ) + @Description(shortDefinition="Canonical identifier for this subscription topic definition, represented as a URI (globally unique)", formalDefinition="An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers." ) protected UriType url; /** - * Business identifiers assigned to this SubscriptionTopic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server. + * Business identifiers assigned to this subscription topic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server. */ @Child(name = "identifier", type = {Identifier.class}, order=1, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Business Identifier for SubscriptionTopic", formalDefinition="Business identifiers assigned to this SubscriptionTopic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server." ) + @Description(shortDefinition="Business Identifier for this subscription topic", formalDefinition="Business identifiers assigned to this subscription topic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server." ) protected List identifier; /** - * The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable. + * The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable. */ @Child(name = "version", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Business version of the SubscriptionTopic", formalDefinition="The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable." ) + @Description(shortDefinition="Business version of the subscription topic", formalDefinition="The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable." ) protected StringType version; /** * A short, descriptive, user-friendly title for the SubscriptionTopic, for example, "admission". */ @Child(name = "title", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Name for this SubscriptionTopic (Human friendly)", formalDefinition="A short, descriptive, user-friendly title for the SubscriptionTopic, for example, \"admission\"." ) + @Description(shortDefinition="Name for this subscription topic (Human friendly)", formalDefinition="A short, descriptive, user-friendly title for the SubscriptionTopic, for example, \"admission\"." ) protected StringType title; /** @@ -2436,7 +2518,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return {@link #url} (An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions).). 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 subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers.). 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) @@ -2456,7 +2538,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @param value {@link #url} (An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions).). 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 subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value */ public SubscriptionTopic setUrlElement(UriType value) { this.url = value; @@ -2464,14 +2546,14 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions). + * @return An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers. */ public String getUrl() { return this.url == null ? null : this.url.getValue(); } /** - * @param value An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions). + * @param value An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers. */ public SubscriptionTopic setUrl(String value) { if (this.url == null) @@ -2481,7 +2563,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return {@link #identifier} (Business identifiers assigned to this SubscriptionTopic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.) + * @return {@link #identifier} (Business identifiers assigned to this subscription topic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.) */ public List getIdentifier() { if (this.identifier == null) @@ -2534,7 +2616,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return {@link #version} (The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + * @return {@link #version} (The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). 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) @@ -2554,7 +2636,7 @@ public class SubscriptionTopic extends DomainResource { } /** - * @param value {@link #version} (The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + * @param value {@link #version} (The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value */ public SubscriptionTopic setVersionElement(StringType value) { this.version = value; @@ -2562,14 +2644,14 @@ public class SubscriptionTopic extends DomainResource { } /** - * @return The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable. + * @return The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable. */ public String getVersion() { return this.version == null ? null : this.version.getValue(); } /** - * @param value The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable. + * @param value The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable. */ public SubscriptionTopic setVersion(String value) { if (Utilities.noString(value)) @@ -3520,11 +3602,47 @@ public class SubscriptionTopic extends DomainResource { return getNotificationShape().get(0); } + /** + * not supported on this implementation + */ + @Override + public int getNameMax() { + return 0; + } + /** + * @return {@link #name} (A natural language name identifying the subscription topic. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public StringType getNameElement() { + throw new Error("The resource type \"SubscriptionTopic\" does not implement the property \"name\""); + } + + public boolean hasNameElement() { + return false; + } + public boolean hasName() { + return false; + } + + /** + * @param value {@link #name} (A natural language name identifying the subscription topic. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value + */ + public SubscriptionTopic setNameElement(StringType value) { + throw new Error("The resource type \"SubscriptionTopic\" does not implement the property \"name\""); + } + public String getName() { + throw new Error("The resource type \"SubscriptionTopic\" does not implement the property \"name\""); + } + /** + * @param value A natural language name identifying the subscription topic. This name should be usable as an identifier for the module by machine processing applications such as code generation. + */ + public SubscriptionTopic setName(String value) { + throw new Error("The resource type \"SubscriptionTopic\" does not implement the property \"name\""); + } protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("url", "uri", "An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions).", 0, 1, url)); - children.add(new Property("identifier", "Identifier", "Business identifiers assigned to this SubscriptionTopic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("version", "string", "The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.", 0, 1, version)); + children.add(new Property("url", "uri", "An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers.", 0, 1, url)); + children.add(new Property("identifier", "Identifier", "Business identifiers assigned to this subscription topic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("version", "string", "The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.", 0, 1, version)); children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the SubscriptionTopic, for example, \"admission\".", 0, 1, title)); children.add(new Property("derivedFrom", "canonical(SubscriptionTopic)", "The canonical URL pointing to another FHIR-defined SubscriptionTopic that is adhered to in whole or in part by this SubscriptionTopic.", 0, java.lang.Integer.MAX_VALUE, derivedFrom)); children.add(new Property("status", "code", "The current state of the SubscriptionTopic.", 0, 1, status)); @@ -3549,9 +3667,9 @@ public class SubscriptionTopic extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 116079: /*url*/ return new Property("url", "uri", "An absolute URL that is used to identify this SubscriptionTopic when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Topic is (or will be) published. The URL SHOULD include the major version of the Topic. For more information see [Technical and Business Versions](resource.html#versions).", 0, 1, url); - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifiers assigned to this SubscriptionTopic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier); - case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the SubscriptionTopic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.", 0, 1, version); + case 116079: /*url*/ return new Property("url", "uri", "An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers.", 0, 1, url); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifiers assigned to this subscription topic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier); + case 351608024: /*version*/ return new Property("version", "string", "The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.", 0, 1, version); case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the SubscriptionTopic, for example, \"admission\".", 0, 1, title); case 1077922663: /*derivedFrom*/ return new Property("derivedFrom", "canonical(SubscriptionTopic)", "The canonical URL pointing to another FHIR-defined SubscriptionTopic that is adhered to in whole or in part by this SubscriptionTopic.", 0, java.lang.Integer.MAX_VALUE, derivedFrom); case -892481550: /*status*/ return new Property("status", "code", "The current state of the SubscriptionTopic.", 0, 1, status); @@ -3987,186 +4105,6 @@ public class SubscriptionTopic extends DomainResource { return ResourceType.SubscriptionTopic; } - /** - * Search parameter: date - *

- * Description: Date status first applied
- * Type: date
- * Path: SubscriptionTopic.date
- *

- */ - @SearchParamDefinition(name="date", path="SubscriptionTopic.date", description="Date status first applied", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Date status first applied
- * Type: date
- * Path: SubscriptionTopic.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: derived-or-self - *

- * Description: A server defined search that matches either the url or derivedFrom
- * Type: uri
- * Path: SubscriptionTopic.url | SubscriptionTopic.derivedFrom
- *

- */ - @SearchParamDefinition(name="derived-or-self", path="SubscriptionTopic.url | SubscriptionTopic.derivedFrom", description="A server defined search that matches either the url or derivedFrom", type="uri" ) - public static final String SP_DERIVED_OR_SELF = "derived-or-self"; - /** - * Fluent Client search parameter constant for derived-or-self - *

- * Description: A server defined search that matches either the url or derivedFrom
- * Type: uri
- * Path: SubscriptionTopic.url | SubscriptionTopic.derivedFrom
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam DERIVED_OR_SELF = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_DERIVED_OR_SELF); - - /** - * Search parameter: identifier - *

- * Description: Business Identifier for SubscriptionTopic
- * Type: token
- * Path: SubscriptionTopic.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="SubscriptionTopic.identifier", description="Business Identifier for SubscriptionTopic", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Business Identifier for SubscriptionTopic
- * Type: token
- * Path: SubscriptionTopic.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: resource - *

- * Description: Allowed Data type or Resource (reference to definition) for this definition, searches resourceTrigger, eventTrigger, and notificationShape for matches.
- * Type: uri
- * Path: SubscriptionTopic.resourceTrigger.resource
- *

- */ - @SearchParamDefinition(name="resource", path="SubscriptionTopic.resourceTrigger.resource", description="Allowed Data type or Resource (reference to definition) for this definition, searches resourceTrigger, eventTrigger, and notificationShape for matches.", type="uri" ) - public static final String SP_RESOURCE = "resource"; - /** - * Fluent Client search parameter constant for resource - *

- * Description: Allowed Data type or Resource (reference to definition) for this definition, searches resourceTrigger, eventTrigger, and notificationShape for matches.
- * Type: uri
- * Path: SubscriptionTopic.resourceTrigger.resource
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam RESOURCE = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_RESOURCE); - - /** - * Search parameter: status - *

- * Description: draft | active | retired | unknown
- * Type: token
- * Path: SubscriptionTopic.status
- *

- */ - @SearchParamDefinition(name="status", path="SubscriptionTopic.status", description="draft | active | retired | unknown", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | retired | unknown
- * Type: token
- * Path: SubscriptionTopic.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Name for this SubscriptionTopic (Human friendly)
- * Type: string
- * Path: SubscriptionTopic.title
- *

- */ - @SearchParamDefinition(name="title", path="SubscriptionTopic.title", description="Name for this SubscriptionTopic (Human friendly)", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Name for this SubscriptionTopic (Human friendly)
- * Type: string
- * Path: SubscriptionTopic.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: trigger-description - *

- * Description: Text representation of the trigger
- * Type: string
- * Path: SubscriptionTopic.resourceTrigger.description
- *

- */ - @SearchParamDefinition(name="trigger-description", path="SubscriptionTopic.resourceTrigger.description", description="Text representation of the trigger", type="string" ) - public static final String SP_TRIGGER_DESCRIPTION = "trigger-description"; - /** - * Fluent Client search parameter constant for trigger-description - *

- * Description: Text representation of the trigger
- * Type: string
- * Path: SubscriptionTopic.resourceTrigger.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TRIGGER_DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TRIGGER_DESCRIPTION); - - /** - * Search parameter: url - *

- * Description: Logical canonical URL to reference this SubscriptionTopic (globally unique)
- * Type: uri
- * Path: SubscriptionTopic.url
- *

- */ - @SearchParamDefinition(name="url", path="SubscriptionTopic.url", description="Logical canonical URL to reference this SubscriptionTopic (globally unique)", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Logical canonical URL to reference this SubscriptionTopic (globally unique)
- * Type: uri
- * Path: SubscriptionTopic.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Business version of the SubscriptionTopic
- * Type: token
- * Path: SubscriptionTopic.version
- *

- */ - @SearchParamDefinition(name="version", path="SubscriptionTopic.version", description="Business version of the SubscriptionTopic", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Business version of the SubscriptionTopic
- * Type: token
- * Path: SubscriptionTopic.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Substance.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Substance.java index 19bf7fa74..43429a43c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Substance.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Substance.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -89,6 +89,7 @@ public class Substance extends DomainResource { case ACTIVE: return "active"; case INACTIVE: return "inactive"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -97,6 +98,7 @@ public class Substance extends DomainResource { case ACTIVE: return "http://hl7.org/fhir/substance-status"; case INACTIVE: return "http://hl7.org/fhir/substance-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/substance-status"; + case NULL: return null; default: return "?"; } } @@ -105,6 +107,7 @@ public class Substance extends DomainResource { case ACTIVE: return "The substance is considered for use or reference."; case INACTIVE: return "The substance is considered for reference, but not for use."; case ENTEREDINERROR: return "The substance was entered in error."; + case NULL: return null; default: return "?"; } } @@ -113,6 +116,7 @@ public class Substance extends DomainResource { case ACTIVE: return "Active"; case INACTIVE: return "Inactive"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -1141,178 +1145,6 @@ public class Substance extends DomainResource { return ResourceType.Substance; } - /** - * Search parameter: category - *

- * Description: The category of the substance
- * Type: token
- * Path: Substance.category
- *

- */ - @SearchParamDefinition(name="category", path="Substance.category", description="The category of the substance", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: The category of the substance
- * Type: token
- * Path: Substance.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: code-reference - *

- * Description: A reference to the defining substance
- * Type: reference
- * Path: Substance.code.reference
- *

- */ - @SearchParamDefinition(name="code-reference", path="Substance.code.reference", description="A reference to the defining substance", type="reference" ) - public static final String SP_CODE_REFERENCE = "code-reference"; - /** - * Fluent Client search parameter constant for code-reference - *

- * Description: A reference to the defining substance
- * Type: reference
- * Path: Substance.code.reference
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CODE_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_CODE_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Substance:code-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_CODE_REFERENCE = new ca.uhn.fhir.model.api.Include("Substance:code-reference").toLocked(); - - /** - * Search parameter: code - *

- * Description: The code of the substance or ingredient
- * Type: token
- * Path: Substance.code.concept | (Substance.ingredient.substance as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="code", path="Substance.code.concept | (Substance.ingredient.substance as CodeableConcept)", description="The code of the substance or ingredient", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: The code of the substance or ingredient
- * Type: token
- * Path: Substance.code.concept | (Substance.ingredient.substance as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: expiry - *

- * Description: Expiry date of package or container of substance
- * Type: date
- * Path: Substance.expiry
- *

- */ - @SearchParamDefinition(name="expiry", path="Substance.expiry", description="Expiry date of package or container of substance", type="date" ) - public static final String SP_EXPIRY = "expiry"; - /** - * Fluent Client search parameter constant for expiry - *

- * Description: Expiry date of package or container of substance
- * Type: date
- * Path: Substance.expiry
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam EXPIRY = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_EXPIRY); - - /** - * Search parameter: identifier - *

- * Description: Unique identifier for the substance
- * Type: token
- * Path: Substance.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Substance.identifier", description="Unique identifier for the substance", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Unique identifier for the substance
- * Type: token
- * Path: Substance.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: quantity - *

- * Description: Amount of substance in the package
- * Type: quantity
- * Path: Substance.quantity
- *

- */ - @SearchParamDefinition(name="quantity", path="Substance.quantity", description="Amount of substance in the package", type="quantity" ) - public static final String SP_QUANTITY = "quantity"; - /** - * Fluent Client search parameter constant for quantity - *

- * Description: Amount of substance in the package
- * Type: quantity
- * Path: Substance.quantity
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_QUANTITY); - - /** - * Search parameter: status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: Substance.status
- *

- */ - @SearchParamDefinition(name="status", path="Substance.status", description="active | inactive | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: active | inactive | entered-in-error
- * Type: token
- * Path: Substance.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: substance-reference - *

- * Description: A component of the substance
- * Type: reference
- * Path: (Substance.ingredient.substance as Reference)
- *

- */ - @SearchParamDefinition(name="substance-reference", path="(Substance.ingredient.substance as Reference)", description="A component of the substance", type="reference", target={Substance.class } ) - public static final String SP_SUBSTANCE_REFERENCE = "substance-reference"; - /** - * Fluent Client search parameter constant for substance-reference - *

- * Description: A component of the substance
- * Type: reference
- * Path: (Substance.ingredient.substance as Reference)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBSTANCE_REFERENCE = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBSTANCE_REFERENCE); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Substance:substance-reference". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBSTANCE_REFERENCE = new ca.uhn.fhir.model.api.Include("Substance:substance-reference").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceDefinition.java index 83e24c654..a9b6f505a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -81,6 +81,7 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "stereochemistry", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Stereochemistry type", formalDefinition="Stereochemistry type." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-stereochemistry") protected CodeableConcept stereochemistry; /** @@ -88,13 +89,14 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "opticalActivity", type = {CodeableConcept.class}, order=5, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Optical activity type", formalDefinition="Optical activity type." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-optical-activity") protected CodeableConcept opticalActivity; /** * Molecular formula for this moiety of this substance, typically using the Hill system. */ @Child(name = "molecularFormula", type = {StringType.class}, order=6, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Molecular formula for this moiety of this substance, typically using the Hill system", formalDefinition="Molecular formula for this moiety of this substance, typically using the Hill system." ) + @Description(shortDefinition="Molecular formula for this moiety (e.g. with the Hill system)", formalDefinition="Molecular formula for this moiety of this substance, typically using the Hill system." ) protected StringType molecularFormula; /** @@ -105,13 +107,14 @@ public class SubstanceDefinition extends DomainResource { protected DataType amount; /** - * The measurement type of the quantitative value. + * The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio. */ - @Child(name = "amountType", type = {CodeableConcept.class}, order=8, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The measurement type of the quantitative value", formalDefinition="The measurement type of the quantitative value." ) - protected CodeableConcept amountType; + @Child(name = "measurementType", type = {CodeableConcept.class}, order=8, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="The measurement type of the quantitative value", formalDefinition="The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-amount-type") + protected CodeableConcept measurementType; - private static final long serialVersionUID = -1330905924L; + private static final long serialVersionUID = 271962476L; /** * Constructor @@ -366,26 +369,26 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #amountType} (The measurement type of the quantitative value.) + * @return {@link #measurementType} (The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio.) */ - public CodeableConcept getAmountType() { - if (this.amountType == null) + public CodeableConcept getMeasurementType() { + if (this.measurementType == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SubstanceDefinitionMoietyComponent.amountType"); + throw new Error("Attempt to auto-create SubstanceDefinitionMoietyComponent.measurementType"); else if (Configuration.doAutoCreate()) - this.amountType = new CodeableConcept(); // cc - return this.amountType; + this.measurementType = new CodeableConcept(); // cc + return this.measurementType; } - public boolean hasAmountType() { - return this.amountType != null && !this.amountType.isEmpty(); + public boolean hasMeasurementType() { + return this.measurementType != null && !this.measurementType.isEmpty(); } /** - * @param value {@link #amountType} (The measurement type of the quantitative value.) + * @param value {@link #measurementType} (The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio.) */ - public SubstanceDefinitionMoietyComponent setAmountType(CodeableConcept value) { - this.amountType = value; + public SubstanceDefinitionMoietyComponent setMeasurementType(CodeableConcept value) { + this.measurementType = value; return this; } @@ -398,7 +401,7 @@ public class SubstanceDefinition extends DomainResource { children.add(new Property("opticalActivity", "CodeableConcept", "Optical activity type.", 0, 1, opticalActivity)); children.add(new Property("molecularFormula", "string", "Molecular formula for this moiety of this substance, typically using the Hill system.", 0, 1, molecularFormula)); children.add(new Property("amount[x]", "Quantity|string", "Quantitative value for this moiety.", 0, 1, amount)); - children.add(new Property("amountType", "CodeableConcept", "The measurement type of the quantitative value.", 0, 1, amountType)); + children.add(new Property("measurementType", "CodeableConcept", "The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio.", 0, 1, measurementType)); } @Override @@ -414,7 +417,7 @@ public class SubstanceDefinition extends DomainResource { case -1413853096: /*amount*/ return new Property("amount[x]", "Quantity|string", "Quantitative value for this moiety.", 0, 1, amount); case 1664303363: /*amountQuantity*/ return new Property("amount[x]", "Quantity", "Quantitative value for this moiety.", 0, 1, amount); case 773651081: /*amountString*/ return new Property("amount[x]", "string", "Quantitative value for this moiety.", 0, 1, amount); - case -1424857166: /*amountType*/ return new Property("amountType", "CodeableConcept", "The measurement type of the quantitative value.", 0, 1, amountType); + case 1670291734: /*measurementType*/ return new Property("measurementType", "CodeableConcept", "The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio.", 0, 1, measurementType); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -430,7 +433,7 @@ public class SubstanceDefinition extends DomainResource { case 1420900135: /*opticalActivity*/ return this.opticalActivity == null ? new Base[0] : new Base[] {this.opticalActivity}; // CodeableConcept case 616660246: /*molecularFormula*/ return this.molecularFormula == null ? new Base[0] : new Base[] {this.molecularFormula}; // StringType case -1413853096: /*amount*/ return this.amount == null ? new Base[0] : new Base[] {this.amount}; // DataType - case -1424857166: /*amountType*/ return this.amountType == null ? new Base[0] : new Base[] {this.amountType}; // CodeableConcept + case 1670291734: /*measurementType*/ return this.measurementType == null ? new Base[0] : new Base[] {this.measurementType}; // CodeableConcept default: return super.getProperty(hash, name, checkValid); } @@ -460,8 +463,8 @@ public class SubstanceDefinition extends DomainResource { case -1413853096: // amount this.amount = TypeConvertor.castToType(value); // DataType return value; - case -1424857166: // amountType - this.amountType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + case 1670291734: // measurementType + this.measurementType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; default: return super.setProperty(hash, name, value); } @@ -484,8 +487,8 @@ public class SubstanceDefinition extends DomainResource { this.molecularFormula = TypeConvertor.castToString(value); // StringType } else if (name.equals("amount[x]")) { this.amount = TypeConvertor.castToType(value); // DataType - } else if (name.equals("amountType")) { - this.amountType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("measurementType")) { + this.measurementType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else return super.setProperty(name, value); return value; @@ -502,7 +505,7 @@ public class SubstanceDefinition extends DomainResource { case 616660246: return getMolecularFormulaElement(); case 646780200: return getAmount(); case -1413853096: return getAmount(); - case -1424857166: return getAmountType(); + case 1670291734: return getMeasurementType(); default: return super.makeProperty(hash, name); } @@ -518,7 +521,7 @@ public class SubstanceDefinition extends DomainResource { case 1420900135: /*opticalActivity*/ return new String[] {"CodeableConcept"}; case 616660246: /*molecularFormula*/ return new String[] {"string"}; case -1413853096: /*amount*/ return new String[] {"Quantity", "string"}; - case -1424857166: /*amountType*/ return new String[] {"CodeableConcept"}; + case 1670291734: /*measurementType*/ return new String[] {"CodeableConcept"}; default: return super.getTypesForProperty(hash, name); } @@ -556,9 +559,9 @@ public class SubstanceDefinition extends DomainResource { this.amount = new StringType(); return this.amount; } - else if (name.equals("amountType")) { - this.amountType = new CodeableConcept(); - return this.amountType; + else if (name.equals("measurementType")) { + this.measurementType = new CodeableConcept(); + return this.measurementType; } else return super.addChild(name); @@ -579,7 +582,7 @@ public class SubstanceDefinition extends DomainResource { dst.opticalActivity = opticalActivity == null ? null : opticalActivity.copy(); dst.molecularFormula = molecularFormula == null ? null : molecularFormula.copy(); dst.amount = amount == null ? null : amount.copy(); - dst.amountType = amountType == null ? null : amountType.copy(); + dst.measurementType = measurementType == null ? null : measurementType.copy(); } @Override @@ -592,7 +595,7 @@ public class SubstanceDefinition extends DomainResource { return compareDeep(role, o.role, true) && compareDeep(identifier, o.identifier, true) && compareDeep(name, o.name, true) && compareDeep(stereochemistry, o.stereochemistry, true) && compareDeep(opticalActivity, o.opticalActivity, true) && compareDeep(molecularFormula, o.molecularFormula, true) && compareDeep(amount, o.amount, true) - && compareDeep(amountType, o.amountType, true); + && compareDeep(measurementType, o.measurementType, true); } @Override @@ -608,7 +611,7 @@ public class SubstanceDefinition extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(role, identifier, name, stereochemistry - , opticalActivity, molecularFormula, amount, amountType); + , opticalActivity, molecularFormula, amount, measurementType); } public String fhirType() { @@ -621,17 +624,18 @@ public class SubstanceDefinition extends DomainResource { @Block() public static class SubstanceDefinitionPropertyComponent extends BackboneElement implements IBaseBackboneElement { /** - * A code expressing the type of characteristic. + * A code expressing the type of property. */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="A code expressing the type of characteristic", formalDefinition="A code expressing the type of characteristic." ) + @Description(shortDefinition="A code expressing the type of property", formalDefinition="A code expressing the type of property." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/product-characteristic-codes") protected CodeableConcept type; /** - * A value for the characteristic. + * A value for the property. */ @Child(name = "value", type = {CodeableConcept.class, Quantity.class, DateType.class, BooleanType.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A value for the characteristic", formalDefinition="A value for the characteristic." ) + @Description(shortDefinition="A value for the property", formalDefinition="A value for the property." ) protected DataType value; private static final long serialVersionUID = -1659186716L; @@ -652,7 +656,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #type} (A code expressing the type of characteristic.) + * @return {@link #type} (A code expressing the type of property.) */ public CodeableConcept getType() { if (this.type == null) @@ -668,7 +672,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #type} (A code expressing the type of characteristic.) + * @param value {@link #type} (A code expressing the type of property.) */ public SubstanceDefinitionPropertyComponent setType(CodeableConcept value) { this.type = value; @@ -676,14 +680,14 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the property.) */ public DataType getValue() { return this.value; } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the property.) */ public CodeableConcept getValueCodeableConcept() throws FHIRException { if (this.value == null) @@ -698,7 +702,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the property.) */ public Quantity getValueQuantity() throws FHIRException { if (this.value == null) @@ -713,7 +717,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the property.) */ public DateType getValueDateType() throws FHIRException { if (this.value == null) @@ -728,7 +732,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the property.) */ public BooleanType getValueBooleanType() throws FHIRException { if (this.value == null) @@ -743,7 +747,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #value} (A value for the characteristic.) + * @return {@link #value} (A value for the property.) */ public Attachment getValueAttachment() throws FHIRException { if (this.value == null) @@ -762,7 +766,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #value} (A value for the characteristic.) + * @param value {@link #value} (A value for the property.) */ public SubstanceDefinitionPropertyComponent setValue(DataType value) { if (value != null && !(value instanceof CodeableConcept || value instanceof Quantity || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment)) @@ -773,21 +777,21 @@ public class SubstanceDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type)); - children.add(new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value)); + children.add(new Property("type", "CodeableConcept", "A code expressing the type of property.", 0, 1, type)); + children.add(new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the property.", 0, 1, value)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type); - case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value); - case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value); - case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the characteristic.", 0, 1, value); - case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the characteristic.", 0, 1, value); - case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the characteristic.", 0, 1, value); - case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the characteristic.", 0, 1, value); - case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the characteristic.", 0, 1, value); + case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code expressing the type of property.", 0, 1, type); + case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the property.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the property.", 0, 1, value); + case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the property.", 0, 1, value); + case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the property.", 0, 1, value); + case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the property.", 0, 1, value); + case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the property.", 0, 1, value); + case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the property.", 0, 1, value); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -928,21 +932,23 @@ public class SubstanceDefinition extends DomainResource { * The method by which the molecular weight was determined. */ @Child(name = "method", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The method by which the molecular weight was determined", formalDefinition="The method by which the molecular weight was determined." ) + @Description(shortDefinition="The method by which the weight was determined", formalDefinition="The method by which the molecular weight was determined." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-weight-method") protected CodeableConcept method; /** * Type of molecular weight such as exact, average (also known as. number average), weight average. */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Type of molecular weight such as exact, average (also known as. number average), weight average", formalDefinition="Type of molecular weight such as exact, average (also known as. number average), weight average." ) + @Description(shortDefinition="Type of molecular weight e.g. exact, average, weight average", formalDefinition="Type of molecular weight such as exact, average (also known as. number average), weight average." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-weight-type") protected CodeableConcept type; /** * Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field. */ @Child(name = "amount", type = {Quantity.class}, order=3, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field", formalDefinition="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field." ) + @Description(shortDefinition="Used to capture quantitative values for a variety of elements", formalDefinition="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field." ) protected Quantity amount; private static final long serialVersionUID = 805939780L; @@ -1185,6 +1191,7 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "stereochemistry", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Stereochemistry type", formalDefinition="Stereochemistry type." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-stereochemistry") protected CodeableConcept stereochemistry; /** @@ -1192,41 +1199,43 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "opticalActivity", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Optical activity type", formalDefinition="Optical activity type." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-optical-activity") protected CodeableConcept opticalActivity; /** * Molecular formula of this substance, typically using the Hill system. */ @Child(name = "molecularFormula", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Molecular formula of this substance, typically using the Hill system", formalDefinition="Molecular formula of this substance, typically using the Hill system." ) + @Description(shortDefinition="Molecular formula (e.g. using the Hill system)", formalDefinition="Molecular formula of this substance, typically using the Hill system." ) protected StringType molecularFormula; /** * Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot. */ @Child(name = "molecularFormulaByMoiety", type = {StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot", formalDefinition="Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot." ) + @Description(shortDefinition="Specified per moiety according to the Hill system", formalDefinition="Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot." ) protected StringType molecularFormulaByMoiety; /** * The molecular weight or weight range (for proteins, polymers or nucleic acids). */ @Child(name = "molecularWeight", type = {SubstanceDefinitionMolecularWeightComponent.class}, order=5, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The molecular weight or weight range (for proteins, polymers or nucleic acids)", formalDefinition="The molecular weight or weight range (for proteins, polymers or nucleic acids)." ) + @Description(shortDefinition="The molecular weight or weight range", formalDefinition="The molecular weight or weight range (for proteins, polymers or nucleic acids)." ) protected SubstanceDefinitionMolecularWeightComponent molecularWeight; /** * The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay. */ @Child(name = "technique", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay", formalDefinition="The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay." ) + @Description(shortDefinition="The method used to find the structure e.g. X-ray, NMR", formalDefinition="The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-structure-technique") protected List technique; /** - * Supporting literature about the source of information. + * The source of information about the structure. */ @Child(name = "sourceDocument", type = {DocumentReference.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Supporting literature about the source of information", formalDefinition="Supporting literature about the source of information." ) + @Description(shortDefinition="Source of information for the structure", formalDefinition="The source of information about the structure." ) protected List sourceDocument; /** @@ -1469,7 +1478,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #sourceDocument} (Supporting literature about the source of information.) + * @return {@link #sourceDocument} (The source of information about the structure.) */ public List getSourceDocument() { if (this.sourceDocument == null) @@ -1582,7 +1591,7 @@ public class SubstanceDefinition extends DomainResource { children.add(new Property("molecularFormulaByMoiety", "string", "Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.", 0, 1, molecularFormulaByMoiety)); children.add(new Property("molecularWeight", "@SubstanceDefinition.molecularWeight", "The molecular weight or weight range (for proteins, polymers or nucleic acids).", 0, 1, molecularWeight)); children.add(new Property("technique", "CodeableConcept", "The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay.", 0, java.lang.Integer.MAX_VALUE, technique)); - children.add(new Property("sourceDocument", "Reference(DocumentReference)", "Supporting literature about the source of information.", 0, java.lang.Integer.MAX_VALUE, sourceDocument)); + children.add(new Property("sourceDocument", "Reference(DocumentReference)", "The source of information about the structure.", 0, java.lang.Integer.MAX_VALUE, sourceDocument)); children.add(new Property("representation", "", "A depiction of the structure or characterization of the substance.", 0, java.lang.Integer.MAX_VALUE, representation)); } @@ -1595,7 +1604,7 @@ public class SubstanceDefinition extends DomainResource { case 1315452848: /*molecularFormulaByMoiety*/ return new Property("molecularFormulaByMoiety", "string", "Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.", 0, 1, molecularFormulaByMoiety); case 635625672: /*molecularWeight*/ return new Property("molecularWeight", "@SubstanceDefinition.molecularWeight", "The molecular weight or weight range (for proteins, polymers or nucleic acids).", 0, 1, molecularWeight); case 1469675088: /*technique*/ return new Property("technique", "CodeableConcept", "The method used to elucidate the structure or characterization of the drug substance. Examples: X-ray, HPLC, NMR, Peptide mapping, Ligand binding assay.", 0, java.lang.Integer.MAX_VALUE, technique); - case -501788074: /*sourceDocument*/ return new Property("sourceDocument", "Reference(DocumentReference)", "Supporting literature about the source of information.", 0, java.lang.Integer.MAX_VALUE, sourceDocument); + case -501788074: /*sourceDocument*/ return new Property("sourceDocument", "Reference(DocumentReference)", "The source of information about the structure.", 0, java.lang.Integer.MAX_VALUE, sourceDocument); case -671065907: /*representation*/ return new Property("representation", "", "A depiction of the structure or characterization of the substance.", 0, java.lang.Integer.MAX_VALUE, representation); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -1813,6 +1822,7 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="The kind of structural representation (e.g. full, partial)", formalDefinition="The kind of structural representation (e.g. full, partial)." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-representation-type") protected CodeableConcept type; /** @@ -1826,14 +1836,15 @@ public class SubstanceDefinition extends DomainResource { * The format of the representation e.g. InChI, SMILES, MOLFILE, CDX, SDF, PDB, mmCIF. The logical content type rather than the physical file format of a document. */ @Child(name = "format", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The format of the representation e.g. InChI, SMILES, MOLFILE, CDX, SDF, PDB, mmCIF. The logical content type rather than the physical file format of a document", formalDefinition="The format of the representation e.g. InChI, SMILES, MOLFILE, CDX, SDF, PDB, mmCIF. The logical content type rather than the physical file format of a document." ) + @Description(shortDefinition="The format of the representation e.g. InChI, SMILES, MOLFILE (note: not the physical file format)", formalDefinition="The format of the representation e.g. InChI, SMILES, MOLFILE, CDX, SDF, PDB, mmCIF. The logical content type rather than the physical file format of a document." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-representation-format") protected CodeableConcept format; /** * An attached file with the structural representation or characterization e.g. a molecular structure graphic of the substance, a JCAMP or AnIML file. */ @Child(name = "document", type = {DocumentReference.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="An attached file with the structural representation or characterization e.g. a molecular structure graphic of the substance, a JCAMP or AnIML file", formalDefinition="An attached file with the structural representation or characterization e.g. a molecular structure graphic of the substance, a JCAMP or AnIML file." ) + @Description(shortDefinition="An attachment with the structural representation e.g. a structure graphic or AnIML file", formalDefinition="An attached file with the structural representation or characterization e.g. a molecular structure graphic of the substance, a JCAMP or AnIML file." ) protected Reference document; private static final long serialVersionUID = 138704347L; @@ -2139,20 +2150,21 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "status", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Status of the code assignment, for example 'provisional', 'approved'", formalDefinition="Status of the code assignment, for example 'provisional', 'approved'." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** - * The date at which the code status is changed as part of the terminology maintenance. + * The date at which the code status was changed as part of the terminology maintenance. */ @Child(name = "statusDate", type = {DateTimeType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The date at which the code status is changed as part of the terminology maintenance", formalDefinition="The date at which the code status is changed as part of the terminology maintenance." ) + @Description(shortDefinition="The date at which the code status was changed", formalDefinition="The date at which the code status was changed as part of the terminology maintenance." ) protected DateTimeType statusDate; /** * Any comment can be provided in this field, if necessary. */ @Child(name = "note", type = {Annotation.class}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Any comment can be provided in this field, if necessary", formalDefinition="Any comment can be provided in this field, if necessary." ) + @Description(shortDefinition="Any comment can be provided in this field", formalDefinition="Any comment can be provided in this field, if necessary." ) protected List note; /** @@ -2220,7 +2232,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #statusDate} (The date at which the code status is changed as part of the terminology maintenance.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the value + * @return {@link #statusDate} (The date at which the code status was changed as part of the terminology maintenance.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the value */ public DateTimeType getStatusDateElement() { if (this.statusDate == null) @@ -2240,7 +2252,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #statusDate} (The date at which the code status is changed as part of the terminology maintenance.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the value + * @param value {@link #statusDate} (The date at which the code status was changed as part of the terminology maintenance.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the value */ public SubstanceDefinitionCodeComponent setStatusDateElement(DateTimeType value) { this.statusDate = value; @@ -2248,14 +2260,14 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return The date at which the code status is changed as part of the terminology maintenance. + * @return The date at which the code status was changed as part of the terminology maintenance. */ public Date getStatusDate() { return this.statusDate == null ? null : this.statusDate.getValue(); } /** - * @param value The date at which the code status is changed as part of the terminology maintenance. + * @param value The date at which the code status was changed as part of the terminology maintenance. */ public SubstanceDefinitionCodeComponent setStatusDate(Date value) { if (value == null) @@ -2378,7 +2390,7 @@ public class SubstanceDefinition extends DomainResource { super.listChildren(children); children.add(new Property("code", "CodeableConcept", "The specific code.", 0, 1, code)); children.add(new Property("status", "CodeableConcept", "Status of the code assignment, for example 'provisional', 'approved'.", 0, 1, status)); - children.add(new Property("statusDate", "dateTime", "The date at which the code status is changed as part of the terminology maintenance.", 0, 1, statusDate)); + children.add(new Property("statusDate", "dateTime", "The date at which the code status was changed as part of the terminology maintenance.", 0, 1, statusDate)); children.add(new Property("note", "Annotation", "Any comment can be provided in this field, if necessary.", 0, java.lang.Integer.MAX_VALUE, note)); children.add(new Property("source", "Reference(DocumentReference)", "Supporting literature.", 0, java.lang.Integer.MAX_VALUE, source)); } @@ -2388,7 +2400,7 @@ public class SubstanceDefinition extends DomainResource { switch (_hash) { case 3059181: /*code*/ return new Property("code", "CodeableConcept", "The specific code.", 0, 1, code); case -892481550: /*status*/ return new Property("status", "CodeableConcept", "Status of the code assignment, for example 'provisional', 'approved'.", 0, 1, status); - case 247524032: /*statusDate*/ return new Property("statusDate", "dateTime", "The date at which the code status is changed as part of the terminology maintenance.", 0, 1, statusDate); + case 247524032: /*statusDate*/ return new Property("statusDate", "dateTime", "The date at which the code status was changed as part of the terminology maintenance.", 0, 1, statusDate); case 3387378: /*note*/ return new Property("note", "Annotation", "Any comment can be provided in this field, if necessary.", 0, java.lang.Integer.MAX_VALUE, note); case -896505829: /*source*/ return new Property("source", "Reference(DocumentReference)", "Supporting literature.", 0, java.lang.Integer.MAX_VALUE, source); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -2567,14 +2579,16 @@ public class SubstanceDefinition extends DomainResource { * Name type, for example 'systematic', 'scientific, 'brand'. */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Name type, for example 'systematic', 'scientific, 'brand'", formalDefinition="Name type, for example 'systematic', 'scientific, 'brand'." ) + @Description(shortDefinition="Name type e.g. 'systematic', 'scientific, 'brand'", formalDefinition="Name type, for example 'systematic', 'scientific, 'brand'." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-name-type") protected CodeableConcept type; /** * The status of the name, for example 'current', 'proposed'. */ @Child(name = "status", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status of the name, for example 'current', 'proposed'", formalDefinition="The status of the name, for example 'current', 'proposed'." ) + @Description(shortDefinition="The status of the name e.g. 'current', 'proposed'", formalDefinition="The status of the name, for example 'current', 'proposed'." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** @@ -2589,13 +2603,15 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "language", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="Human language that the name is written in", formalDefinition="Human language that the name is written in." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/languages") protected List language; /** * The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive. */ @Child(name = "domain", type = {CodeableConcept.class}, order=6, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive", formalDefinition="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive." ) + @Description(shortDefinition="The use context of this name e.g. as an active ingredient or as a food colour additive", formalDefinition="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-name-domain") protected List domain; /** @@ -2603,6 +2619,7 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "jurisdiction", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The jurisdiction where this name applies", formalDefinition="The jurisdiction where this name applies." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/jurisdiction") protected List jurisdiction; /** @@ -3452,20 +3469,22 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "authority", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="Which authority uses this official name", formalDefinition="Which authority uses this official name." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-name-authority") protected CodeableConcept authority; /** - * The status of the official name, for example 'provisional', 'approved'. + * The status of the official name, for example 'draft', 'active', 'retired'. */ @Child(name = "status", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The status of the official name, for example 'provisional', 'approved'", formalDefinition="The status of the official name, for example 'provisional', 'approved'." ) + @Description(shortDefinition="The status of the official name, for example 'draft', 'active'", formalDefinition="The status of the official name, for example 'draft', 'active', 'retired'." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** - * Date of official name change. + * Date of the official name change. */ @Child(name = "date", type = {DateTimeType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Date of official name change", formalDefinition="Date of official name change." ) + @Description(shortDefinition="Date of official name change", formalDefinition="Date of the official name change." ) protected DateTimeType date; private static final long serialVersionUID = -2040011008L; @@ -3502,7 +3521,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #status} (The status of the official name, for example 'provisional', 'approved'.) + * @return {@link #status} (The status of the official name, for example 'draft', 'active', 'retired'.) */ public CodeableConcept getStatus() { if (this.status == null) @@ -3518,7 +3537,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #status} (The status of the official name, for example 'provisional', 'approved'.) + * @param value {@link #status} (The status of the official name, for example 'draft', 'active', 'retired'.) */ public SubstanceDefinitionNameOfficialComponent setStatus(CodeableConcept value) { this.status = value; @@ -3526,7 +3545,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #date} (Date of official name change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + * @return {@link #date} (Date of the official name change.). 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) @@ -3546,7 +3565,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #date} (Date of official name change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + * @param value {@link #date} (Date of the official name change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value */ public SubstanceDefinitionNameOfficialComponent setDateElement(DateTimeType value) { this.date = value; @@ -3554,14 +3573,14 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return Date of official name change. + * @return Date of the official name change. */ public Date getDate() { return this.date == null ? null : this.date.getValue(); } /** - * @param value Date of official name change. + * @param value Date of the official name change. */ public SubstanceDefinitionNameOfficialComponent setDate(Date value) { if (value == null) @@ -3577,16 +3596,16 @@ public class SubstanceDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("authority", "CodeableConcept", "Which authority uses this official name.", 0, 1, authority)); - children.add(new Property("status", "CodeableConcept", "The status of the official name, for example 'provisional', 'approved'.", 0, 1, status)); - children.add(new Property("date", "dateTime", "Date of official name change.", 0, 1, date)); + children.add(new Property("status", "CodeableConcept", "The status of the official name, for example 'draft', 'active', 'retired'.", 0, 1, status)); + children.add(new Property("date", "dateTime", "Date of the official name change.", 0, 1, date)); } @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 1475610435: /*authority*/ return new Property("authority", "CodeableConcept", "Which authority uses this official name.", 0, 1, authority); - case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status of the official name, for example 'provisional', 'approved'.", 0, 1, status); - case 3076014: /*date*/ return new Property("date", "dateTime", "Date of official name change.", 0, 1, date); + case -892481550: /*status*/ return new Property("status", "CodeableConcept", "The status of the official name, for example 'draft', 'active', 'retired'.", 0, 1, status); + case 3076014: /*date*/ return new Property("date", "dateTime", "Date of the official name change.", 0, 1, date); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -3724,43 +3743,45 @@ public class SubstanceDefinition extends DomainResource { * A pointer to another substance, as a resource or just a representational code. */ @Child(name = "substanceDefinition", type = {SubstanceDefinition.class, CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A pointer to another substance, as a resource or just a representational code", formalDefinition="A pointer to another substance, as a resource or just a representational code." ) + @Description(shortDefinition="A pointer to another substance, as a resource or a representational code", formalDefinition="A pointer to another substance, as a resource or just a representational code." ) protected DataType substanceDefinition; /** * For example "salt to parent", "active moiety", "starting material", "polymorph", "impurity of". */ @Child(name = "type", type = {CodeableConcept.class}, order=2, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="For example \"salt to parent\", \"active moiety\", \"starting material\", \"polymorph\", \"impurity of\"", formalDefinition="For example \"salt to parent\", \"active moiety\", \"starting material\", \"polymorph\", \"impurity of\"." ) + @Description(shortDefinition="For example \"salt to parent\", \"active moiety\"", formalDefinition="For example \"salt to parent\", \"active moiety\", \"starting material\", \"polymorph\", \"impurity of\"." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-relationship-type") protected CodeableConcept type; /** * For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships. */ @Child(name = "isDefining", type = {BooleanType.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships", formalDefinition="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships." ) + @Description(shortDefinition="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible relationships", formalDefinition="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships." ) protected BooleanType isDefining; /** * A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other. */ @Child(name = "amount", type = {Quantity.class, Ratio.class, StringType.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other", formalDefinition="A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other." ) + @Description(shortDefinition="A numeric factor for the relationship, e.g. that a substance salt has some percentage of active substance in relation to some other", formalDefinition="A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other." ) protected DataType amount; /** * For use when the numeric has an uncertain range. */ - @Child(name = "amountRatioHighLimit", type = {Ratio.class}, order=5, min=0, max=1, modifier=false, summary=true) + @Child(name = "ratioHighLimitAmount", type = {Ratio.class}, order=5, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="For use when the numeric has an uncertain range", formalDefinition="For use when the numeric has an uncertain range." ) - protected Ratio amountRatioHighLimit; + protected Ratio ratioHighLimitAmount; /** * An operator for the amount, for example "average", "approximately", "less than". */ - @Child(name = "amountType", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true) + @Child(name = "comparator", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="An operator for the amount, for example \"average\", \"approximately\", \"less than\"", formalDefinition="An operator for the amount, for example \"average\", \"approximately\", \"less than\"." ) - protected CodeableConcept amountType; + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-amount-type") + protected CodeableConcept comparator; /** * Supporting literature. @@ -3769,7 +3790,7 @@ public class SubstanceDefinition extends DomainResource { @Description(shortDefinition="Supporting literature", formalDefinition="Supporting literature." ) protected List source; - private static final long serialVersionUID = 447426308L; + private static final long serialVersionUID = 192222632L; /** * Constructor @@ -3973,50 +3994,50 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #amountRatioHighLimit} (For use when the numeric has an uncertain range.) + * @return {@link #ratioHighLimitAmount} (For use when the numeric has an uncertain range.) */ - public Ratio getAmountRatioHighLimit() { - if (this.amountRatioHighLimit == null) + public Ratio getRatioHighLimitAmount() { + if (this.ratioHighLimitAmount == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SubstanceDefinitionRelationshipComponent.amountRatioHighLimit"); + throw new Error("Attempt to auto-create SubstanceDefinitionRelationshipComponent.ratioHighLimitAmount"); else if (Configuration.doAutoCreate()) - this.amountRatioHighLimit = new Ratio(); // cc - return this.amountRatioHighLimit; + this.ratioHighLimitAmount = new Ratio(); // cc + return this.ratioHighLimitAmount; } - public boolean hasAmountRatioHighLimit() { - return this.amountRatioHighLimit != null && !this.amountRatioHighLimit.isEmpty(); + public boolean hasRatioHighLimitAmount() { + return this.ratioHighLimitAmount != null && !this.ratioHighLimitAmount.isEmpty(); } /** - * @param value {@link #amountRatioHighLimit} (For use when the numeric has an uncertain range.) + * @param value {@link #ratioHighLimitAmount} (For use when the numeric has an uncertain range.) */ - public SubstanceDefinitionRelationshipComponent setAmountRatioHighLimit(Ratio value) { - this.amountRatioHighLimit = value; + public SubstanceDefinitionRelationshipComponent setRatioHighLimitAmount(Ratio value) { + this.ratioHighLimitAmount = value; return this; } /** - * @return {@link #amountType} (An operator for the amount, for example "average", "approximately", "less than".) + * @return {@link #comparator} (An operator for the amount, for example "average", "approximately", "less than".) */ - public CodeableConcept getAmountType() { - if (this.amountType == null) + public CodeableConcept getComparator() { + if (this.comparator == null) if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create SubstanceDefinitionRelationshipComponent.amountType"); + throw new Error("Attempt to auto-create SubstanceDefinitionRelationshipComponent.comparator"); else if (Configuration.doAutoCreate()) - this.amountType = new CodeableConcept(); // cc - return this.amountType; + this.comparator = new CodeableConcept(); // cc + return this.comparator; } - public boolean hasAmountType() { - return this.amountType != null && !this.amountType.isEmpty(); + public boolean hasComparator() { + return this.comparator != null && !this.comparator.isEmpty(); } /** - * @param value {@link #amountType} (An operator for the amount, for example "average", "approximately", "less than".) + * @param value {@link #comparator} (An operator for the amount, for example "average", "approximately", "less than".) */ - public SubstanceDefinitionRelationshipComponent setAmountType(CodeableConcept value) { - this.amountType = value; + public SubstanceDefinitionRelationshipComponent setComparator(CodeableConcept value) { + this.comparator = value; return this; } @@ -4079,8 +4100,8 @@ public class SubstanceDefinition extends DomainResource { children.add(new Property("type", "CodeableConcept", "For example \"salt to parent\", \"active moiety\", \"starting material\", \"polymorph\", \"impurity of\".", 0, 1, type)); children.add(new Property("isDefining", "boolean", "For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships.", 0, 1, isDefining)); children.add(new Property("amount[x]", "Quantity|Ratio|string", "A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.", 0, 1, amount)); - children.add(new Property("amountRatioHighLimit", "Ratio", "For use when the numeric has an uncertain range.", 0, 1, amountRatioHighLimit)); - children.add(new Property("amountType", "CodeableConcept", "An operator for the amount, for example \"average\", \"approximately\", \"less than\".", 0, 1, amountType)); + children.add(new Property("ratioHighLimitAmount", "Ratio", "For use when the numeric has an uncertain range.", 0, 1, ratioHighLimitAmount)); + children.add(new Property("comparator", "CodeableConcept", "An operator for the amount, for example \"average\", \"approximately\", \"less than\".", 0, 1, comparator)); children.add(new Property("source", "Reference(DocumentReference)", "Supporting literature.", 0, java.lang.Integer.MAX_VALUE, source)); } @@ -4098,8 +4119,8 @@ public class SubstanceDefinition extends DomainResource { case 1664303363: /*amountQuantity*/ return new Property("amount[x]", "Quantity", "A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.", 0, 1, amount); case -1223457133: /*amountRatio*/ return new Property("amount[x]", "Ratio", "A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.", 0, 1, amount); case 773651081: /*amountString*/ return new Property("amount[x]", "string", "A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.", 0, 1, amount); - case -1832648218: /*amountRatioHighLimit*/ return new Property("amountRatioHighLimit", "Ratio", "For use when the numeric has an uncertain range.", 0, 1, amountRatioHighLimit); - case -1424857166: /*amountType*/ return new Property("amountType", "CodeableConcept", "An operator for the amount, for example \"average\", \"approximately\", \"less than\".", 0, 1, amountType); + case -1708404378: /*ratioHighLimitAmount*/ return new Property("ratioHighLimitAmount", "Ratio", "For use when the numeric has an uncertain range.", 0, 1, ratioHighLimitAmount); + case -844673834: /*comparator*/ return new Property("comparator", "CodeableConcept", "An operator for the amount, for example \"average\", \"approximately\", \"less than\".", 0, 1, comparator); case -896505829: /*source*/ return new Property("source", "Reference(DocumentReference)", "Supporting literature.", 0, java.lang.Integer.MAX_VALUE, source); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -4113,8 +4134,8 @@ public class SubstanceDefinition extends DomainResource { case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept case -141812990: /*isDefining*/ return this.isDefining == null ? new Base[0] : new Base[] {this.isDefining}; // BooleanType case -1413853096: /*amount*/ return this.amount == null ? new Base[0] : new Base[] {this.amount}; // DataType - case -1832648218: /*amountRatioHighLimit*/ return this.amountRatioHighLimit == null ? new Base[0] : new Base[] {this.amountRatioHighLimit}; // Ratio - case -1424857166: /*amountType*/ return this.amountType == null ? new Base[0] : new Base[] {this.amountType}; // CodeableConcept + case -1708404378: /*ratioHighLimitAmount*/ return this.ratioHighLimitAmount == null ? new Base[0] : new Base[] {this.ratioHighLimitAmount}; // Ratio + case -844673834: /*comparator*/ return this.comparator == null ? new Base[0] : new Base[] {this.comparator}; // CodeableConcept case -896505829: /*source*/ return this.source == null ? new Base[0] : this.source.toArray(new Base[this.source.size()]); // Reference default: return super.getProperty(hash, name, checkValid); } @@ -4136,11 +4157,11 @@ public class SubstanceDefinition extends DomainResource { case -1413853096: // amount this.amount = TypeConvertor.castToType(value); // DataType return value; - case -1832648218: // amountRatioHighLimit - this.amountRatioHighLimit = TypeConvertor.castToRatio(value); // Ratio + case -1708404378: // ratioHighLimitAmount + this.ratioHighLimitAmount = TypeConvertor.castToRatio(value); // Ratio return value; - case -1424857166: // amountType - this.amountType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + case -844673834: // comparator + this.comparator = TypeConvertor.castToCodeableConcept(value); // CodeableConcept return value; case -896505829: // source this.getSource().add(TypeConvertor.castToReference(value)); // Reference @@ -4160,10 +4181,10 @@ public class SubstanceDefinition extends DomainResource { this.isDefining = TypeConvertor.castToBoolean(value); // BooleanType } else if (name.equals("amount[x]")) { this.amount = TypeConvertor.castToType(value); // DataType - } else if (name.equals("amountRatioHighLimit")) { - this.amountRatioHighLimit = TypeConvertor.castToRatio(value); // Ratio - } else if (name.equals("amountType")) { - this.amountType = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("ratioHighLimitAmount")) { + this.ratioHighLimitAmount = TypeConvertor.castToRatio(value); // Ratio + } else if (name.equals("comparator")) { + this.comparator = TypeConvertor.castToCodeableConcept(value); // CodeableConcept } else if (name.equals("source")) { this.getSource().add(TypeConvertor.castToReference(value)); } else @@ -4180,8 +4201,8 @@ public class SubstanceDefinition extends DomainResource { case -141812990: return getIsDefiningElement(); case 646780200: return getAmount(); case -1413853096: return getAmount(); - case -1832648218: return getAmountRatioHighLimit(); - case -1424857166: return getAmountType(); + case -1708404378: return getRatioHighLimitAmount(); + case -844673834: return getComparator(); case -896505829: return addSource(); default: return super.makeProperty(hash, name); } @@ -4195,8 +4216,8 @@ public class SubstanceDefinition extends DomainResource { case 3575610: /*type*/ return new String[] {"CodeableConcept"}; case -141812990: /*isDefining*/ return new String[] {"boolean"}; case -1413853096: /*amount*/ return new String[] {"Quantity", "Ratio", "string"}; - case -1832648218: /*amountRatioHighLimit*/ return new String[] {"Ratio"}; - case -1424857166: /*amountType*/ return new String[] {"CodeableConcept"}; + case -1708404378: /*ratioHighLimitAmount*/ return new String[] {"Ratio"}; + case -844673834: /*comparator*/ return new String[] {"CodeableConcept"}; case -896505829: /*source*/ return new String[] {"Reference"}; default: return super.getTypesForProperty(hash, name); } @@ -4232,13 +4253,13 @@ public class SubstanceDefinition extends DomainResource { this.amount = new StringType(); return this.amount; } - else if (name.equals("amountRatioHighLimit")) { - this.amountRatioHighLimit = new Ratio(); - return this.amountRatioHighLimit; + else if (name.equals("ratioHighLimitAmount")) { + this.ratioHighLimitAmount = new Ratio(); + return this.ratioHighLimitAmount; } - else if (name.equals("amountType")) { - this.amountType = new CodeableConcept(); - return this.amountType; + else if (name.equals("comparator")) { + this.comparator = new CodeableConcept(); + return this.comparator; } else if (name.equals("source")) { return addSource(); @@ -4259,8 +4280,8 @@ public class SubstanceDefinition extends DomainResource { dst.type = type == null ? null : type.copy(); dst.isDefining = isDefining == null ? null : isDefining.copy(); dst.amount = amount == null ? null : amount.copy(); - dst.amountRatioHighLimit = amountRatioHighLimit == null ? null : amountRatioHighLimit.copy(); - dst.amountType = amountType == null ? null : amountType.copy(); + dst.ratioHighLimitAmount = ratioHighLimitAmount == null ? null : ratioHighLimitAmount.copy(); + dst.comparator = comparator == null ? null : comparator.copy(); if (source != null) { dst.source = new ArrayList(); for (Reference i : source) @@ -4276,8 +4297,8 @@ public class SubstanceDefinition extends DomainResource { return false; SubstanceDefinitionRelationshipComponent o = (SubstanceDefinitionRelationshipComponent) other_; return compareDeep(substanceDefinition, o.substanceDefinition, true) && compareDeep(type, o.type, true) - && compareDeep(isDefining, o.isDefining, true) && compareDeep(amount, o.amount, true) && compareDeep(amountRatioHighLimit, o.amountRatioHighLimit, true) - && compareDeep(amountType, o.amountType, true) && compareDeep(source, o.source, true); + && compareDeep(isDefining, o.isDefining, true) && compareDeep(amount, o.amount, true) && compareDeep(ratioHighLimitAmount, o.ratioHighLimitAmount, true) + && compareDeep(comparator, o.comparator, true) && compareDeep(source, o.source, true); } @Override @@ -4292,7 +4313,7 @@ public class SubstanceDefinition extends DomainResource { public boolean isEmpty() { return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(substanceDefinition, type - , isDefining, amount, amountRatioHighLimit, amountType, source); + , isDefining, amount, ratioHighLimitAmount, comparator, source); } public String fhirType() { @@ -4308,21 +4329,24 @@ public class SubstanceDefinition extends DomainResource { * A classification that provides the origin of the raw material. Example: cat hair would be an Animal source type. */ @Child(name = "type", type = {CodeableConcept.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A classification that provides the origin of the raw material. Example: cat hair would be an Animal source type", formalDefinition="A classification that provides the origin of the raw material. Example: cat hair would be an Animal source type." ) + @Description(shortDefinition="Classification of the origin of the raw material. e.g. cat hair is an Animal source type", formalDefinition="A classification that provides the origin of the raw material. Example: cat hair would be an Animal source type." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-source-material-type") protected CodeableConcept type; /** * The genus of an organism, typically referring to the Latin epithet of the genus element of the plant/animal scientific name. */ @Child(name = "genus", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The genus of an organism, typically referring to the Latin epithet of the genus element of the plant/animal scientific name", formalDefinition="The genus of an organism, typically referring to the Latin epithet of the genus element of the plant/animal scientific name." ) + @Description(shortDefinition="The genus of an organism e.g. the Latin epithet of the plant/animal scientific name", formalDefinition="The genus of an organism, typically referring to the Latin epithet of the genus element of the plant/animal scientific name." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-source-material-genus") protected CodeableConcept genus; /** * The species of an organism, typically referring to the Latin epithet of the species of the plant/animal. */ @Child(name = "species", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="The species of an organism, typically referring to the Latin epithet of the species of the plant/animal", formalDefinition="The species of an organism, typically referring to the Latin epithet of the species of the plant/animal." ) + @Description(shortDefinition="The species of an organism e.g. the Latin epithet of the species of the plant/animal", formalDefinition="The species of an organism, typically referring to the Latin epithet of the species of the plant/animal." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-source-material-species") protected CodeableConcept species; /** @@ -4330,6 +4354,7 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "part", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) @Description(shortDefinition="An anatomical origin of the source material within an organism", formalDefinition="An anatomical origin of the source material within an organism." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-source-material-part") protected CodeableConcept part; /** @@ -4337,6 +4362,7 @@ public class SubstanceDefinition extends DomainResource { */ @Child(name = "countryOfOrigin", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) @Description(shortDefinition="The country or countries where the material is harvested", formalDefinition="The country or countries where the material is harvested." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/country") protected List countryOfOrigin; private static final long serialVersionUID = 569352795L; @@ -4683,38 +4709,41 @@ public class SubstanceDefinition extends DomainResource { protected List identifier; /** - * A business level identifier of the substance. + * A business level version identifier of the substance. */ @Child(name = "version", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="A business level identifier of the substance", formalDefinition="A business level identifier of the substance." ) + @Description(shortDefinition="A business level version identifier of the substance", formalDefinition="A business level version identifier of the substance." ) protected StringType version; /** - * Status of substance within the catalogue e.g. approved. + * Status of substance within the catalogue e.g. active, retired. */ @Child(name = "status", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Status of substance within the catalogue e.g. approved", formalDefinition="Status of substance within the catalogue e.g. approved." ) + @Description(shortDefinition="Status of substance within the catalogue e.g. active, retired", formalDefinition="Status of substance within the catalogue e.g. active, retired." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/publication-status") protected CodeableConcept status; /** * A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant). */ @Child(name = "classification", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant)", formalDefinition="A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant)." ) + @Description(shortDefinition="A categorization, high level e.g. polymer or nucleic acid, or food, chemical, biological, or lower e.g. polymer linear or branch chain, or type of impurity", formalDefinition="A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant)." ) protected List classification; /** - * If the substance applies to only human or veterinary use. + * If the substance applies to human or veterinary use. */ @Child(name = "domain", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="If the substance applies to only human or veterinary use", formalDefinition="If the substance applies to only human or veterinary use." ) + @Description(shortDefinition="If the substance applies to human or veterinary use", formalDefinition="If the substance applies to human or veterinary use." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/medicinal-product-domain") protected CodeableConcept domain; /** * The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard). */ @Child(name = "grade", type = {CodeableConcept.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard)", formalDefinition="The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard)." ) + @Description(shortDefinition="The quality standard, established benchmark, to which substance complies (e.g. USP/NF, BP)", formalDefinition="The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard)." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/substance-grade") protected List grade; /** @@ -4739,17 +4768,17 @@ public class SubstanceDefinition extends DomainResource { protected List note; /** - * A company that makes this substance. + * The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive. */ @Child(name = "manufacturer", type = {Organization.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A company that makes this substance", formalDefinition="A company that makes this substance." ) + @Description(shortDefinition="The entity that creates, makes, produces or fabricates the substance", formalDefinition="The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive." ) protected List manufacturer; /** - * A company that supplies this substance. + * An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor. */ @Child(name = "supplier", type = {Organization.class}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A company that supplies this substance", formalDefinition="A company that supplies this substance." ) + @Description(shortDefinition="An entity that is the source for the substance. It may be different from the manufacturer", formalDefinition="An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor." ) protected List supplier; /** @@ -4777,7 +4806,7 @@ public class SubstanceDefinition extends DomainResource { * The molecular weight or weight range (for proteins, polymers or nucleic acids). */ @Child(name = "molecularWeight", type = {}, order=14, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="The molecular weight or weight range (for proteins, polymers or nucleic acids)", formalDefinition="The molecular weight or weight range (for proteins, polymers or nucleic acids)." ) + @Description(shortDefinition="The molecular weight or weight range", formalDefinition="The molecular weight or weight range (for proteins, polymers or nucleic acids)." ) protected List molecularWeight; /** @@ -4805,7 +4834,7 @@ public class SubstanceDefinition extends DomainResource { * A link between this substance and another, with details of the relationship. */ @Child(name = "relationship", type = {}, order=18, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="A link between this substance and another, with details of the relationship", formalDefinition="A link between this substance and another, with details of the relationship." ) + @Description(shortDefinition="A link between this substance and another", formalDefinition="A link between this substance and another, with details of the relationship." ) protected List relationship; /** @@ -4833,7 +4862,7 @@ public class SubstanceDefinition extends DomainResource { * Material or taxonomic/anatomical source for the substance. */ @Child(name = "sourceMaterial", type = {}, order=22, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Material or taxonomic/anatomical source for the substance", formalDefinition="Material or taxonomic/anatomical source for the substance." ) + @Description(shortDefinition="Material or taxonomic/anatomical source", formalDefinition="Material or taxonomic/anatomical source for the substance." ) protected SubstanceDefinitionSourceMaterialComponent sourceMaterial; private static final long serialVersionUID = 23576785L; @@ -4899,7 +4928,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #version} (A business level identifier of the substance.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + * @return {@link #version} (A business level version identifier of the substance.). 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) @@ -4919,7 +4948,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #version} (A business level identifier of the substance.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value + * @param value {@link #version} (A business level version identifier of the substance.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value */ public SubstanceDefinition setVersionElement(StringType value) { this.version = value; @@ -4927,14 +4956,14 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return A business level identifier of the substance. + * @return A business level version identifier of the substance. */ public String getVersion() { return this.version == null ? null : this.version.getValue(); } /** - * @param value A business level identifier of the substance. + * @param value A business level version identifier of the substance. */ public SubstanceDefinition setVersion(String value) { if (Utilities.noString(value)) @@ -4948,7 +4977,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #status} (Status of substance within the catalogue e.g. approved.) + * @return {@link #status} (Status of substance within the catalogue e.g. active, retired.) */ public CodeableConcept getStatus() { if (this.status == null) @@ -4964,7 +4993,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #status} (Status of substance within the catalogue e.g. approved.) + * @param value {@link #status} (Status of substance within the catalogue e.g. active, retired.) */ public SubstanceDefinition setStatus(CodeableConcept value) { this.status = value; @@ -5025,7 +5054,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #domain} (If the substance applies to only human or veterinary use.) + * @return {@link #domain} (If the substance applies to human or veterinary use.) */ public CodeableConcept getDomain() { if (this.domain == null) @@ -5041,7 +5070,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @param value {@link #domain} (If the substance applies to only human or veterinary use.) + * @param value {@link #domain} (If the substance applies to human or veterinary use.) */ public SubstanceDefinition setDomain(CodeableConcept value) { this.domain = value; @@ -5257,7 +5286,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #manufacturer} (A company that makes this substance.) + * @return {@link #manufacturer} (The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive.) */ public List getManufacturer() { if (this.manufacturer == null) @@ -5310,7 +5339,7 @@ public class SubstanceDefinition extends DomainResource { } /** - * @return {@link #supplier} (A company that supplies this substance.) + * @return {@link #supplier} (An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor.) */ public List getSupplier() { if (this.supplier == null) @@ -5827,16 +5856,16 @@ public class SubstanceDefinition extends DomainResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("identifier", "Identifier", "Identifier by which this substance is known.", 0, java.lang.Integer.MAX_VALUE, identifier)); - children.add(new Property("version", "string", "A business level identifier of the substance.", 0, 1, version)); - children.add(new Property("status", "CodeableConcept", "Status of substance within the catalogue e.g. approved.", 0, 1, status)); + children.add(new Property("version", "string", "A business level version identifier of the substance.", 0, 1, version)); + children.add(new Property("status", "CodeableConcept", "Status of substance within the catalogue e.g. active, retired.", 0, 1, status)); children.add(new Property("classification", "CodeableConcept", "A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant).", 0, java.lang.Integer.MAX_VALUE, classification)); - children.add(new Property("domain", "CodeableConcept", "If the substance applies to only human or veterinary use.", 0, 1, domain)); + children.add(new Property("domain", "CodeableConcept", "If the substance applies to human or veterinary use.", 0, 1, domain)); children.add(new Property("grade", "CodeableConcept", "The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard).", 0, java.lang.Integer.MAX_VALUE, grade)); children.add(new Property("description", "markdown", "Textual description of the substance.", 0, 1, description)); children.add(new Property("informationSource", "Reference(Citation)", "Supporting literature.", 0, java.lang.Integer.MAX_VALUE, informationSource)); children.add(new Property("note", "Annotation", "Textual comment about the substance's catalogue or registry record.", 0, java.lang.Integer.MAX_VALUE, note)); - children.add(new Property("manufacturer", "Reference(Organization)", "A company that makes this substance.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); - children.add(new Property("supplier", "Reference(Organization)", "A company that supplies this substance.", 0, java.lang.Integer.MAX_VALUE, supplier)); + children.add(new Property("manufacturer", "Reference(Organization)", "The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive.", 0, java.lang.Integer.MAX_VALUE, manufacturer)); + children.add(new Property("supplier", "Reference(Organization)", "An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor.", 0, java.lang.Integer.MAX_VALUE, supplier)); children.add(new Property("moiety", "", "Moiety, for structural modifications.", 0, java.lang.Integer.MAX_VALUE, moiety)); children.add(new Property("property", "", "General specifications for this substance.", 0, java.lang.Integer.MAX_VALUE, property)); children.add(new Property("referenceInformation", "Reference(SubstanceReferenceInformation)", "General information detailing this substance.", 0, 1, referenceInformation)); @@ -5855,16 +5884,16 @@ public class SubstanceDefinition extends DomainResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier by which this substance is known.", 0, java.lang.Integer.MAX_VALUE, identifier); - case 351608024: /*version*/ return new Property("version", "string", "A business level identifier of the substance.", 0, 1, version); - case -892481550: /*status*/ return new Property("status", "CodeableConcept", "Status of substance within the catalogue e.g. approved.", 0, 1, status); + case 351608024: /*version*/ return new Property("version", "string", "A business level version identifier of the substance.", 0, 1, version); + case -892481550: /*status*/ return new Property("status", "CodeableConcept", "Status of substance within the catalogue e.g. active, retired.", 0, 1, status); case 382350310: /*classification*/ return new Property("classification", "CodeableConcept", "A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant).", 0, java.lang.Integer.MAX_VALUE, classification); - case -1326197564: /*domain*/ return new Property("domain", "CodeableConcept", "If the substance applies to only human or veterinary use.", 0, 1, domain); + case -1326197564: /*domain*/ return new Property("domain", "CodeableConcept", "If the substance applies to human or veterinary use.", 0, 1, domain); case 98615255: /*grade*/ return new Property("grade", "CodeableConcept", "The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard).", 0, java.lang.Integer.MAX_VALUE, grade); case -1724546052: /*description*/ return new Property("description", "markdown", "Textual description of the substance.", 0, 1, description); case -2123220889: /*informationSource*/ return new Property("informationSource", "Reference(Citation)", "Supporting literature.", 0, java.lang.Integer.MAX_VALUE, informationSource); case 3387378: /*note*/ return new Property("note", "Annotation", "Textual comment about the substance's catalogue or registry record.", 0, java.lang.Integer.MAX_VALUE, note); - case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "A company that makes this substance.", 0, java.lang.Integer.MAX_VALUE, manufacturer); - case -1663305268: /*supplier*/ return new Property("supplier", "Reference(Organization)", "A company that supplies this substance.", 0, java.lang.Integer.MAX_VALUE, supplier); + case -1969347631: /*manufacturer*/ return new Property("manufacturer", "Reference(Organization)", "The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive.", 0, java.lang.Integer.MAX_VALUE, manufacturer); + case -1663305268: /*supplier*/ return new Property("supplier", "Reference(Organization)", "An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor.", 0, java.lang.Integer.MAX_VALUE, supplier); case -1068650173: /*moiety*/ return new Property("moiety", "", "Moiety, for structural modifications.", 0, java.lang.Integer.MAX_VALUE, moiety); case -993141291: /*property*/ return new Property("property", "", "General specifications for this substance.", 0, java.lang.Integer.MAX_VALUE, property); case -2117930783: /*referenceInformation*/ return new Property("referenceInformation", "Reference(SubstanceReferenceInformation)", "General information detailing this substance.", 0, 1, referenceInformation); @@ -6322,106 +6351,6 @@ public class SubstanceDefinition extends DomainResource { return ResourceType.SubstanceDefinition; } - /** - * Search parameter: classification - *

- * Description: High or low level categorization, e.g. polymer vs. nucleic acid or linear vs. branch chain
- * Type: token
- * Path: SubstanceDefinition.classification
- *

- */ - @SearchParamDefinition(name="classification", path="SubstanceDefinition.classification", description="High or low level categorization, e.g. polymer vs. nucleic acid or linear vs. branch chain", type="token" ) - public static final String SP_CLASSIFICATION = "classification"; - /** - * Fluent Client search parameter constant for classification - *

- * Description: High or low level categorization, e.g. polymer vs. nucleic acid or linear vs. branch chain
- * Type: token
- * Path: SubstanceDefinition.classification
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASSIFICATION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CLASSIFICATION); - - /** - * Search parameter: code - *

- * Description: The specific code
- * Type: token
- * Path: SubstanceDefinition.code.code
- *

- */ - @SearchParamDefinition(name="code", path="SubstanceDefinition.code.code", description="The specific code", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: The specific code
- * Type: token
- * Path: SubstanceDefinition.code.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: domain - *

- * Description: If the substance applies to only human or veterinary use
- * Type: token
- * Path: SubstanceDefinition.domain
- *

- */ - @SearchParamDefinition(name="domain", path="SubstanceDefinition.domain", description="If the substance applies to only human or veterinary use", type="token" ) - public static final String SP_DOMAIN = "domain"; - /** - * Fluent Client search parameter constant for domain - *

- * Description: If the substance applies to only human or veterinary use
- * Type: token
- * Path: SubstanceDefinition.domain
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam DOMAIN = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_DOMAIN); - - /** - * Search parameter: identifier - *

- * Description: Identifier by which this substance is known
- * Type: token
- * Path: SubstanceDefinition.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="SubstanceDefinition.identifier", description="Identifier by which this substance is known", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Identifier by which this substance is known
- * Type: token
- * Path: SubstanceDefinition.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: name - *

- * Description: The actual name
- * Type: string
- * Path: SubstanceDefinition.name.name
- *

- */ - @SearchParamDefinition(name="name", path="SubstanceDefinition.name.name", description="The actual name", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: The actual name
- * Type: string
- * Path: SubstanceDefinition.name.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceNucleicAcid.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceNucleicAcid.java index 3a86b74ae..a5750cd09 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceNucleicAcid.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceNucleicAcid.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstancePolymer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstancePolymer.java index e60eba22d..9a0fb06a2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstancePolymer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstancePolymer.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceProtein.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceProtein.java index d0e67ad42..36adfb3f3 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceProtein.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceProtein.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceReferenceInformation.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceReferenceInformation.java index d02ea547a..eff7bf7fd 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceReferenceInformation.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceReferenceInformation.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceSourceMaterial.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceSourceMaterial.java index bac3f7fca..edb771ff4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceSourceMaterial.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SubstanceSourceMaterial.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyDelivery.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyDelivery.java index 0060a8c51..c58b1bd63 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyDelivery.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyDelivery.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -96,6 +96,7 @@ public class SupplyDelivery extends DomainResource { case COMPLETED: return "completed"; case ABANDONED: return "abandoned"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -105,6 +106,7 @@ public class SupplyDelivery extends DomainResource { case COMPLETED: return "http://hl7.org/fhir/supplydelivery-status"; case ABANDONED: return "http://hl7.org/fhir/supplydelivery-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/supplydelivery-status"; + case NULL: return null; default: return "?"; } } @@ -114,6 +116,7 @@ public class SupplyDelivery extends DomainResource { case COMPLETED: return "Supply has been delivered (\"completed\")."; case ABANDONED: return "Delivery was not completed."; case ENTEREDINERROR: return "This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"abandoned\" rather than \"entered-in-error\".)."; + case NULL: return null; default: return "?"; } } @@ -123,6 +126,7 @@ public class SupplyDelivery extends DomainResource { case COMPLETED: return "Delivered"; case ABANDONED: return "Abandoned"; case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; default: return "?"; } } @@ -1251,256 +1255,6 @@ public class SupplyDelivery extends DomainResource { return ResourceType.SupplyDelivery; } - /** - * Search parameter: receiver - *

- * Description: Who collected the Supply
- * Type: reference
- * Path: SupplyDelivery.receiver
- *

- */ - @SearchParamDefinition(name="receiver", path="SupplyDelivery.receiver", description="Who collected the Supply", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_RECEIVER = "receiver"; - /** - * Fluent Client search parameter constant for receiver - *

- * Description: Who collected the Supply
- * Type: reference
- * Path: SupplyDelivery.receiver
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECEIVER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_RECEIVER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SupplyDelivery:receiver". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_RECEIVER = new ca.uhn.fhir.model.api.Include("SupplyDelivery:receiver").toLocked(); - - /** - * Search parameter: status - *

- * Description: in-progress | completed | abandoned | entered-in-error
- * Type: token
- * Path: SupplyDelivery.status
- *

- */ - @SearchParamDefinition(name="status", path="SupplyDelivery.status", description="in-progress | completed | abandoned | entered-in-error", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: in-progress | completed | abandoned | entered-in-error
- * Type: token
- * Path: SupplyDelivery.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: supplier - *

- * Description: Dispenser
- * Type: reference
- * Path: SupplyDelivery.supplier
- *

- */ - @SearchParamDefinition(name="supplier", path="SupplyDelivery.supplier", description="Dispenser", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Organization.class, Practitioner.class, PractitionerRole.class } ) - public static final String SP_SUPPLIER = "supplier"; - /** - * Fluent Client search parameter constant for supplier - *

- * Description: Dispenser
- * Type: reference
- * Path: SupplyDelivery.supplier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPLIER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SupplyDelivery:supplier". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER = new ca.uhn.fhir.model.api.Include("SupplyDelivery:supplier").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SupplyDelivery:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("SupplyDelivery:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyRequest.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyRequest.java index 772622aa7..ae2b8aa79 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyRequest.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/SupplyRequest.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -117,6 +117,7 @@ public class SupplyRequest extends DomainResource { case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; case UNKNOWN: return "unknown"; + case NULL: return null; default: return "?"; } } @@ -129,6 +130,7 @@ public class SupplyRequest extends DomainResource { case COMPLETED: return "http://hl7.org/fhir/supplyrequest-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/supplyrequest-status"; case UNKNOWN: return "http://hl7.org/fhir/supplyrequest-status"; + case NULL: return null; default: return "?"; } } @@ -141,6 +143,7 @@ public class SupplyRequest extends DomainResource { case COMPLETED: return "Activity against the request has been sufficiently completed to the satisfaction of the requester."; case ENTEREDINERROR: return "This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"cancelled\" rather than \"entered-in-error\".)."; case UNKNOWN: return "The authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which."; + case NULL: return null; default: return "?"; } } @@ -153,6 +156,7 @@ public class SupplyRequest extends DomainResource { case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered in Error"; case UNKNOWN: return "Unknown"; + case NULL: return null; default: return "?"; } } @@ -1618,266 +1622,6 @@ public class SupplyRequest extends DomainResource { return ResourceType.SupplyRequest; } - /** - * Search parameter: category - *

- * Description: The kind of supply (central, non-stock, etc.)
- * Type: token
- * Path: SupplyRequest.category
- *

- */ - @SearchParamDefinition(name="category", path="SupplyRequest.category", description="The kind of supply (central, non-stock, etc.)", type="token" ) - public static final String SP_CATEGORY = "category"; - /** - * Fluent Client search parameter constant for category - *

- * Description: The kind of supply (central, non-stock, etc.)
- * Type: token
- * Path: SupplyRequest.category
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CATEGORY); - - /** - * Search parameter: requester - *

- * Description: Individual making the request
- * Type: reference
- * Path: SupplyRequest.requester
- *

- */ - @SearchParamDefinition(name="requester", path="SupplyRequest.requester", description="Individual making the request", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Device"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for RelatedPerson") }, target={CareTeam.class, Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_REQUESTER = "requester"; - /** - * Fluent Client search parameter constant for requester - *

- * Description: Individual making the request
- * Type: reference
- * Path: SupplyRequest.requester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SupplyRequest:requester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER = new ca.uhn.fhir.model.api.Include("SupplyRequest:requester").toLocked(); - - /** - * Search parameter: status - *

- * Description: draft | active | suspended +
- * Type: token
- * Path: SupplyRequest.status
- *

- */ - @SearchParamDefinition(name="status", path="SupplyRequest.status", description="draft | active | suspended +", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: draft | active | suspended +
- * Type: token
- * Path: SupplyRequest.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: The destination of the supply
- * Type: reference
- * Path: SupplyRequest.deliverTo
- *

- */ - @SearchParamDefinition(name="subject", path="SupplyRequest.deliverTo", description="The destination of the supply", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Location.class, Organization.class, Patient.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: The destination of the supply
- * Type: reference
- * Path: SupplyRequest.deliverTo
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SupplyRequest:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("SupplyRequest:subject").toLocked(); - - /** - * Search parameter: supplier - *

- * Description: Who is intended to fulfill the request
- * Type: reference
- * Path: SupplyRequest.supplier
- *

- */ - @SearchParamDefinition(name="supplier", path="SupplyRequest.supplier", description="Who is intended to fulfill the request", type="reference", target={HealthcareService.class, Organization.class } ) - public static final String SP_SUPPLIER = "supplier"; - /** - * Fluent Client search parameter constant for supplier - *

- * Description: Who is intended to fulfill the request
- * Type: reference
- * Path: SupplyRequest.supplier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUPPLIER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "SupplyRequest:supplier". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER = new ca.uhn.fhir.model.api.Include("SupplyRequest:supplier").toLocked(); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - @SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded -* [CarePlan](careplan.html): Time period plan covers -* [CareTeam](careteam.html): A date within the coverage time period. -* [ClinicalImpression](clinicalimpression.html): When the assessment was documented -* [Composition](composition.html): Composition editing time -* [Consent](consent.html): When consent was agreed to -* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report -* [Encounter](encounter.html): A date within the actualPeriod the Encounter lasted -* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period -* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated -* [Flag](flag.html): Time period when flag is active -* [Immunization](immunization.html): Vaccination (non)-Administration Date -* [List](list.html): When the list was prepared -* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period -* [Procedure](procedure.html): When the procedure occurred or is occurring -* [RiskAssessment](riskassessment.html): When was assessment made? -* [SupplyRequest](supplyrequest.html): When the request was made -
- * Type: date
- * Path: AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.actualPeriod | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Task.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Task.java index b76074d28..c71b8a9dd 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Task.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Task.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -131,6 +131,7 @@ public class Task extends DomainResource { case FILLERORDER: return "filler-order"; case INSTANCEORDER: return "instance-order"; case OPTION: return "option"; + case NULL: return null; default: return "?"; } } @@ -145,6 +146,7 @@ public class Task extends DomainResource { case FILLERORDER: return "http://hl7.org/fhir/request-intent"; case INSTANCEORDER: return "http://hl7.org/fhir/request-intent"; case OPTION: return "http://hl7.org/fhir/request-intent"; + case NULL: return null; default: return "?"; } } @@ -159,6 +161,7 @@ public class Task extends DomainResource { case FILLERORDER: return "The request represents the view of an authorization instantiated by a fulfilling system representing the details of the fulfiller's intention to act upon a submitted order."; case INSTANCEORDER: return "An order created in fulfillment of a broader order that represents the authorization for a single activity occurrence. E.g. The administration of a single dose of a drug."; case OPTION: return "The request represents a component or option for a RequestGroup that establishes timing, conditionality and/or other constraints among a set of requests. Refer to [[[RequestGroup]]] for additional information on how this status is used."; + case NULL: return null; default: return "?"; } } @@ -173,6 +176,7 @@ public class Task extends DomainResource { case FILLERORDER: return "Filler Order"; case INSTANCEORDER: return "Instance Order"; case OPTION: return "Option"; + case NULL: return null; default: return "?"; } } @@ -356,6 +360,7 @@ public class Task extends DomainResource { case FAILED: return "failed"; case COMPLETED: return "completed"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -373,6 +378,7 @@ public class Task extends DomainResource { case FAILED: return "http://hl7.org/fhir/task-status"; case COMPLETED: return "http://hl7.org/fhir/task-status"; case ENTEREDINERROR: return "http://hl7.org/fhir/task-status"; + case NULL: return null; default: return "?"; } } @@ -390,6 +396,7 @@ public class Task extends DomainResource { case FAILED: return "The task was attempted but could not be completed due to some error."; case COMPLETED: return "The task has been completed."; case ENTEREDINERROR: return "The task should never have existed and is retained only because of the possibility it may have used."; + case NULL: return null; default: return "?"; } } @@ -407,6 +414,7 @@ public class Task extends DomainResource { case FAILED: return "Failed"; case COMPLETED: return "Completed"; case ENTEREDINERROR: return "Entered in Error"; + case NULL: return null; default: return "?"; } } @@ -5392,434 +5400,6 @@ public class Task extends DomainResource { return ResourceType.Task; } - /** - * Search parameter: authored-on - *

- * Description: Search by creation date
- * Type: date
- * Path: Task.authoredOn
- *

- */ - @SearchParamDefinition(name="authored-on", path="Task.authoredOn", description="Search by creation date", type="date" ) - public static final String SP_AUTHORED_ON = "authored-on"; - /** - * Fluent Client search parameter constant for authored-on - *

- * Description: Search by creation date
- * Type: date
- * Path: Task.authoredOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED_ON = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_AUTHORED_ON); - - /** - * Search parameter: based-on - *

- * Description: Search by requests this task is based on
- * Type: reference
- * Path: Task.basedOn
- *

- */ - @SearchParamDefinition(name="based-on", path="Task.basedOn", description="Search by requests this task is based on", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_BASED_ON = "based-on"; - /** - * Fluent Client search parameter constant for based-on - *

- * Description: Search by requests this task is based on
- * Type: reference
- * Path: Task.basedOn
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_BASED_ON); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:based-on". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON = new ca.uhn.fhir.model.api.Include("Task:based-on").toLocked(); - - /** - * Search parameter: business-status - *

- * Description: Search by business status
- * Type: token
- * Path: Task.businessStatus
- *

- */ - @SearchParamDefinition(name="business-status", path="Task.businessStatus", description="Search by business status", type="token" ) - public static final String SP_BUSINESS_STATUS = "business-status"; - /** - * Fluent Client search parameter constant for business-status - *

- * Description: Search by business status
- * Type: token
- * Path: Task.businessStatus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam BUSINESS_STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_BUSINESS_STATUS); - - /** - * Search parameter: code - *

- * Description: Search by task code
- * Type: token
- * Path: Task.code
- *

- */ - @SearchParamDefinition(name="code", path="Task.code", description="Search by task code", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: Search by task code
- * Type: token
- * Path: Task.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: encounter - *

- * Description: Search by encounter
- * Type: reference
- * Path: Task.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Task.encounter", description="Search by encounter", type="reference", target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Search by encounter
- * Type: reference
- * Path: Task.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("Task:encounter").toLocked(); - - /** - * Search parameter: focus - *

- * Description: Search by task focus
- * Type: reference
- * Path: Task.focus
- *

- */ - @SearchParamDefinition(name="focus", path="Task.focus", description="Search by task focus", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_FOCUS = "focus"; - /** - * Fluent Client search parameter constant for focus - *

- * Description: Search by task focus
- * Type: reference
- * Path: Task.focus
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_FOCUS); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:focus". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS = new ca.uhn.fhir.model.api.Include("Task:focus").toLocked(); - - /** - * Search parameter: group-identifier - *

- * Description: Search by group identifier
- * Type: token
- * Path: Task.groupIdentifier
- *

- */ - @SearchParamDefinition(name="group-identifier", path="Task.groupIdentifier", description="Search by group identifier", type="token" ) - public static final String SP_GROUP_IDENTIFIER = "group-identifier"; - /** - * Fluent Client search parameter constant for group-identifier - *

- * Description: Search by group identifier
- * Type: token
- * Path: Task.groupIdentifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam GROUP_IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_GROUP_IDENTIFIER); - - /** - * Search parameter: identifier - *

- * Description: Search for a task instance by its business identifier
- * Type: token
- * Path: Task.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="Task.identifier", description="Search for a task instance by its business identifier", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Search for a task instance by its business identifier
- * Type: token
- * Path: Task.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: intent - *

- * Description: Search by task intent
- * Type: token
- * Path: Task.intent
- *

- */ - @SearchParamDefinition(name="intent", path="Task.intent", description="Search by task intent", type="token" ) - public static final String SP_INTENT = "intent"; - /** - * Fluent Client search parameter constant for intent - *

- * Description: Search by task intent
- * Type: token
- * Path: Task.intent
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_INTENT); - - /** - * Search parameter: modified - *

- * Description: Search by last modification date
- * Type: date
- * Path: Task.lastModified
- *

- */ - @SearchParamDefinition(name="modified", path="Task.lastModified", description="Search by last modification date", type="date" ) - public static final String SP_MODIFIED = "modified"; - /** - * Fluent Client search parameter constant for modified - *

- * Description: Search by last modification date
- * Type: date
- * Path: Task.lastModified
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam MODIFIED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_MODIFIED); - - /** - * Search parameter: owner - *

- * Description: Search by task owner
- * Type: reference
- * Path: Task.owner
- *

- */ - @SearchParamDefinition(name="owner", path="Task.owner", description="Search by task owner", type="reference", target={CareTeam.class, Device.class, HealthcareService.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_OWNER = "owner"; - /** - * Fluent Client search parameter constant for owner - *

- * Description: Search by task owner
- * Type: reference
- * Path: Task.owner
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_OWNER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:owner". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNER = new ca.uhn.fhir.model.api.Include("Task:owner").toLocked(); - - /** - * Search parameter: part-of - *

- * Description: Search by task this task is part of
- * Type: reference
- * Path: Task.partOf
- *

- */ - @SearchParamDefinition(name="part-of", path="Task.partOf", description="Search by task this task is part of", type="reference", target={Task.class } ) - public static final String SP_PART_OF = "part-of"; - /** - * Fluent Client search parameter constant for part-of - *

- * Description: Search by task this task is part of
- * Type: reference
- * Path: Task.partOf
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PART_OF); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:part-of". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF = new ca.uhn.fhir.model.api.Include("Task:part-of").toLocked(); - - /** - * Search parameter: patient - *

- * Description: Search by patient
- * Type: reference
- * Path: Task.for.where(resolve() is Patient)
- *

- */ - @SearchParamDefinition(name="patient", path="Task.for.where(resolve() is Patient)", description="Search by patient", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Search by patient
- * Type: reference
- * Path: Task.for.where(resolve() is Patient)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("Task:patient").toLocked(); - - /** - * Search parameter: performer - *

- * Description: Search by recommended type of performer (e.g., Requester, Performer, Scheduler).
- * Type: token
- * Path: Task.performerType
- *

- */ - @SearchParamDefinition(name="performer", path="Task.performerType", description="Search by recommended type of performer (e.g., Requester, Performer, Scheduler).", type="token" ) - public static final String SP_PERFORMER = "performer"; - /** - * Fluent Client search parameter constant for performer - *

- * Description: Search by recommended type of performer (e.g., Requester, Performer, Scheduler).
- * Type: token
- * Path: Task.performerType
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PERFORMER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PERFORMER); - - /** - * Search parameter: period - *

- * Description: Search by period Task is/was underway
- * Type: date
- * Path: Task.executionPeriod
- *

- */ - @SearchParamDefinition(name="period", path="Task.executionPeriod", description="Search by period Task is/was underway", type="date" ) - public static final String SP_PERIOD = "period"; - /** - * Fluent Client search parameter constant for period - *

- * Description: Search by period Task is/was underway
- * Type: date
- * Path: Task.executionPeriod
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_PERIOD); - - /** - * Search parameter: priority - *

- * Description: Search by task priority
- * Type: token
- * Path: Task.priority
- *

- */ - @SearchParamDefinition(name="priority", path="Task.priority", description="Search by task priority", type="token" ) - public static final String SP_PRIORITY = "priority"; - /** - * Fluent Client search parameter constant for priority - *

- * Description: Search by task priority
- * Type: token
- * Path: Task.priority
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_PRIORITY); - - /** - * Search parameter: requester - *

- * Description: Search by task requester
- * Type: reference
- * Path: Task.requester
- *

- */ - @SearchParamDefinition(name="requester", path="Task.requester", description="Search by task requester", type="reference", target={Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class } ) - public static final String SP_REQUESTER = "requester"; - /** - * Fluent Client search parameter constant for requester - *

- * Description: Search by task requester
- * Type: reference
- * Path: Task.requester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_REQUESTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:requester". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER = new ca.uhn.fhir.model.api.Include("Task:requester").toLocked(); - - /** - * Search parameter: status - *

- * Description: Search by task status
- * Type: token
- * Path: Task.status
- *

- */ - @SearchParamDefinition(name="status", path="Task.status", description="Search by task status", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Search by task status
- * Type: token
- * Path: Task.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: subject - *

- * Description: Search by subject
- * Type: reference
- * Path: Task.for
- *

- */ - @SearchParamDefinition(name="subject", path="Task.for", description="Search by subject", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SUBJECT = "subject"; - /** - * Fluent Client search parameter constant for subject - *

- * Description: Search by subject
- * Type: reference
- * Path: Task.for
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "Task:subject". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Task:subject").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TerminologyCapabilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TerminologyCapabilities.java index 2ee9a0c99..55969d9b4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TerminologyCapabilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TerminologyCapabilities.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class TerminologyCapabilities extends CanonicalResource { switch (this) { case EXPLICIT: return "explicit"; case ALL: return "all"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class TerminologyCapabilities extends CanonicalResource { switch (this) { case EXPLICIT: return "http://hl7.org/fhir/code-search-support"; case ALL: return "http://hl7.org/fhir/code-search-support"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class TerminologyCapabilities extends CanonicalResource { switch (this) { case EXPLICIT: return "The search for code on ValueSet only includes codes explicitly detailed on includes or expansions."; case ALL: return "The search for code on ValueSet only includes all codes based on the expansion of the value set."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class TerminologyCapabilities extends CanonicalResource { switch (this) { case EXPLICIT: return "Explicit Codes"; case ALL: return "Implicit Codes"; + case NULL: return null; default: return "?"; } } @@ -4838,762 +4842,6 @@ public class TerminologyCapabilities extends CanonicalResource { return ResourceType.TerminologyCapabilities; } - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestReport.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestReport.java index bb56fdcdd..f1e670ffa 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestReport.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestReport.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -104,6 +104,7 @@ public class TestReport extends DomainResource { case FAIL: return "fail"; case WARNING: return "warning"; case ERROR: return "error"; + case NULL: return null; default: return "?"; } } @@ -114,6 +115,7 @@ public class TestReport extends DomainResource { case FAIL: return "http://hl7.org/fhir/report-action-result-codes"; case WARNING: return "http://hl7.org/fhir/report-action-result-codes"; case ERROR: return "http://hl7.org/fhir/report-action-result-codes"; + case NULL: return null; default: return "?"; } } @@ -124,6 +126,7 @@ public class TestReport extends DomainResource { case FAIL: return "The action failed."; case WARNING: return "The action passed but with warnings."; case ERROR: return "The action encountered a fatal error and the engine was unable to process."; + case NULL: return null; default: return "?"; } } @@ -134,6 +137,7 @@ public class TestReport extends DomainResource { case FAIL: return "Fail"; case WARNING: return "Warning"; case ERROR: return "Error"; + case NULL: return null; default: return "?"; } } @@ -230,6 +234,7 @@ public class TestReport extends DomainResource { case TESTENGINE: return "test-engine"; case CLIENT: return "client"; case SERVER: return "server"; + case NULL: return null; default: return "?"; } } @@ -238,6 +243,7 @@ public class TestReport extends DomainResource { case TESTENGINE: return "http://hl7.org/fhir/report-participant-type"; case CLIENT: return "http://hl7.org/fhir/report-participant-type"; case SERVER: return "http://hl7.org/fhir/report-participant-type"; + case NULL: return null; default: return "?"; } } @@ -246,6 +252,7 @@ public class TestReport extends DomainResource { case TESTENGINE: return "The test execution engine."; case CLIENT: return "A FHIR Client."; case SERVER: return "A FHIR Server."; + case NULL: return null; default: return "?"; } } @@ -254,6 +261,7 @@ public class TestReport extends DomainResource { case TESTENGINE: return "Test Engine"; case CLIENT: return "Client"; case SERVER: return "Server"; + case NULL: return null; default: return "?"; } } @@ -338,6 +346,7 @@ public class TestReport extends DomainResource { case PASS: return "pass"; case FAIL: return "fail"; case PENDING: return "pending"; + case NULL: return null; default: return "?"; } } @@ -346,6 +355,7 @@ public class TestReport extends DomainResource { case PASS: return "http://hl7.org/fhir/report-result-codes"; case FAIL: return "http://hl7.org/fhir/report-result-codes"; case PENDING: return "http://hl7.org/fhir/report-result-codes"; + case NULL: return null; default: return "?"; } } @@ -354,6 +364,7 @@ public class TestReport extends DomainResource { case PASS: return "All test operations successfully passed all asserts."; case FAIL: return "One or more test operations failed one or more asserts."; case PENDING: return "One or more test operations is pending execution completion."; + case NULL: return null; default: return "?"; } } @@ -362,6 +373,7 @@ public class TestReport extends DomainResource { case PASS: return "Pass"; case FAIL: return "Fail"; case PENDING: return "Pending"; + case NULL: return null; default: return "?"; } } @@ -460,6 +472,7 @@ public class TestReport extends DomainResource { case WAITING: return "waiting"; case STOPPED: return "stopped"; case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; default: return "?"; } } @@ -470,6 +483,7 @@ public class TestReport extends DomainResource { case WAITING: return "http://hl7.org/fhir/report-status-codes"; case STOPPED: return "http://hl7.org/fhir/report-status-codes"; case ENTEREDINERROR: return "http://hl7.org/fhir/report-status-codes"; + case NULL: return null; default: return "?"; } } @@ -480,6 +494,7 @@ public class TestReport extends DomainResource { case WAITING: return "A test operation is waiting for an external client request."; case STOPPED: return "The test script execution was manually stopped."; case ENTEREDINERROR: return "This test report was entered or created in error."; + case NULL: return null; default: return "?"; } } @@ -490,6 +505,7 @@ public class TestReport extends DomainResource { case WAITING: return "Waiting"; case STOPPED: return "Stopped"; case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; default: return "?"; } } @@ -2826,17 +2842,17 @@ public class TestReport extends DomainResource { } /** - * Identifier for the TestScript assigned for external purposes outside the context of FHIR. + * Identifier for the TestReport assigned for external purposes outside the context of FHIR. */ @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="External identifier", formalDefinition="Identifier for the TestScript assigned for external purposes outside the context of FHIR." ) + @Description(shortDefinition="External identifier", formalDefinition="Identifier for the TestReport assigned for external purposes outside the context of FHIR." ) protected Identifier identifier; /** - * A free text natural language name identifying the executed TestScript. + * A free text natural language name identifying the executed TestReport. */ @Child(name = "name", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Informal name of the executed TestScript", formalDefinition="A free text natural language name identifying the executed TestScript." ) + @Description(shortDefinition="Informal name of the executed TestReport", formalDefinition="A free text natural language name identifying the executed TestReport." ) protected StringType name; /** @@ -2850,9 +2866,9 @@ public class TestReport extends DomainResource { /** * Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`. */ - @Child(name = "testScript", type = {TestScript.class}, order=3, min=1, max=1, modifier=false, summary=true) - @Description(shortDefinition="Reference to the version-specific TestScript that was executed to produce this TestReport", formalDefinition="Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`." ) - protected Reference testScript; + @Child(name = "testScript", type = {CanonicalType.class}, order=3, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="Canonical URL to the version-specific TestScript that was executed to produce this TestReport", formalDefinition="Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`." ) + protected CanonicalType testScript; /** * The overall result from the execution of the TestScript. @@ -2911,7 +2927,7 @@ public class TestReport extends DomainResource { @Description(shortDefinition="The results of running the series of required clean up steps", formalDefinition="The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise)." ) protected TestReportTeardownComponent teardown; - private static final long serialVersionUID = 1713142733L; + private static final long serialVersionUID = -1863229334L; /** * Constructor @@ -2923,7 +2939,7 @@ public class TestReport extends DomainResource { /** * Constructor */ - public TestReport(TestReportStatus status, Reference testScript, TestReportResult result) { + public TestReport(TestReportStatus status, String testScript, TestReportResult result) { super(); this.setStatus(status); this.setTestScript(testScript); @@ -2931,7 +2947,7 @@ public class TestReport extends DomainResource { } /** - * @return {@link #identifier} (Identifier for the TestScript assigned for external purposes outside the context of FHIR.) + * @return {@link #identifier} (Identifier for the TestReport assigned for external purposes outside the context of FHIR.) */ public Identifier getIdentifier() { if (this.identifier == null) @@ -2947,7 +2963,7 @@ public class TestReport extends DomainResource { } /** - * @param value {@link #identifier} (Identifier for the TestScript assigned for external purposes outside the context of FHIR.) + * @param value {@link #identifier} (Identifier for the TestReport assigned for external purposes outside the context of FHIR.) */ public TestReport setIdentifier(Identifier value) { this.identifier = value; @@ -2955,7 +2971,7 @@ public class TestReport extends DomainResource { } /** - * @return {@link #name} (A free text natural language name identifying the executed TestScript.). 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 executed TestReport.). 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) @@ -2975,7 +2991,7 @@ public class TestReport extends DomainResource { } /** - * @param value {@link #name} (A free text natural language name identifying the executed TestScript.). 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 executed TestReport.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value */ public TestReport setNameElement(StringType value) { this.name = value; @@ -2983,14 +2999,14 @@ public class TestReport extends DomainResource { } /** - * @return A free text natural language name identifying the executed TestScript. + * @return A free text natural language name identifying the executed TestReport. */ public String getName() { return this.name == null ? null : this.name.getValue(); } /** - * @param value A free text natural language name identifying the executed TestScript. + * @param value A free text natural language name identifying the executed TestReport. */ public TestReport setName(String value) { if (Utilities.noString(value)) @@ -3049,29 +3065,50 @@ public class TestReport extends DomainResource { } /** - * @return {@link #testScript} (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.) + * @return {@link #testScript} (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.). This is the underlying object with id, value and extensions. The accessor "getTestScript" gives direct access to the value */ - public Reference getTestScript() { + public CanonicalType getTestScriptElement() { if (this.testScript == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create TestReport.testScript"); else if (Configuration.doAutoCreate()) - this.testScript = new Reference(); // cc + this.testScript = new CanonicalType(); // bb return this.testScript; } + public boolean hasTestScriptElement() { + return this.testScript != null && !this.testScript.isEmpty(); + } + public boolean hasTestScript() { return this.testScript != null && !this.testScript.isEmpty(); } /** - * @param value {@link #testScript} (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.) + * @param value {@link #testScript} (Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.). This is the underlying object with id, value and extensions. The accessor "getTestScript" gives direct access to the value */ - public TestReport setTestScript(Reference value) { + public TestReport setTestScriptElement(CanonicalType value) { this.testScript = value; return this; } + /** + * @return Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`. + */ + public String getTestScript() { + return this.testScript == null ? null : this.testScript.getValue(); + } + + /** + * @param value Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`. + */ + public TestReport setTestScript(String value) { + if (this.testScript == null) + this.testScript = new CanonicalType(); + this.testScript.setValue(value); + return this; + } + /** * @return {@link #result} (The overall result from the execution of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getResult" gives direct access to the value */ @@ -3438,10 +3475,10 @@ public class TestReport extends DomainResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("identifier", "Identifier", "Identifier for the TestScript assigned for external purposes outside the context of FHIR.", 0, 1, identifier)); - children.add(new Property("name", "string", "A free text natural language name identifying the executed TestScript.", 0, 1, name)); + children.add(new Property("identifier", "Identifier", "Identifier for the TestReport assigned for external purposes outside the context of FHIR.", 0, 1, identifier)); + children.add(new Property("name", "string", "A free text natural language name identifying the executed TestReport.", 0, 1, name)); children.add(new Property("status", "code", "The current state of this test report.", 0, 1, status)); - children.add(new Property("testScript", "Reference(TestScript)", "Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.", 0, 1, testScript)); + children.add(new Property("testScript", "canonical(TestScript)", "Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.", 0, 1, testScript)); children.add(new Property("result", "code", "The overall result from the execution of the TestScript.", 0, 1, result)); children.add(new Property("score", "decimal", "The final score (percentage of tests passed) resulting from the execution of the TestScript.", 0, 1, score)); children.add(new Property("tester", "string", "Name of the tester producing this report (Organization or individual).", 0, 1, tester)); @@ -3455,10 +3492,10 @@ public class TestReport extends DomainResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for the TestScript assigned for external purposes outside the context of FHIR.", 0, 1, identifier); - case 3373707: /*name*/ return new Property("name", "string", "A free text natural language name identifying the executed TestScript.", 0, 1, name); + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for the TestReport assigned for external purposes outside the context of FHIR.", 0, 1, identifier); + case 3373707: /*name*/ return new Property("name", "string", "A free text natural language name identifying the executed TestReport.", 0, 1, name); case -892481550: /*status*/ return new Property("status", "code", "The current state of this test report.", 0, 1, status); - case 1712049149: /*testScript*/ return new Property("testScript", "Reference(TestScript)", "Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.", 0, 1, testScript); + case 1712049149: /*testScript*/ return new Property("testScript", "canonical(TestScript)", "Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.", 0, 1, testScript); case -934426595: /*result*/ return new Property("result", "code", "The overall result from the execution of the TestScript.", 0, 1, result); case 109264530: /*score*/ return new Property("score", "decimal", "The final score (percentage of tests passed) resulting from the execution of the TestScript.", 0, 1, score); case -877169473: /*tester*/ return new Property("tester", "string", "Name of the tester producing this report (Organization or individual).", 0, 1, tester); @@ -3478,7 +3515,7 @@ public class TestReport extends DomainResource { case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : new Base[] {this.identifier}; // Identifier case 3373707: /*name*/ return this.name == null ? new Base[0] : new Base[] {this.name}; // StringType case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration - case 1712049149: /*testScript*/ return this.testScript == null ? new Base[0] : new Base[] {this.testScript}; // Reference + case 1712049149: /*testScript*/ return this.testScript == null ? new Base[0] : new Base[] {this.testScript}; // CanonicalType case -934426595: /*result*/ return this.result == null ? new Base[0] : new Base[] {this.result}; // Enumeration case 109264530: /*score*/ return this.score == null ? new Base[0] : new Base[] {this.score}; // DecimalType case -877169473: /*tester*/ return this.tester == null ? new Base[0] : new Base[] {this.tester}; // StringType @@ -3506,7 +3543,7 @@ public class TestReport extends DomainResource { this.status = (Enumeration) value; // Enumeration return value; case 1712049149: // testScript - this.testScript = TypeConvertor.castToReference(value); // Reference + this.testScript = TypeConvertor.castToCanonical(value); // CanonicalType return value; case -934426595: // result value = new TestReportResultEnumFactory().fromType(TypeConvertor.castToCode(value)); @@ -3548,7 +3585,7 @@ public class TestReport extends DomainResource { value = new TestReportStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); this.status = (Enumeration) value; // Enumeration } else if (name.equals("testScript")) { - this.testScript = TypeConvertor.castToReference(value); // Reference + this.testScript = TypeConvertor.castToCanonical(value); // CanonicalType } else if (name.equals("result")) { value = new TestReportResultEnumFactory().fromType(TypeConvertor.castToCode(value)); this.result = (Enumeration) value; // Enumeration @@ -3577,7 +3614,7 @@ public class TestReport extends DomainResource { case -1618432855: return getIdentifier(); case 3373707: return getNameElement(); case -892481550: return getStatusElement(); - case 1712049149: return getTestScript(); + case 1712049149: return getTestScriptElement(); case -934426595: return getResultElement(); case 109264530: return getScoreElement(); case -877169473: return getTesterElement(); @@ -3597,7 +3634,7 @@ public class TestReport extends DomainResource { case -1618432855: /*identifier*/ return new String[] {"Identifier"}; case 3373707: /*name*/ return new String[] {"string"}; case -892481550: /*status*/ return new String[] {"code"}; - case 1712049149: /*testScript*/ return new String[] {"Reference"}; + case 1712049149: /*testScript*/ return new String[] {"canonical"}; case -934426595: /*result*/ return new String[] {"code"}; case 109264530: /*score*/ return new String[] {"decimal"}; case -877169473: /*tester*/ return new String[] {"string"}; @@ -3624,8 +3661,7 @@ public class TestReport extends DomainResource { throw new FHIRException("Cannot call addChild on a primitive type TestReport.status"); } else if (name.equals("testScript")) { - this.testScript = new Reference(); - return this.testScript; + throw new FHIRException("Cannot call addChild on a primitive type TestReport.testScript"); } else if (name.equals("result")) { throw new FHIRException("Cannot call addChild on a primitive type TestReport.result"); @@ -3717,9 +3753,9 @@ public class TestReport extends DomainResource { if (!(other_ instanceof TestReport)) return false; TestReport o = (TestReport) other_; - return compareValues(name, o.name, true) && compareValues(status, o.status, true) && compareValues(result, o.result, true) - && compareValues(score, o.score, true) && compareValues(tester, o.tester, true) && compareValues(issued, o.issued, true) - ; + return compareValues(name, o.name, true) && compareValues(status, o.status, true) && compareValues(testScript, o.testScript, true) + && compareValues(result, o.result, true) && compareValues(score, o.score, true) && compareValues(tester, o.tester, true) + && compareValues(issued, o.issued, true); } public boolean isEmpty() { @@ -3733,132 +3769,6 @@ public class TestReport extends DomainResource { return ResourceType.TestReport; } - /** - * Search parameter: identifier - *

- * Description: An external identifier for the test report
- * Type: token
- * Path: TestReport.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="TestReport.identifier", description="An external identifier for the test report", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: An external identifier for the test report
- * Type: token
- * Path: TestReport.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: issued - *

- * Description: The test report generation date
- * Type: date
- * Path: TestReport.issued
- *

- */ - @SearchParamDefinition(name="issued", path="TestReport.issued", description="The test report generation date", type="date" ) - public static final String SP_ISSUED = "issued"; - /** - * Fluent Client search parameter constant for issued - *

- * Description: The test report generation date
- * Type: date
- * Path: TestReport.issued
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam ISSUED = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ISSUED); - - /** - * Search parameter: participant - *

- * Description: The reference to a participant in the test execution
- * Type: uri
- * Path: TestReport.participant.uri
- *

- */ - @SearchParamDefinition(name="participant", path="TestReport.participant.uri", description="The reference to a participant in the test execution", type="uri" ) - public static final String SP_PARTICIPANT = "participant"; - /** - * Fluent Client search parameter constant for participant - *

- * Description: The reference to a participant in the test execution
- * Type: uri
- * Path: TestReport.participant.uri
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam PARTICIPANT = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_PARTICIPANT); - - /** - * Search parameter: result - *

- * Description: The result disposition of the test execution
- * Type: token
- * Path: TestReport.result
- *

- */ - @SearchParamDefinition(name="result", path="TestReport.result", description="The result disposition of the test execution", type="token" ) - public static final String SP_RESULT = "result"; - /** - * Fluent Client search parameter constant for result - *

- * Description: The result disposition of the test execution
- * Type: token
- * Path: TestReport.result
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam RESULT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_RESULT); - - /** - * Search parameter: tester - *

- * Description: The name of the testing organization
- * Type: string
- * Path: TestReport.tester
- *

- */ - @SearchParamDefinition(name="tester", path="TestReport.tester", description="The name of the testing organization", type="string" ) - public static final String SP_TESTER = "tester"; - /** - * Fluent Client search parameter constant for tester - *

- * Description: The name of the testing organization
- * Type: string
- * Path: TestReport.tester
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TESTER); - - /** - * Search parameter: testscript - *

- * Description: The test script executed to produce this report
- * Type: reference
- * Path: TestReport.testScript
- *

- */ - @SearchParamDefinition(name="testscript", path="TestReport.testScript", description="The test script executed to produce this report", type="reference", target={TestScript.class } ) - public static final String SP_TESTSCRIPT = "testscript"; - /** - * Fluent Client search parameter constant for testscript - *

- * Description: The test script executed to produce this report
- * Type: reference
- * Path: TestReport.testScript
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TESTSCRIPT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TESTSCRIPT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "TestReport:testscript". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TESTSCRIPT = new ca.uhn.fhir.model.api.Include("TestReport:testscript").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestScript.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestScript.java index fa76b1924..5e97180ef 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestScript.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TestScript.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -82,6 +82,7 @@ public class TestScript extends CanonicalResource { switch (this) { case RESPONSE: return "response"; case REQUEST: return "request"; + case NULL: return null; default: return "?"; } } @@ -89,6 +90,7 @@ public class TestScript extends CanonicalResource { switch (this) { case RESPONSE: return "http://hl7.org/fhir/assert-direction-codes"; case REQUEST: return "http://hl7.org/fhir/assert-direction-codes"; + case NULL: return null; default: return "?"; } } @@ -96,6 +98,7 @@ public class TestScript extends CanonicalResource { switch (this) { case RESPONSE: return "The assertion is evaluated on the response. This is the default value."; case REQUEST: return "The assertion is evaluated on the request."; + case NULL: return null; default: return "?"; } } @@ -103,6 +106,7 @@ public class TestScript extends CanonicalResource { switch (this) { case RESPONSE: return "response"; case REQUEST: return "request"; + case NULL: return null; default: return "?"; } } @@ -237,6 +241,7 @@ public class TestScript extends CanonicalResource { case CONTAINS: return "contains"; case NOTCONTAINS: return "notContains"; case EVAL: return "eval"; + case NULL: return null; default: return "?"; } } @@ -253,6 +258,7 @@ public class TestScript extends CanonicalResource { case CONTAINS: return "http://hl7.org/fhir/assert-operator-codes"; case NOTCONTAINS: return "http://hl7.org/fhir/assert-operator-codes"; case EVAL: return "http://hl7.org/fhir/assert-operator-codes"; + case NULL: return null; default: return "?"; } } @@ -269,6 +275,7 @@ public class TestScript extends CanonicalResource { case CONTAINS: return "Compare value string contains a known value."; case NOTCONTAINS: return "Compare value string does not contain a known value."; case EVAL: return "Evaluate the FHIRPath expression as a boolean condition."; + case NULL: return null; default: return "?"; } } @@ -285,6 +292,7 @@ public class TestScript extends CanonicalResource { case CONTAINS: return "contains"; case NOTCONTAINS: return "notContains"; case EVAL: return "evaluate"; + case NULL: return null; default: return "?"; } } @@ -480,6 +488,7 @@ public class TestScript extends CanonicalResource { case GONE: return "gone"; case PRECONDITIONFAILED: return "preconditionFailed"; case UNPROCESSABLE: return "unprocessable"; + case NULL: return null; default: return "?"; } } @@ -497,6 +506,7 @@ public class TestScript extends CanonicalResource { case GONE: return "http://hl7.org/fhir/assert-response-code-types"; case PRECONDITIONFAILED: return "http://hl7.org/fhir/assert-response-code-types"; case UNPROCESSABLE: return "http://hl7.org/fhir/assert-response-code-types"; + case NULL: return null; default: return "?"; } } @@ -514,6 +524,7 @@ public class TestScript extends CanonicalResource { case GONE: return "Response code is 410."; case PRECONDITIONFAILED: return "Response code is 412."; case UNPROCESSABLE: return "Response code is 422."; + case NULL: return null; default: return "?"; } } @@ -531,6 +542,7 @@ public class TestScript extends CanonicalResource { case GONE: return "gone"; case PRECONDITIONFAILED: return "preconditionFailed"; case UNPROCESSABLE: return "unprocessable"; + case NULL: return null; default: return "?"; } } @@ -667,7 +679,7 @@ public class TestScript extends CanonicalResource { */ CODEABLECONCEPT, /** - * A reference to a resource (by instance), or instead, a reference to a cencept defined in a terminology or ontology (by class). + * A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class). */ CODEABLEREFERENCE, /** @@ -722,6 +734,10 @@ public class TestScript extends CanonicalResource { * A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used. */ EXPRESSION, + /** + * Specifies contact information for a specific purpose over a period of time, might be handled/monitored by a specific named person or organization. + */ + EXTENDEDCONTACTDETAIL, /** * Optional Extension Element - found in all resources. */ @@ -770,10 +786,6 @@ public class TestScript extends CanonicalResource { * The base type for all re-useable types defined that have a simple property. */ PRIMITIVETYPE, - /** - * The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available. - */ - PRODCHARACTERISTIC, /** * The shelf-life and storage information for a medicinal product item or container can be described using this class. */ @@ -950,6 +962,10 @@ public class TestScript extends CanonicalResource { * A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. */ APPOINTMENTRESPONSE, + /** + * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. + */ + ARTIFACTASSESSMENT, /** * A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis. */ @@ -986,14 +1002,6 @@ public class TestScript extends CanonicalResource { * A compartment definition that defines how resources are accessed on a server. */ COMPARTMENTDEFINITION, - /** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ - CONCEPTMAP, - /** - * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. - */ - CONCEPTMAP2, /** * Example of workflow instance. */ @@ -1018,10 +1026,6 @@ public class TestScript extends CanonicalResource { * This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context. */ ACTIVITYDEFINITION, - /** - * This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content. - */ - ARTIFACTASSESSMENT, /** * The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system. */ @@ -1030,6 +1034,10 @@ public class TestScript extends CanonicalResource { * The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources. */ CITATION, + /** + * A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models. + */ + CONCEPTMAP, /** * A definition of a condition and information relevant to managing it. */ @@ -1058,6 +1066,10 @@ public class TestScript extends CanonicalResource { * The Measure resource provides the definition of a quality measure. */ MEASURE, + /** + * 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. + */ + NAMINGSYSTEM, /** * This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications. */ @@ -1066,10 +1078,6 @@ public class TestScript extends CanonicalResource { * A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection. */ QUESTIONNAIRE, - /** - * 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. - */ - NAMINGSYSTEM, /** * A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). */ @@ -1086,6 +1094,10 @@ public class TestScript extends CanonicalResource { * A Map of relationships between 2 structures that can be used to transform data. */ STRUCTUREMAP, + /** + * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. + */ + SUBSCRIPTIONTOPIC, /** * A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation. */ @@ -1126,10 +1138,6 @@ public class TestScript extends CanonicalResource { * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. */ CLINICALUSEDEFINITION, - /** - * A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure. - */ - CLINICALUSEISSUE, /** * A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition. */ @@ -1211,7 +1219,7 @@ public class TestScript extends CanonicalResource { */ ENCOUNTER, /** - * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information. + * The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information. */ ENDPOINT, /** @@ -1238,6 +1246,10 @@ public class TestScript extends CanonicalResource { * Prospective warnings of potential issues when providing care to the patient. */ FLAG, + /** + * This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself. + */ + FORMULARYITEM, /** * Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc. */ @@ -1335,7 +1347,7 @@ public class TestScript extends CanonicalResource { */ MEDICATIONUSAGE, /** - * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs). + * Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.). */ MEDICINALPRODUCTDEFINITION, /** @@ -1343,11 +1355,11 @@ public class TestScript extends CanonicalResource { */ MESSAGEHEADER, /** - * Raw data describing a biological sequence. + * Representation of a molecular sequence. */ MOLECULARSEQUENCE, /** - * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + * A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. */ NUTRITIONINTAKE, /** @@ -1355,7 +1367,7 @@ public class TestScript extends CanonicalResource { */ NUTRITIONORDER, /** - * A food or fluid product that is consumed by patients. + * A food or supplement that is consumed by patients. */ NUTRITIONPRODUCT, /** @@ -1427,7 +1439,7 @@ public class TestScript extends CanonicalResource { */ REGULATEDAUTHORIZATION, /** - * 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 a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. */ RELATEDPERSON, /** @@ -1474,10 +1486,6 @@ public class TestScript extends CanonicalResource { * The SubscriptionStatus resource describes the state of a Subscription during notifications. */ SUBSCRIPTIONSTATUS, - /** - * Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic. - */ - SUBSCRIPTIONTOPIC, /** * A homogeneous material with a definite composition. */ @@ -1522,6 +1530,10 @@ public class TestScript extends CanonicalResource { * A summary of information based on the results of executing a TestScript. */ TESTREPORT, + /** + * Record of transport. + */ + TRANSPORT, /** * Describes validation requirements, source(s), status and dates for one or more elements. */ @@ -1531,7 +1543,7 @@ public class TestScript extends CanonicalResource { */ VISIONPRESCRIPTION, /** - * This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it. + * This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it. */ PARAMETERS, /** @@ -1585,6 +1597,8 @@ public class TestScript extends CanonicalResource { return ELEMENTDEFINITION; if ("Expression".equals(codeString)) return EXPRESSION; + if ("ExtendedContactDetail".equals(codeString)) + return EXTENDEDCONTACTDETAIL; if ("Extension".equals(codeString)) return EXTENSION; if ("HumanName".equals(codeString)) @@ -1609,8 +1623,6 @@ public class TestScript extends CanonicalResource { return POPULATION; if ("PrimitiveType".equals(codeString)) return PRIMITIVETYPE; - if ("ProdCharacteristic".equals(codeString)) - return PRODCHARACTERISTIC; if ("ProductShelfLife".equals(codeString)) return PRODUCTSHELFLIFE; if ("Quantity".equals(codeString)) @@ -1699,6 +1711,8 @@ public class TestScript extends CanonicalResource { return APPOINTMENT; if ("AppointmentResponse".equals(codeString)) return APPOINTMENTRESPONSE; + if ("ArtifactAssessment".equals(codeString)) + return ARTIFACTASSESSMENT; if ("AuditEvent".equals(codeString)) return AUDITEVENT; if ("Basic".equals(codeString)) @@ -1717,10 +1731,6 @@ public class TestScript extends CanonicalResource { return CODESYSTEM; if ("CompartmentDefinition".equals(codeString)) return COMPARTMENTDEFINITION; - if ("ConceptMap".equals(codeString)) - return CONCEPTMAP; - if ("ConceptMap2".equals(codeString)) - return CONCEPTMAP2; if ("ExampleScenario".equals(codeString)) return EXAMPLESCENARIO; if ("GraphDefinition".equals(codeString)) @@ -1733,12 +1743,12 @@ public class TestScript extends CanonicalResource { return METADATARESOURCE; if ("ActivityDefinition".equals(codeString)) return ACTIVITYDEFINITION; - if ("ArtifactAssessment".equals(codeString)) - return ARTIFACTASSESSMENT; if ("ChargeItemDefinition".equals(codeString)) return CHARGEITEMDEFINITION; if ("Citation".equals(codeString)) return CITATION; + if ("ConceptMap".equals(codeString)) + return CONCEPTMAP; if ("ConditionDefinition".equals(codeString)) return CONDITIONDEFINITION; if ("EventDefinition".equals(codeString)) @@ -1753,12 +1763,12 @@ public class TestScript extends CanonicalResource { return LIBRARY; if ("Measure".equals(codeString)) return MEASURE; + if ("NamingSystem".equals(codeString)) + return NAMINGSYSTEM; if ("PlanDefinition".equals(codeString)) return PLANDEFINITION; if ("Questionnaire".equals(codeString)) return QUESTIONNAIRE; - if ("NamingSystem".equals(codeString)) - return NAMINGSYSTEM; if ("OperationDefinition".equals(codeString)) return OPERATIONDEFINITION; if ("SearchParameter".equals(codeString)) @@ -1767,6 +1777,8 @@ public class TestScript extends CanonicalResource { return STRUCTUREDEFINITION; if ("StructureMap".equals(codeString)) return STRUCTUREMAP; + if ("SubscriptionTopic".equals(codeString)) + return SUBSCRIPTIONTOPIC; if ("TerminologyCapabilities".equals(codeString)) return TERMINOLOGYCAPABILITIES; if ("TestScript".equals(codeString)) @@ -1787,8 +1799,6 @@ public class TestScript extends CanonicalResource { return CLINICALIMPRESSION; if ("ClinicalUseDefinition".equals(codeString)) return CLINICALUSEDEFINITION; - if ("ClinicalUseIssue".equals(codeString)) - return CLINICALUSEISSUE; if ("Communication".equals(codeString)) return COMMUNICATION; if ("CommunicationRequest".equals(codeString)) @@ -1843,6 +1853,8 @@ public class TestScript extends CanonicalResource { return FAMILYMEMBERHISTORY; if ("Flag".equals(codeString)) return FLAG; + if ("FormularyItem".equals(codeString)) + return FORMULARYITEM; if ("Goal".equals(codeString)) return GOAL; if ("Group".equals(codeString)) @@ -1961,8 +1973,6 @@ public class TestScript extends CanonicalResource { return SUBSCRIPTION; if ("SubscriptionStatus".equals(codeString)) return SUBSCRIPTIONSTATUS; - if ("SubscriptionTopic".equals(codeString)) - return SUBSCRIPTIONTOPIC; if ("Substance".equals(codeString)) return SUBSTANCE; if ("SubstanceDefinition".equals(codeString)) @@ -1985,6 +1995,8 @@ public class TestScript extends CanonicalResource { return TASK; if ("TestReport".equals(codeString)) return TESTREPORT; + if ("Transport".equals(codeString)) + return TRANSPORT; if ("VerificationResult".equals(codeString)) return VERIFICATIONRESULT; if ("VisionPrescription".equals(codeString)) @@ -2020,6 +2032,7 @@ public class TestScript extends CanonicalResource { case ELEMENT: return "Element"; case ELEMENTDEFINITION: return "ElementDefinition"; case EXPRESSION: return "Expression"; + case EXTENDEDCONTACTDETAIL: return "ExtendedContactDetail"; case EXTENSION: return "Extension"; case HUMANNAME: return "HumanName"; case IDENTIFIER: return "Identifier"; @@ -2032,7 +2045,6 @@ public class TestScript extends CanonicalResource { case PERIOD: return "Period"; case POPULATION: return "Population"; case PRIMITIVETYPE: return "PrimitiveType"; - case PRODCHARACTERISTIC: return "ProdCharacteristic"; case PRODUCTSHELFLIFE: return "ProductShelfLife"; case QUANTITY: return "Quantity"; case RANGE: return "Range"; @@ -2077,6 +2089,7 @@ public class TestScript extends CanonicalResource { case ALLERGYINTOLERANCE: return "AllergyIntolerance"; case APPOINTMENT: return "Appointment"; case APPOINTMENTRESPONSE: return "AppointmentResponse"; + case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case AUDITEVENT: return "AuditEvent"; case BASIC: return "Basic"; case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct"; @@ -2086,17 +2099,15 @@ public class TestScript extends CanonicalResource { case CAPABILITYSTATEMENT2: return "CapabilityStatement2"; case CODESYSTEM: return "CodeSystem"; case COMPARTMENTDEFINITION: return "CompartmentDefinition"; - case CONCEPTMAP: return "ConceptMap"; - case CONCEPTMAP2: return "ConceptMap2"; case EXAMPLESCENARIO: return "ExampleScenario"; case GRAPHDEFINITION: return "GraphDefinition"; case IMPLEMENTATIONGUIDE: return "ImplementationGuide"; case MESSAGEDEFINITION: return "MessageDefinition"; case METADATARESOURCE: return "MetadataResource"; case ACTIVITYDEFINITION: return "ActivityDefinition"; - case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case CHARGEITEMDEFINITION: return "ChargeItemDefinition"; case CITATION: return "Citation"; + case CONCEPTMAP: return "ConceptMap"; case CONDITIONDEFINITION: return "ConditionDefinition"; case EVENTDEFINITION: return "EventDefinition"; case EVIDENCE: return "Evidence"; @@ -2104,13 +2115,14 @@ public class TestScript extends CanonicalResource { case EVIDENCEVARIABLE: return "EvidenceVariable"; case LIBRARY: return "Library"; case MEASURE: return "Measure"; + case NAMINGSYSTEM: return "NamingSystem"; case PLANDEFINITION: return "PlanDefinition"; case QUESTIONNAIRE: return "Questionnaire"; - case NAMINGSYSTEM: return "NamingSystem"; case OPERATIONDEFINITION: return "OperationDefinition"; case SEARCHPARAMETER: return "SearchParameter"; case STRUCTUREDEFINITION: return "StructureDefinition"; case STRUCTUREMAP: return "StructureMap"; + case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities"; case TESTSCRIPT: return "TestScript"; case VALUESET: return "ValueSet"; @@ -2121,7 +2133,6 @@ public class TestScript extends CanonicalResource { case CLAIMRESPONSE: return "ClaimResponse"; case CLINICALIMPRESSION: return "ClinicalImpression"; case CLINICALUSEDEFINITION: return "ClinicalUseDefinition"; - case CLINICALUSEISSUE: return "ClinicalUseIssue"; case COMMUNICATION: return "Communication"; case COMMUNICATIONREQUEST: return "CommunicationRequest"; case COMPOSITION: return "Composition"; @@ -2149,6 +2160,7 @@ public class TestScript extends CanonicalResource { case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit"; case FAMILYMEMBERHISTORY: return "FamilyMemberHistory"; case FLAG: return "Flag"; + case FORMULARYITEM: return "FormularyItem"; case GOAL: return "Goal"; case GROUP: return "Group"; case GUIDANCERESPONSE: return "GuidanceResponse"; @@ -2208,7 +2220,6 @@ public class TestScript extends CanonicalResource { case SPECIMENDEFINITION: return "SpecimenDefinition"; case SUBSCRIPTION: return "Subscription"; case SUBSCRIPTIONSTATUS: return "SubscriptionStatus"; - case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case SUBSTANCE: return "Substance"; case SUBSTANCEDEFINITION: return "SubstanceDefinition"; case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid"; @@ -2220,9 +2231,11 @@ public class TestScript extends CanonicalResource { case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case TESTREPORT: return "TestReport"; + case TRANSPORT: return "Transport"; case VERIFICATIONRESULT: return "VerificationResult"; case VISIONPRESCRIPTION: return "VisionPrescription"; case PARAMETERS: return "Parameters"; + case NULL: return null; default: return "?"; } } @@ -2250,6 +2263,7 @@ public class TestScript extends CanonicalResource { case ELEMENT: return "http://hl7.org/fhir/data-types"; case ELEMENTDEFINITION: return "http://hl7.org/fhir/data-types"; case EXPRESSION: return "http://hl7.org/fhir/data-types"; + case EXTENDEDCONTACTDETAIL: return "http://hl7.org/fhir/data-types"; case EXTENSION: return "http://hl7.org/fhir/data-types"; case HUMANNAME: return "http://hl7.org/fhir/data-types"; case IDENTIFIER: return "http://hl7.org/fhir/data-types"; @@ -2262,7 +2276,6 @@ public class TestScript extends CanonicalResource { case PERIOD: return "http://hl7.org/fhir/data-types"; case POPULATION: return "http://hl7.org/fhir/data-types"; case PRIMITIVETYPE: return "http://hl7.org/fhir/data-types"; - case PRODCHARACTERISTIC: return "http://hl7.org/fhir/data-types"; case PRODUCTSHELFLIFE: return "http://hl7.org/fhir/data-types"; case QUANTITY: return "http://hl7.org/fhir/data-types"; case RANGE: return "http://hl7.org/fhir/data-types"; @@ -2307,6 +2320,7 @@ public class TestScript extends CanonicalResource { case ALLERGYINTOLERANCE: return "http://hl7.org/fhir/resource-types"; case APPOINTMENT: return "http://hl7.org/fhir/resource-types"; case APPOINTMENTRESPONSE: return "http://hl7.org/fhir/resource-types"; + case ARTIFACTASSESSMENT: return "http://hl7.org/fhir/resource-types"; case AUDITEVENT: return "http://hl7.org/fhir/resource-types"; case BASIC: return "http://hl7.org/fhir/resource-types"; case BIOLOGICALLYDERIVEDPRODUCT: return "http://hl7.org/fhir/resource-types"; @@ -2316,17 +2330,15 @@ public class TestScript extends CanonicalResource { case CAPABILITYSTATEMENT2: return "http://hl7.org/fhir/resource-types"; case CODESYSTEM: return "http://hl7.org/fhir/resource-types"; case COMPARTMENTDEFINITION: return "http://hl7.org/fhir/resource-types"; - case CONCEPTMAP: return "http://hl7.org/fhir/resource-types"; - case CONCEPTMAP2: return "http://hl7.org/fhir/resource-types"; case EXAMPLESCENARIO: return "http://hl7.org/fhir/resource-types"; case GRAPHDEFINITION: return "http://hl7.org/fhir/resource-types"; case IMPLEMENTATIONGUIDE: return "http://hl7.org/fhir/resource-types"; case MESSAGEDEFINITION: return "http://hl7.org/fhir/resource-types"; case METADATARESOURCE: return "http://hl7.org/fhir/resource-types"; case ACTIVITYDEFINITION: return "http://hl7.org/fhir/resource-types"; - case ARTIFACTASSESSMENT: return "http://hl7.org/fhir/resource-types"; case CHARGEITEMDEFINITION: return "http://hl7.org/fhir/resource-types"; case CITATION: return "http://hl7.org/fhir/resource-types"; + case CONCEPTMAP: return "http://hl7.org/fhir/resource-types"; case CONDITIONDEFINITION: return "http://hl7.org/fhir/resource-types"; case EVENTDEFINITION: return "http://hl7.org/fhir/resource-types"; case EVIDENCE: return "http://hl7.org/fhir/resource-types"; @@ -2334,13 +2346,14 @@ public class TestScript extends CanonicalResource { case EVIDENCEVARIABLE: return "http://hl7.org/fhir/resource-types"; case LIBRARY: return "http://hl7.org/fhir/resource-types"; case MEASURE: return "http://hl7.org/fhir/resource-types"; + case NAMINGSYSTEM: return "http://hl7.org/fhir/resource-types"; case PLANDEFINITION: return "http://hl7.org/fhir/resource-types"; case QUESTIONNAIRE: return "http://hl7.org/fhir/resource-types"; - case NAMINGSYSTEM: return "http://hl7.org/fhir/resource-types"; case OPERATIONDEFINITION: return "http://hl7.org/fhir/resource-types"; case SEARCHPARAMETER: return "http://hl7.org/fhir/resource-types"; case STRUCTUREDEFINITION: return "http://hl7.org/fhir/resource-types"; case STRUCTUREMAP: return "http://hl7.org/fhir/resource-types"; + case SUBSCRIPTIONTOPIC: return "http://hl7.org/fhir/resource-types"; case TERMINOLOGYCAPABILITIES: return "http://hl7.org/fhir/resource-types"; case TESTSCRIPT: return "http://hl7.org/fhir/resource-types"; case VALUESET: return "http://hl7.org/fhir/resource-types"; @@ -2351,7 +2364,6 @@ public class TestScript extends CanonicalResource { case CLAIMRESPONSE: return "http://hl7.org/fhir/resource-types"; case CLINICALIMPRESSION: return "http://hl7.org/fhir/resource-types"; case CLINICALUSEDEFINITION: return "http://hl7.org/fhir/resource-types"; - case CLINICALUSEISSUE: return "http://hl7.org/fhir/resource-types"; case COMMUNICATION: return "http://hl7.org/fhir/resource-types"; case COMMUNICATIONREQUEST: return "http://hl7.org/fhir/resource-types"; case COMPOSITION: return "http://hl7.org/fhir/resource-types"; @@ -2379,6 +2391,7 @@ public class TestScript extends CanonicalResource { case EXPLANATIONOFBENEFIT: return "http://hl7.org/fhir/resource-types"; case FAMILYMEMBERHISTORY: return "http://hl7.org/fhir/resource-types"; case FLAG: return "http://hl7.org/fhir/resource-types"; + case FORMULARYITEM: return "http://hl7.org/fhir/resource-types"; case GOAL: return "http://hl7.org/fhir/resource-types"; case GROUP: return "http://hl7.org/fhir/resource-types"; case GUIDANCERESPONSE: return "http://hl7.org/fhir/resource-types"; @@ -2438,7 +2451,6 @@ public class TestScript extends CanonicalResource { case SPECIMENDEFINITION: return "http://hl7.org/fhir/resource-types"; case SUBSCRIPTION: return "http://hl7.org/fhir/resource-types"; case SUBSCRIPTIONSTATUS: return "http://hl7.org/fhir/resource-types"; - case SUBSCRIPTIONTOPIC: return "http://hl7.org/fhir/resource-types"; case SUBSTANCE: return "http://hl7.org/fhir/resource-types"; case SUBSTANCEDEFINITION: return "http://hl7.org/fhir/resource-types"; case SUBSTANCENUCLEICACID: return "http://hl7.org/fhir/resource-types"; @@ -2450,9 +2462,11 @@ public class TestScript extends CanonicalResource { case SUPPLYREQUEST: return "http://hl7.org/fhir/resource-types"; case TASK: return "http://hl7.org/fhir/resource-types"; case TESTREPORT: return "http://hl7.org/fhir/resource-types"; + case TRANSPORT: return "http://hl7.org/fhir/resource-types"; case VERIFICATIONRESULT: return "http://hl7.org/fhir/resource-types"; case VISIONPRESCRIPTION: return "http://hl7.org/fhir/resource-types"; case PARAMETERS: return "http://hl7.org/fhir/resource-types"; + case NULL: return null; default: return "?"; } } @@ -2466,7 +2480,7 @@ public class TestScript extends CanonicalResource { case BACKBONETYPE: return "Base definition for the few data types that are allowed to carry modifier extensions."; case BASE: return "Base definition for all types defined in FHIR type system."; case CODEABLECONCEPT: return "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."; - case CODEABLEREFERENCE: return "A reference to a resource (by instance), or instead, a reference to a cencept defined in a terminology or ontology (by class)."; + case CODEABLEREFERENCE: return "A reference to a resource (by instance), or instead, a reference to a concept defined in a terminology or ontology (by class)."; case CODING: return "A reference to a code defined by a terminology system."; case CONTACTDETAIL: return "Specifies contact information for a person or organization."; case CONTACTPOINT: return "Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."; @@ -2480,6 +2494,7 @@ public class TestScript extends CanonicalResource { case ELEMENT: return "Base definition for all elements in a resource."; case ELEMENTDEFINITION: return "Captures constraints on each element within the resource, profile, or extension."; case EXPRESSION: return "A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used."; + case EXTENDEDCONTACTDETAIL: return "Specifies contact information for a specific purpose over a period of time, might be handled/monitored by a specific named person or organization."; case EXTENSION: return "Optional Extension Element - found in all resources."; case HUMANNAME: return "A human's name with the ability to identify parts and usage."; case IDENTIFIER: return "An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers."; @@ -2492,7 +2507,6 @@ public class TestScript extends CanonicalResource { case PERIOD: return "A time period defined by a start and end date and optionally time."; case POPULATION: return "A populatioof people with some set of grouping criteria."; case PRIMITIVETYPE: return "The base type for all re-useable types defined that have a simple property."; - case PRODCHARACTERISTIC: return "The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available."; case PRODUCTSHELFLIFE: return "The shelf-life and storage information for a medicinal product item or container can be described using this class."; case QUANTITY: return "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."; case RANGE: return "A set of ordered Quantities defined by a low and high limit."; @@ -2537,6 +2551,7 @@ public class TestScript extends CanonicalResource { case ALLERGYINTOLERANCE: return "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance."; case APPOINTMENT: return "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)."; case APPOINTMENTRESPONSE: return "A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection."; + case ARTIFACTASSESSMENT: return "This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."; case AUDITEVENT: return "A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis."; case BASIC: return "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."; case BIOLOGICALLYDERIVEDPRODUCT: return "A biological material originating from a biological entity intended to be transplanted or infused into another (possibly the same) biological entity."; @@ -2546,17 +2561,15 @@ public class TestScript extends CanonicalResource { case CAPABILITYSTATEMENT2: return "A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation."; case CODESYSTEM: return "The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content."; case COMPARTMENTDEFINITION: return "A compartment definition that defines how resources are accessed on a server."; - case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; - case CONCEPTMAP2: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; case EXAMPLESCENARIO: return "Example of workflow instance."; case GRAPHDEFINITION: return "A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set."; case IMPLEMENTATIONGUIDE: return "A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. 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."; case MESSAGEDEFINITION: return "Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted."; case METADATARESOURCE: return "--- Abstract Type! ---Common Ancestor declaration for conformance and knowledge artifact resources."; case ACTIVITYDEFINITION: return "This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context."; - case ARTIFACTASSESSMENT: return "This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."; case CHARGEITEMDEFINITION: return "The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system."; case CITATION: return "The Citation Resource enables reference to any knowledge artifact for purposes of identification and attribution. The Citation Resource supports existing reference structures and developing publication practices such as versioning, expressing complex contributorship roles, and referencing computable resources."; + case CONCEPTMAP: return "A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."; case CONDITIONDEFINITION: return "A definition of a condition and information relevant to managing it."; case EVENTDEFINITION: return "The EventDefinition resource provides a reusable description of when a particular event can occur."; case EVIDENCE: return "The Evidence Resource provides a machine-interpretable expression of an evidence concept including the evidence variables (e.g., population, exposures/interventions, comparators, outcomes, measured variables, confounding variables), the statistics, and the certainty of this evidence."; @@ -2564,13 +2577,14 @@ public class TestScript extends CanonicalResource { case EVIDENCEVARIABLE: return "The EvidenceVariable resource describes an element that knowledge (Evidence) is about."; case LIBRARY: return "The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."; case MEASURE: return "The Measure resource provides the definition of a quality measure."; + case NAMINGSYSTEM: return "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."; case PLANDEFINITION: return "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."; case QUESTIONNAIRE: return "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection."; - case NAMINGSYSTEM: return "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."; case OPERATIONDEFINITION: return "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)."; case SEARCHPARAMETER: return "A search parameter that defines a named search item that can be used to search/filter on a resource."; case STRUCTUREDEFINITION: return "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."; case STRUCTUREMAP: return "A Map of relationships between 2 structures that can be used to transform data."; + case SUBSCRIPTIONTOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic."; case TERMINOLOGYCAPABILITIES: return "A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation."; case TESTSCRIPT: return "A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification."; case VALUESET: return "A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [[[CodeSystem]]] definitions and their use in [coded elements](terminologies.html)."; @@ -2581,7 +2595,6 @@ public class TestScript extends CanonicalResource { case CLAIMRESPONSE: return "This resource provides the adjudication details from the processing of a Claim resource."; case CLINICALIMPRESSION: return "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."; case CLINICALUSEDEFINITION: return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure."; - case CLINICALUSEISSUE: return "A single issue - either an indication, contraindication, interaction or an undesirable effect for a medicinal product, medication, device or procedure."; case COMMUNICATION: return "A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition."; case COMMUNICATIONREQUEST: return "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."; case COMPOSITION: return "A set of healthcare-related information that is assembled together into a single logical package 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 Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.)."; @@ -2602,13 +2615,14 @@ public class TestScript extends CanonicalResource { case DOCUMENTMANIFEST: return "A collection of documents compiled for a purpose together with metadata that applies to the collection."; case DOCUMENTREFERENCE: return "A reference to a document of any kind for any purpose. While the term “document” implies a more narrow focus, for this resource this \"document\" encompasses *any* serialized object with a mime-type, it includes formal patient-centric documents (CDA), clinical notes, scanned paper, non-patient specific documents like policy text, as well as a photo, video, or audio recording acquired or used in healthcare. The DocumentReference resource provides metadata about the document so that the document can be discovered and managed. The actual content may be inline base64 encoded data or provided by direct reference."; case ENCOUNTER: return "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."; - case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information."; + case ENDPOINT: return "The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b, a REST endpoint for another FHIR server, or a s/Mime email address. This may include any security context information."; case ENROLLMENTREQUEST: return "This resource provides the insurance enrollment details to the insurer regarding a specified coverage."; case ENROLLMENTRESPONSE: return "This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource."; case EPISODEOFCARE: return "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."; case EXPLANATIONOFBENEFIT: return "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."; case FAMILYMEMBERHISTORY: return "Significant health conditions for a person related to the patient relevant in the context of care for the patient."; case FLAG: return "Prospective warnings of potential issues when providing care to the patient."; + case FORMULARYITEM: return "This resource describes a product or service that is available through a program and includes the conditions and constraints of availability. All of the information in this resource is specific to the inclusion of the item in the formulary and is not inherent to the item itself."; case GOAL: return "Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc."; case GROUP: return "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."; case GUIDANCERESPONSE: return "A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken."; @@ -2633,12 +2647,12 @@ public class TestScript extends CanonicalResource { case MEDICATIONKNOWLEDGE: return "Information about a medication that is used to support knowledge."; case MEDICATIONREQUEST: return "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns."; case MEDICATIONUSAGE: return "A record of a medication that is being consumed by a patient. A MedicationUsage may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. \n\nThe primary difference between a medicationusage and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationusage is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Usage information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information."; - case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs)."; + case MEDICINALPRODUCTDEFINITION: return "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.)."; case MESSAGEHEADER: return "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."; - case MOLECULARSEQUENCE: return "Raw data describing a biological sequence."; - case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake."; + case MOLECULARSEQUENCE: return "Representation of a molecular sequence."; + case NUTRITIONINTAKE: return "A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake."; case NUTRITIONORDER: return "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident."; - case NUTRITIONPRODUCT: return "A food or fluid product that is consumed by patients."; + case NUTRITIONPRODUCT: return "A food or supplement that is consumed by patients."; case OBSERVATION: return "Measurements and simple assertions made about a patient, device or other subject."; case OBSERVATIONDEFINITION: return "Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service."; case OPERATIONOUTCOME: return "A collection of error, warning, or information messages that result from a system action."; @@ -2656,7 +2670,7 @@ public class TestScript extends CanonicalResource { case PROVENANCE: return "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."; case QUESTIONNAIRERESPONSE: return "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 questionnaire being responded to."; case REGULATEDAUTHORIZATION: return "Regulatory approval, clearance or licencing related to a regulated product, treatment, facility or activity that is cited in a guidance, regulation, rule or legislative act. An example is Market Authorization relating to a Medicinal Product."; - case RELATEDPERSON: return "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."; + case RELATEDPERSON: return "Information about a person that is involved in a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process."; case REQUESTGROUP: return "A group of related requests that can be used to capture intended activities that have inter-dependencies such as \"give this medication after that one\"."; case RESEARCHSTUDY: return "A process where a researcher or organization plans and then executes a series of steps intended to increase the field of healthcare-related knowledge. This includes studies of safety, efficacy, comparative effectiveness and other information about medications, devices, therapies and other interventional and investigative techniques. A ResearchStudy involves the gathering of information about human or animal subjects."; case RESEARCHSUBJECT: return "A physical entity which is the primary unit of operational and/or administrative interest in a study."; @@ -2668,7 +2682,6 @@ public class TestScript extends CanonicalResource { case SPECIMENDEFINITION: return "A kind of specimen with associated set of requirements."; case SUBSCRIPTION: return "The subscription resource describes a particular client's request to be notified about a SubscriptionTopic."; case SUBSCRIPTIONSTATUS: return "The SubscriptionStatus resource describes the state of a Subscription during notifications."; - case SUBSCRIPTIONTOPIC: return "Describes a stream of resource state changes identified by trigger criteria and annotated with labels useful to filter projections from this topic."; case SUBSTANCE: return "A homogeneous material with a definite composition."; case SUBSTANCEDEFINITION: return "The detailed description of a substance, typically at a level beyond what is used for prescribing."; case SUBSTANCENUCLEICACID: return "Nucleic acids are defined by three distinct elements: the base, sugar and linkage. Individual substance/moiety IDs will be created for each of these elements. The nucleotide sequence will be always entered in the 5’-3’ direction."; @@ -2680,9 +2693,11 @@ public class TestScript extends CanonicalResource { case SUPPLYREQUEST: return "A record of a non-patient specific request for a medication, substance, device, certain types of biologically derived product, and nutrition product used in the healthcare setting."; case TASK: return "A task to be performed."; case TESTREPORT: return "A summary of information based on the results of executing a TestScript."; + case TRANSPORT: return "Record of transport."; case VERIFICATIONRESULT: return "Describes validation requirements, source(s), status and dates for one or more elements."; case VISIONPRESCRIPTION: return "An authorization for the provision of glasses and/or contact lenses to a patient."; - case PARAMETERS: return "This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it."; + case PARAMETERS: return "This resource is a non-persisted resource primarily used to pass information into and back from an [operation](operations.html). There is no RESTful endpoint associated with it."; + case NULL: return null; default: return "?"; } } @@ -2710,6 +2725,7 @@ public class TestScript extends CanonicalResource { case ELEMENT: return "Element"; case ELEMENTDEFINITION: return "ElementDefinition"; case EXPRESSION: return "Expression"; + case EXTENDEDCONTACTDETAIL: return "ExtendedContactDetail"; case EXTENSION: return "Extension"; case HUMANNAME: return "HumanName"; case IDENTIFIER: return "Identifier"; @@ -2722,7 +2738,6 @@ public class TestScript extends CanonicalResource { case PERIOD: return "Period"; case POPULATION: return "Population"; case PRIMITIVETYPE: return "PrimitiveType"; - case PRODCHARACTERISTIC: return "ProdCharacteristic"; case PRODUCTSHELFLIFE: return "ProductShelfLife"; case QUANTITY: return "Quantity"; case RANGE: return "Range"; @@ -2767,6 +2782,7 @@ public class TestScript extends CanonicalResource { case ALLERGYINTOLERANCE: return "AllergyIntolerance"; case APPOINTMENT: return "Appointment"; case APPOINTMENTRESPONSE: return "AppointmentResponse"; + case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case AUDITEVENT: return "AuditEvent"; case BASIC: return "Basic"; case BIOLOGICALLYDERIVEDPRODUCT: return "BiologicallyDerivedProduct"; @@ -2776,17 +2792,15 @@ public class TestScript extends CanonicalResource { case CAPABILITYSTATEMENT2: return "CapabilityStatement2"; case CODESYSTEM: return "CodeSystem"; case COMPARTMENTDEFINITION: return "CompartmentDefinition"; - case CONCEPTMAP: return "ConceptMap"; - case CONCEPTMAP2: return "ConceptMap2"; case EXAMPLESCENARIO: return "ExampleScenario"; case GRAPHDEFINITION: return "GraphDefinition"; case IMPLEMENTATIONGUIDE: return "ImplementationGuide"; case MESSAGEDEFINITION: return "MessageDefinition"; case METADATARESOURCE: return "MetadataResource"; case ACTIVITYDEFINITION: return "ActivityDefinition"; - case ARTIFACTASSESSMENT: return "ArtifactAssessment"; case CHARGEITEMDEFINITION: return "ChargeItemDefinition"; case CITATION: return "Citation"; + case CONCEPTMAP: return "ConceptMap"; case CONDITIONDEFINITION: return "ConditionDefinition"; case EVENTDEFINITION: return "EventDefinition"; case EVIDENCE: return "Evidence"; @@ -2794,13 +2808,14 @@ public class TestScript extends CanonicalResource { case EVIDENCEVARIABLE: return "EvidenceVariable"; case LIBRARY: return "Library"; case MEASURE: return "Measure"; + case NAMINGSYSTEM: return "NamingSystem"; case PLANDEFINITION: return "PlanDefinition"; case QUESTIONNAIRE: return "Questionnaire"; - case NAMINGSYSTEM: return "NamingSystem"; case OPERATIONDEFINITION: return "OperationDefinition"; case SEARCHPARAMETER: return "SearchParameter"; case STRUCTUREDEFINITION: return "StructureDefinition"; case STRUCTUREMAP: return "StructureMap"; + case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case TERMINOLOGYCAPABILITIES: return "TerminologyCapabilities"; case TESTSCRIPT: return "TestScript"; case VALUESET: return "ValueSet"; @@ -2811,7 +2826,6 @@ public class TestScript extends CanonicalResource { case CLAIMRESPONSE: return "ClaimResponse"; case CLINICALIMPRESSION: return "ClinicalImpression"; case CLINICALUSEDEFINITION: return "ClinicalUseDefinition"; - case CLINICALUSEISSUE: return "ClinicalUseIssue"; case COMMUNICATION: return "Communication"; case COMMUNICATIONREQUEST: return "CommunicationRequest"; case COMPOSITION: return "Composition"; @@ -2839,6 +2853,7 @@ public class TestScript extends CanonicalResource { case EXPLANATIONOFBENEFIT: return "ExplanationOfBenefit"; case FAMILYMEMBERHISTORY: return "FamilyMemberHistory"; case FLAG: return "Flag"; + case FORMULARYITEM: return "FormularyItem"; case GOAL: return "Goal"; case GROUP: return "Group"; case GUIDANCERESPONSE: return "GuidanceResponse"; @@ -2898,7 +2913,6 @@ public class TestScript extends CanonicalResource { case SPECIMENDEFINITION: return "SpecimenDefinition"; case SUBSCRIPTION: return "Subscription"; case SUBSCRIPTIONSTATUS: return "SubscriptionStatus"; - case SUBSCRIPTIONTOPIC: return "SubscriptionTopic"; case SUBSTANCE: return "Substance"; case SUBSTANCEDEFINITION: return "SubstanceDefinition"; case SUBSTANCENUCLEICACID: return "SubstanceNucleicAcid"; @@ -2910,9 +2924,11 @@ public class TestScript extends CanonicalResource { case SUPPLYREQUEST: return "SupplyRequest"; case TASK: return "Task"; case TESTREPORT: return "TestReport"; + case TRANSPORT: return "Transport"; case VERIFICATIONRESULT: return "VerificationResult"; case VISIONPRESCRIPTION: return "VisionPrescription"; case PARAMETERS: return "Parameters"; + case NULL: return null; default: return "?"; } } @@ -2967,6 +2983,8 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.ELEMENTDEFINITION; if ("Expression".equals(codeString)) return FHIRDefinedType.EXPRESSION; + if ("ExtendedContactDetail".equals(codeString)) + return FHIRDefinedType.EXTENDEDCONTACTDETAIL; if ("Extension".equals(codeString)) return FHIRDefinedType.EXTENSION; if ("HumanName".equals(codeString)) @@ -2991,8 +3009,6 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.POPULATION; if ("PrimitiveType".equals(codeString)) return FHIRDefinedType.PRIMITIVETYPE; - if ("ProdCharacteristic".equals(codeString)) - return FHIRDefinedType.PRODCHARACTERISTIC; if ("ProductShelfLife".equals(codeString)) return FHIRDefinedType.PRODUCTSHELFLIFE; if ("Quantity".equals(codeString)) @@ -3081,6 +3097,8 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.APPOINTMENT; if ("AppointmentResponse".equals(codeString)) return FHIRDefinedType.APPOINTMENTRESPONSE; + if ("ArtifactAssessment".equals(codeString)) + return FHIRDefinedType.ARTIFACTASSESSMENT; if ("AuditEvent".equals(codeString)) return FHIRDefinedType.AUDITEVENT; if ("Basic".equals(codeString)) @@ -3099,10 +3117,6 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.CODESYSTEM; if ("CompartmentDefinition".equals(codeString)) return FHIRDefinedType.COMPARTMENTDEFINITION; - if ("ConceptMap".equals(codeString)) - return FHIRDefinedType.CONCEPTMAP; - if ("ConceptMap2".equals(codeString)) - return FHIRDefinedType.CONCEPTMAP2; if ("ExampleScenario".equals(codeString)) return FHIRDefinedType.EXAMPLESCENARIO; if ("GraphDefinition".equals(codeString)) @@ -3115,12 +3129,12 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.METADATARESOURCE; if ("ActivityDefinition".equals(codeString)) return FHIRDefinedType.ACTIVITYDEFINITION; - if ("ArtifactAssessment".equals(codeString)) - return FHIRDefinedType.ARTIFACTASSESSMENT; if ("ChargeItemDefinition".equals(codeString)) return FHIRDefinedType.CHARGEITEMDEFINITION; if ("Citation".equals(codeString)) return FHIRDefinedType.CITATION; + if ("ConceptMap".equals(codeString)) + return FHIRDefinedType.CONCEPTMAP; if ("ConditionDefinition".equals(codeString)) return FHIRDefinedType.CONDITIONDEFINITION; if ("EventDefinition".equals(codeString)) @@ -3135,12 +3149,12 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.LIBRARY; if ("Measure".equals(codeString)) return FHIRDefinedType.MEASURE; + if ("NamingSystem".equals(codeString)) + return FHIRDefinedType.NAMINGSYSTEM; if ("PlanDefinition".equals(codeString)) return FHIRDefinedType.PLANDEFINITION; if ("Questionnaire".equals(codeString)) return FHIRDefinedType.QUESTIONNAIRE; - if ("NamingSystem".equals(codeString)) - return FHIRDefinedType.NAMINGSYSTEM; if ("OperationDefinition".equals(codeString)) return FHIRDefinedType.OPERATIONDEFINITION; if ("SearchParameter".equals(codeString)) @@ -3149,6 +3163,8 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.STRUCTUREDEFINITION; if ("StructureMap".equals(codeString)) return FHIRDefinedType.STRUCTUREMAP; + if ("SubscriptionTopic".equals(codeString)) + return FHIRDefinedType.SUBSCRIPTIONTOPIC; if ("TerminologyCapabilities".equals(codeString)) return FHIRDefinedType.TERMINOLOGYCAPABILITIES; if ("TestScript".equals(codeString)) @@ -3169,8 +3185,6 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.CLINICALIMPRESSION; if ("ClinicalUseDefinition".equals(codeString)) return FHIRDefinedType.CLINICALUSEDEFINITION; - if ("ClinicalUseIssue".equals(codeString)) - return FHIRDefinedType.CLINICALUSEISSUE; if ("Communication".equals(codeString)) return FHIRDefinedType.COMMUNICATION; if ("CommunicationRequest".equals(codeString)) @@ -3225,6 +3239,8 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.FAMILYMEMBERHISTORY; if ("Flag".equals(codeString)) return FHIRDefinedType.FLAG; + if ("FormularyItem".equals(codeString)) + return FHIRDefinedType.FORMULARYITEM; if ("Goal".equals(codeString)) return FHIRDefinedType.GOAL; if ("Group".equals(codeString)) @@ -3343,8 +3359,6 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.SUBSCRIPTION; if ("SubscriptionStatus".equals(codeString)) return FHIRDefinedType.SUBSCRIPTIONSTATUS; - if ("SubscriptionTopic".equals(codeString)) - return FHIRDefinedType.SUBSCRIPTIONTOPIC; if ("Substance".equals(codeString)) return FHIRDefinedType.SUBSTANCE; if ("SubstanceDefinition".equals(codeString)) @@ -3367,6 +3381,8 @@ public class TestScript extends CanonicalResource { return FHIRDefinedType.TASK; if ("TestReport".equals(codeString)) return FHIRDefinedType.TESTREPORT; + if ("Transport".equals(codeString)) + return FHIRDefinedType.TRANSPORT; if ("VerificationResult".equals(codeString)) return FHIRDefinedType.VERIFICATIONRESULT; if ("VisionPrescription".equals(codeString)) @@ -3427,6 +3443,8 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.ELEMENTDEFINITION); if ("Expression".equals(codeString)) return new Enumeration(this, FHIRDefinedType.EXPRESSION); + if ("ExtendedContactDetail".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.EXTENDEDCONTACTDETAIL); if ("Extension".equals(codeString)) return new Enumeration(this, FHIRDefinedType.EXTENSION); if ("HumanName".equals(codeString)) @@ -3451,8 +3469,6 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.POPULATION); if ("PrimitiveType".equals(codeString)) return new Enumeration(this, FHIRDefinedType.PRIMITIVETYPE); - if ("ProdCharacteristic".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.PRODCHARACTERISTIC); if ("ProductShelfLife".equals(codeString)) return new Enumeration(this, FHIRDefinedType.PRODUCTSHELFLIFE); if ("Quantity".equals(codeString)) @@ -3541,6 +3557,8 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.APPOINTMENT); if ("AppointmentResponse".equals(codeString)) return new Enumeration(this, FHIRDefinedType.APPOINTMENTRESPONSE); + if ("ArtifactAssessment".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.ARTIFACTASSESSMENT); if ("AuditEvent".equals(codeString)) return new Enumeration(this, FHIRDefinedType.AUDITEVENT); if ("Basic".equals(codeString)) @@ -3559,10 +3577,6 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.CODESYSTEM); if ("CompartmentDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.COMPARTMENTDEFINITION); - if ("ConceptMap".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.CONCEPTMAP); - if ("ConceptMap2".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.CONCEPTMAP2); if ("ExampleScenario".equals(codeString)) return new Enumeration(this, FHIRDefinedType.EXAMPLESCENARIO); if ("GraphDefinition".equals(codeString)) @@ -3575,12 +3589,12 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.METADATARESOURCE); if ("ActivityDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.ACTIVITYDEFINITION); - if ("ArtifactAssessment".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.ARTIFACTASSESSMENT); if ("ChargeItemDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.CHARGEITEMDEFINITION); if ("Citation".equals(codeString)) return new Enumeration(this, FHIRDefinedType.CITATION); + if ("ConceptMap".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.CONCEPTMAP); if ("ConditionDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.CONDITIONDEFINITION); if ("EventDefinition".equals(codeString)) @@ -3595,12 +3609,12 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.LIBRARY); if ("Measure".equals(codeString)) return new Enumeration(this, FHIRDefinedType.MEASURE); + if ("NamingSystem".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.NAMINGSYSTEM); if ("PlanDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.PLANDEFINITION); if ("Questionnaire".equals(codeString)) return new Enumeration(this, FHIRDefinedType.QUESTIONNAIRE); - if ("NamingSystem".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.NAMINGSYSTEM); if ("OperationDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.OPERATIONDEFINITION); if ("SearchParameter".equals(codeString)) @@ -3609,6 +3623,8 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.STRUCTUREDEFINITION); if ("StructureMap".equals(codeString)) return new Enumeration(this, FHIRDefinedType.STRUCTUREMAP); + if ("SubscriptionTopic".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.SUBSCRIPTIONTOPIC); if ("TerminologyCapabilities".equals(codeString)) return new Enumeration(this, FHIRDefinedType.TERMINOLOGYCAPABILITIES); if ("TestScript".equals(codeString)) @@ -3629,8 +3645,6 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.CLINICALIMPRESSION); if ("ClinicalUseDefinition".equals(codeString)) return new Enumeration(this, FHIRDefinedType.CLINICALUSEDEFINITION); - if ("ClinicalUseIssue".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.CLINICALUSEISSUE); if ("Communication".equals(codeString)) return new Enumeration(this, FHIRDefinedType.COMMUNICATION); if ("CommunicationRequest".equals(codeString)) @@ -3685,6 +3699,8 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.FAMILYMEMBERHISTORY); if ("Flag".equals(codeString)) return new Enumeration(this, FHIRDefinedType.FLAG); + if ("FormularyItem".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.FORMULARYITEM); if ("Goal".equals(codeString)) return new Enumeration(this, FHIRDefinedType.GOAL); if ("Group".equals(codeString)) @@ -3803,8 +3819,6 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.SUBSCRIPTION); if ("SubscriptionStatus".equals(codeString)) return new Enumeration(this, FHIRDefinedType.SUBSCRIPTIONSTATUS); - if ("SubscriptionTopic".equals(codeString)) - return new Enumeration(this, FHIRDefinedType.SUBSCRIPTIONTOPIC); if ("Substance".equals(codeString)) return new Enumeration(this, FHIRDefinedType.SUBSTANCE); if ("SubstanceDefinition".equals(codeString)) @@ -3827,6 +3841,8 @@ public class TestScript extends CanonicalResource { return new Enumeration(this, FHIRDefinedType.TASK); if ("TestReport".equals(codeString)) return new Enumeration(this, FHIRDefinedType.TESTREPORT); + if ("Transport".equals(codeString)) + return new Enumeration(this, FHIRDefinedType.TRANSPORT); if ("VerificationResult".equals(codeString)) return new Enumeration(this, FHIRDefinedType.VERIFICATIONRESULT); if ("VisionPrescription".equals(codeString)) @@ -3880,6 +3896,8 @@ public class TestScript extends CanonicalResource { return "ElementDefinition"; if (code == FHIRDefinedType.EXPRESSION) return "Expression"; + if (code == FHIRDefinedType.EXTENDEDCONTACTDETAIL) + return "ExtendedContactDetail"; if (code == FHIRDefinedType.EXTENSION) return "Extension"; if (code == FHIRDefinedType.HUMANNAME) @@ -3904,8 +3922,6 @@ public class TestScript extends CanonicalResource { return "Population"; if (code == FHIRDefinedType.PRIMITIVETYPE) return "PrimitiveType"; - if (code == FHIRDefinedType.PRODCHARACTERISTIC) - return "ProdCharacteristic"; if (code == FHIRDefinedType.PRODUCTSHELFLIFE) return "ProductShelfLife"; if (code == FHIRDefinedType.QUANTITY) @@ -3994,6 +4010,8 @@ public class TestScript extends CanonicalResource { return "Appointment"; if (code == FHIRDefinedType.APPOINTMENTRESPONSE) return "AppointmentResponse"; + if (code == FHIRDefinedType.ARTIFACTASSESSMENT) + return "ArtifactAssessment"; if (code == FHIRDefinedType.AUDITEVENT) return "AuditEvent"; if (code == FHIRDefinedType.BASIC) @@ -4012,10 +4030,6 @@ public class TestScript extends CanonicalResource { return "CodeSystem"; if (code == FHIRDefinedType.COMPARTMENTDEFINITION) return "CompartmentDefinition"; - if (code == FHIRDefinedType.CONCEPTMAP) - return "ConceptMap"; - if (code == FHIRDefinedType.CONCEPTMAP2) - return "ConceptMap2"; if (code == FHIRDefinedType.EXAMPLESCENARIO) return "ExampleScenario"; if (code == FHIRDefinedType.GRAPHDEFINITION) @@ -4028,12 +4042,12 @@ public class TestScript extends CanonicalResource { return "MetadataResource"; if (code == FHIRDefinedType.ACTIVITYDEFINITION) return "ActivityDefinition"; - if (code == FHIRDefinedType.ARTIFACTASSESSMENT) - return "ArtifactAssessment"; if (code == FHIRDefinedType.CHARGEITEMDEFINITION) return "ChargeItemDefinition"; if (code == FHIRDefinedType.CITATION) return "Citation"; + if (code == FHIRDefinedType.CONCEPTMAP) + return "ConceptMap"; if (code == FHIRDefinedType.CONDITIONDEFINITION) return "ConditionDefinition"; if (code == FHIRDefinedType.EVENTDEFINITION) @@ -4048,12 +4062,12 @@ public class TestScript extends CanonicalResource { return "Library"; if (code == FHIRDefinedType.MEASURE) return "Measure"; + if (code == FHIRDefinedType.NAMINGSYSTEM) + return "NamingSystem"; if (code == FHIRDefinedType.PLANDEFINITION) return "PlanDefinition"; if (code == FHIRDefinedType.QUESTIONNAIRE) return "Questionnaire"; - if (code == FHIRDefinedType.NAMINGSYSTEM) - return "NamingSystem"; if (code == FHIRDefinedType.OPERATIONDEFINITION) return "OperationDefinition"; if (code == FHIRDefinedType.SEARCHPARAMETER) @@ -4062,6 +4076,8 @@ public class TestScript extends CanonicalResource { return "StructureDefinition"; if (code == FHIRDefinedType.STRUCTUREMAP) return "StructureMap"; + if (code == FHIRDefinedType.SUBSCRIPTIONTOPIC) + return "SubscriptionTopic"; if (code == FHIRDefinedType.TERMINOLOGYCAPABILITIES) return "TerminologyCapabilities"; if (code == FHIRDefinedType.TESTSCRIPT) @@ -4082,8 +4098,6 @@ public class TestScript extends CanonicalResource { return "ClinicalImpression"; if (code == FHIRDefinedType.CLINICALUSEDEFINITION) return "ClinicalUseDefinition"; - if (code == FHIRDefinedType.CLINICALUSEISSUE) - return "ClinicalUseIssue"; if (code == FHIRDefinedType.COMMUNICATION) return "Communication"; if (code == FHIRDefinedType.COMMUNICATIONREQUEST) @@ -4138,6 +4152,8 @@ public class TestScript extends CanonicalResource { return "FamilyMemberHistory"; if (code == FHIRDefinedType.FLAG) return "Flag"; + if (code == FHIRDefinedType.FORMULARYITEM) + return "FormularyItem"; if (code == FHIRDefinedType.GOAL) return "Goal"; if (code == FHIRDefinedType.GROUP) @@ -4256,8 +4272,6 @@ public class TestScript extends CanonicalResource { return "Subscription"; if (code == FHIRDefinedType.SUBSCRIPTIONSTATUS) return "SubscriptionStatus"; - if (code == FHIRDefinedType.SUBSCRIPTIONTOPIC) - return "SubscriptionTopic"; if (code == FHIRDefinedType.SUBSTANCE) return "Substance"; if (code == FHIRDefinedType.SUBSTANCEDEFINITION) @@ -4280,6 +4294,8 @@ public class TestScript extends CanonicalResource { return "Task"; if (code == FHIRDefinedType.TESTREPORT) return "TestReport"; + if (code == FHIRDefinedType.TRANSPORT) + return "Transport"; if (code == FHIRDefinedType.VERIFICATIONRESULT) return "VerificationResult"; if (code == FHIRDefinedType.VISIONPRESCRIPTION) @@ -4357,6 +4373,7 @@ public class TestScript extends CanonicalResource { case POST: return "post"; case PUT: return "put"; case HEAD: return "head"; + case NULL: return null; default: return "?"; } } @@ -4369,6 +4386,7 @@ public class TestScript extends CanonicalResource { case POST: return "http://hl7.org/fhir/http-operations"; case PUT: return "http://hl7.org/fhir/http-operations"; case HEAD: return "http://hl7.org/fhir/http-operations"; + case NULL: return null; default: return "?"; } } @@ -4381,6 +4399,7 @@ public class TestScript extends CanonicalResource { case POST: return "HTTP POST operation."; case PUT: return "HTTP PUT operation."; case HEAD: return "HTTP HEAD operation."; + case NULL: return null; default: return "?"; } } @@ -4393,6 +4412,7 @@ public class TestScript extends CanonicalResource { case POST: return "POST"; case PUT: return "PUT"; case HEAD: return "HEAD"; + case NULL: return null; default: return "?"; } } @@ -6093,10 +6113,10 @@ public class TestScript extends CanonicalResource { protected CanonicalType artifact; /** - * The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests must pass, optional - all test are expected to pass but non-pass status may be allowed. + * The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure. */ @Child(name = "conformance", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="required | optional", formalDefinition="The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests must pass, optional - all test are expected to pass but non-pass status may be allowed." ) + @Description(shortDefinition="required | optional | strict", formalDefinition="The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/testscript-scope-conformance-codes") protected CodeableConcept conformance; @@ -6171,7 +6191,7 @@ public class TestScript extends CanonicalResource { } /** - * @return {@link #conformance} (The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests must pass, optional - all test are expected to pass but non-pass status may be allowed.) + * @return {@link #conformance} (The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure.) */ public CodeableConcept getConformance() { if (this.conformance == null) @@ -6187,7 +6207,7 @@ public class TestScript extends CanonicalResource { } /** - * @param value {@link #conformance} (The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests must pass, optional - all test are expected to pass but non-pass status may be allowed.) + * @param value {@link #conformance} (The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure.) */ public TestScriptScopeComponent setConformance(CodeableConcept value) { this.conformance = value; @@ -6221,7 +6241,7 @@ public class TestScript extends CanonicalResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("artifact", "canonical(Any)", "The specific conformance artifact being tested. The canonical reference can be version-specific.", 0, 1, artifact)); - children.add(new Property("conformance", "CodeableConcept", "The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests must pass, optional - all test are expected to pass but non-pass status may be allowed.", 0, 1, conformance)); + children.add(new Property("conformance", "CodeableConcept", "The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure.", 0, 1, conformance)); children.add(new Property("phase", "CodeableConcept", "The phase of testing for this artifact: unit - development / implementation phase, integration - internal system to system phase, production - live system to system phase (Note, this may involve pii/phi data).", 0, 1, phase)); } @@ -6229,7 +6249,7 @@ public class TestScript extends CanonicalResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case -1228798510: /*artifact*/ return new Property("artifact", "canonical(Any)", "The specific conformance artifact being tested. The canonical reference can be version-specific.", 0, 1, artifact); - case 1374858133: /*conformance*/ return new Property("conformance", "CodeableConcept", "The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests must pass, optional - all test are expected to pass but non-pass status may be allowed.", 0, 1, conformance); + case 1374858133: /*conformance*/ return new Property("conformance", "CodeableConcept", "The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure.", 0, 1, conformance); case 106629499: /*phase*/ return new Property("phase", "CodeableConcept", "The phase of testing for this artifact: unit - development / implementation phase, integration - internal system to system phase, production - live system to system phase (Note, this may involve pii/phi data).", 0, 1, phase); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -7748,12 +7768,12 @@ public class TestScript extends CanonicalResource { protected Coding type; /** - * The type of the resource. See http://build.fhir.org/resourcelist.html. + * The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified. */ - @Child(name = "resource", type = {CodeType.class}, order=2, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Resource type", formalDefinition="The type of the resource. See http://build.fhir.org/resourcelist.html." ) + @Child(name = "resource", type = {UriType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Resource type", formalDefinition="The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified." ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/defined-types") - protected Enumeration resource; + protected UriType resource; /** * The label would be used for tracking/logging purposes by test engines. @@ -7863,7 +7883,7 @@ public class TestScript extends CanonicalResource { @Description(shortDefinition="Request URL", formalDefinition="Complete request URL." ) protected StringType url; - private static final long serialVersionUID = -1301448722L; + private static final long serialVersionUID = 308704897L; /** * Constructor @@ -7905,14 +7925,14 @@ public class TestScript extends CanonicalResource { } /** - * @return {@link #resource} (The type of the resource. See http://build.fhir.org/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value + * @return {@link #resource} (The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value */ - public Enumeration getResourceElement() { + public UriType getResourceElement() { if (this.resource == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SetupActionOperationComponent.resource"); else if (Configuration.doAutoCreate()) - this.resource = new Enumeration(new FHIRDefinedTypeEnumFactory()); // bb + this.resource = new UriType(); // bb return this.resource; } @@ -7925,29 +7945,29 @@ public class TestScript extends CanonicalResource { } /** - * @param value {@link #resource} (The type of the resource. See http://build.fhir.org/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value + * @param value {@link #resource} (The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value */ - public SetupActionOperationComponent setResourceElement(Enumeration value) { + public SetupActionOperationComponent setResourceElement(UriType value) { this.resource = value; return this; } /** - * @return The type of the resource. See http://build.fhir.org/resourcelist.html. + * @return The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified. */ - public FHIRDefinedType getResource() { + public String getResource() { return this.resource == null ? null : this.resource.getValue(); } /** - * @param value The type of the resource. See http://build.fhir.org/resourcelist.html. + * @param value The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified. */ - public SetupActionOperationComponent setResource(FHIRDefinedType value) { - if (value == null) + public SetupActionOperationComponent setResource(String value) { + if (Utilities.noString(value)) this.resource = null; else { if (this.resource == null) - this.resource = new Enumeration(new FHIRDefinedTypeEnumFactory()); + this.resource = new UriType(); this.resource.setValue(value); } return this; @@ -8683,7 +8703,7 @@ public class TestScript extends CanonicalResource { protected void listChildren(List children) { super.listChildren(children); children.add(new Property("type", "Coding", "Server interaction or operation type.", 0, 1, type)); - children.add(new Property("resource", "code", "The type of the resource. See http://build.fhir.org/resourcelist.html.", 0, 1, resource)); + children.add(new Property("resource", "uri", "The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified.", 0, 1, resource)); children.add(new Property("label", "string", "The label would be used for tracking/logging purposes by test engines.", 0, 1, label)); children.add(new Property("description", "string", "The description would be used by test engines for tracking and reporting purposes.", 0, 1, description)); children.add(new Property("accept", "code", "The mime-type to use for RESTful operation in the 'Accept' header.", 0, 1, accept)); @@ -8705,7 +8725,7 @@ public class TestScript extends CanonicalResource { public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { case 3575610: /*type*/ return new Property("type", "Coding", "Server interaction or operation type.", 0, 1, type); - case -341064690: /*resource*/ return new Property("resource", "code", "The type of the resource. See http://build.fhir.org/resourcelist.html.", 0, 1, resource); + case -341064690: /*resource*/ return new Property("resource", "uri", "The type of the FHIR resource. See http://build.fhir.org/resourcelist.html. Data type of uri is needed when non-HL7 artifacts are identified.", 0, 1, resource); case 102727412: /*label*/ return new Property("label", "string", "The label would be used for tracking/logging purposes by test engines.", 0, 1, label); case -1724546052: /*description*/ return new Property("description", "string", "The description would be used by test engines for tracking and reporting purposes.", 0, 1, description); case -1423461112: /*accept*/ return new Property("accept", "code", "The mime-type to use for RESTful operation in the 'Accept' header.", 0, 1, accept); @@ -8730,7 +8750,7 @@ public class TestScript extends CanonicalResource { public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Coding - case -341064690: /*resource*/ return this.resource == null ? new Base[0] : new Base[] {this.resource}; // Enumeration + case -341064690: /*resource*/ return this.resource == null ? new Base[0] : new Base[] {this.resource}; // UriType case 102727412: /*label*/ return this.label == null ? new Base[0] : new Base[] {this.label}; // StringType case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType case -1423461112: /*accept*/ return this.accept == null ? new Base[0] : new Base[] {this.accept}; // CodeType @@ -8758,8 +8778,7 @@ public class TestScript extends CanonicalResource { this.type = TypeConvertor.castToCoding(value); // Coding return value; case -341064690: // resource - value = new FHIRDefinedTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.resource = (Enumeration) value; // Enumeration + this.resource = TypeConvertor.castToUri(value); // UriType return value; case 102727412: // label this.label = TypeConvertor.castToString(value); // StringType @@ -8817,8 +8836,7 @@ public class TestScript extends CanonicalResource { if (name.equals("type")) { this.type = TypeConvertor.castToCoding(value); // Coding } else if (name.equals("resource")) { - value = new FHIRDefinedTypeEnumFactory().fromType(TypeConvertor.castToCode(value)); - this.resource = (Enumeration) value; // Enumeration + this.resource = TypeConvertor.castToUri(value); // UriType } else if (name.equals("label")) { this.label = TypeConvertor.castToString(value); // StringType } else if (name.equals("description")) { @@ -8884,7 +8902,7 @@ public class TestScript extends CanonicalResource { public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { case 3575610: /*type*/ return new String[] {"Coding"}; - case -341064690: /*resource*/ return new String[] {"code"}; + case -341064690: /*resource*/ return new String[] {"uri"}; case 102727412: /*label*/ return new String[] {"string"}; case -1724546052: /*description*/ return new String[] {"string"}; case -1423461112: /*accept*/ return new String[] {"code"}; @@ -13833,352 +13851,6 @@ public class TestScript extends CanonicalResource { return ResourceType.TestScript; } - /** - * Search parameter: context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the test script
- * Type: quantity
- * Path: (TestScript.useContext.value as Quantity) | (TestScript.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(TestScript.useContext.value as Quantity) | (TestScript.useContext.value as Range)", description="A quantity- or range-valued use context assigned to the test script", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: A quantity- or range-valued use context assigned to the test script
- * Type: quantity
- * Path: (TestScript.useContext.value as Quantity) | (TestScript.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the test script
- * Type: composite
- * Path: TestScript.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="TestScript.useContext", description="A use context type and quantity- or range-based value assigned to the test script", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: A use context type and quantity- or range-based value assigned to the test script
- * Type: composite
- * Path: TestScript.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: A use context type and value assigned to the test script
- * Type: composite
- * Path: TestScript.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="TestScript.useContext", description="A use context type and value assigned to the test script", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: A use context type and value assigned to the test script
- * Type: composite
- * Path: TestScript.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: A type of use context assigned to the test script
- * Type: token
- * Path: TestScript.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="TestScript.useContext.code", description="A type of use context assigned to the test script", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: A type of use context assigned to the test script
- * Type: token
- * Path: TestScript.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: A use context assigned to the test script
- * Type: token
- * Path: (TestScript.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(TestScript.useContext.value as CodeableConcept)", description="A use context assigned to the test script", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: A use context assigned to the test script
- * Type: token
- * Path: (TestScript.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: The test script publication date
- * Type: date
- * Path: TestScript.date
- *

- */ - @SearchParamDefinition(name="date", path="TestScript.date", description="The test script publication date", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: The test script publication date
- * Type: date
- * Path: TestScript.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: The description of the test script
- * Type: string
- * Path: TestScript.description
- *

- */ - @SearchParamDefinition(name="description", path="TestScript.description", description="The description of the test script", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: The description of the test script
- * Type: string
- * Path: TestScript.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: External identifier for the test script
- * Type: token
- * Path: TestScript.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="TestScript.identifier", description="External identifier for the test script", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: External identifier for the test script
- * Type: token
- * Path: TestScript.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Intended jurisdiction for the test script
- * Type: token
- * Path: TestScript.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="TestScript.jurisdiction", description="Intended jurisdiction for the test script", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Intended jurisdiction for the test script
- * Type: token
- * Path: TestScript.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Computationally friendly name of the test script
- * Type: string
- * Path: TestScript.name
- *

- */ - @SearchParamDefinition(name="name", path="TestScript.name", description="Computationally friendly name of the test script", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Computationally friendly name of the test script
- * Type: string
- * Path: TestScript.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Name of the publisher of the test script
- * Type: string
- * Path: TestScript.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="TestScript.publisher", description="Name of the publisher of the test script", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Name of the publisher of the test script
- * Type: string
- * Path: TestScript.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: scope-artifact - *

- * Description: The artifact under test
- * Type: reference
- * Path: TestScript.scope.artifact
- *

- */ - @SearchParamDefinition(name="scope-artifact", path="TestScript.scope.artifact", description="The artifact under test", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_SCOPE_ARTIFACT = "scope-artifact"; - /** - * Fluent Client search parameter constant for scope-artifact - *

- * Description: The artifact under test
- * Type: reference
- * Path: TestScript.scope.artifact
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SCOPE_ARTIFACT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SCOPE_ARTIFACT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "TestScript:scope-artifact". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_SCOPE_ARTIFACT = new ca.uhn.fhir.model.api.Include("TestScript:scope-artifact").toLocked(); - - /** - * Search parameter: status - *

- * Description: The current status of the test script
- * Type: token
- * Path: TestScript.status
- *

- */ - @SearchParamDefinition(name="status", path="TestScript.status", description="The current status of the test script", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The current status of the test script
- * Type: token
- * Path: TestScript.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: testscript-capability - *

- * Description: TestScript required and validated capability
- * Type: string
- * Path: TestScript.metadata.capability.description
- *

- */ - @SearchParamDefinition(name="testscript-capability", path="TestScript.metadata.capability.description", description="TestScript required and validated capability", type="string" ) - public static final String SP_TESTSCRIPT_CAPABILITY = "testscript-capability"; - /** - * Fluent Client search parameter constant for testscript-capability - *

- * Description: TestScript required and validated capability
- * Type: string
- * Path: TestScript.metadata.capability.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TESTSCRIPT_CAPABILITY = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TESTSCRIPT_CAPABILITY); - - /** - * Search parameter: title - *

- * Description: The human-friendly name of the test script
- * Type: string
- * Path: TestScript.title
- *

- */ - @SearchParamDefinition(name="title", path="TestScript.title", description="The human-friendly name of the test script", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: The human-friendly name of the test script
- * Type: string
- * Path: TestScript.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: The uri that identifies the test script
- * Type: uri
- * Path: TestScript.url
- *

- */ - @SearchParamDefinition(name="url", path="TestScript.url", description="The uri that identifies the test script", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: The uri that identifies the test script
- * Type: uri
- * Path: TestScript.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: The business version of the test script
- * Type: token
- * Path: TestScript.version
- *

- */ - @SearchParamDefinition(name="version", path="TestScript.version", description="The business version of the test script", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: The business version of the test script
- * Type: token
- * Path: TestScript.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Timing.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Timing.java index 14eb271c9..342160529 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Timing.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Timing.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -256,6 +256,7 @@ public class Timing extends BackboneType implements ICompositeType { case PCM: return "PCM"; case PCD: return "PCD"; case PCV: return "PCV"; + case NULL: return null; default: return "?"; } } @@ -288,6 +289,7 @@ public class Timing extends BackboneType implements ICompositeType { case PCM: return "http://terminology.hl7.org/CodeSystem/v3-TimingEvent"; case PCD: return "http://terminology.hl7.org/CodeSystem/v3-TimingEvent"; case PCV: return "http://terminology.hl7.org/CodeSystem/v3-TimingEvent"; + case NULL: return null; default: return "?"; } } @@ -320,6 +322,7 @@ public class Timing extends BackboneType implements ICompositeType { case PCM: return ""; case PCD: return ""; case PCV: return ""; + case NULL: return null; default: return "?"; } } @@ -352,6 +355,7 @@ public class Timing extends BackboneType implements ICompositeType { case PCM: return "PCM"; case PCD: return "PCD"; case PCV: return "PCV"; + case NULL: return null; default: return "?"; } } @@ -608,6 +612,7 @@ public class Timing extends BackboneType implements ICompositeType { case WK: return "wk"; case MO: return "mo"; case A: return "a"; + case NULL: return null; default: return "?"; } } @@ -620,6 +625,7 @@ public class Timing extends BackboneType implements ICompositeType { case WK: return "http://unitsofmeasure.org"; case MO: return "http://unitsofmeasure.org"; case A: return "http://unitsofmeasure.org"; + case NULL: return null; default: return "?"; } } @@ -632,6 +638,7 @@ public class Timing extends BackboneType implements ICompositeType { case WK: return ""; case MO: return ""; case A: return ""; + case NULL: return null; default: return "?"; } } @@ -644,6 +651,7 @@ public class Timing extends BackboneType implements ICompositeType { case WK: return "星期"; case MO: return "月"; case A: return "年"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Transport.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Transport.java new file mode 100644 index 000000000..0a87e2db7 --- /dev/null +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Transport.java @@ -0,0 +1,5433 @@ +package org.hl7.fhir.r5.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 Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import org.hl7.fhir.utilities.Utilities; +import org.hl7.fhir.r5.model.Enumerations.*; +import org.hl7.fhir.instance.model.api.IBaseBackboneElement; +import org.hl7.fhir.exceptions.FHIRException; +import org.hl7.fhir.instance.model.api.ICompositeType; +import ca.uhn.fhir.model.api.annotation.ResourceDef; +import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; +import org.hl7.fhir.instance.model.api.IBaseBackboneElement; +import ca.uhn.fhir.model.api.annotation.Child; +import ca.uhn.fhir.model.api.annotation.ChildOrder; +import ca.uhn.fhir.model.api.annotation.Description; +import ca.uhn.fhir.model.api.annotation.Block; + +/** + * Record of transport. + */ +@ResourceDef(name="Transport", profile="http://hl7.org/fhir/StructureDefinition/Transport") +public class Transport extends DomainResource { + + public enum TransportIntent { + /** + * The intent is not known. When dealing with Transport, it's not always known (or relevant) how the transport was initiated - i.e. whether it was proposed, planned, ordered or just done spontaneously. + */ + UNKNOWN, + /** + * The request is a suggestion made by someone/something that does not have an intention to ensure it occurs and without providing an authorization to act. + */ + PROPOSAL, + /** + * The request represents an intention to ensure something occurs without providing an authorization for others to act. + */ + PLAN, + /** + * The request represents a request/demand and authorization for action by a Practitioner. + */ + ORDER, + /** + * The request represents an original authorization for action. + */ + ORIGINALORDER, + /** + * The request represents an automatically generated supplemental authorization for action based on a parent authorization together with initial results of the action taken against that parent authorization. + */ + REFLEXORDER, + /** + * The request represents the view of an authorization instantiated by a fulfilling system representing the details of the fulfiller's intention to act upon a submitted order. + */ + FILLERORDER, + /** + * An order created in fulfillment of a broader order that represents the authorization for a single activity occurrence. E.g. The administration of a single dose of a drug. + */ + INSTANCEORDER, + /** + * The request represents a component or option for a RequestGroup that establishes timing, conditionality and/or other constraints among a set of requests. Refer to [[[RequestGroup]]] for additional information on how this status is used. + */ + OPTION, + /** + * added to help the parsers with the generic types + */ + NULL; + public static TransportIntent fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return UNKNOWN; + if ("proposal".equals(codeString)) + return PROPOSAL; + if ("plan".equals(codeString)) + return PLAN; + if ("order".equals(codeString)) + return ORDER; + if ("original-order".equals(codeString)) + return ORIGINALORDER; + if ("reflex-order".equals(codeString)) + return REFLEXORDER; + if ("filler-order".equals(codeString)) + return FILLERORDER; + if ("instance-order".equals(codeString)) + return INSTANCEORDER; + if ("option".equals(codeString)) + return OPTION; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown TransportIntent code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case UNKNOWN: return "unknown"; + case PROPOSAL: return "proposal"; + case PLAN: return "plan"; + case ORDER: return "order"; + case ORIGINALORDER: return "original-order"; + case REFLEXORDER: return "reflex-order"; + case FILLERORDER: return "filler-order"; + case INSTANCEORDER: return "instance-order"; + case OPTION: return "option"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case UNKNOWN: return "http://hl7.org/fhir/transport-intent"; + case PROPOSAL: return "http://hl7.org/fhir/request-intent"; + case PLAN: return "http://hl7.org/fhir/request-intent"; + case ORDER: return "http://hl7.org/fhir/request-intent"; + case ORIGINALORDER: return "http://hl7.org/fhir/request-intent"; + case REFLEXORDER: return "http://hl7.org/fhir/request-intent"; + case FILLERORDER: return "http://hl7.org/fhir/request-intent"; + case INSTANCEORDER: return "http://hl7.org/fhir/request-intent"; + case OPTION: return "http://hl7.org/fhir/request-intent"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case UNKNOWN: return "The intent is not known. When dealing with Transport, it's not always known (or relevant) how the transport was initiated - i.e. whether it was proposed, planned, ordered or just done spontaneously."; + case PROPOSAL: return "The request is a suggestion made by someone/something that does not have an intention to ensure it occurs and without providing an authorization to act."; + case PLAN: return "The request represents an intention to ensure something occurs without providing an authorization for others to act."; + case ORDER: return "The request represents a request/demand and authorization for action by a Practitioner."; + case ORIGINALORDER: return "The request represents an original authorization for action."; + case REFLEXORDER: return "The request represents an automatically generated supplemental authorization for action based on a parent authorization together with initial results of the action taken against that parent authorization."; + case FILLERORDER: return "The request represents the view of an authorization instantiated by a fulfilling system representing the details of the fulfiller's intention to act upon a submitted order."; + case INSTANCEORDER: return "An order created in fulfillment of a broader order that represents the authorization for a single activity occurrence. E.g. The administration of a single dose of a drug."; + case OPTION: return "The request represents a component or option for a RequestGroup that establishes timing, conditionality and/or other constraints among a set of requests. Refer to [[[RequestGroup]]] for additional information on how this status is used."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case UNKNOWN: return "Unknown"; + case PROPOSAL: return "Proposal"; + case PLAN: return "Plan"; + case ORDER: return "Order"; + case ORIGINALORDER: return "Original Order"; + case REFLEXORDER: return "Reflex Order"; + case FILLERORDER: return "Filler Order"; + case INSTANCEORDER: return "Instance Order"; + case OPTION: return "Option"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class TransportIntentEnumFactory implements EnumFactory { + public TransportIntent fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return TransportIntent.UNKNOWN; + if ("proposal".equals(codeString)) + return TransportIntent.PROPOSAL; + if ("plan".equals(codeString)) + return TransportIntent.PLAN; + if ("order".equals(codeString)) + return TransportIntent.ORDER; + if ("original-order".equals(codeString)) + return TransportIntent.ORIGINALORDER; + if ("reflex-order".equals(codeString)) + return TransportIntent.REFLEXORDER; + if ("filler-order".equals(codeString)) + return TransportIntent.FILLERORDER; + if ("instance-order".equals(codeString)) + return TransportIntent.INSTANCEORDER; + if ("option".equals(codeString)) + return TransportIntent.OPTION; + throw new IllegalArgumentException("Unknown TransportIntent code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("unknown".equals(codeString)) + return new Enumeration(this, TransportIntent.UNKNOWN); + if ("proposal".equals(codeString)) + return new Enumeration(this, TransportIntent.PROPOSAL); + if ("plan".equals(codeString)) + return new Enumeration(this, TransportIntent.PLAN); + if ("order".equals(codeString)) + return new Enumeration(this, TransportIntent.ORDER); + if ("original-order".equals(codeString)) + return new Enumeration(this, TransportIntent.ORIGINALORDER); + if ("reflex-order".equals(codeString)) + return new Enumeration(this, TransportIntent.REFLEXORDER); + if ("filler-order".equals(codeString)) + return new Enumeration(this, TransportIntent.FILLERORDER); + if ("instance-order".equals(codeString)) + return new Enumeration(this, TransportIntent.INSTANCEORDER); + if ("option".equals(codeString)) + return new Enumeration(this, TransportIntent.OPTION); + throw new FHIRException("Unknown TransportIntent code '"+codeString+"'"); + } + public String toCode(TransportIntent code) { + if (code == TransportIntent.UNKNOWN) + return "unknown"; + if (code == TransportIntent.PROPOSAL) + return "proposal"; + if (code == TransportIntent.PLAN) + return "plan"; + if (code == TransportIntent.ORDER) + return "order"; + if (code == TransportIntent.ORIGINALORDER) + return "original-order"; + if (code == TransportIntent.REFLEXORDER) + return "reflex-order"; + if (code == TransportIntent.FILLERORDER) + return "filler-order"; + if (code == TransportIntent.INSTANCEORDER) + return "instance-order"; + if (code == TransportIntent.OPTION) + return "option"; + return "?"; + } + public String toSystem(TransportIntent code) { + return code.getSystem(); + } + } + + public enum TransportStatus { + /** + * Transport has started but not completed. + */ + INPROGRESS, + /** + * Transport has been completed. + */ + COMPLETED, + /** + * Transport was started but not completed. + */ + ABANDONED, + /** + * Transport was cancelled before started. + */ + CANCELLED, + /** + * Planned transport that is not yet requested. + */ + PLANNED, + /** + * This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"abandoned\" rather than \"entered-in-error\".). + */ + ENTEREDINERROR, + /** + * added to help the parsers with the generic types + */ + NULL; + public static TransportStatus fromCode(String codeString) throws FHIRException { + if (codeString == null || "".equals(codeString)) + return null; + if ("in-progress".equals(codeString)) + return INPROGRESS; + if ("completed".equals(codeString)) + return COMPLETED; + if ("abandoned".equals(codeString)) + return ABANDONED; + if ("cancelled".equals(codeString)) + return CANCELLED; + if ("planned".equals(codeString)) + return PLANNED; + if ("entered-in-error".equals(codeString)) + return ENTEREDINERROR; + if (Configuration.isAcceptInvalidEnums()) + return null; + else + throw new FHIRException("Unknown TransportStatus code '"+codeString+"'"); + } + public String toCode() { + switch (this) { + case INPROGRESS: return "in-progress"; + case COMPLETED: return "completed"; + case ABANDONED: return "abandoned"; + case CANCELLED: return "cancelled"; + case PLANNED: return "planned"; + case ENTEREDINERROR: return "entered-in-error"; + case NULL: return null; + default: return "?"; + } + } + public String getSystem() { + switch (this) { + case INPROGRESS: return "http://hl7.org/fhir/transport-status"; + case COMPLETED: return "http://hl7.org/fhir/transport-status"; + case ABANDONED: return "http://hl7.org/fhir/transport-status"; + case CANCELLED: return "http://hl7.org/fhir/transport-status"; + case PLANNED: return "http://hl7.org/fhir/transport-status"; + case ENTEREDINERROR: return "http://hl7.org/fhir/transport-status"; + case NULL: return null; + default: return "?"; + } + } + public String getDefinition() { + switch (this) { + case INPROGRESS: return "Transport has started but not completed."; + case COMPLETED: return "Transport has been completed."; + case ABANDONED: return "Transport was started but not completed."; + case CANCELLED: return "Transport was cancelled before started."; + case PLANNED: return "Planned transport that is not yet requested."; + case ENTEREDINERROR: return "This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be \"abandoned\" rather than \"entered-in-error\".)."; + case NULL: return null; + default: return "?"; + } + } + public String getDisplay() { + switch (this) { + case INPROGRESS: return "In Progress"; + case COMPLETED: return "Completed"; + case ABANDONED: return "Abandoned"; + case CANCELLED: return "Cancelled"; + case PLANNED: return "Planned"; + case ENTEREDINERROR: return "Entered In Error"; + case NULL: return null; + default: return "?"; + } + } + } + + public static class TransportStatusEnumFactory implements EnumFactory { + public TransportStatus fromCode(String codeString) throws IllegalArgumentException { + if (codeString == null || "".equals(codeString)) + if (codeString == null || "".equals(codeString)) + return null; + if ("in-progress".equals(codeString)) + return TransportStatus.INPROGRESS; + if ("completed".equals(codeString)) + return TransportStatus.COMPLETED; + if ("abandoned".equals(codeString)) + return TransportStatus.ABANDONED; + if ("cancelled".equals(codeString)) + return TransportStatus.CANCELLED; + if ("planned".equals(codeString)) + return TransportStatus.PLANNED; + if ("entered-in-error".equals(codeString)) + return TransportStatus.ENTEREDINERROR; + throw new IllegalArgumentException("Unknown TransportStatus code '"+codeString+"'"); + } + public Enumeration fromType(Base code) throws FHIRException { + if (code == null) + return null; + if (code.isEmpty()) + return new Enumeration(this); + String codeString = ((PrimitiveType) code).asStringValue(); + if (codeString == null || "".equals(codeString)) + return null; + if ("in-progress".equals(codeString)) + return new Enumeration(this, TransportStatus.INPROGRESS); + if ("completed".equals(codeString)) + return new Enumeration(this, TransportStatus.COMPLETED); + if ("abandoned".equals(codeString)) + return new Enumeration(this, TransportStatus.ABANDONED); + if ("cancelled".equals(codeString)) + return new Enumeration(this, TransportStatus.CANCELLED); + if ("planned".equals(codeString)) + return new Enumeration(this, TransportStatus.PLANNED); + if ("entered-in-error".equals(codeString)) + return new Enumeration(this, TransportStatus.ENTEREDINERROR); + throw new FHIRException("Unknown TransportStatus code '"+codeString+"'"); + } + public String toCode(TransportStatus code) { + if (code == TransportStatus.INPROGRESS) + return "in-progress"; + if (code == TransportStatus.COMPLETED) + return "completed"; + if (code == TransportStatus.ABANDONED) + return "abandoned"; + if (code == TransportStatus.CANCELLED) + return "cancelled"; + if (code == TransportStatus.PLANNED) + return "planned"; + if (code == TransportStatus.ENTEREDINERROR) + return "entered-in-error"; + return "?"; + } + public String toSystem(TransportStatus code) { + return code.getSystem(); + } + } + + @Block() + public static class TransportRestrictionComponent extends BackboneElement implements IBaseBackboneElement { + /** + * Indicates the number of times the requested action should occur. + */ + @Child(name = "repetitions", type = {PositiveIntType.class}, order=1, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="How many times to repeat", formalDefinition="Indicates the number of times the requested action should occur." ) + protected PositiveIntType repetitions; + + /** + * Over what time-period is fulfillment sought. + */ + @Child(name = "period", type = {Period.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="When fulfillment sought", formalDefinition="Over what time-period is fulfillment sought." ) + protected Period period; + + /** + * For requests that are targeted to more than one potential recipient/target, to identify who is fulfillment is sought for. + */ + @Child(name = "recipient", type = {Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class, Group.class, Organization.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="For whom is fulfillment sought?", formalDefinition="For requests that are targeted to more than one potential recipient/target, to identify who is fulfillment is sought for." ) + protected List recipient; + + private static final long serialVersionUID = 1673996066L; + + /** + * Constructor + */ + public TransportRestrictionComponent() { + super(); + } + + /** + * @return {@link #repetitions} (Indicates the number of times the requested action should occur.). This is the underlying object with id, value and extensions. The accessor "getRepetitions" gives direct access to the value + */ + public PositiveIntType getRepetitionsElement() { + if (this.repetitions == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TransportRestrictionComponent.repetitions"); + else if (Configuration.doAutoCreate()) + this.repetitions = new PositiveIntType(); // bb + return this.repetitions; + } + + public boolean hasRepetitionsElement() { + return this.repetitions != null && !this.repetitions.isEmpty(); + } + + public boolean hasRepetitions() { + return this.repetitions != null && !this.repetitions.isEmpty(); + } + + /** + * @param value {@link #repetitions} (Indicates the number of times the requested action should occur.). This is the underlying object with id, value and extensions. The accessor "getRepetitions" gives direct access to the value + */ + public TransportRestrictionComponent setRepetitionsElement(PositiveIntType value) { + this.repetitions = value; + return this; + } + + /** + * @return Indicates the number of times the requested action should occur. + */ + public int getRepetitions() { + return this.repetitions == null || this.repetitions.isEmpty() ? 0 : this.repetitions.getValue(); + } + + /** + * @param value Indicates the number of times the requested action should occur. + */ + public TransportRestrictionComponent setRepetitions(int value) { + if (this.repetitions == null) + this.repetitions = new PositiveIntType(); + this.repetitions.setValue(value); + return this; + } + + /** + * @return {@link #period} (Over what time-period is fulfillment sought.) + */ + public Period getPeriod() { + if (this.period == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TransportRestrictionComponent.period"); + else if (Configuration.doAutoCreate()) + this.period = new Period(); // cc + return this.period; + } + + public boolean hasPeriod() { + return this.period != null && !this.period.isEmpty(); + } + + /** + * @param value {@link #period} (Over what time-period is fulfillment sought.) + */ + public TransportRestrictionComponent setPeriod(Period value) { + this.period = value; + return this; + } + + /** + * @return {@link #recipient} (For requests that are targeted to more than one potential recipient/target, to identify who is fulfillment is sought for.) + */ + public List getRecipient() { + if (this.recipient == null) + this.recipient = new ArrayList(); + return this.recipient; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public TransportRestrictionComponent setRecipient(List theRecipient) { + this.recipient = theRecipient; + return this; + } + + public boolean hasRecipient() { + if (this.recipient == null) + return false; + for (Reference item : this.recipient) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addRecipient() { //3 + Reference t = new Reference(); + if (this.recipient == null) + this.recipient = new ArrayList(); + this.recipient.add(t); + return t; + } + + public TransportRestrictionComponent addRecipient(Reference t) { //3 + if (t == null) + return this; + if (this.recipient == null) + this.recipient = new ArrayList(); + this.recipient.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #recipient}, creating it if it does not already exist {3} + */ + public Reference getRecipientFirstRep() { + if (getRecipient().isEmpty()) { + addRecipient(); + } + return getRecipient().get(0); + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("repetitions", "positiveInt", "Indicates the number of times the requested action should occur.", 0, 1, repetitions)); + children.add(new Property("period", "Period", "Over what time-period is fulfillment sought.", 0, 1, period)); + children.add(new Property("recipient", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Group|Organization)", "For requests that are targeted to more than one potential recipient/target, to identify who is fulfillment is sought for.", 0, java.lang.Integer.MAX_VALUE, recipient)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 984367650: /*repetitions*/ return new Property("repetitions", "positiveInt", "Indicates the number of times the requested action should occur.", 0, 1, repetitions); + case -991726143: /*period*/ return new Property("period", "Period", "Over what time-period is fulfillment sought.", 0, 1, period); + case 820081177: /*recipient*/ return new Property("recipient", "Reference(Patient|Practitioner|PractitionerRole|RelatedPerson|Group|Organization)", "For requests that are targeted to more than one potential recipient/target, to identify who is fulfillment is sought for.", 0, java.lang.Integer.MAX_VALUE, recipient); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 984367650: /*repetitions*/ return this.repetitions == null ? new Base[0] : new Base[] {this.repetitions}; // PositiveIntType + case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period + case 820081177: /*recipient*/ return this.recipient == null ? new Base[0] : this.recipient.toArray(new Base[this.recipient.size()]); // Reference + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 984367650: // repetitions + this.repetitions = TypeConvertor.castToPositiveInt(value); // PositiveIntType + return value; + case -991726143: // period + this.period = TypeConvertor.castToPeriod(value); // Period + return value; + case 820081177: // recipient + this.getRecipient().add(TypeConvertor.castToReference(value)); // Reference + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("repetitions")) { + this.repetitions = TypeConvertor.castToPositiveInt(value); // PositiveIntType + } else if (name.equals("period")) { + this.period = TypeConvertor.castToPeriod(value); // Period + } else if (name.equals("recipient")) { + this.getRecipient().add(TypeConvertor.castToReference(value)); + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 984367650: return getRepetitionsElement(); + case -991726143: return getPeriod(); + case 820081177: return addRecipient(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 984367650: /*repetitions*/ return new String[] {"positiveInt"}; + case -991726143: /*period*/ return new String[] {"Period"}; + case 820081177: /*recipient*/ return new String[] {"Reference"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("repetitions")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.restriction.repetitions"); + } + else if (name.equals("period")) { + this.period = new Period(); + return this.period; + } + else if (name.equals("recipient")) { + return addRecipient(); + } + else + return super.addChild(name); + } + + public TransportRestrictionComponent copy() { + TransportRestrictionComponent dst = new TransportRestrictionComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(TransportRestrictionComponent dst) { + super.copyValues(dst); + dst.repetitions = repetitions == null ? null : repetitions.copy(); + dst.period = period == null ? null : period.copy(); + if (recipient != null) { + dst.recipient = new ArrayList(); + for (Reference i : recipient) + dst.recipient.add(i.copy()); + }; + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof TransportRestrictionComponent)) + return false; + TransportRestrictionComponent o = (TransportRestrictionComponent) other_; + return compareDeep(repetitions, o.repetitions, true) && compareDeep(period, o.period, true) && compareDeep(recipient, o.recipient, true) + ; + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof TransportRestrictionComponent)) + return false; + TransportRestrictionComponent o = (TransportRestrictionComponent) other_; + return compareValues(repetitions, o.repetitions, true); + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(repetitions, period, recipient + ); + } + + public String fhirType() { + return "Transport.restriction"; + + } + + } + + @Block() + public static class ParameterComponent extends BackboneElement implements IBaseBackboneElement { + /** + * A code or description indicating how the input is intended to be used as part of the transport execution. + */ + @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Label for the input", formalDefinition="A code or description indicating how the input is intended to be used as part of the transport execution." ) + protected CodeableConcept type; + + /** + * The value of the input parameter as a basic type. + */ + @Child(name = "value", type = {Base64BinaryType.class, BooleanType.class, CanonicalType.class, CodeType.class, DateType.class, DateTimeType.class, DecimalType.class, IdType.class, InstantType.class, IntegerType.class, Integer64Type.class, MarkdownType.class, OidType.class, PositiveIntType.class, StringType.class, TimeType.class, UnsignedIntType.class, UriType.class, UrlType.class, UuidType.class, Address.class, Age.class, Annotation.class, Attachment.class, CodeableConcept.class, CodeableReference.class, Coding.class, ContactPoint.class, Count.class, Distance.class, Duration.class, HumanName.class, Identifier.class, Money.class, Period.class, Quantity.class, Range.class, Ratio.class, RatioRange.class, Reference.class, SampledData.class, Signature.class, Timing.class, ContactDetail.class, Contributor.class, DataRequirement.class, Expression.class, ParameterDefinition.class, RelatedArtifact.class, TriggerDefinition.class, UsageContext.class, Dosage.class, Meta.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Content to use in performing the transport", formalDefinition="The value of the input parameter as a basic type." ) + protected DataType value; + + private static final long serialVersionUID = -1659186716L; + + /** + * Constructor + */ + public ParameterComponent() { + super(); + } + + /** + * Constructor + */ + public ParameterComponent(CodeableConcept type, DataType value) { + super(); + this.setType(type); + this.setValue(value); + } + + /** + * @return {@link #type} (A code or description indicating how the input is intended to be used as part of the transport execution.) + */ + public CodeableConcept getType() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create ParameterComponent.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} (A code or description indicating how the input is intended to be used as part of the transport execution.) + */ + public ParameterComponent setType(CodeableConcept value) { + this.type = value; + return this; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public DataType getValue() { + return this.value; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Base64BinaryType getValueBase64BinaryType() throws FHIRException { + if (this.value == null) + this.value = new Base64BinaryType(); + if (!(this.value instanceof Base64BinaryType)) + throw new FHIRException("Type mismatch: the type Base64BinaryType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Base64BinaryType) this.value; + } + + public boolean hasValueBase64BinaryType() { + return this != null && this.value instanceof Base64BinaryType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public BooleanType getValueBooleanType() throws FHIRException { + if (this.value == null) + this.value = new BooleanType(); + if (!(this.value instanceof BooleanType)) + throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (BooleanType) this.value; + } + + public boolean hasValueBooleanType() { + return this != null && this.value instanceof BooleanType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public CanonicalType getValueCanonicalType() throws FHIRException { + if (this.value == null) + this.value = new CanonicalType(); + if (!(this.value instanceof CanonicalType)) + throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CanonicalType) this.value; + } + + public boolean hasValueCanonicalType() { + return this != null && this.value instanceof CanonicalType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public CodeType getValueCodeType() throws FHIRException { + if (this.value == null) + this.value = new CodeType(); + if (!(this.value instanceof CodeType)) + throw new FHIRException("Type mismatch: the type CodeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeType) this.value; + } + + public boolean hasValueCodeType() { + return this != null && this.value instanceof CodeType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public DateType getValueDateType() throws FHIRException { + if (this.value == null) + this.value = new DateType(); + if (!(this.value instanceof DateType)) + throw new FHIRException("Type mismatch: the type DateType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DateType) this.value; + } + + public boolean hasValueDateType() { + return this != null && this.value instanceof DateType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public DateTimeType getValueDateTimeType() throws FHIRException { + if (this.value == null) + this.value = new DateTimeType(); + if (!(this.value instanceof DateTimeType)) + throw new FHIRException("Type mismatch: the type DateTimeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DateTimeType) this.value; + } + + public boolean hasValueDateTimeType() { + return this != null && this.value instanceof DateTimeType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public DecimalType getValueDecimalType() throws FHIRException { + if (this.value == null) + this.value = new DecimalType(); + if (!(this.value instanceof DecimalType)) + throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DecimalType) this.value; + } + + public boolean hasValueDecimalType() { + return this != null && this.value instanceof DecimalType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public IdType getValueIdType() throws FHIRException { + if (this.value == null) + this.value = new IdType(); + if (!(this.value instanceof IdType)) + throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IdType) this.value; + } + + public boolean hasValueIdType() { + return this != null && this.value instanceof IdType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public InstantType getValueInstantType() throws FHIRException { + if (this.value == null) + this.value = new InstantType(); + if (!(this.value instanceof InstantType)) + throw new FHIRException("Type mismatch: the type InstantType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (InstantType) this.value; + } + + public boolean hasValueInstantType() { + return this != null && this.value instanceof InstantType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public IntegerType getValueIntegerType() throws FHIRException { + if (this.value == null) + this.value = new IntegerType(); + if (!(this.value instanceof IntegerType)) + throw new FHIRException("Type mismatch: the type IntegerType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IntegerType) this.value; + } + + public boolean hasValueIntegerType() { + return this != null && this.value instanceof IntegerType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Integer64Type getValueInteger64Type() throws FHIRException { + if (this.value == null) + this.value = new Integer64Type(); + if (!(this.value instanceof Integer64Type)) + throw new FHIRException("Type mismatch: the type Integer64Type was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Integer64Type) this.value; + } + + public boolean hasValueInteger64Type() { + return this != null && this.value instanceof Integer64Type; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public MarkdownType getValueMarkdownType() throws FHIRException { + if (this.value == null) + this.value = new MarkdownType(); + if (!(this.value instanceof MarkdownType)) + throw new FHIRException("Type mismatch: the type MarkdownType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (MarkdownType) this.value; + } + + public boolean hasValueMarkdownType() { + return this != null && this.value instanceof MarkdownType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public OidType getValueOidType() throws FHIRException { + if (this.value == null) + this.value = new OidType(); + if (!(this.value instanceof OidType)) + throw new FHIRException("Type mismatch: the type OidType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (OidType) this.value; + } + + public boolean hasValueOidType() { + return this != null && this.value instanceof OidType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public PositiveIntType getValuePositiveIntType() throws FHIRException { + if (this.value == null) + this.value = new PositiveIntType(); + if (!(this.value instanceof PositiveIntType)) + throw new FHIRException("Type mismatch: the type PositiveIntType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (PositiveIntType) this.value; + } + + public boolean hasValuePositiveIntType() { + return this != null && this.value instanceof PositiveIntType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public StringType getValueStringType() throws FHIRException { + if (this.value == null) + this.value = new StringType(); + if (!(this.value instanceof StringType)) + throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (StringType) this.value; + } + + public boolean hasValueStringType() { + return this != null && this.value instanceof StringType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public TimeType getValueTimeType() throws FHIRException { + if (this.value == null) + this.value = new TimeType(); + if (!(this.value instanceof TimeType)) + throw new FHIRException("Type mismatch: the type TimeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (TimeType) this.value; + } + + public boolean hasValueTimeType() { + return this != null && this.value instanceof TimeType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public UnsignedIntType getValueUnsignedIntType() throws FHIRException { + if (this.value == null) + this.value = new UnsignedIntType(); + if (!(this.value instanceof UnsignedIntType)) + throw new FHIRException("Type mismatch: the type UnsignedIntType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UnsignedIntType) this.value; + } + + public boolean hasValueUnsignedIntType() { + return this != null && this.value instanceof UnsignedIntType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public UriType getValueUriType() throws FHIRException { + if (this.value == null) + this.value = new UriType(); + if (!(this.value instanceof UriType)) + throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UriType) this.value; + } + + public boolean hasValueUriType() { + return this != null && this.value instanceof UriType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public UrlType getValueUrlType() throws FHIRException { + if (this.value == null) + this.value = new UrlType(); + if (!(this.value instanceof UrlType)) + throw new FHIRException("Type mismatch: the type UrlType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UrlType) this.value; + } + + public boolean hasValueUrlType() { + return this != null && this.value instanceof UrlType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public UuidType getValueUuidType() throws FHIRException { + if (this.value == null) + this.value = new UuidType(); + if (!(this.value instanceof UuidType)) + throw new FHIRException("Type mismatch: the type UuidType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UuidType) this.value; + } + + public boolean hasValueUuidType() { + return this != null && this.value instanceof UuidType; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Address getValueAddress() throws FHIRException { + if (this.value == null) + this.value = new Address(); + if (!(this.value instanceof Address)) + throw new FHIRException("Type mismatch: the type Address was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Address) this.value; + } + + public boolean hasValueAddress() { + return this != null && this.value instanceof Address; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Age getValueAge() throws FHIRException { + if (this.value == null) + this.value = new Age(); + if (!(this.value instanceof Age)) + throw new FHIRException("Type mismatch: the type Age was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Age) this.value; + } + + public boolean hasValueAge() { + return this != null && this.value instanceof Age; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Annotation getValueAnnotation() throws FHIRException { + if (this.value == null) + this.value = new Annotation(); + if (!(this.value instanceof Annotation)) + throw new FHIRException("Type mismatch: the type Annotation was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Annotation) this.value; + } + + public boolean hasValueAnnotation() { + return this != null && this.value instanceof Annotation; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Attachment getValueAttachment() throws FHIRException { + if (this.value == null) + this.value = new Attachment(); + if (!(this.value instanceof Attachment)) + throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Attachment) this.value; + } + + public boolean hasValueAttachment() { + return this != null && this.value instanceof Attachment; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public CodeableConcept getValueCodeableConcept() throws FHIRException { + if (this.value == null) + this.value = new CodeableConcept(); + if (!(this.value instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeableConcept) this.value; + } + + public boolean hasValueCodeableConcept() { + return this != null && this.value instanceof CodeableConcept; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public CodeableReference getValueCodeableReference() throws FHIRException { + if (this.value == null) + this.value = new CodeableReference(); + if (!(this.value instanceof CodeableReference)) + throw new FHIRException("Type mismatch: the type CodeableReference was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeableReference) this.value; + } + + public boolean hasValueCodeableReference() { + return this != null && this.value instanceof CodeableReference; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Coding getValueCoding() throws FHIRException { + if (this.value == null) + this.value = new Coding(); + if (!(this.value instanceof Coding)) + throw new FHIRException("Type mismatch: the type Coding was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Coding) this.value; + } + + public boolean hasValueCoding() { + return this != null && this.value instanceof Coding; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public ContactPoint getValueContactPoint() throws FHIRException { + if (this.value == null) + this.value = new ContactPoint(); + if (!(this.value instanceof ContactPoint)) + throw new FHIRException("Type mismatch: the type ContactPoint was expected, but "+this.value.getClass().getName()+" was encountered"); + return (ContactPoint) this.value; + } + + public boolean hasValueContactPoint() { + return this != null && this.value instanceof ContactPoint; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Count getValueCount() throws FHIRException { + if (this.value == null) + this.value = new Count(); + if (!(this.value instanceof Count)) + throw new FHIRException("Type mismatch: the type Count was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Count) this.value; + } + + public boolean hasValueCount() { + return this != null && this.value instanceof Count; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Distance getValueDistance() throws FHIRException { + if (this.value == null) + this.value = new Distance(); + if (!(this.value instanceof Distance)) + throw new FHIRException("Type mismatch: the type Distance was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Distance) this.value; + } + + public boolean hasValueDistance() { + return this != null && this.value instanceof Distance; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Duration getValueDuration() throws FHIRException { + if (this.value == null) + this.value = new Duration(); + if (!(this.value instanceof Duration)) + throw new FHIRException("Type mismatch: the type Duration was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Duration) this.value; + } + + public boolean hasValueDuration() { + return this != null && this.value instanceof Duration; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public HumanName getValueHumanName() throws FHIRException { + if (this.value == null) + this.value = new HumanName(); + if (!(this.value instanceof HumanName)) + throw new FHIRException("Type mismatch: the type HumanName was expected, but "+this.value.getClass().getName()+" was encountered"); + return (HumanName) this.value; + } + + public boolean hasValueHumanName() { + return this != null && this.value instanceof HumanName; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Identifier getValueIdentifier() throws FHIRException { + if (this.value == null) + this.value = new Identifier(); + if (!(this.value instanceof Identifier)) + throw new FHIRException("Type mismatch: the type Identifier was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Identifier) this.value; + } + + public boolean hasValueIdentifier() { + return this != null && this.value instanceof Identifier; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Money getValueMoney() throws FHIRException { + if (this.value == null) + this.value = new Money(); + if (!(this.value instanceof Money)) + throw new FHIRException("Type mismatch: the type Money was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Money) this.value; + } + + public boolean hasValueMoney() { + return this != null && this.value instanceof Money; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Period getValuePeriod() throws FHIRException { + if (this.value == null) + this.value = new Period(); + if (!(this.value instanceof Period)) + throw new FHIRException("Type mismatch: the type Period was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Period) this.value; + } + + public boolean hasValuePeriod() { + return this != null && this.value instanceof Period; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Quantity getValueQuantity() throws FHIRException { + if (this.value == null) + this.value = new Quantity(); + if (!(this.value instanceof Quantity)) + throw new FHIRException("Type mismatch: the type Quantity was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Quantity) this.value; + } + + public boolean hasValueQuantity() { + return this != null && this.value instanceof Quantity; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Range getValueRange() throws FHIRException { + if (this.value == null) + this.value = new Range(); + if (!(this.value instanceof Range)) + throw new FHIRException("Type mismatch: the type Range was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Range) this.value; + } + + public boolean hasValueRange() { + return this != null && this.value instanceof Range; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Ratio getValueRatio() throws FHIRException { + if (this.value == null) + this.value = new Ratio(); + if (!(this.value instanceof Ratio)) + throw new FHIRException("Type mismatch: the type Ratio was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Ratio) this.value; + } + + public boolean hasValueRatio() { + return this != null && this.value instanceof Ratio; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public RatioRange getValueRatioRange() throws FHIRException { + if (this.value == null) + this.value = new RatioRange(); + if (!(this.value instanceof RatioRange)) + throw new FHIRException("Type mismatch: the type RatioRange was expected, but "+this.value.getClass().getName()+" was encountered"); + return (RatioRange) this.value; + } + + public boolean hasValueRatioRange() { + return this != null && this.value instanceof RatioRange; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Reference getValueReference() throws FHIRException { + if (this.value == null) + this.value = new Reference(); + if (!(this.value instanceof Reference)) + throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Reference) this.value; + } + + public boolean hasValueReference() { + return this != null && this.value instanceof Reference; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public SampledData getValueSampledData() throws FHIRException { + if (this.value == null) + this.value = new SampledData(); + if (!(this.value instanceof SampledData)) + throw new FHIRException("Type mismatch: the type SampledData was expected, but "+this.value.getClass().getName()+" was encountered"); + return (SampledData) this.value; + } + + public boolean hasValueSampledData() { + return this != null && this.value instanceof SampledData; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Signature getValueSignature() throws FHIRException { + if (this.value == null) + this.value = new Signature(); + if (!(this.value instanceof Signature)) + throw new FHIRException("Type mismatch: the type Signature was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Signature) this.value; + } + + public boolean hasValueSignature() { + return this != null && this.value instanceof Signature; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Timing getValueTiming() throws FHIRException { + if (this.value == null) + this.value = new Timing(); + if (!(this.value instanceof Timing)) + throw new FHIRException("Type mismatch: the type Timing was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Timing) this.value; + } + + public boolean hasValueTiming() { + return this != null && this.value instanceof Timing; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public ContactDetail getValueContactDetail() throws FHIRException { + if (this.value == null) + this.value = new ContactDetail(); + if (!(this.value instanceof ContactDetail)) + throw new FHIRException("Type mismatch: the type ContactDetail was expected, but "+this.value.getClass().getName()+" was encountered"); + return (ContactDetail) this.value; + } + + public boolean hasValueContactDetail() { + return this != null && this.value instanceof ContactDetail; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Contributor getValueContributor() throws FHIRException { + if (this.value == null) + this.value = new Contributor(); + if (!(this.value instanceof Contributor)) + throw new FHIRException("Type mismatch: the type Contributor was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Contributor) this.value; + } + + public boolean hasValueContributor() { + return this != null && this.value instanceof Contributor; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public DataRequirement getValueDataRequirement() throws FHIRException { + if (this.value == null) + this.value = new DataRequirement(); + if (!(this.value instanceof DataRequirement)) + throw new FHIRException("Type mismatch: the type DataRequirement was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DataRequirement) this.value; + } + + public boolean hasValueDataRequirement() { + return this != null && this.value instanceof DataRequirement; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Expression getValueExpression() throws FHIRException { + if (this.value == null) + this.value = new Expression(); + if (!(this.value instanceof Expression)) + throw new FHIRException("Type mismatch: the type Expression was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Expression) this.value; + } + + public boolean hasValueExpression() { + return this != null && this.value instanceof Expression; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public ParameterDefinition getValueParameterDefinition() throws FHIRException { + if (this.value == null) + this.value = new ParameterDefinition(); + if (!(this.value instanceof ParameterDefinition)) + throw new FHIRException("Type mismatch: the type ParameterDefinition was expected, but "+this.value.getClass().getName()+" was encountered"); + return (ParameterDefinition) this.value; + } + + public boolean hasValueParameterDefinition() { + return this != null && this.value instanceof ParameterDefinition; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public RelatedArtifact getValueRelatedArtifact() throws FHIRException { + if (this.value == null) + this.value = new RelatedArtifact(); + if (!(this.value instanceof RelatedArtifact)) + throw new FHIRException("Type mismatch: the type RelatedArtifact was expected, but "+this.value.getClass().getName()+" was encountered"); + return (RelatedArtifact) this.value; + } + + public boolean hasValueRelatedArtifact() { + return this != null && this.value instanceof RelatedArtifact; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public TriggerDefinition getValueTriggerDefinition() throws FHIRException { + if (this.value == null) + this.value = new TriggerDefinition(); + if (!(this.value instanceof TriggerDefinition)) + throw new FHIRException("Type mismatch: the type TriggerDefinition was expected, but "+this.value.getClass().getName()+" was encountered"); + return (TriggerDefinition) this.value; + } + + public boolean hasValueTriggerDefinition() { + return this != null && this.value instanceof TriggerDefinition; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public UsageContext getValueUsageContext() throws FHIRException { + if (this.value == null) + this.value = new UsageContext(); + if (!(this.value instanceof UsageContext)) + throw new FHIRException("Type mismatch: the type UsageContext was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UsageContext) this.value; + } + + public boolean hasValueUsageContext() { + return this != null && this.value instanceof UsageContext; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Dosage getValueDosage() throws FHIRException { + if (this.value == null) + this.value = new Dosage(); + if (!(this.value instanceof Dosage)) + throw new FHIRException("Type mismatch: the type Dosage was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Dosage) this.value; + } + + public boolean hasValueDosage() { + return this != null && this.value instanceof Dosage; + } + + /** + * @return {@link #value} (The value of the input parameter as a basic type.) + */ + public Meta getValueMeta() throws FHIRException { + if (this.value == null) + this.value = new Meta(); + if (!(this.value instanceof Meta)) + throw new FHIRException("Type mismatch: the type Meta was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Meta) this.value; + } + + public boolean hasValueMeta() { + return this != null && this.value instanceof Meta; + } + + public boolean hasValue() { + return this.value != null && !this.value.isEmpty(); + } + + /** + * @param value {@link #value} (The value of the input parameter as a basic type.) + */ + public ParameterComponent setValue(DataType value) { + if (value != null && !(value instanceof Base64BinaryType || value instanceof BooleanType || value instanceof CanonicalType || value instanceof CodeType || value instanceof DateType || value instanceof DateTimeType || value instanceof DecimalType || value instanceof IdType || value instanceof InstantType || value instanceof IntegerType || value instanceof Integer64Type || value instanceof MarkdownType || value instanceof OidType || value instanceof PositiveIntType || value instanceof StringType || value instanceof TimeType || value instanceof UnsignedIntType || value instanceof UriType || value instanceof UrlType || value instanceof UuidType || value instanceof Address || value instanceof Age || value instanceof Annotation || value instanceof Attachment || value instanceof CodeableConcept || value instanceof CodeableReference || value instanceof Coding || value instanceof ContactPoint || value instanceof Count || value instanceof Distance || value instanceof Duration || value instanceof HumanName || value instanceof Identifier || value instanceof Money || value instanceof Period || value instanceof Quantity || value instanceof Range || value instanceof Ratio || value instanceof RatioRange || value instanceof Reference || value instanceof SampledData || value instanceof Signature || value instanceof Timing || value instanceof ContactDetail || value instanceof Contributor || value instanceof DataRequirement || value instanceof Expression || value instanceof ParameterDefinition || value instanceof RelatedArtifact || value instanceof TriggerDefinition || value instanceof UsageContext || value instanceof Dosage || value instanceof Meta)) + throw new Error("Not the right type for Transport.input.value[x]: "+value.fhirType()); + this.value = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("type", "CodeableConcept", "A code or description indicating how the input is intended to be used as part of the transport execution.", 0, 1, type)); + children.add(new Property("value[x]", "base64Binary|boolean|canonical|code|date|dateTime|decimal|id|instant|integer|integer64|markdown|oid|positiveInt|string|time|unsignedInt|uri|url|uuid|Address|Age|Annotation|Attachment|CodeableConcept|CodeableReference|Coding|ContactPoint|Count|Distance|Duration|HumanName|Identifier|Money|Period|Quantity|Range|Ratio|RatioRange|Reference|SampledData|Signature|Timing|ContactDetail|Contributor|DataRequirement|Expression|ParameterDefinition|RelatedArtifact|TriggerDefinition|UsageContext|Dosage|Meta", "The value of the input parameter as a basic type.", 0, 1, value)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code or description indicating how the input is intended to be used as part of the transport execution.", 0, 1, type); + case -1410166417: /*value[x]*/ return new Property("value[x]", "base64Binary|boolean|canonical|code|date|dateTime|decimal|id|instant|integer|integer64|markdown|oid|positiveInt|string|time|unsignedInt|uri|url|uuid|Address|Age|Annotation|Attachment|CodeableConcept|CodeableReference|Coding|ContactPoint|Count|Distance|Duration|HumanName|Identifier|Money|Period|Quantity|Range|Ratio|RatioRange|Reference|SampledData|Signature|Timing|ContactDetail|Contributor|DataRequirement|Expression|ParameterDefinition|RelatedArtifact|TriggerDefinition|UsageContext|Dosage|Meta", "The value of the input parameter as a basic type.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "base64Binary|boolean|canonical|code|date|dateTime|decimal|id|instant|integer|integer64|markdown|oid|positiveInt|string|time|unsignedInt|uri|url|uuid|Address|Age|Annotation|Attachment|CodeableConcept|CodeableReference|Coding|ContactPoint|Count|Distance|Duration|HumanName|Identifier|Money|Period|Quantity|Range|Ratio|RatioRange|Reference|SampledData|Signature|Timing|ContactDetail|Contributor|DataRequirement|Expression|ParameterDefinition|RelatedArtifact|TriggerDefinition|UsageContext|Dosage|Meta", "The value of the input parameter as a basic type.", 0, 1, value); + case -1535024575: /*valueBase64Binary*/ return new Property("value[x]", "base64Binary", "The value of the input parameter as a basic type.", 0, 1, value); + case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "The value of the input parameter as a basic type.", 0, 1, value); + case -786218365: /*valueCanonical*/ return new Property("value[x]", "canonical", "The value of the input parameter as a basic type.", 0, 1, value); + case -766209282: /*valueCode*/ return new Property("value[x]", "code", "The value of the input parameter as a basic type.", 0, 1, value); + case -766192449: /*valueDate*/ return new Property("value[x]", "date", "The value of the input parameter as a basic type.", 0, 1, value); + case 1047929900: /*valueDateTime*/ return new Property("value[x]", "dateTime", "The value of the input parameter as a basic type.", 0, 1, value); + case -2083993440: /*valueDecimal*/ return new Property("value[x]", "decimal", "The value of the input parameter as a basic type.", 0, 1, value); + case 231604844: /*valueId*/ return new Property("value[x]", "id", "The value of the input parameter as a basic type.", 0, 1, value); + case -1668687056: /*valueInstant*/ return new Property("value[x]", "instant", "The value of the input parameter as a basic type.", 0, 1, value); + case -1668204915: /*valueInteger*/ return new Property("value[x]", "integer", "The value of the input parameter as a basic type.", 0, 1, value); + case -1122120181: /*valueInteger64*/ return new Property("value[x]", "integer64", "The value of the input parameter as a basic type.", 0, 1, value); + case -497880704: /*valueMarkdown*/ return new Property("value[x]", "markdown", "The value of the input parameter as a basic type.", 0, 1, value); + case -1410178407: /*valueOid*/ return new Property("value[x]", "oid", "The value of the input parameter as a basic type.", 0, 1, value); + case -1249932027: /*valuePositiveInt*/ return new Property("value[x]", "positiveInt", "The value of the input parameter as a basic type.", 0, 1, value); + case -1424603934: /*valueString*/ return new Property("value[x]", "string", "The value of the input parameter as a basic type.", 0, 1, value); + case -765708322: /*valueTime*/ return new Property("value[x]", "time", "The value of the input parameter as a basic type.", 0, 1, value); + case 26529417: /*valueUnsignedInt*/ return new Property("value[x]", "unsignedInt", "The value of the input parameter as a basic type.", 0, 1, value); + case -1410172357: /*valueUri*/ return new Property("value[x]", "uri", "The value of the input parameter as a basic type.", 0, 1, value); + case -1410172354: /*valueUrl*/ return new Property("value[x]", "url", "The value of the input parameter as a basic type.", 0, 1, value); + case -765667124: /*valueUuid*/ return new Property("value[x]", "uuid", "The value of the input parameter as a basic type.", 0, 1, value); + case -478981821: /*valueAddress*/ return new Property("value[x]", "Address", "The value of the input parameter as a basic type.", 0, 1, value); + case -1410191922: /*valueAge*/ return new Property("value[x]", "Age", "The value of the input parameter as a basic type.", 0, 1, value); + case -67108992: /*valueAnnotation*/ return new Property("value[x]", "Annotation", "The value of the input parameter as a basic type.", 0, 1, value); + case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "The value of the input parameter as a basic type.", 0, 1, value); + case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "The value of the input parameter as a basic type.", 0, 1, value); + case -257955629: /*valueCodeableReference*/ return new Property("value[x]", "CodeableReference", "The value of the input parameter as a basic type.", 0, 1, value); + case -1887705029: /*valueCoding*/ return new Property("value[x]", "Coding", "The value of the input parameter as a basic type.", 0, 1, value); + case 944904545: /*valueContactPoint*/ return new Property("value[x]", "ContactPoint", "The value of the input parameter as a basic type.", 0, 1, value); + case 2017332766: /*valueCount*/ return new Property("value[x]", "Count", "The value of the input parameter as a basic type.", 0, 1, value); + case -456359802: /*valueDistance*/ return new Property("value[x]", "Distance", "The value of the input parameter as a basic type.", 0, 1, value); + case 1558135333: /*valueDuration*/ return new Property("value[x]", "Duration", "The value of the input parameter as a basic type.", 0, 1, value); + case -2026205465: /*valueHumanName*/ return new Property("value[x]", "HumanName", "The value of the input parameter as a basic type.", 0, 1, value); + case -130498310: /*valueIdentifier*/ return new Property("value[x]", "Identifier", "The value of the input parameter as a basic type.", 0, 1, value); + case 2026560975: /*valueMoney*/ return new Property("value[x]", "Money", "The value of the input parameter as a basic type.", 0, 1, value); + case -1524344174: /*valuePeriod*/ return new Property("value[x]", "Period", "The value of the input parameter as a basic type.", 0, 1, value); + case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "The value of the input parameter as a basic type.", 0, 1, value); + case 2030761548: /*valueRange*/ return new Property("value[x]", "Range", "The value of the input parameter as a basic type.", 0, 1, value); + case 2030767386: /*valueRatio*/ return new Property("value[x]", "Ratio", "The value of the input parameter as a basic type.", 0, 1, value); + case -706454461: /*valueRatioRange*/ return new Property("value[x]", "RatioRange", "The value of the input parameter as a basic type.", 0, 1, value); + case 1755241690: /*valueReference*/ return new Property("value[x]", "Reference", "The value of the input parameter as a basic type.", 0, 1, value); + case -962229101: /*valueSampledData*/ return new Property("value[x]", "SampledData", "The value of the input parameter as a basic type.", 0, 1, value); + case -540985785: /*valueSignature*/ return new Property("value[x]", "Signature", "The value of the input parameter as a basic type.", 0, 1, value); + case -1406282469: /*valueTiming*/ return new Property("value[x]", "Timing", "The value of the input parameter as a basic type.", 0, 1, value); + case -1125200224: /*valueContactDetail*/ return new Property("value[x]", "ContactDetail", "The value of the input parameter as a basic type.", 0, 1, value); + case 1281021610: /*valueContributor*/ return new Property("value[x]", "Contributor", "The value of the input parameter as a basic type.", 0, 1, value); + case 1710554248: /*valueDataRequirement*/ return new Property("value[x]", "DataRequirement", "The value of the input parameter as a basic type.", 0, 1, value); + case -307517719: /*valueExpression*/ return new Property("value[x]", "Expression", "The value of the input parameter as a basic type.", 0, 1, value); + case 1387478187: /*valueParameterDefinition*/ return new Property("value[x]", "ParameterDefinition", "The value of the input parameter as a basic type.", 0, 1, value); + case 1748214124: /*valueRelatedArtifact*/ return new Property("value[x]", "RelatedArtifact", "The value of the input parameter as a basic type.", 0, 1, value); + case 976830394: /*valueTriggerDefinition*/ return new Property("value[x]", "TriggerDefinition", "The value of the input parameter as a basic type.", 0, 1, value); + case 588000479: /*valueUsageContext*/ return new Property("value[x]", "UsageContext", "The value of the input parameter as a basic type.", 0, 1, value); + case -1858636920: /*valueDosage*/ return new Property("value[x]", "Dosage", "The value of the input parameter as a basic type.", 0, 1, value); + case -765920490: /*valueMeta*/ return new Property("value[x]", "Meta", "The value of the input parameter as a basic type.", 0, 1, value); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept + case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3575610: // type + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 111972721: // value + this.value = TypeConvertor.castToType(value); // DataType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("type")) { + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("value[x]")) { + this.value = TypeConvertor.castToType(value); // DataType + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: return getType(); + case -1410166417: return getValue(); + case 111972721: return getValue(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return new String[] {"CodeableConcept"}; + case 111972721: /*value*/ return new String[] {"base64Binary", "boolean", "canonical", "code", "date", "dateTime", "decimal", "id", "instant", "integer", "integer64", "markdown", "oid", "positiveInt", "string", "time", "unsignedInt", "uri", "url", "uuid", "Address", "Age", "Annotation", "Attachment", "CodeableConcept", "CodeableReference", "Coding", "ContactPoint", "Count", "Distance", "Duration", "HumanName", "Identifier", "Money", "Period", "Quantity", "Range", "Ratio", "RatioRange", "Reference", "SampledData", "Signature", "Timing", "ContactDetail", "Contributor", "DataRequirement", "Expression", "ParameterDefinition", "RelatedArtifact", "TriggerDefinition", "UsageContext", "Dosage", "Meta"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("type")) { + this.type = new CodeableConcept(); + return this.type; + } + else if (name.equals("valueBase64Binary")) { + this.value = new Base64BinaryType(); + return this.value; + } + else if (name.equals("valueBoolean")) { + this.value = new BooleanType(); + return this.value; + } + else if (name.equals("valueCanonical")) { + this.value = new CanonicalType(); + return this.value; + } + else if (name.equals("valueCode")) { + this.value = new CodeType(); + return this.value; + } + else if (name.equals("valueDate")) { + this.value = new DateType(); + return this.value; + } + else if (name.equals("valueDateTime")) { + this.value = new DateTimeType(); + return this.value; + } + else if (name.equals("valueDecimal")) { + this.value = new DecimalType(); + return this.value; + } + else if (name.equals("valueId")) { + this.value = new IdType(); + return this.value; + } + else if (name.equals("valueInstant")) { + this.value = new InstantType(); + return this.value; + } + else if (name.equals("valueInteger")) { + this.value = new IntegerType(); + return this.value; + } + else if (name.equals("valueInteger64")) { + this.value = new Integer64Type(); + return this.value; + } + else if (name.equals("valueMarkdown")) { + this.value = new MarkdownType(); + return this.value; + } + else if (name.equals("valueOid")) { + this.value = new OidType(); + return this.value; + } + else if (name.equals("valuePositiveInt")) { + this.value = new PositiveIntType(); + return this.value; + } + else if (name.equals("valueString")) { + this.value = new StringType(); + return this.value; + } + else if (name.equals("valueTime")) { + this.value = new TimeType(); + return this.value; + } + else if (name.equals("valueUnsignedInt")) { + this.value = new UnsignedIntType(); + return this.value; + } + else if (name.equals("valueUri")) { + this.value = new UriType(); + return this.value; + } + else if (name.equals("valueUrl")) { + this.value = new UrlType(); + return this.value; + } + else if (name.equals("valueUuid")) { + this.value = new UuidType(); + return this.value; + } + else if (name.equals("valueAddress")) { + this.value = new Address(); + return this.value; + } + else if (name.equals("valueAge")) { + this.value = new Age(); + return this.value; + } + else if (name.equals("valueAnnotation")) { + this.value = new Annotation(); + return this.value; + } + else if (name.equals("valueAttachment")) { + this.value = new Attachment(); + return this.value; + } + else if (name.equals("valueCodeableConcept")) { + this.value = new CodeableConcept(); + return this.value; + } + else if (name.equals("valueCodeableReference")) { + this.value = new CodeableReference(); + return this.value; + } + else if (name.equals("valueCoding")) { + this.value = new Coding(); + return this.value; + } + else if (name.equals("valueContactPoint")) { + this.value = new ContactPoint(); + return this.value; + } + else if (name.equals("valueCount")) { + this.value = new Count(); + return this.value; + } + else if (name.equals("valueDistance")) { + this.value = new Distance(); + return this.value; + } + else if (name.equals("valueDuration")) { + this.value = new Duration(); + return this.value; + } + else if (name.equals("valueHumanName")) { + this.value = new HumanName(); + return this.value; + } + else if (name.equals("valueIdentifier")) { + this.value = new Identifier(); + return this.value; + } + else if (name.equals("valueMoney")) { + this.value = new Money(); + return this.value; + } + else if (name.equals("valuePeriod")) { + this.value = new Period(); + return this.value; + } + else if (name.equals("valueQuantity")) { + this.value = new Quantity(); + return this.value; + } + else if (name.equals("valueRange")) { + this.value = new Range(); + return this.value; + } + else if (name.equals("valueRatio")) { + this.value = new Ratio(); + return this.value; + } + else if (name.equals("valueRatioRange")) { + this.value = new RatioRange(); + return this.value; + } + else if (name.equals("valueReference")) { + this.value = new Reference(); + return this.value; + } + else if (name.equals("valueSampledData")) { + this.value = new SampledData(); + return this.value; + } + else if (name.equals("valueSignature")) { + this.value = new Signature(); + return this.value; + } + else if (name.equals("valueTiming")) { + this.value = new Timing(); + return this.value; + } + else if (name.equals("valueContactDetail")) { + this.value = new ContactDetail(); + return this.value; + } + else if (name.equals("valueContributor")) { + this.value = new Contributor(); + return this.value; + } + else if (name.equals("valueDataRequirement")) { + this.value = new DataRequirement(); + return this.value; + } + else if (name.equals("valueExpression")) { + this.value = new Expression(); + return this.value; + } + else if (name.equals("valueParameterDefinition")) { + this.value = new ParameterDefinition(); + return this.value; + } + else if (name.equals("valueRelatedArtifact")) { + this.value = new RelatedArtifact(); + return this.value; + } + else if (name.equals("valueTriggerDefinition")) { + this.value = new TriggerDefinition(); + return this.value; + } + else if (name.equals("valueUsageContext")) { + this.value = new UsageContext(); + return this.value; + } + else if (name.equals("valueDosage")) { + this.value = new Dosage(); + return this.value; + } + else if (name.equals("valueMeta")) { + this.value = new Meta(); + return this.value; + } + else + return super.addChild(name); + } + + public ParameterComponent copy() { + ParameterComponent dst = new ParameterComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(ParameterComponent dst) { + super.copyValues(dst); + dst.type = type == null ? null : type.copy(); + dst.value = value == null ? null : value.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof ParameterComponent)) + return false; + ParameterComponent o = (ParameterComponent) other_; + return compareDeep(type, o.type, true) && compareDeep(value, o.value, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof ParameterComponent)) + return false; + ParameterComponent o = (ParameterComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, value); + } + + public String fhirType() { + return "Transport.input"; + + } + + } + + @Block() + public static class TransportOutputComponent extends BackboneElement implements IBaseBackboneElement { + /** + * The name of the Output parameter. + */ + @Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Label for output", formalDefinition="The name of the Output parameter." ) + protected CodeableConcept type; + + /** + * The value of the Output parameter as a basic type. + */ + @Child(name = "value", type = {Base64BinaryType.class, BooleanType.class, CanonicalType.class, CodeType.class, DateType.class, DateTimeType.class, DecimalType.class, IdType.class, InstantType.class, IntegerType.class, Integer64Type.class, MarkdownType.class, OidType.class, PositiveIntType.class, StringType.class, TimeType.class, UnsignedIntType.class, UriType.class, UrlType.class, UuidType.class, Address.class, Age.class, Annotation.class, Attachment.class, CodeableConcept.class, CodeableReference.class, Coding.class, ContactPoint.class, Count.class, Distance.class, Duration.class, HumanName.class, Identifier.class, Money.class, Period.class, Quantity.class, Range.class, Ratio.class, RatioRange.class, Reference.class, SampledData.class, Signature.class, Timing.class, ContactDetail.class, Contributor.class, DataRequirement.class, Expression.class, ParameterDefinition.class, RelatedArtifact.class, TriggerDefinition.class, UsageContext.class, Dosage.class, Meta.class}, order=2, min=1, max=1, modifier=false, summary=false) + @Description(shortDefinition="Result of output", formalDefinition="The value of the Output parameter as a basic type." ) + protected DataType value; + + private static final long serialVersionUID = -1659186716L; + + /** + * Constructor + */ + public TransportOutputComponent() { + super(); + } + + /** + * Constructor + */ + public TransportOutputComponent(CodeableConcept type, DataType value) { + super(); + this.setType(type); + this.setValue(value); + } + + /** + * @return {@link #type} (The name of the Output parameter.) + */ + public CodeableConcept getType() { + if (this.type == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create TransportOutputComponent.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} (The name of the Output parameter.) + */ + public TransportOutputComponent setType(CodeableConcept value) { + this.type = value; + return this; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public DataType getValue() { + return this.value; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Base64BinaryType getValueBase64BinaryType() throws FHIRException { + if (this.value == null) + this.value = new Base64BinaryType(); + if (!(this.value instanceof Base64BinaryType)) + throw new FHIRException("Type mismatch: the type Base64BinaryType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Base64BinaryType) this.value; + } + + public boolean hasValueBase64BinaryType() { + return this != null && this.value instanceof Base64BinaryType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public BooleanType getValueBooleanType() throws FHIRException { + if (this.value == null) + this.value = new BooleanType(); + if (!(this.value instanceof BooleanType)) + throw new FHIRException("Type mismatch: the type BooleanType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (BooleanType) this.value; + } + + public boolean hasValueBooleanType() { + return this != null && this.value instanceof BooleanType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public CanonicalType getValueCanonicalType() throws FHIRException { + if (this.value == null) + this.value = new CanonicalType(); + if (!(this.value instanceof CanonicalType)) + throw new FHIRException("Type mismatch: the type CanonicalType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CanonicalType) this.value; + } + + public boolean hasValueCanonicalType() { + return this != null && this.value instanceof CanonicalType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public CodeType getValueCodeType() throws FHIRException { + if (this.value == null) + this.value = new CodeType(); + if (!(this.value instanceof CodeType)) + throw new FHIRException("Type mismatch: the type CodeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeType) this.value; + } + + public boolean hasValueCodeType() { + return this != null && this.value instanceof CodeType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public DateType getValueDateType() throws FHIRException { + if (this.value == null) + this.value = new DateType(); + if (!(this.value instanceof DateType)) + throw new FHIRException("Type mismatch: the type DateType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DateType) this.value; + } + + public boolean hasValueDateType() { + return this != null && this.value instanceof DateType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public DateTimeType getValueDateTimeType() throws FHIRException { + if (this.value == null) + this.value = new DateTimeType(); + if (!(this.value instanceof DateTimeType)) + throw new FHIRException("Type mismatch: the type DateTimeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DateTimeType) this.value; + } + + public boolean hasValueDateTimeType() { + return this != null && this.value instanceof DateTimeType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public DecimalType getValueDecimalType() throws FHIRException { + if (this.value == null) + this.value = new DecimalType(); + if (!(this.value instanceof DecimalType)) + throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DecimalType) this.value; + } + + public boolean hasValueDecimalType() { + return this != null && this.value instanceof DecimalType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public IdType getValueIdType() throws FHIRException { + if (this.value == null) + this.value = new IdType(); + if (!(this.value instanceof IdType)) + throw new FHIRException("Type mismatch: the type IdType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IdType) this.value; + } + + public boolean hasValueIdType() { + return this != null && this.value instanceof IdType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public InstantType getValueInstantType() throws FHIRException { + if (this.value == null) + this.value = new InstantType(); + if (!(this.value instanceof InstantType)) + throw new FHIRException("Type mismatch: the type InstantType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (InstantType) this.value; + } + + public boolean hasValueInstantType() { + return this != null && this.value instanceof InstantType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public IntegerType getValueIntegerType() throws FHIRException { + if (this.value == null) + this.value = new IntegerType(); + if (!(this.value instanceof IntegerType)) + throw new FHIRException("Type mismatch: the type IntegerType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (IntegerType) this.value; + } + + public boolean hasValueIntegerType() { + return this != null && this.value instanceof IntegerType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Integer64Type getValueInteger64Type() throws FHIRException { + if (this.value == null) + this.value = new Integer64Type(); + if (!(this.value instanceof Integer64Type)) + throw new FHIRException("Type mismatch: the type Integer64Type was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Integer64Type) this.value; + } + + public boolean hasValueInteger64Type() { + return this != null && this.value instanceof Integer64Type; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public MarkdownType getValueMarkdownType() throws FHIRException { + if (this.value == null) + this.value = new MarkdownType(); + if (!(this.value instanceof MarkdownType)) + throw new FHIRException("Type mismatch: the type MarkdownType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (MarkdownType) this.value; + } + + public boolean hasValueMarkdownType() { + return this != null && this.value instanceof MarkdownType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public OidType getValueOidType() throws FHIRException { + if (this.value == null) + this.value = new OidType(); + if (!(this.value instanceof OidType)) + throw new FHIRException("Type mismatch: the type OidType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (OidType) this.value; + } + + public boolean hasValueOidType() { + return this != null && this.value instanceof OidType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public PositiveIntType getValuePositiveIntType() throws FHIRException { + if (this.value == null) + this.value = new PositiveIntType(); + if (!(this.value instanceof PositiveIntType)) + throw new FHIRException("Type mismatch: the type PositiveIntType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (PositiveIntType) this.value; + } + + public boolean hasValuePositiveIntType() { + return this != null && this.value instanceof PositiveIntType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public StringType getValueStringType() throws FHIRException { + if (this.value == null) + this.value = new StringType(); + if (!(this.value instanceof StringType)) + throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (StringType) this.value; + } + + public boolean hasValueStringType() { + return this != null && this.value instanceof StringType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public TimeType getValueTimeType() throws FHIRException { + if (this.value == null) + this.value = new TimeType(); + if (!(this.value instanceof TimeType)) + throw new FHIRException("Type mismatch: the type TimeType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (TimeType) this.value; + } + + public boolean hasValueTimeType() { + return this != null && this.value instanceof TimeType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public UnsignedIntType getValueUnsignedIntType() throws FHIRException { + if (this.value == null) + this.value = new UnsignedIntType(); + if (!(this.value instanceof UnsignedIntType)) + throw new FHIRException("Type mismatch: the type UnsignedIntType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UnsignedIntType) this.value; + } + + public boolean hasValueUnsignedIntType() { + return this != null && this.value instanceof UnsignedIntType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public UriType getValueUriType() throws FHIRException { + if (this.value == null) + this.value = new UriType(); + if (!(this.value instanceof UriType)) + throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UriType) this.value; + } + + public boolean hasValueUriType() { + return this != null && this.value instanceof UriType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public UrlType getValueUrlType() throws FHIRException { + if (this.value == null) + this.value = new UrlType(); + if (!(this.value instanceof UrlType)) + throw new FHIRException("Type mismatch: the type UrlType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UrlType) this.value; + } + + public boolean hasValueUrlType() { + return this != null && this.value instanceof UrlType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public UuidType getValueUuidType() throws FHIRException { + if (this.value == null) + this.value = new UuidType(); + if (!(this.value instanceof UuidType)) + throw new FHIRException("Type mismatch: the type UuidType was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UuidType) this.value; + } + + public boolean hasValueUuidType() { + return this != null && this.value instanceof UuidType; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Address getValueAddress() throws FHIRException { + if (this.value == null) + this.value = new Address(); + if (!(this.value instanceof Address)) + throw new FHIRException("Type mismatch: the type Address was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Address) this.value; + } + + public boolean hasValueAddress() { + return this != null && this.value instanceof Address; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Age getValueAge() throws FHIRException { + if (this.value == null) + this.value = new Age(); + if (!(this.value instanceof Age)) + throw new FHIRException("Type mismatch: the type Age was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Age) this.value; + } + + public boolean hasValueAge() { + return this != null && this.value instanceof Age; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Annotation getValueAnnotation() throws FHIRException { + if (this.value == null) + this.value = new Annotation(); + if (!(this.value instanceof Annotation)) + throw new FHIRException("Type mismatch: the type Annotation was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Annotation) this.value; + } + + public boolean hasValueAnnotation() { + return this != null && this.value instanceof Annotation; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Attachment getValueAttachment() throws FHIRException { + if (this.value == null) + this.value = new Attachment(); + if (!(this.value instanceof Attachment)) + throw new FHIRException("Type mismatch: the type Attachment was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Attachment) this.value; + } + + public boolean hasValueAttachment() { + return this != null && this.value instanceof Attachment; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public CodeableConcept getValueCodeableConcept() throws FHIRException { + if (this.value == null) + this.value = new CodeableConcept(); + if (!(this.value instanceof CodeableConcept)) + throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeableConcept) this.value; + } + + public boolean hasValueCodeableConcept() { + return this != null && this.value instanceof CodeableConcept; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public CodeableReference getValueCodeableReference() throws FHIRException { + if (this.value == null) + this.value = new CodeableReference(); + if (!(this.value instanceof CodeableReference)) + throw new FHIRException("Type mismatch: the type CodeableReference was expected, but "+this.value.getClass().getName()+" was encountered"); + return (CodeableReference) this.value; + } + + public boolean hasValueCodeableReference() { + return this != null && this.value instanceof CodeableReference; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Coding getValueCoding() throws FHIRException { + if (this.value == null) + this.value = new Coding(); + if (!(this.value instanceof Coding)) + throw new FHIRException("Type mismatch: the type Coding was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Coding) this.value; + } + + public boolean hasValueCoding() { + return this != null && this.value instanceof Coding; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public ContactPoint getValueContactPoint() throws FHIRException { + if (this.value == null) + this.value = new ContactPoint(); + if (!(this.value instanceof ContactPoint)) + throw new FHIRException("Type mismatch: the type ContactPoint was expected, but "+this.value.getClass().getName()+" was encountered"); + return (ContactPoint) this.value; + } + + public boolean hasValueContactPoint() { + return this != null && this.value instanceof ContactPoint; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Count getValueCount() throws FHIRException { + if (this.value == null) + this.value = new Count(); + if (!(this.value instanceof Count)) + throw new FHIRException("Type mismatch: the type Count was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Count) this.value; + } + + public boolean hasValueCount() { + return this != null && this.value instanceof Count; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Distance getValueDistance() throws FHIRException { + if (this.value == null) + this.value = new Distance(); + if (!(this.value instanceof Distance)) + throw new FHIRException("Type mismatch: the type Distance was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Distance) this.value; + } + + public boolean hasValueDistance() { + return this != null && this.value instanceof Distance; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Duration getValueDuration() throws FHIRException { + if (this.value == null) + this.value = new Duration(); + if (!(this.value instanceof Duration)) + throw new FHIRException("Type mismatch: the type Duration was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Duration) this.value; + } + + public boolean hasValueDuration() { + return this != null && this.value instanceof Duration; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public HumanName getValueHumanName() throws FHIRException { + if (this.value == null) + this.value = new HumanName(); + if (!(this.value instanceof HumanName)) + throw new FHIRException("Type mismatch: the type HumanName was expected, but "+this.value.getClass().getName()+" was encountered"); + return (HumanName) this.value; + } + + public boolean hasValueHumanName() { + return this != null && this.value instanceof HumanName; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Identifier getValueIdentifier() throws FHIRException { + if (this.value == null) + this.value = new Identifier(); + if (!(this.value instanceof Identifier)) + throw new FHIRException("Type mismatch: the type Identifier was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Identifier) this.value; + } + + public boolean hasValueIdentifier() { + return this != null && this.value instanceof Identifier; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Money getValueMoney() throws FHIRException { + if (this.value == null) + this.value = new Money(); + if (!(this.value instanceof Money)) + throw new FHIRException("Type mismatch: the type Money was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Money) this.value; + } + + public boolean hasValueMoney() { + return this != null && this.value instanceof Money; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Period getValuePeriod() throws FHIRException { + if (this.value == null) + this.value = new Period(); + if (!(this.value instanceof Period)) + throw new FHIRException("Type mismatch: the type Period was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Period) this.value; + } + + public boolean hasValuePeriod() { + return this != null && this.value instanceof Period; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Quantity getValueQuantity() throws FHIRException { + if (this.value == null) + this.value = new Quantity(); + if (!(this.value instanceof Quantity)) + throw new FHIRException("Type mismatch: the type Quantity was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Quantity) this.value; + } + + public boolean hasValueQuantity() { + return this != null && this.value instanceof Quantity; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Range getValueRange() throws FHIRException { + if (this.value == null) + this.value = new Range(); + if (!(this.value instanceof Range)) + throw new FHIRException("Type mismatch: the type Range was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Range) this.value; + } + + public boolean hasValueRange() { + return this != null && this.value instanceof Range; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Ratio getValueRatio() throws FHIRException { + if (this.value == null) + this.value = new Ratio(); + if (!(this.value instanceof Ratio)) + throw new FHIRException("Type mismatch: the type Ratio was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Ratio) this.value; + } + + public boolean hasValueRatio() { + return this != null && this.value instanceof Ratio; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public RatioRange getValueRatioRange() throws FHIRException { + if (this.value == null) + this.value = new RatioRange(); + if (!(this.value instanceof RatioRange)) + throw new FHIRException("Type mismatch: the type RatioRange was expected, but "+this.value.getClass().getName()+" was encountered"); + return (RatioRange) this.value; + } + + public boolean hasValueRatioRange() { + return this != null && this.value instanceof RatioRange; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Reference getValueReference() throws FHIRException { + if (this.value == null) + this.value = new Reference(); + if (!(this.value instanceof Reference)) + throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Reference) this.value; + } + + public boolean hasValueReference() { + return this != null && this.value instanceof Reference; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public SampledData getValueSampledData() throws FHIRException { + if (this.value == null) + this.value = new SampledData(); + if (!(this.value instanceof SampledData)) + throw new FHIRException("Type mismatch: the type SampledData was expected, but "+this.value.getClass().getName()+" was encountered"); + return (SampledData) this.value; + } + + public boolean hasValueSampledData() { + return this != null && this.value instanceof SampledData; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Signature getValueSignature() throws FHIRException { + if (this.value == null) + this.value = new Signature(); + if (!(this.value instanceof Signature)) + throw new FHIRException("Type mismatch: the type Signature was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Signature) this.value; + } + + public boolean hasValueSignature() { + return this != null && this.value instanceof Signature; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Timing getValueTiming() throws FHIRException { + if (this.value == null) + this.value = new Timing(); + if (!(this.value instanceof Timing)) + throw new FHIRException("Type mismatch: the type Timing was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Timing) this.value; + } + + public boolean hasValueTiming() { + return this != null && this.value instanceof Timing; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public ContactDetail getValueContactDetail() throws FHIRException { + if (this.value == null) + this.value = new ContactDetail(); + if (!(this.value instanceof ContactDetail)) + throw new FHIRException("Type mismatch: the type ContactDetail was expected, but "+this.value.getClass().getName()+" was encountered"); + return (ContactDetail) this.value; + } + + public boolean hasValueContactDetail() { + return this != null && this.value instanceof ContactDetail; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Contributor getValueContributor() throws FHIRException { + if (this.value == null) + this.value = new Contributor(); + if (!(this.value instanceof Contributor)) + throw new FHIRException("Type mismatch: the type Contributor was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Contributor) this.value; + } + + public boolean hasValueContributor() { + return this != null && this.value instanceof Contributor; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public DataRequirement getValueDataRequirement() throws FHIRException { + if (this.value == null) + this.value = new DataRequirement(); + if (!(this.value instanceof DataRequirement)) + throw new FHIRException("Type mismatch: the type DataRequirement was expected, but "+this.value.getClass().getName()+" was encountered"); + return (DataRequirement) this.value; + } + + public boolean hasValueDataRequirement() { + return this != null && this.value instanceof DataRequirement; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Expression getValueExpression() throws FHIRException { + if (this.value == null) + this.value = new Expression(); + if (!(this.value instanceof Expression)) + throw new FHIRException("Type mismatch: the type Expression was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Expression) this.value; + } + + public boolean hasValueExpression() { + return this != null && this.value instanceof Expression; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public ParameterDefinition getValueParameterDefinition() throws FHIRException { + if (this.value == null) + this.value = new ParameterDefinition(); + if (!(this.value instanceof ParameterDefinition)) + throw new FHIRException("Type mismatch: the type ParameterDefinition was expected, but "+this.value.getClass().getName()+" was encountered"); + return (ParameterDefinition) this.value; + } + + public boolean hasValueParameterDefinition() { + return this != null && this.value instanceof ParameterDefinition; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public RelatedArtifact getValueRelatedArtifact() throws FHIRException { + if (this.value == null) + this.value = new RelatedArtifact(); + if (!(this.value instanceof RelatedArtifact)) + throw new FHIRException("Type mismatch: the type RelatedArtifact was expected, but "+this.value.getClass().getName()+" was encountered"); + return (RelatedArtifact) this.value; + } + + public boolean hasValueRelatedArtifact() { + return this != null && this.value instanceof RelatedArtifact; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public TriggerDefinition getValueTriggerDefinition() throws FHIRException { + if (this.value == null) + this.value = new TriggerDefinition(); + if (!(this.value instanceof TriggerDefinition)) + throw new FHIRException("Type mismatch: the type TriggerDefinition was expected, but "+this.value.getClass().getName()+" was encountered"); + return (TriggerDefinition) this.value; + } + + public boolean hasValueTriggerDefinition() { + return this != null && this.value instanceof TriggerDefinition; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public UsageContext getValueUsageContext() throws FHIRException { + if (this.value == null) + this.value = new UsageContext(); + if (!(this.value instanceof UsageContext)) + throw new FHIRException("Type mismatch: the type UsageContext was expected, but "+this.value.getClass().getName()+" was encountered"); + return (UsageContext) this.value; + } + + public boolean hasValueUsageContext() { + return this != null && this.value instanceof UsageContext; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Dosage getValueDosage() throws FHIRException { + if (this.value == null) + this.value = new Dosage(); + if (!(this.value instanceof Dosage)) + throw new FHIRException("Type mismatch: the type Dosage was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Dosage) this.value; + } + + public boolean hasValueDosage() { + return this != null && this.value instanceof Dosage; + } + + /** + * @return {@link #value} (The value of the Output parameter as a basic type.) + */ + public Meta getValueMeta() throws FHIRException { + if (this.value == null) + this.value = new Meta(); + if (!(this.value instanceof Meta)) + throw new FHIRException("Type mismatch: the type Meta was expected, but "+this.value.getClass().getName()+" was encountered"); + return (Meta) this.value; + } + + public boolean hasValueMeta() { + return this != null && this.value instanceof Meta; + } + + public boolean hasValue() { + return this.value != null && !this.value.isEmpty(); + } + + /** + * @param value {@link #value} (The value of the Output parameter as a basic type.) + */ + public TransportOutputComponent setValue(DataType value) { + if (value != null && !(value instanceof Base64BinaryType || value instanceof BooleanType || value instanceof CanonicalType || value instanceof CodeType || value instanceof DateType || value instanceof DateTimeType || value instanceof DecimalType || value instanceof IdType || value instanceof InstantType || value instanceof IntegerType || value instanceof Integer64Type || value instanceof MarkdownType || value instanceof OidType || value instanceof PositiveIntType || value instanceof StringType || value instanceof TimeType || value instanceof UnsignedIntType || value instanceof UriType || value instanceof UrlType || value instanceof UuidType || value instanceof Address || value instanceof Age || value instanceof Annotation || value instanceof Attachment || value instanceof CodeableConcept || value instanceof CodeableReference || value instanceof Coding || value instanceof ContactPoint || value instanceof Count || value instanceof Distance || value instanceof Duration || value instanceof HumanName || value instanceof Identifier || value instanceof Money || value instanceof Period || value instanceof Quantity || value instanceof Range || value instanceof Ratio || value instanceof RatioRange || value instanceof Reference || value instanceof SampledData || value instanceof Signature || value instanceof Timing || value instanceof ContactDetail || value instanceof Contributor || value instanceof DataRequirement || value instanceof Expression || value instanceof ParameterDefinition || value instanceof RelatedArtifact || value instanceof TriggerDefinition || value instanceof UsageContext || value instanceof Dosage || value instanceof Meta)) + throw new Error("Not the right type for Transport.output.value[x]: "+value.fhirType()); + this.value = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("type", "CodeableConcept", "The name of the Output parameter.", 0, 1, type)); + children.add(new Property("value[x]", "base64Binary|boolean|canonical|code|date|dateTime|decimal|id|instant|integer|integer64|markdown|oid|positiveInt|string|time|unsignedInt|uri|url|uuid|Address|Age|Annotation|Attachment|CodeableConcept|CodeableReference|Coding|ContactPoint|Count|Distance|Duration|HumanName|Identifier|Money|Period|Quantity|Range|Ratio|RatioRange|Reference|SampledData|Signature|Timing|ContactDetail|Contributor|DataRequirement|Expression|ParameterDefinition|RelatedArtifact|TriggerDefinition|UsageContext|Dosage|Meta", "The value of the Output parameter as a basic type.", 0, 1, value)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case 3575610: /*type*/ return new Property("type", "CodeableConcept", "The name of the Output parameter.", 0, 1, type); + case -1410166417: /*value[x]*/ return new Property("value[x]", "base64Binary|boolean|canonical|code|date|dateTime|decimal|id|instant|integer|integer64|markdown|oid|positiveInt|string|time|unsignedInt|uri|url|uuid|Address|Age|Annotation|Attachment|CodeableConcept|CodeableReference|Coding|ContactPoint|Count|Distance|Duration|HumanName|Identifier|Money|Period|Quantity|Range|Ratio|RatioRange|Reference|SampledData|Signature|Timing|ContactDetail|Contributor|DataRequirement|Expression|ParameterDefinition|RelatedArtifact|TriggerDefinition|UsageContext|Dosage|Meta", "The value of the Output parameter as a basic type.", 0, 1, value); + case 111972721: /*value*/ return new Property("value[x]", "base64Binary|boolean|canonical|code|date|dateTime|decimal|id|instant|integer|integer64|markdown|oid|positiveInt|string|time|unsignedInt|uri|url|uuid|Address|Age|Annotation|Attachment|CodeableConcept|CodeableReference|Coding|ContactPoint|Count|Distance|Duration|HumanName|Identifier|Money|Period|Quantity|Range|Ratio|RatioRange|Reference|SampledData|Signature|Timing|ContactDetail|Contributor|DataRequirement|Expression|ParameterDefinition|RelatedArtifact|TriggerDefinition|UsageContext|Dosage|Meta", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1535024575: /*valueBase64Binary*/ return new Property("value[x]", "base64Binary", "The value of the Output parameter as a basic type.", 0, 1, value); + case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "The value of the Output parameter as a basic type.", 0, 1, value); + case -786218365: /*valueCanonical*/ return new Property("value[x]", "canonical", "The value of the Output parameter as a basic type.", 0, 1, value); + case -766209282: /*valueCode*/ return new Property("value[x]", "code", "The value of the Output parameter as a basic type.", 0, 1, value); + case -766192449: /*valueDate*/ return new Property("value[x]", "date", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1047929900: /*valueDateTime*/ return new Property("value[x]", "dateTime", "The value of the Output parameter as a basic type.", 0, 1, value); + case -2083993440: /*valueDecimal*/ return new Property("value[x]", "decimal", "The value of the Output parameter as a basic type.", 0, 1, value); + case 231604844: /*valueId*/ return new Property("value[x]", "id", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1668687056: /*valueInstant*/ return new Property("value[x]", "instant", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1668204915: /*valueInteger*/ return new Property("value[x]", "integer", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1122120181: /*valueInteger64*/ return new Property("value[x]", "integer64", "The value of the Output parameter as a basic type.", 0, 1, value); + case -497880704: /*valueMarkdown*/ return new Property("value[x]", "markdown", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1410178407: /*valueOid*/ return new Property("value[x]", "oid", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1249932027: /*valuePositiveInt*/ return new Property("value[x]", "positiveInt", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1424603934: /*valueString*/ return new Property("value[x]", "string", "The value of the Output parameter as a basic type.", 0, 1, value); + case -765708322: /*valueTime*/ return new Property("value[x]", "time", "The value of the Output parameter as a basic type.", 0, 1, value); + case 26529417: /*valueUnsignedInt*/ return new Property("value[x]", "unsignedInt", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1410172357: /*valueUri*/ return new Property("value[x]", "uri", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1410172354: /*valueUrl*/ return new Property("value[x]", "url", "The value of the Output parameter as a basic type.", 0, 1, value); + case -765667124: /*valueUuid*/ return new Property("value[x]", "uuid", "The value of the Output parameter as a basic type.", 0, 1, value); + case -478981821: /*valueAddress*/ return new Property("value[x]", "Address", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1410191922: /*valueAge*/ return new Property("value[x]", "Age", "The value of the Output parameter as a basic type.", 0, 1, value); + case -67108992: /*valueAnnotation*/ return new Property("value[x]", "Annotation", "The value of the Output parameter as a basic type.", 0, 1, value); + case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "The value of the Output parameter as a basic type.", 0, 1, value); + case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "The value of the Output parameter as a basic type.", 0, 1, value); + case -257955629: /*valueCodeableReference*/ return new Property("value[x]", "CodeableReference", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1887705029: /*valueCoding*/ return new Property("value[x]", "Coding", "The value of the Output parameter as a basic type.", 0, 1, value); + case 944904545: /*valueContactPoint*/ return new Property("value[x]", "ContactPoint", "The value of the Output parameter as a basic type.", 0, 1, value); + case 2017332766: /*valueCount*/ return new Property("value[x]", "Count", "The value of the Output parameter as a basic type.", 0, 1, value); + case -456359802: /*valueDistance*/ return new Property("value[x]", "Distance", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1558135333: /*valueDuration*/ return new Property("value[x]", "Duration", "The value of the Output parameter as a basic type.", 0, 1, value); + case -2026205465: /*valueHumanName*/ return new Property("value[x]", "HumanName", "The value of the Output parameter as a basic type.", 0, 1, value); + case -130498310: /*valueIdentifier*/ return new Property("value[x]", "Identifier", "The value of the Output parameter as a basic type.", 0, 1, value); + case 2026560975: /*valueMoney*/ return new Property("value[x]", "Money", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1524344174: /*valuePeriod*/ return new Property("value[x]", "Period", "The value of the Output parameter as a basic type.", 0, 1, value); + case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "The value of the Output parameter as a basic type.", 0, 1, value); + case 2030761548: /*valueRange*/ return new Property("value[x]", "Range", "The value of the Output parameter as a basic type.", 0, 1, value); + case 2030767386: /*valueRatio*/ return new Property("value[x]", "Ratio", "The value of the Output parameter as a basic type.", 0, 1, value); + case -706454461: /*valueRatioRange*/ return new Property("value[x]", "RatioRange", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1755241690: /*valueReference*/ return new Property("value[x]", "Reference", "The value of the Output parameter as a basic type.", 0, 1, value); + case -962229101: /*valueSampledData*/ return new Property("value[x]", "SampledData", "The value of the Output parameter as a basic type.", 0, 1, value); + case -540985785: /*valueSignature*/ return new Property("value[x]", "Signature", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1406282469: /*valueTiming*/ return new Property("value[x]", "Timing", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1125200224: /*valueContactDetail*/ return new Property("value[x]", "ContactDetail", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1281021610: /*valueContributor*/ return new Property("value[x]", "Contributor", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1710554248: /*valueDataRequirement*/ return new Property("value[x]", "DataRequirement", "The value of the Output parameter as a basic type.", 0, 1, value); + case -307517719: /*valueExpression*/ return new Property("value[x]", "Expression", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1387478187: /*valueParameterDefinition*/ return new Property("value[x]", "ParameterDefinition", "The value of the Output parameter as a basic type.", 0, 1, value); + case 1748214124: /*valueRelatedArtifact*/ return new Property("value[x]", "RelatedArtifact", "The value of the Output parameter as a basic type.", 0, 1, value); + case 976830394: /*valueTriggerDefinition*/ return new Property("value[x]", "TriggerDefinition", "The value of the Output parameter as a basic type.", 0, 1, value); + case 588000479: /*valueUsageContext*/ return new Property("value[x]", "UsageContext", "The value of the Output parameter as a basic type.", 0, 1, value); + case -1858636920: /*valueDosage*/ return new Property("value[x]", "Dosage", "The value of the Output parameter as a basic type.", 0, 1, value); + case -765920490: /*valueMeta*/ return new Property("value[x]", "Meta", "The value of the Output parameter as a basic type.", 0, 1, value); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept + case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case 3575610: // type + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case 111972721: // value + this.value = TypeConvertor.castToType(value); // DataType + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("type")) { + this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("value[x]")) { + this.value = TypeConvertor.castToType(value); // DataType + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: return getType(); + case -1410166417: return getValue(); + case 111972721: return getValue(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case 3575610: /*type*/ return new String[] {"CodeableConcept"}; + case 111972721: /*value*/ return new String[] {"base64Binary", "boolean", "canonical", "code", "date", "dateTime", "decimal", "id", "instant", "integer", "integer64", "markdown", "oid", "positiveInt", "string", "time", "unsignedInt", "uri", "url", "uuid", "Address", "Age", "Annotation", "Attachment", "CodeableConcept", "CodeableReference", "Coding", "ContactPoint", "Count", "Distance", "Duration", "HumanName", "Identifier", "Money", "Period", "Quantity", "Range", "Ratio", "RatioRange", "Reference", "SampledData", "Signature", "Timing", "ContactDetail", "Contributor", "DataRequirement", "Expression", "ParameterDefinition", "RelatedArtifact", "TriggerDefinition", "UsageContext", "Dosage", "Meta"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("type")) { + this.type = new CodeableConcept(); + return this.type; + } + else if (name.equals("valueBase64Binary")) { + this.value = new Base64BinaryType(); + return this.value; + } + else if (name.equals("valueBoolean")) { + this.value = new BooleanType(); + return this.value; + } + else if (name.equals("valueCanonical")) { + this.value = new CanonicalType(); + return this.value; + } + else if (name.equals("valueCode")) { + this.value = new CodeType(); + return this.value; + } + else if (name.equals("valueDate")) { + this.value = new DateType(); + return this.value; + } + else if (name.equals("valueDateTime")) { + this.value = new DateTimeType(); + return this.value; + } + else if (name.equals("valueDecimal")) { + this.value = new DecimalType(); + return this.value; + } + else if (name.equals("valueId")) { + this.value = new IdType(); + return this.value; + } + else if (name.equals("valueInstant")) { + this.value = new InstantType(); + return this.value; + } + else if (name.equals("valueInteger")) { + this.value = new IntegerType(); + return this.value; + } + else if (name.equals("valueInteger64")) { + this.value = new Integer64Type(); + return this.value; + } + else if (name.equals("valueMarkdown")) { + this.value = new MarkdownType(); + return this.value; + } + else if (name.equals("valueOid")) { + this.value = new OidType(); + return this.value; + } + else if (name.equals("valuePositiveInt")) { + this.value = new PositiveIntType(); + return this.value; + } + else if (name.equals("valueString")) { + this.value = new StringType(); + return this.value; + } + else if (name.equals("valueTime")) { + this.value = new TimeType(); + return this.value; + } + else if (name.equals("valueUnsignedInt")) { + this.value = new UnsignedIntType(); + return this.value; + } + else if (name.equals("valueUri")) { + this.value = new UriType(); + return this.value; + } + else if (name.equals("valueUrl")) { + this.value = new UrlType(); + return this.value; + } + else if (name.equals("valueUuid")) { + this.value = new UuidType(); + return this.value; + } + else if (name.equals("valueAddress")) { + this.value = new Address(); + return this.value; + } + else if (name.equals("valueAge")) { + this.value = new Age(); + return this.value; + } + else if (name.equals("valueAnnotation")) { + this.value = new Annotation(); + return this.value; + } + else if (name.equals("valueAttachment")) { + this.value = new Attachment(); + return this.value; + } + else if (name.equals("valueCodeableConcept")) { + this.value = new CodeableConcept(); + return this.value; + } + else if (name.equals("valueCodeableReference")) { + this.value = new CodeableReference(); + return this.value; + } + else if (name.equals("valueCoding")) { + this.value = new Coding(); + return this.value; + } + else if (name.equals("valueContactPoint")) { + this.value = new ContactPoint(); + return this.value; + } + else if (name.equals("valueCount")) { + this.value = new Count(); + return this.value; + } + else if (name.equals("valueDistance")) { + this.value = new Distance(); + return this.value; + } + else if (name.equals("valueDuration")) { + this.value = new Duration(); + return this.value; + } + else if (name.equals("valueHumanName")) { + this.value = new HumanName(); + return this.value; + } + else if (name.equals("valueIdentifier")) { + this.value = new Identifier(); + return this.value; + } + else if (name.equals("valueMoney")) { + this.value = new Money(); + return this.value; + } + else if (name.equals("valuePeriod")) { + this.value = new Period(); + return this.value; + } + else if (name.equals("valueQuantity")) { + this.value = new Quantity(); + return this.value; + } + else if (name.equals("valueRange")) { + this.value = new Range(); + return this.value; + } + else if (name.equals("valueRatio")) { + this.value = new Ratio(); + return this.value; + } + else if (name.equals("valueRatioRange")) { + this.value = new RatioRange(); + return this.value; + } + else if (name.equals("valueReference")) { + this.value = new Reference(); + return this.value; + } + else if (name.equals("valueSampledData")) { + this.value = new SampledData(); + return this.value; + } + else if (name.equals("valueSignature")) { + this.value = new Signature(); + return this.value; + } + else if (name.equals("valueTiming")) { + this.value = new Timing(); + return this.value; + } + else if (name.equals("valueContactDetail")) { + this.value = new ContactDetail(); + return this.value; + } + else if (name.equals("valueContributor")) { + this.value = new Contributor(); + return this.value; + } + else if (name.equals("valueDataRequirement")) { + this.value = new DataRequirement(); + return this.value; + } + else if (name.equals("valueExpression")) { + this.value = new Expression(); + return this.value; + } + else if (name.equals("valueParameterDefinition")) { + this.value = new ParameterDefinition(); + return this.value; + } + else if (name.equals("valueRelatedArtifact")) { + this.value = new RelatedArtifact(); + return this.value; + } + else if (name.equals("valueTriggerDefinition")) { + this.value = new TriggerDefinition(); + return this.value; + } + else if (name.equals("valueUsageContext")) { + this.value = new UsageContext(); + return this.value; + } + else if (name.equals("valueDosage")) { + this.value = new Dosage(); + return this.value; + } + else if (name.equals("valueMeta")) { + this.value = new Meta(); + return this.value; + } + else + return super.addChild(name); + } + + public TransportOutputComponent copy() { + TransportOutputComponent dst = new TransportOutputComponent(); + copyValues(dst); + return dst; + } + + public void copyValues(TransportOutputComponent dst) { + super.copyValues(dst); + dst.type = type == null ? null : type.copy(); + dst.value = value == null ? null : value.copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof TransportOutputComponent)) + return false; + TransportOutputComponent o = (TransportOutputComponent) other_; + return compareDeep(type, o.type, true) && compareDeep(value, o.value, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof TransportOutputComponent)) + return false; + TransportOutputComponent o = (TransportOutputComponent) other_; + return true; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, value); + } + + public String fhirType() { + return "Transport.output"; + + } + + } + + /** + * Identifier for the transport event that is used to identify it across multiple disparate systems. + */ + @Child(name = "identifier", type = {Identifier.class}, order=0, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="External identifier", formalDefinition="Identifier for the transport event that is used to identify it across multiple disparate systems." ) + protected List identifier; + + /** + * The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport. + */ + @Child(name = "instantiatesCanonical", type = {CanonicalType.class}, order=1, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Formal definition of transport", formalDefinition="The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport." ) + protected CanonicalType instantiatesCanonical; + + /** + * The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport. + */ + @Child(name = "instantiatesUri", type = {UriType.class}, order=2, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Formal definition of transport", formalDefinition="The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport." ) + protected UriType instantiatesUri; + + /** + * BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a "request" resource such as a ServiceRequest or Transport, which is distinct from the "request" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab. + */ + @Child(name = "basedOn", type = {Reference.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Request fulfilled by this transport", formalDefinition="BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a \"request\" resource such as a ServiceRequest or Transport, which is distinct from the \"request\" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab." ) + protected List basedOn; + + /** + * An identifier that links together multiple transports and other requests that were created in the same context. + */ + @Child(name = "groupIdentifier", type = {Identifier.class}, order=4, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Requisition or grouper id", formalDefinition="An identifier that links together multiple transports and other requests that were created in the same context." ) + protected Identifier groupIdentifier; + + /** + * A larger event of which this particular event is a component or step. + */ + @Child(name = "partOf", type = {Transport.class, Contract.class}, order=5, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) + @Description(shortDefinition="Part of referenced event", formalDefinition="A larger event of which this particular event is a component or step." ) + protected List partOf; + + /** + * A code specifying the state of the transport event. + */ + @Child(name = "status", type = {CodeType.class}, order=6, min=0, max=1, modifier=true, summary=true) + @Description(shortDefinition="in-progress | completed | abandoned | cancelled | planned | entered-in-error", formalDefinition="A code specifying the state of the transport event." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/transport-status") + protected Enumeration status; + + /** + * An explanation as to why this transport is held, failed, was refused, etc. + */ + @Child(name = "statusReason", type = {CodeableConcept.class}, order=7, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Reason for current status", formalDefinition="An explanation as to why this transport is held, failed, was refused, etc." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/transport-status-reason") + protected CodeableConcept statusReason; + + /** + * Indicates the "level" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc. + */ + @Child(name = "intent", type = {CodeType.class}, order=8, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", formalDefinition="Indicates the \"level\" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/transport-intent") + protected Enumeration intent; + + /** + * Indicates how quickly the Transport should be addressed with respect to other requests. + */ + @Child(name = "priority", type = {CodeType.class}, order=9, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="routine | urgent | asap | stat", formalDefinition="Indicates how quickly the Transport should be addressed with respect to other requests." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/request-priority") + protected Enumeration priority; + + /** + * A name or code (or both) briefly describing what the transport involves. + */ + @Child(name = "code", type = {CodeableConcept.class}, order=10, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Transport Type", formalDefinition="A name or code (or both) briefly describing what the transport involves." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/transport-code") + protected CodeableConcept code; + + /** + * A free-text description of what is to be performed. + */ + @Child(name = "description", type = {StringType.class}, order=11, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Human-readable explanation of transport", formalDefinition="A free-text description of what is to be performed." ) + protected StringType description; + + /** + * The request being actioned or the resource being manipulated by this transport. + */ + @Child(name = "focus", type = {Reference.class}, order=12, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="What transport is acting on", formalDefinition="The request being actioned or the resource being manipulated by this transport." ) + protected Reference focus; + + /** + * The entity who benefits from the performance of the service specified in the transport (e.g., the patient). + */ + @Child(name = "for", type = {Reference.class}, order=13, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Beneficiary of the Transport", formalDefinition="The entity who benefits from the performance of the service specified in the transport (e.g., the patient)." ) + protected Reference for_; + + /** + * The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created. + */ + @Child(name = "encounter", type = {Encounter.class}, order=14, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Healthcare event during which this transport originated", formalDefinition="The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created." ) + protected Reference encounter; + + /** + * Identifies the completion time of the event (the occurrence). + */ + @Child(name = "completionTime", type = {DateTimeType.class}, order=15, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Completion time of the event (the occurrence)", formalDefinition="Identifies the completion time of the event (the occurrence)." ) + protected DateTimeType completionTime; + + /** + * The date and time this transport was created. + */ + @Child(name = "authoredOn", type = {DateTimeType.class}, order=16, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Transport Creation Date", formalDefinition="The date and time this transport was created." ) + protected DateTimeType authoredOn; + + /** + * The date and time of last modification to this transport. + */ + @Child(name = "lastModified", type = {DateTimeType.class}, order=17, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Transport Last Modified Date", formalDefinition="The date and time of last modification to this transport." ) + protected DateTimeType lastModified; + + /** + * The creator of the transport. + */ + @Child(name = "requester", type = {Device.class, Organization.class, Patient.class, Practitioner.class, PractitionerRole.class, RelatedPerson.class}, order=18, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Who is asking for transport to be done", formalDefinition="The creator of the transport." ) + protected Reference requester; + + /** + * The kind of participant that should perform the transport. + */ + @Child(name = "performerType", type = {CodeableConcept.class}, order=19, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Requested performer", formalDefinition="The kind of participant that should perform the transport." ) + @ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/performer-role") + protected List performerType; + + /** + * Individual organization or Device currently responsible for transport execution. + */ + @Child(name = "owner", type = {Practitioner.class, PractitionerRole.class, Organization.class, CareTeam.class, HealthcareService.class, Patient.class, Device.class, RelatedPerson.class}, order=20, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Responsible individual", formalDefinition="Individual organization or Device currently responsible for transport execution." ) + protected Reference owner; + + /** + * Principal physical location where the this transport is performed. + */ + @Child(name = "location", type = {Location.class}, order=21, min=0, max=1, modifier=false, summary=true) + @Description(shortDefinition="Where transport occurs", formalDefinition="Principal physical location where the this transport is performed." ) + protected Reference location; + + /** + * A description or code indicating why this transport needs to be performed. + */ + @Child(name = "reasonCode", type = {CodeableConcept.class}, order=22, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Why transport is needed", formalDefinition="A description or code indicating why this transport needs to be performed." ) + protected CodeableConcept reasonCode; + + /** + * A resource reference indicating why this transport needs to be performed. + */ + @Child(name = "reasonReference", type = {Reference.class}, order=23, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Why transport is needed", formalDefinition="A resource reference indicating why this transport needs to be performed." ) + protected Reference reasonReference; + + /** + * Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport. + */ + @Child(name = "insurance", type = {Coverage.class, ClaimResponse.class}, order=24, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Associated insurance coverage", formalDefinition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport." ) + protected List insurance; + + /** + * Free-text information captured about the transport as it progresses. + */ + @Child(name = "note", type = {Annotation.class}, order=25, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Comments made about the transport", formalDefinition="Free-text information captured about the transport as it progresses." ) + protected List note; + + /** + * Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport. + */ + @Child(name = "relevantHistory", type = {Provenance.class}, order=26, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Key events in history of the Transport", formalDefinition="Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport." ) + protected List relevantHistory; + + /** + * If the Transport.focus is a request resource and the transport is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned. + */ + @Child(name = "restriction", type = {}, order=27, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Constraints on fulfillment transports", formalDefinition="If the Transport.focus is a request resource and the transport is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned." ) + protected TransportRestrictionComponent restriction; + + /** + * Additional information that may be needed in the execution of the transport. + */ + @Child(name = "input", type = {}, order=28, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Information used to perform transport", formalDefinition="Additional information that may be needed in the execution of the transport." ) + protected List input; + + /** + * Outputs produced by the Transport. + */ + @Child(name = "output", type = {}, order=29, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false) + @Description(shortDefinition="Information produced as part of transport", formalDefinition="Outputs produced by the Transport." ) + protected List output; + + /** + * The desired or final location for the transport. + */ + @Child(name = "requestedLocation", type = {Location.class}, order=30, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="The desired location", formalDefinition="The desired or final location for the transport." ) + protected Reference requestedLocation; + + /** + * The current location for the entity to be transported. + */ + @Child(name = "currentLocation", type = {Location.class}, order=31, min=1, max=1, modifier=false, summary=true) + @Description(shortDefinition="The current location", formalDefinition="The current location for the entity to be transported." ) + protected Reference currentLocation; + + /** + * The transport event prior to this one. + */ + @Child(name = "history", type = {Transport.class}, order=32, min=0, max=1, modifier=false, summary=false) + @Description(shortDefinition="Parent (or preceding) transport", formalDefinition="The transport event prior to this one." ) + protected Reference history; + + private static final long serialVersionUID = 991678619L; + + /** + * Constructor + */ + public Transport() { + super(); + } + + /** + * Constructor + */ + public Transport(TransportIntent intent, Reference requestedLocation, Reference currentLocation) { + super(); + this.setIntent(intent); + this.setRequestedLocation(requestedLocation); + this.setCurrentLocation(currentLocation); + } + + /** + * @return {@link #identifier} (Identifier for the transport event that is used to identify it across multiple disparate systems.) + */ + public List getIdentifier() { + if (this.identifier == null) + this.identifier = new ArrayList(); + return this.identifier; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setIdentifier(List theIdentifier) { + this.identifier = theIdentifier; + return this; + } + + public boolean hasIdentifier() { + if (this.identifier == null) + return false; + for (Identifier item : this.identifier) + if (!item.isEmpty()) + return true; + return false; + } + + public Identifier addIdentifier() { //3 + Identifier t = new Identifier(); + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return t; + } + + public Transport addIdentifier(Identifier t) { //3 + if (t == null) + return this; + if (this.identifier == null) + this.identifier = new ArrayList(); + this.identifier.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #identifier}, creating it if it does not already exist {3} + */ + public Identifier getIdentifierFirstRep() { + if (getIdentifier().isEmpty()) { + addIdentifier(); + } + return getIdentifier().get(0); + } + + /** + * @return {@link #instantiatesCanonical} (The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.). This is the underlying object with id, value and extensions. The accessor "getInstantiatesCanonical" gives direct access to the value + */ + public CanonicalType getInstantiatesCanonicalElement() { + if (this.instantiatesCanonical == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.instantiatesCanonical"); + else if (Configuration.doAutoCreate()) + this.instantiatesCanonical = new CanonicalType(); // bb + return this.instantiatesCanonical; + } + + public boolean hasInstantiatesCanonicalElement() { + return this.instantiatesCanonical != null && !this.instantiatesCanonical.isEmpty(); + } + + public boolean hasInstantiatesCanonical() { + return this.instantiatesCanonical != null && !this.instantiatesCanonical.isEmpty(); + } + + /** + * @param value {@link #instantiatesCanonical} (The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.). This is the underlying object with id, value and extensions. The accessor "getInstantiatesCanonical" gives direct access to the value + */ + public Transport setInstantiatesCanonicalElement(CanonicalType value) { + this.instantiatesCanonical = value; + return this; + } + + /** + * @return The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport. + */ + public String getInstantiatesCanonical() { + return this.instantiatesCanonical == null ? null : this.instantiatesCanonical.getValue(); + } + + /** + * @param value The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport. + */ + public Transport setInstantiatesCanonical(String value) { + if (Utilities.noString(value)) + this.instantiatesCanonical = null; + else { + if (this.instantiatesCanonical == null) + this.instantiatesCanonical = new CanonicalType(); + this.instantiatesCanonical.setValue(value); + } + return this; + } + + /** + * @return {@link #instantiatesUri} (The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.). This is the underlying object with id, value and extensions. The accessor "getInstantiatesUri" gives direct access to the value + */ + public UriType getInstantiatesUriElement() { + if (this.instantiatesUri == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.instantiatesUri"); + else if (Configuration.doAutoCreate()) + this.instantiatesUri = new UriType(); // bb + return this.instantiatesUri; + } + + public boolean hasInstantiatesUriElement() { + return this.instantiatesUri != null && !this.instantiatesUri.isEmpty(); + } + + public boolean hasInstantiatesUri() { + return this.instantiatesUri != null && !this.instantiatesUri.isEmpty(); + } + + /** + * @param value {@link #instantiatesUri} (The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.). This is the underlying object with id, value and extensions. The accessor "getInstantiatesUri" gives direct access to the value + */ + public Transport setInstantiatesUriElement(UriType value) { + this.instantiatesUri = value; + return this; + } + + /** + * @return The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport. + */ + public String getInstantiatesUri() { + return this.instantiatesUri == null ? null : this.instantiatesUri.getValue(); + } + + /** + * @param value The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport. + */ + public Transport setInstantiatesUri(String value) { + if (Utilities.noString(value)) + this.instantiatesUri = null; + else { + if (this.instantiatesUri == null) + this.instantiatesUri = new UriType(); + this.instantiatesUri.setValue(value); + } + return this; + } + + /** + * @return {@link #basedOn} (BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a "request" resource such as a ServiceRequest or Transport, which is distinct from the "request" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab.) + */ + public List getBasedOn() { + if (this.basedOn == null) + this.basedOn = new ArrayList(); + return this.basedOn; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setBasedOn(List theBasedOn) { + this.basedOn = theBasedOn; + return this; + } + + public boolean hasBasedOn() { + if (this.basedOn == null) + return false; + for (Reference item : this.basedOn) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addBasedOn() { //3 + Reference t = new Reference(); + if (this.basedOn == null) + this.basedOn = new ArrayList(); + this.basedOn.add(t); + return t; + } + + public Transport addBasedOn(Reference t) { //3 + if (t == null) + return this; + if (this.basedOn == null) + this.basedOn = new ArrayList(); + this.basedOn.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #basedOn}, creating it if it does not already exist {3} + */ + public Reference getBasedOnFirstRep() { + if (getBasedOn().isEmpty()) { + addBasedOn(); + } + return getBasedOn().get(0); + } + + /** + * @return {@link #groupIdentifier} (An identifier that links together multiple transports and other requests that were created in the same context.) + */ + public Identifier getGroupIdentifier() { + if (this.groupIdentifier == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.groupIdentifier"); + else if (Configuration.doAutoCreate()) + this.groupIdentifier = new Identifier(); // cc + return this.groupIdentifier; + } + + public boolean hasGroupIdentifier() { + return this.groupIdentifier != null && !this.groupIdentifier.isEmpty(); + } + + /** + * @param value {@link #groupIdentifier} (An identifier that links together multiple transports and other requests that were created in the same context.) + */ + public Transport setGroupIdentifier(Identifier value) { + this.groupIdentifier = value; + return this; + } + + /** + * @return {@link #partOf} (A larger event of which this particular event is a component or step.) + */ + public List getPartOf() { + if (this.partOf == null) + this.partOf = new ArrayList(); + return this.partOf; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setPartOf(List thePartOf) { + this.partOf = thePartOf; + return this; + } + + public boolean hasPartOf() { + if (this.partOf == null) + return false; + for (Reference item : this.partOf) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addPartOf() { //3 + Reference t = new Reference(); + if (this.partOf == null) + this.partOf = new ArrayList(); + this.partOf.add(t); + return t; + } + + public Transport addPartOf(Reference t) { //3 + if (t == null) + return this; + if (this.partOf == null) + this.partOf = new ArrayList(); + this.partOf.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #partOf}, creating it if it does not already exist {3} + */ + public Reference getPartOfFirstRep() { + if (getPartOf().isEmpty()) { + addPartOf(); + } + return getPartOf().get(0); + } + + /** + * @return {@link #status} (A code specifying the state of the transport event.). 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 Transport.status"); + else if (Configuration.doAutoCreate()) + this.status = new Enumeration(new TransportStatusEnumFactory()); // 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} (A code specifying the state of the transport event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value + */ + public Transport setStatusElement(Enumeration value) { + this.status = value; + return this; + } + + /** + * @return A code specifying the state of the transport event. + */ + public TransportStatus getStatus() { + return this.status == null ? null : this.status.getValue(); + } + + /** + * @param value A code specifying the state of the transport event. + */ + public Transport setStatus(TransportStatus value) { + if (value == null) + this.status = null; + else { + if (this.status == null) + this.status = new Enumeration(new TransportStatusEnumFactory()); + this.status.setValue(value); + } + return this; + } + + /** + * @return {@link #statusReason} (An explanation as to why this transport is held, failed, was refused, etc.) + */ + public CodeableConcept getStatusReason() { + if (this.statusReason == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.statusReason"); + else if (Configuration.doAutoCreate()) + this.statusReason = new CodeableConcept(); // cc + return this.statusReason; + } + + public boolean hasStatusReason() { + return this.statusReason != null && !this.statusReason.isEmpty(); + } + + /** + * @param value {@link #statusReason} (An explanation as to why this transport is held, failed, was refused, etc.) + */ + public Transport setStatusReason(CodeableConcept value) { + this.statusReason = value; + return this; + } + + /** + * @return {@link #intent} (Indicates the "level" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value + */ + public Enumeration getIntentElement() { + if (this.intent == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.intent"); + else if (Configuration.doAutoCreate()) + this.intent = new Enumeration(new TransportIntentEnumFactory()); // bb + return this.intent; + } + + public boolean hasIntentElement() { + return this.intent != null && !this.intent.isEmpty(); + } + + public boolean hasIntent() { + return this.intent != null && !this.intent.isEmpty(); + } + + /** + * @param value {@link #intent} (Indicates the "level" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value + */ + public Transport setIntentElement(Enumeration value) { + this.intent = value; + return this; + } + + /** + * @return Indicates the "level" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc. + */ + public TransportIntent getIntent() { + return this.intent == null ? null : this.intent.getValue(); + } + + /** + * @param value Indicates the "level" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc. + */ + public Transport setIntent(TransportIntent value) { + if (this.intent == null) + this.intent = new Enumeration(new TransportIntentEnumFactory()); + this.intent.setValue(value); + return this; + } + + /** + * @return {@link #priority} (Indicates how quickly the Transport should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value + */ + public Enumeration getPriorityElement() { + if (this.priority == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.priority"); + else if (Configuration.doAutoCreate()) + this.priority = new Enumeration(new RequestPriorityEnumFactory()); // bb + return this.priority; + } + + public boolean hasPriorityElement() { + return this.priority != null && !this.priority.isEmpty(); + } + + public boolean hasPriority() { + return this.priority != null && !this.priority.isEmpty(); + } + + /** + * @param value {@link #priority} (Indicates how quickly the Transport should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value + */ + public Transport setPriorityElement(Enumeration value) { + this.priority = value; + return this; + } + + /** + * @return Indicates how quickly the Transport should be addressed with respect to other requests. + */ + public RequestPriority getPriority() { + return this.priority == null ? null : this.priority.getValue(); + } + + /** + * @param value Indicates how quickly the Transport should be addressed with respect to other requests. + */ + public Transport setPriority(RequestPriority value) { + if (value == null) + this.priority = null; + else { + if (this.priority == null) + this.priority = new Enumeration(new RequestPriorityEnumFactory()); + this.priority.setValue(value); + } + return this; + } + + /** + * @return {@link #code} (A name or code (or both) briefly describing what the transport involves.) + */ + public CodeableConcept getCode() { + if (this.code == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.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} (A name or code (or both) briefly describing what the transport involves.) + */ + public Transport setCode(CodeableConcept value) { + this.code = value; + return this; + } + + /** + * @return {@link #description} (A free-text description of what is to be performed.). 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 Transport.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 description of what is to be performed.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value + */ + public Transport setDescriptionElement(StringType value) { + this.description = value; + return this; + } + + /** + * @return A free-text description of what is to be performed. + */ + public String getDescription() { + return this.description == null ? null : this.description.getValue(); + } + + /** + * @param value A free-text description of what is to be performed. + */ + public Transport 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 #focus} (The request being actioned or the resource being manipulated by this transport.) + */ + public Reference getFocus() { + if (this.focus == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.focus"); + else if (Configuration.doAutoCreate()) + this.focus = new Reference(); // cc + return this.focus; + } + + public boolean hasFocus() { + return this.focus != null && !this.focus.isEmpty(); + } + + /** + * @param value {@link #focus} (The request being actioned or the resource being manipulated by this transport.) + */ + public Transport setFocus(Reference value) { + this.focus = value; + return this; + } + + /** + * @return {@link #for_} (The entity who benefits from the performance of the service specified in the transport (e.g., the patient).) + */ + public Reference getFor() { + if (this.for_ == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.for_"); + else if (Configuration.doAutoCreate()) + this.for_ = new Reference(); // cc + return this.for_; + } + + public boolean hasFor() { + return this.for_ != null && !this.for_.isEmpty(); + } + + /** + * @param value {@link #for_} (The entity who benefits from the performance of the service specified in the transport (e.g., the patient).) + */ + public Transport setFor(Reference value) { + this.for_ = value; + return this; + } + + /** + * @return {@link #encounter} (The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created.) + */ + public Reference getEncounter() { + if (this.encounter == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.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 healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created.) + */ + public Transport setEncounter(Reference value) { + this.encounter = value; + return this; + } + + /** + * @return {@link #completionTime} (Identifies the completion time of the event (the occurrence).). This is the underlying object with id, value and extensions. The accessor "getCompletionTime" gives direct access to the value + */ + public DateTimeType getCompletionTimeElement() { + if (this.completionTime == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.completionTime"); + else if (Configuration.doAutoCreate()) + this.completionTime = new DateTimeType(); // bb + return this.completionTime; + } + + public boolean hasCompletionTimeElement() { + return this.completionTime != null && !this.completionTime.isEmpty(); + } + + public boolean hasCompletionTime() { + return this.completionTime != null && !this.completionTime.isEmpty(); + } + + /** + * @param value {@link #completionTime} (Identifies the completion time of the event (the occurrence).). This is the underlying object with id, value and extensions. The accessor "getCompletionTime" gives direct access to the value + */ + public Transport setCompletionTimeElement(DateTimeType value) { + this.completionTime = value; + return this; + } + + /** + * @return Identifies the completion time of the event (the occurrence). + */ + public Date getCompletionTime() { + return this.completionTime == null ? null : this.completionTime.getValue(); + } + + /** + * @param value Identifies the completion time of the event (the occurrence). + */ + public Transport setCompletionTime(Date value) { + if (value == null) + this.completionTime = null; + else { + if (this.completionTime == null) + this.completionTime = new DateTimeType(); + this.completionTime.setValue(value); + } + return this; + } + + /** + * @return {@link #authoredOn} (The date and time this transport was created.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value + */ + public DateTimeType getAuthoredOnElement() { + if (this.authoredOn == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.authoredOn"); + else if (Configuration.doAutoCreate()) + this.authoredOn = new DateTimeType(); // bb + return this.authoredOn; + } + + public boolean hasAuthoredOnElement() { + return this.authoredOn != null && !this.authoredOn.isEmpty(); + } + + public boolean hasAuthoredOn() { + return this.authoredOn != null && !this.authoredOn.isEmpty(); + } + + /** + * @param value {@link #authoredOn} (The date and time this transport was created.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value + */ + public Transport setAuthoredOnElement(DateTimeType value) { + this.authoredOn = value; + return this; + } + + /** + * @return The date and time this transport was created. + */ + public Date getAuthoredOn() { + return this.authoredOn == null ? null : this.authoredOn.getValue(); + } + + /** + * @param value The date and time this transport was created. + */ + public Transport setAuthoredOn(Date value) { + if (value == null) + this.authoredOn = null; + else { + if (this.authoredOn == null) + this.authoredOn = new DateTimeType(); + this.authoredOn.setValue(value); + } + return this; + } + + /** + * @return {@link #lastModified} (The date and time of last modification to this transport.). This is the underlying object with id, value and extensions. The accessor "getLastModified" gives direct access to the value + */ + public DateTimeType getLastModifiedElement() { + if (this.lastModified == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.lastModified"); + else if (Configuration.doAutoCreate()) + this.lastModified = new DateTimeType(); // bb + return this.lastModified; + } + + public boolean hasLastModifiedElement() { + return this.lastModified != null && !this.lastModified.isEmpty(); + } + + public boolean hasLastModified() { + return this.lastModified != null && !this.lastModified.isEmpty(); + } + + /** + * @param value {@link #lastModified} (The date and time of last modification to this transport.). This is the underlying object with id, value and extensions. The accessor "getLastModified" gives direct access to the value + */ + public Transport setLastModifiedElement(DateTimeType value) { + this.lastModified = value; + return this; + } + + /** + * @return The date and time of last modification to this transport. + */ + public Date getLastModified() { + return this.lastModified == null ? null : this.lastModified.getValue(); + } + + /** + * @param value The date and time of last modification to this transport. + */ + public Transport setLastModified(Date value) { + if (value == null) + this.lastModified = null; + else { + if (this.lastModified == null) + this.lastModified = new DateTimeType(); + this.lastModified.setValue(value); + } + return this; + } + + /** + * @return {@link #requester} (The creator of the transport.) + */ + public Reference getRequester() { + if (this.requester == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.requester"); + else if (Configuration.doAutoCreate()) + this.requester = new Reference(); // cc + return this.requester; + } + + public boolean hasRequester() { + return this.requester != null && !this.requester.isEmpty(); + } + + /** + * @param value {@link #requester} (The creator of the transport.) + */ + public Transport setRequester(Reference value) { + this.requester = value; + return this; + } + + /** + * @return {@link #performerType} (The kind of participant that should perform the transport.) + */ + public List getPerformerType() { + if (this.performerType == null) + this.performerType = new ArrayList(); + return this.performerType; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setPerformerType(List thePerformerType) { + this.performerType = thePerformerType; + return this; + } + + public boolean hasPerformerType() { + if (this.performerType == null) + return false; + for (CodeableConcept item : this.performerType) + if (!item.isEmpty()) + return true; + return false; + } + + public CodeableConcept addPerformerType() { //3 + CodeableConcept t = new CodeableConcept(); + if (this.performerType == null) + this.performerType = new ArrayList(); + this.performerType.add(t); + return t; + } + + public Transport addPerformerType(CodeableConcept t) { //3 + if (t == null) + return this; + if (this.performerType == null) + this.performerType = new ArrayList(); + this.performerType.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #performerType}, creating it if it does not already exist {3} + */ + public CodeableConcept getPerformerTypeFirstRep() { + if (getPerformerType().isEmpty()) { + addPerformerType(); + } + return getPerformerType().get(0); + } + + /** + * @return {@link #owner} (Individual organization or Device currently responsible for transport execution.) + */ + public Reference getOwner() { + if (this.owner == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.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} (Individual organization or Device currently responsible for transport execution.) + */ + public Transport setOwner(Reference value) { + this.owner = value; + return this; + } + + /** + * @return {@link #location} (Principal physical location where the this transport is performed.) + */ + public Reference getLocation() { + if (this.location == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.location"); + else if (Configuration.doAutoCreate()) + this.location = new Reference(); // cc + return this.location; + } + + public boolean hasLocation() { + return this.location != null && !this.location.isEmpty(); + } + + /** + * @param value {@link #location} (Principal physical location where the this transport is performed.) + */ + public Transport setLocation(Reference value) { + this.location = value; + return this; + } + + /** + * @return {@link #reasonCode} (A description or code indicating why this transport needs to be performed.) + */ + public CodeableConcept getReasonCode() { + if (this.reasonCode == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.reasonCode"); + else if (Configuration.doAutoCreate()) + this.reasonCode = new CodeableConcept(); // cc + return this.reasonCode; + } + + public boolean hasReasonCode() { + return this.reasonCode != null && !this.reasonCode.isEmpty(); + } + + /** + * @param value {@link #reasonCode} (A description or code indicating why this transport needs to be performed.) + */ + public Transport setReasonCode(CodeableConcept value) { + this.reasonCode = value; + return this; + } + + /** + * @return {@link #reasonReference} (A resource reference indicating why this transport needs to be performed.) + */ + public Reference getReasonReference() { + if (this.reasonReference == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.reasonReference"); + else if (Configuration.doAutoCreate()) + this.reasonReference = new Reference(); // cc + return this.reasonReference; + } + + public boolean hasReasonReference() { + return this.reasonReference != null && !this.reasonReference.isEmpty(); + } + + /** + * @param value {@link #reasonReference} (A resource reference indicating why this transport needs to be performed.) + */ + public Transport setReasonReference(Reference value) { + this.reasonReference = value; + return this; + } + + /** + * @return {@link #insurance} (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport.) + */ + public List getInsurance() { + if (this.insurance == null) + this.insurance = new ArrayList(); + return this.insurance; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setInsurance(List theInsurance) { + this.insurance = theInsurance; + return this; + } + + public boolean hasInsurance() { + if (this.insurance == null) + return false; + for (Reference item : this.insurance) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addInsurance() { //3 + Reference t = new Reference(); + if (this.insurance == null) + this.insurance = new ArrayList(); + this.insurance.add(t); + return t; + } + + public Transport addInsurance(Reference t) { //3 + if (t == null) + return this; + if (this.insurance == null) + this.insurance = new ArrayList(); + this.insurance.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #insurance}, creating it if it does not already exist {3} + */ + public Reference getInsuranceFirstRep() { + if (getInsurance().isEmpty()) { + addInsurance(); + } + return getInsurance().get(0); + } + + /** + * @return {@link #note} (Free-text information captured about the transport as it progresses.) + */ + public List getNote() { + if (this.note == null) + this.note = new ArrayList(); + return this.note; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setNote(List theNote) { + this.note = theNote; + return this; + } + + public boolean hasNote() { + if (this.note == null) + return false; + for (Annotation item : this.note) + if (!item.isEmpty()) + return true; + return false; + } + + public Annotation addNote() { //3 + Annotation t = new Annotation(); + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return t; + } + + public Transport addNote(Annotation t) { //3 + if (t == null) + return this; + if (this.note == null) + this.note = new ArrayList(); + this.note.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #note}, creating it if it does not already exist {3} + */ + public Annotation getNoteFirstRep() { + if (getNote().isEmpty()) { + addNote(); + } + return getNote().get(0); + } + + /** + * @return {@link #relevantHistory} (Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport.) + */ + public List getRelevantHistory() { + if (this.relevantHistory == null) + this.relevantHistory = new ArrayList(); + return this.relevantHistory; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setRelevantHistory(List theRelevantHistory) { + this.relevantHistory = theRelevantHistory; + return this; + } + + public boolean hasRelevantHistory() { + if (this.relevantHistory == null) + return false; + for (Reference item : this.relevantHistory) + if (!item.isEmpty()) + return true; + return false; + } + + public Reference addRelevantHistory() { //3 + Reference t = new Reference(); + if (this.relevantHistory == null) + this.relevantHistory = new ArrayList(); + this.relevantHistory.add(t); + return t; + } + + public Transport addRelevantHistory(Reference t) { //3 + if (t == null) + return this; + if (this.relevantHistory == null) + this.relevantHistory = new ArrayList(); + this.relevantHistory.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #relevantHistory}, creating it if it does not already exist {3} + */ + public Reference getRelevantHistoryFirstRep() { + if (getRelevantHistory().isEmpty()) { + addRelevantHistory(); + } + return getRelevantHistory().get(0); + } + + /** + * @return {@link #restriction} (If the Transport.focus is a request resource and the transport is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.) + */ + public TransportRestrictionComponent getRestriction() { + if (this.restriction == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.restriction"); + else if (Configuration.doAutoCreate()) + this.restriction = new TransportRestrictionComponent(); // cc + return this.restriction; + } + + public boolean hasRestriction() { + return this.restriction != null && !this.restriction.isEmpty(); + } + + /** + * @param value {@link #restriction} (If the Transport.focus is a request resource and the transport is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.) + */ + public Transport setRestriction(TransportRestrictionComponent value) { + this.restriction = value; + return this; + } + + /** + * @return {@link #input} (Additional information that may be needed in the execution of the transport.) + */ + public List getInput() { + if (this.input == null) + this.input = new ArrayList(); + return this.input; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setInput(List theInput) { + this.input = theInput; + return this; + } + + public boolean hasInput() { + if (this.input == null) + return false; + for (ParameterComponent item : this.input) + if (!item.isEmpty()) + return true; + return false; + } + + public ParameterComponent addInput() { //3 + ParameterComponent t = new ParameterComponent(); + if (this.input == null) + this.input = new ArrayList(); + this.input.add(t); + return t; + } + + public Transport addInput(ParameterComponent t) { //3 + if (t == null) + return this; + if (this.input == null) + this.input = new ArrayList(); + this.input.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #input}, creating it if it does not already exist {3} + */ + public ParameterComponent getInputFirstRep() { + if (getInput().isEmpty()) { + addInput(); + } + return getInput().get(0); + } + + /** + * @return {@link #output} (Outputs produced by the Transport.) + */ + public List getOutput() { + if (this.output == null) + this.output = new ArrayList(); + return this.output; + } + + /** + * @return Returns a reference to this for easy method chaining + */ + public Transport setOutput(List theOutput) { + this.output = theOutput; + return this; + } + + public boolean hasOutput() { + if (this.output == null) + return false; + for (TransportOutputComponent item : this.output) + if (!item.isEmpty()) + return true; + return false; + } + + public TransportOutputComponent addOutput() { //3 + TransportOutputComponent t = new TransportOutputComponent(); + if (this.output == null) + this.output = new ArrayList(); + this.output.add(t); + return t; + } + + public Transport addOutput(TransportOutputComponent t) { //3 + if (t == null) + return this; + if (this.output == null) + this.output = new ArrayList(); + this.output.add(t); + return this; + } + + /** + * @return The first repetition of repeating field {@link #output}, creating it if it does not already exist {3} + */ + public TransportOutputComponent getOutputFirstRep() { + if (getOutput().isEmpty()) { + addOutput(); + } + return getOutput().get(0); + } + + /** + * @return {@link #requestedLocation} (The desired or final location for the transport.) + */ + public Reference getRequestedLocation() { + if (this.requestedLocation == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.requestedLocation"); + else if (Configuration.doAutoCreate()) + this.requestedLocation = new Reference(); // cc + return this.requestedLocation; + } + + public boolean hasRequestedLocation() { + return this.requestedLocation != null && !this.requestedLocation.isEmpty(); + } + + /** + * @param value {@link #requestedLocation} (The desired or final location for the transport.) + */ + public Transport setRequestedLocation(Reference value) { + this.requestedLocation = value; + return this; + } + + /** + * @return {@link #currentLocation} (The current location for the entity to be transported.) + */ + public Reference getCurrentLocation() { + if (this.currentLocation == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.currentLocation"); + else if (Configuration.doAutoCreate()) + this.currentLocation = new Reference(); // cc + return this.currentLocation; + } + + public boolean hasCurrentLocation() { + return this.currentLocation != null && !this.currentLocation.isEmpty(); + } + + /** + * @param value {@link #currentLocation} (The current location for the entity to be transported.) + */ + public Transport setCurrentLocation(Reference value) { + this.currentLocation = value; + return this; + } + + /** + * @return {@link #history} (The transport event prior to this one.) + */ + public Reference getHistory() { + if (this.history == null) + if (Configuration.errorOnAutoCreate()) + throw new Error("Attempt to auto-create Transport.history"); + else if (Configuration.doAutoCreate()) + this.history = new Reference(); // cc + return this.history; + } + + public boolean hasHistory() { + return this.history != null && !this.history.isEmpty(); + } + + /** + * @param value {@link #history} (The transport event prior to this one.) + */ + public Transport setHistory(Reference value) { + this.history = value; + return this; + } + + protected void listChildren(List children) { + super.listChildren(children); + children.add(new Property("identifier", "Identifier", "Identifier for the transport event that is used to identify it across multiple disparate systems.", 0, java.lang.Integer.MAX_VALUE, identifier)); + children.add(new Property("instantiatesCanonical", "canonical(ActivityDefinition)", "The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.", 0, 1, instantiatesCanonical)); + children.add(new Property("instantiatesUri", "uri", "The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.", 0, 1, instantiatesUri)); + children.add(new Property("basedOn", "Reference(Any)", "BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a \"request\" resource such as a ServiceRequest or Transport, which is distinct from the \"request\" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab.", 0, java.lang.Integer.MAX_VALUE, basedOn)); + children.add(new Property("groupIdentifier", "Identifier", "An identifier that links together multiple transports and other requests that were created in the same context.", 0, 1, groupIdentifier)); + children.add(new Property("partOf", "Reference(Transport|Contract)", "A larger event of which this particular event is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf)); + children.add(new Property("status", "code", "A code specifying the state of the transport event.", 0, 1, status)); + children.add(new Property("statusReason", "CodeableConcept", "An explanation as to why this transport is held, failed, was refused, etc.", 0, 1, statusReason)); + children.add(new Property("intent", "code", "Indicates the \"level\" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc.", 0, 1, intent)); + children.add(new Property("priority", "code", "Indicates how quickly the Transport should be addressed with respect to other requests.", 0, 1, priority)); + children.add(new Property("code", "CodeableConcept", "A name or code (or both) briefly describing what the transport involves.", 0, 1, code)); + children.add(new Property("description", "string", "A free-text description of what is to be performed.", 0, 1, description)); + children.add(new Property("focus", "Reference(Any)", "The request being actioned or the resource being manipulated by this transport.", 0, 1, focus)); + children.add(new Property("for", "Reference(Any)", "The entity who benefits from the performance of the service specified in the transport (e.g., the patient).", 0, 1, for_)); + children.add(new Property("encounter", "Reference(Encounter)", "The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created.", 0, 1, encounter)); + children.add(new Property("completionTime", "dateTime", "Identifies the completion time of the event (the occurrence).", 0, 1, completionTime)); + children.add(new Property("authoredOn", "dateTime", "The date and time this transport was created.", 0, 1, authoredOn)); + children.add(new Property("lastModified", "dateTime", "The date and time of last modification to this transport.", 0, 1, lastModified)); + children.add(new Property("requester", "Reference(Device|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson)", "The creator of the transport.", 0, 1, requester)); + children.add(new Property("performerType", "CodeableConcept", "The kind of participant that should perform the transport.", 0, java.lang.Integer.MAX_VALUE, performerType)); + children.add(new Property("owner", "Reference(Practitioner|PractitionerRole|Organization|CareTeam|HealthcareService|Patient|Device|RelatedPerson)", "Individual organization or Device currently responsible for transport execution.", 0, 1, owner)); + children.add(new Property("location", "Reference(Location)", "Principal physical location where the this transport is performed.", 0, 1, location)); + children.add(new Property("reasonCode", "CodeableConcept", "A description or code indicating why this transport needs to be performed.", 0, 1, reasonCode)); + children.add(new Property("reasonReference", "Reference(Any)", "A resource reference indicating why this transport needs to be performed.", 0, 1, reasonReference)); + children.add(new Property("insurance", "Reference(Coverage|ClaimResponse)", "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport.", 0, java.lang.Integer.MAX_VALUE, insurance)); + children.add(new Property("note", "Annotation", "Free-text information captured about the transport as it progresses.", 0, java.lang.Integer.MAX_VALUE, note)); + children.add(new Property("relevantHistory", "Reference(Provenance)", "Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport.", 0, java.lang.Integer.MAX_VALUE, relevantHistory)); + children.add(new Property("restriction", "", "If the Transport.focus is a request resource and the transport is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.", 0, 1, restriction)); + children.add(new Property("input", "", "Additional information that may be needed in the execution of the transport.", 0, java.lang.Integer.MAX_VALUE, input)); + children.add(new Property("output", "", "Outputs produced by the Transport.", 0, java.lang.Integer.MAX_VALUE, output)); + children.add(new Property("requestedLocation", "Reference(Location)", "The desired or final location for the transport.", 0, 1, requestedLocation)); + children.add(new Property("currentLocation", "Reference(Location)", "The current location for the entity to be transported.", 0, 1, currentLocation)); + children.add(new Property("history", "Reference(Transport)", "The transport event prior to this one.", 0, 1, history)); + } + + @Override + public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { + switch (_hash) { + case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Identifier for the transport event that is used to identify it across multiple disparate systems.", 0, java.lang.Integer.MAX_VALUE, identifier); + case 8911915: /*instantiatesCanonical*/ return new Property("instantiatesCanonical", "canonical(ActivityDefinition)", "The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.", 0, 1, instantiatesCanonical); + case -1926393373: /*instantiatesUri*/ return new Property("instantiatesUri", "uri", "The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.", 0, 1, instantiatesUri); + case -332612366: /*basedOn*/ return new Property("basedOn", "Reference(Any)", "BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a \"request\" resource such as a ServiceRequest or Transport, which is distinct from the \"request\" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab.", 0, java.lang.Integer.MAX_VALUE, basedOn); + case -445338488: /*groupIdentifier*/ return new Property("groupIdentifier", "Identifier", "An identifier that links together multiple transports and other requests that were created in the same context.", 0, 1, groupIdentifier); + case -995410646: /*partOf*/ return new Property("partOf", "Reference(Transport|Contract)", "A larger event of which this particular event is a component or step.", 0, java.lang.Integer.MAX_VALUE, partOf); + case -892481550: /*status*/ return new Property("status", "code", "A code specifying the state of the transport event.", 0, 1, status); + case 2051346646: /*statusReason*/ return new Property("statusReason", "CodeableConcept", "An explanation as to why this transport is held, failed, was refused, etc.", 0, 1, statusReason); + case -1183762788: /*intent*/ return new Property("intent", "code", "Indicates the \"level\" of actionability associated with the Transport, i.e. i+R[9]Cs this a proposed transport, a planned transport, an actionable transport, etc.", 0, 1, intent); + case -1165461084: /*priority*/ return new Property("priority", "code", "Indicates how quickly the Transport should be addressed with respect to other requests.", 0, 1, priority); + case 3059181: /*code*/ return new Property("code", "CodeableConcept", "A name or code (or both) briefly describing what the transport involves.", 0, 1, code); + case -1724546052: /*description*/ return new Property("description", "string", "A free-text description of what is to be performed.", 0, 1, description); + case 97604824: /*focus*/ return new Property("focus", "Reference(Any)", "The request being actioned or the resource being manipulated by this transport.", 0, 1, focus); + case 101577: /*for*/ return new Property("for", "Reference(Any)", "The entity who benefits from the performance of the service specified in the transport (e.g., the patient).", 0, 1, for_); + case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created.", 0, 1, encounter); + case 1146641609: /*completionTime*/ return new Property("completionTime", "dateTime", "Identifies the completion time of the event (the occurrence).", 0, 1, completionTime); + case -1500852503: /*authoredOn*/ return new Property("authoredOn", "dateTime", "The date and time this transport was created.", 0, 1, authoredOn); + case 1959003007: /*lastModified*/ return new Property("lastModified", "dateTime", "The date and time of last modification to this transport.", 0, 1, lastModified); + case 693933948: /*requester*/ return new Property("requester", "Reference(Device|Organization|Patient|Practitioner|PractitionerRole|RelatedPerson)", "The creator of the transport.", 0, 1, requester); + case -901444568: /*performerType*/ return new Property("performerType", "CodeableConcept", "The kind of participant that should perform the transport.", 0, java.lang.Integer.MAX_VALUE, performerType); + case 106164915: /*owner*/ return new Property("owner", "Reference(Practitioner|PractitionerRole|Organization|CareTeam|HealthcareService|Patient|Device|RelatedPerson)", "Individual organization or Device currently responsible for transport execution.", 0, 1, owner); + case 1901043637: /*location*/ return new Property("location", "Reference(Location)", "Principal physical location where the this transport is performed.", 0, 1, location); + case 722137681: /*reasonCode*/ return new Property("reasonCode", "CodeableConcept", "A description or code indicating why this transport needs to be performed.", 0, 1, reasonCode); + case -1146218137: /*reasonReference*/ return new Property("reasonReference", "Reference(Any)", "A resource reference indicating why this transport needs to be performed.", 0, 1, reasonReference); + case 73049818: /*insurance*/ return new Property("insurance", "Reference(Coverage|ClaimResponse)", "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport.", 0, java.lang.Integer.MAX_VALUE, insurance); + case 3387378: /*note*/ return new Property("note", "Annotation", "Free-text information captured about the transport as it progresses.", 0, java.lang.Integer.MAX_VALUE, note); + case 1538891575: /*relevantHistory*/ return new Property("relevantHistory", "Reference(Provenance)", "Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport.", 0, java.lang.Integer.MAX_VALUE, relevantHistory); + case -1561062452: /*restriction*/ return new Property("restriction", "", "If the Transport.focus is a request resource and the transport is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.", 0, 1, restriction); + case 100358090: /*input*/ return new Property("input", "", "Additional information that may be needed in the execution of the transport.", 0, java.lang.Integer.MAX_VALUE, input); + case -1005512447: /*output*/ return new Property("output", "", "Outputs produced by the Transport.", 0, java.lang.Integer.MAX_VALUE, output); + case -1788392125: /*requestedLocation*/ return new Property("requestedLocation", "Reference(Location)", "The desired or final location for the transport.", 0, 1, requestedLocation); + case -140429234: /*currentLocation*/ return new Property("currentLocation", "Reference(Location)", "The current location for the entity to be transported.", 0, 1, currentLocation); + case 926934164: /*history*/ return new Property("history", "Reference(Transport)", "The transport event prior to this one.", 0, 1, history); + default: return super.getNamedProperty(_hash, _name, _checkValid); + } + + } + + @Override + public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { + switch (hash) { + case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier + case 8911915: /*instantiatesCanonical*/ return this.instantiatesCanonical == null ? new Base[0] : new Base[] {this.instantiatesCanonical}; // CanonicalType + case -1926393373: /*instantiatesUri*/ return this.instantiatesUri == null ? new Base[0] : new Base[] {this.instantiatesUri}; // UriType + case -332612366: /*basedOn*/ return this.basedOn == null ? new Base[0] : this.basedOn.toArray(new Base[this.basedOn.size()]); // Reference + case -445338488: /*groupIdentifier*/ return this.groupIdentifier == null ? new Base[0] : new Base[] {this.groupIdentifier}; // Identifier + case -995410646: /*partOf*/ return this.partOf == null ? new Base[0] : this.partOf.toArray(new Base[this.partOf.size()]); // Reference + case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration + case 2051346646: /*statusReason*/ return this.statusReason == null ? new Base[0] : new Base[] {this.statusReason}; // CodeableConcept + case -1183762788: /*intent*/ return this.intent == null ? new Base[0] : new Base[] {this.intent}; // Enumeration + case -1165461084: /*priority*/ return this.priority == null ? new Base[0] : new Base[] {this.priority}; // Enumeration + case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept + case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // StringType + case 97604824: /*focus*/ return this.focus == null ? new Base[0] : new Base[] {this.focus}; // Reference + case 101577: /*for*/ return this.for_ == null ? new Base[0] : new Base[] {this.for_}; // Reference + case 1524132147: /*encounter*/ return this.encounter == null ? new Base[0] : new Base[] {this.encounter}; // Reference + case 1146641609: /*completionTime*/ return this.completionTime == null ? new Base[0] : new Base[] {this.completionTime}; // DateTimeType + case -1500852503: /*authoredOn*/ return this.authoredOn == null ? new Base[0] : new Base[] {this.authoredOn}; // DateTimeType + case 1959003007: /*lastModified*/ return this.lastModified == null ? new Base[0] : new Base[] {this.lastModified}; // DateTimeType + case 693933948: /*requester*/ return this.requester == null ? new Base[0] : new Base[] {this.requester}; // Reference + case -901444568: /*performerType*/ return this.performerType == null ? new Base[0] : this.performerType.toArray(new Base[this.performerType.size()]); // CodeableConcept + case 106164915: /*owner*/ return this.owner == null ? new Base[0] : new Base[] {this.owner}; // Reference + case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // Reference + case 722137681: /*reasonCode*/ return this.reasonCode == null ? new Base[0] : new Base[] {this.reasonCode}; // CodeableConcept + case -1146218137: /*reasonReference*/ return this.reasonReference == null ? new Base[0] : new Base[] {this.reasonReference}; // Reference + case 73049818: /*insurance*/ return this.insurance == null ? new Base[0] : this.insurance.toArray(new Base[this.insurance.size()]); // Reference + case 3387378: /*note*/ return this.note == null ? new Base[0] : this.note.toArray(new Base[this.note.size()]); // Annotation + case 1538891575: /*relevantHistory*/ return this.relevantHistory == null ? new Base[0] : this.relevantHistory.toArray(new Base[this.relevantHistory.size()]); // Reference + case -1561062452: /*restriction*/ return this.restriction == null ? new Base[0] : new Base[] {this.restriction}; // TransportRestrictionComponent + case 100358090: /*input*/ return this.input == null ? new Base[0] : this.input.toArray(new Base[this.input.size()]); // ParameterComponent + case -1005512447: /*output*/ return this.output == null ? new Base[0] : this.output.toArray(new Base[this.output.size()]); // TransportOutputComponent + case -1788392125: /*requestedLocation*/ return this.requestedLocation == null ? new Base[0] : new Base[] {this.requestedLocation}; // Reference + case -140429234: /*currentLocation*/ return this.currentLocation == null ? new Base[0] : new Base[] {this.currentLocation}; // Reference + case 926934164: /*history*/ return this.history == null ? new Base[0] : new Base[] {this.history}; // Reference + default: return super.getProperty(hash, name, checkValid); + } + + } + + @Override + public Base setProperty(int hash, String name, Base value) throws FHIRException { + switch (hash) { + case -1618432855: // identifier + this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); // Identifier + return value; + case 8911915: // instantiatesCanonical + this.instantiatesCanonical = TypeConvertor.castToCanonical(value); // CanonicalType + return value; + case -1926393373: // instantiatesUri + this.instantiatesUri = TypeConvertor.castToUri(value); // UriType + return value; + case -332612366: // basedOn + this.getBasedOn().add(TypeConvertor.castToReference(value)); // Reference + return value; + case -445338488: // groupIdentifier + this.groupIdentifier = TypeConvertor.castToIdentifier(value); // Identifier + return value; + case -995410646: // partOf + this.getPartOf().add(TypeConvertor.castToReference(value)); // Reference + return value; + case -892481550: // status + value = new TransportStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration + return value; + case 2051346646: // statusReason + this.statusReason = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -1183762788: // intent + value = new TransportIntentEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.intent = (Enumeration) value; // Enumeration + return value; + case -1165461084: // priority + value = new RequestPriorityEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.priority = (Enumeration) value; // Enumeration + return value; + case 3059181: // code + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -1724546052: // description + this.description = TypeConvertor.castToString(value); // StringType + return value; + case 97604824: // focus + this.focus = TypeConvertor.castToReference(value); // Reference + return value; + case 101577: // for + this.for_ = TypeConvertor.castToReference(value); // Reference + return value; + case 1524132147: // encounter + this.encounter = TypeConvertor.castToReference(value); // Reference + return value; + case 1146641609: // completionTime + this.completionTime = TypeConvertor.castToDateTime(value); // DateTimeType + return value; + case -1500852503: // authoredOn + this.authoredOn = TypeConvertor.castToDateTime(value); // DateTimeType + return value; + case 1959003007: // lastModified + this.lastModified = TypeConvertor.castToDateTime(value); // DateTimeType + return value; + case 693933948: // requester + this.requester = TypeConvertor.castToReference(value); // Reference + return value; + case -901444568: // performerType + this.getPerformerType().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept + return value; + case 106164915: // owner + this.owner = TypeConvertor.castToReference(value); // Reference + return value; + case 1901043637: // location + this.location = TypeConvertor.castToReference(value); // Reference + return value; + case 722137681: // reasonCode + this.reasonCode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + return value; + case -1146218137: // reasonReference + this.reasonReference = TypeConvertor.castToReference(value); // Reference + return value; + case 73049818: // insurance + this.getInsurance().add(TypeConvertor.castToReference(value)); // Reference + return value; + case 3387378: // note + this.getNote().add(TypeConvertor.castToAnnotation(value)); // Annotation + return value; + case 1538891575: // relevantHistory + this.getRelevantHistory().add(TypeConvertor.castToReference(value)); // Reference + return value; + case -1561062452: // restriction + this.restriction = (TransportRestrictionComponent) value; // TransportRestrictionComponent + return value; + case 100358090: // input + this.getInput().add((ParameterComponent) value); // ParameterComponent + return value; + case -1005512447: // output + this.getOutput().add((TransportOutputComponent) value); // TransportOutputComponent + return value; + case -1788392125: // requestedLocation + this.requestedLocation = TypeConvertor.castToReference(value); // Reference + return value; + case -140429234: // currentLocation + this.currentLocation = TypeConvertor.castToReference(value); // Reference + return value; + case 926934164: // history + this.history = TypeConvertor.castToReference(value); // Reference + return value; + default: return super.setProperty(hash, name, value); + } + + } + + @Override + public Base setProperty(String name, Base value) throws FHIRException { + if (name.equals("identifier")) { + this.getIdentifier().add(TypeConvertor.castToIdentifier(value)); + } else if (name.equals("instantiatesCanonical")) { + this.instantiatesCanonical = TypeConvertor.castToCanonical(value); // CanonicalType + } else if (name.equals("instantiatesUri")) { + this.instantiatesUri = TypeConvertor.castToUri(value); // UriType + } else if (name.equals("basedOn")) { + this.getBasedOn().add(TypeConvertor.castToReference(value)); + } else if (name.equals("groupIdentifier")) { + this.groupIdentifier = TypeConvertor.castToIdentifier(value); // Identifier + } else if (name.equals("partOf")) { + this.getPartOf().add(TypeConvertor.castToReference(value)); + } else if (name.equals("status")) { + value = new TransportStatusEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.status = (Enumeration) value; // Enumeration + } else if (name.equals("statusReason")) { + this.statusReason = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("intent")) { + value = new TransportIntentEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.intent = (Enumeration) value; // Enumeration + } else if (name.equals("priority")) { + value = new RequestPriorityEnumFactory().fromType(TypeConvertor.castToCode(value)); + this.priority = (Enumeration) value; // Enumeration + } else if (name.equals("code")) { + this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("description")) { + this.description = TypeConvertor.castToString(value); // StringType + } else if (name.equals("focus")) { + this.focus = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("for")) { + this.for_ = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("encounter")) { + this.encounter = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("completionTime")) { + this.completionTime = TypeConvertor.castToDateTime(value); // DateTimeType + } else if (name.equals("authoredOn")) { + this.authoredOn = TypeConvertor.castToDateTime(value); // DateTimeType + } else if (name.equals("lastModified")) { + this.lastModified = TypeConvertor.castToDateTime(value); // DateTimeType + } else if (name.equals("requester")) { + this.requester = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("performerType")) { + this.getPerformerType().add(TypeConvertor.castToCodeableConcept(value)); + } else if (name.equals("owner")) { + this.owner = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("location")) { + this.location = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("reasonCode")) { + this.reasonCode = TypeConvertor.castToCodeableConcept(value); // CodeableConcept + } else if (name.equals("reasonReference")) { + this.reasonReference = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("insurance")) { + this.getInsurance().add(TypeConvertor.castToReference(value)); + } else if (name.equals("note")) { + this.getNote().add(TypeConvertor.castToAnnotation(value)); + } else if (name.equals("relevantHistory")) { + this.getRelevantHistory().add(TypeConvertor.castToReference(value)); + } else if (name.equals("restriction")) { + this.restriction = (TransportRestrictionComponent) value; // TransportRestrictionComponent + } else if (name.equals("input")) { + this.getInput().add((ParameterComponent) value); + } else if (name.equals("output")) { + this.getOutput().add((TransportOutputComponent) value); + } else if (name.equals("requestedLocation")) { + this.requestedLocation = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("currentLocation")) { + this.currentLocation = TypeConvertor.castToReference(value); // Reference + } else if (name.equals("history")) { + this.history = TypeConvertor.castToReference(value); // Reference + } else + return super.setProperty(name, value); + return value; + } + + @Override + public Base makeProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1618432855: return addIdentifier(); + case 8911915: return getInstantiatesCanonicalElement(); + case -1926393373: return getInstantiatesUriElement(); + case -332612366: return addBasedOn(); + case -445338488: return getGroupIdentifier(); + case -995410646: return addPartOf(); + case -892481550: return getStatusElement(); + case 2051346646: return getStatusReason(); + case -1183762788: return getIntentElement(); + case -1165461084: return getPriorityElement(); + case 3059181: return getCode(); + case -1724546052: return getDescriptionElement(); + case 97604824: return getFocus(); + case 101577: return getFor(); + case 1524132147: return getEncounter(); + case 1146641609: return getCompletionTimeElement(); + case -1500852503: return getAuthoredOnElement(); + case 1959003007: return getLastModifiedElement(); + case 693933948: return getRequester(); + case -901444568: return addPerformerType(); + case 106164915: return getOwner(); + case 1901043637: return getLocation(); + case 722137681: return getReasonCode(); + case -1146218137: return getReasonReference(); + case 73049818: return addInsurance(); + case 3387378: return addNote(); + case 1538891575: return addRelevantHistory(); + case -1561062452: return getRestriction(); + case 100358090: return addInput(); + case -1005512447: return addOutput(); + case -1788392125: return getRequestedLocation(); + case -140429234: return getCurrentLocation(); + case 926934164: return getHistory(); + default: return super.makeProperty(hash, name); + } + + } + + @Override + public String[] getTypesForProperty(int hash, String name) throws FHIRException { + switch (hash) { + case -1618432855: /*identifier*/ return new String[] {"Identifier"}; + case 8911915: /*instantiatesCanonical*/ return new String[] {"canonical"}; + case -1926393373: /*instantiatesUri*/ return new String[] {"uri"}; + case -332612366: /*basedOn*/ return new String[] {"Reference"}; + case -445338488: /*groupIdentifier*/ return new String[] {"Identifier"}; + case -995410646: /*partOf*/ return new String[] {"Reference"}; + case -892481550: /*status*/ return new String[] {"code"}; + case 2051346646: /*statusReason*/ return new String[] {"CodeableConcept"}; + case -1183762788: /*intent*/ return new String[] {"code"}; + case -1165461084: /*priority*/ return new String[] {"code"}; + case 3059181: /*code*/ return new String[] {"CodeableConcept"}; + case -1724546052: /*description*/ return new String[] {"string"}; + case 97604824: /*focus*/ return new String[] {"Reference"}; + case 101577: /*for*/ return new String[] {"Reference"}; + case 1524132147: /*encounter*/ return new String[] {"Reference"}; + case 1146641609: /*completionTime*/ return new String[] {"dateTime"}; + case -1500852503: /*authoredOn*/ return new String[] {"dateTime"}; + case 1959003007: /*lastModified*/ return new String[] {"dateTime"}; + case 693933948: /*requester*/ return new String[] {"Reference"}; + case -901444568: /*performerType*/ return new String[] {"CodeableConcept"}; + case 106164915: /*owner*/ return new String[] {"Reference"}; + case 1901043637: /*location*/ return new String[] {"Reference"}; + case 722137681: /*reasonCode*/ return new String[] {"CodeableConcept"}; + case -1146218137: /*reasonReference*/ return new String[] {"Reference"}; + case 73049818: /*insurance*/ return new String[] {"Reference"}; + case 3387378: /*note*/ return new String[] {"Annotation"}; + case 1538891575: /*relevantHistory*/ return new String[] {"Reference"}; + case -1561062452: /*restriction*/ return new String[] {}; + case 100358090: /*input*/ return new String[] {}; + case -1005512447: /*output*/ return new String[] {}; + case -1788392125: /*requestedLocation*/ return new String[] {"Reference"}; + case -140429234: /*currentLocation*/ return new String[] {"Reference"}; + case 926934164: /*history*/ return new String[] {"Reference"}; + default: return super.getTypesForProperty(hash, name); + } + + } + + @Override + public Base addChild(String name) throws FHIRException { + if (name.equals("identifier")) { + return addIdentifier(); + } + else if (name.equals("instantiatesCanonical")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.instantiatesCanonical"); + } + else if (name.equals("instantiatesUri")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.instantiatesUri"); + } + else if (name.equals("basedOn")) { + return addBasedOn(); + } + else if (name.equals("groupIdentifier")) { + this.groupIdentifier = new Identifier(); + return this.groupIdentifier; + } + else if (name.equals("partOf")) { + return addPartOf(); + } + else if (name.equals("status")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.status"); + } + else if (name.equals("statusReason")) { + this.statusReason = new CodeableConcept(); + return this.statusReason; + } + else if (name.equals("intent")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.intent"); + } + else if (name.equals("priority")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.priority"); + } + else if (name.equals("code")) { + this.code = new CodeableConcept(); + return this.code; + } + else if (name.equals("description")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.description"); + } + else if (name.equals("focus")) { + this.focus = new Reference(); + return this.focus; + } + else if (name.equals("for")) { + this.for_ = new Reference(); + return this.for_; + } + else if (name.equals("encounter")) { + this.encounter = new Reference(); + return this.encounter; + } + else if (name.equals("completionTime")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.completionTime"); + } + else if (name.equals("authoredOn")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.authoredOn"); + } + else if (name.equals("lastModified")) { + throw new FHIRException("Cannot call addChild on a primitive type Transport.lastModified"); + } + else if (name.equals("requester")) { + this.requester = new Reference(); + return this.requester; + } + else if (name.equals("performerType")) { + return addPerformerType(); + } + else if (name.equals("owner")) { + this.owner = new Reference(); + return this.owner; + } + else if (name.equals("location")) { + this.location = new Reference(); + return this.location; + } + else if (name.equals("reasonCode")) { + this.reasonCode = new CodeableConcept(); + return this.reasonCode; + } + else if (name.equals("reasonReference")) { + this.reasonReference = new Reference(); + return this.reasonReference; + } + else if (name.equals("insurance")) { + return addInsurance(); + } + else if (name.equals("note")) { + return addNote(); + } + else if (name.equals("relevantHistory")) { + return addRelevantHistory(); + } + else if (name.equals("restriction")) { + this.restriction = new TransportRestrictionComponent(); + return this.restriction; + } + else if (name.equals("input")) { + return addInput(); + } + else if (name.equals("output")) { + return addOutput(); + } + else if (name.equals("requestedLocation")) { + this.requestedLocation = new Reference(); + return this.requestedLocation; + } + else if (name.equals("currentLocation")) { + this.currentLocation = new Reference(); + return this.currentLocation; + } + else if (name.equals("history")) { + this.history = new Reference(); + return this.history; + } + else + return super.addChild(name); + } + + public String fhirType() { + return "Transport"; + + } + + public Transport copy() { + Transport dst = new Transport(); + copyValues(dst); + return dst; + } + + public void copyValues(Transport dst) { + super.copyValues(dst); + if (identifier != null) { + dst.identifier = new ArrayList(); + for (Identifier i : identifier) + dst.identifier.add(i.copy()); + }; + dst.instantiatesCanonical = instantiatesCanonical == null ? null : instantiatesCanonical.copy(); + dst.instantiatesUri = instantiatesUri == null ? null : instantiatesUri.copy(); + if (basedOn != null) { + dst.basedOn = new ArrayList(); + for (Reference i : basedOn) + dst.basedOn.add(i.copy()); + }; + dst.groupIdentifier = groupIdentifier == null ? null : groupIdentifier.copy(); + if (partOf != null) { + dst.partOf = new ArrayList(); + for (Reference i : partOf) + dst.partOf.add(i.copy()); + }; + dst.status = status == null ? null : status.copy(); + dst.statusReason = statusReason == null ? null : statusReason.copy(); + dst.intent = intent == null ? null : intent.copy(); + dst.priority = priority == null ? null : priority.copy(); + dst.code = code == null ? null : code.copy(); + dst.description = description == null ? null : description.copy(); + dst.focus = focus == null ? null : focus.copy(); + dst.for_ = for_ == null ? null : for_.copy(); + dst.encounter = encounter == null ? null : encounter.copy(); + dst.completionTime = completionTime == null ? null : completionTime.copy(); + dst.authoredOn = authoredOn == null ? null : authoredOn.copy(); + dst.lastModified = lastModified == null ? null : lastModified.copy(); + dst.requester = requester == null ? null : requester.copy(); + if (performerType != null) { + dst.performerType = new ArrayList(); + for (CodeableConcept i : performerType) + dst.performerType.add(i.copy()); + }; + dst.owner = owner == null ? null : owner.copy(); + dst.location = location == null ? null : location.copy(); + dst.reasonCode = reasonCode == null ? null : reasonCode.copy(); + dst.reasonReference = reasonReference == null ? null : reasonReference.copy(); + if (insurance != null) { + dst.insurance = new ArrayList(); + for (Reference i : insurance) + dst.insurance.add(i.copy()); + }; + if (note != null) { + dst.note = new ArrayList(); + for (Annotation i : note) + dst.note.add(i.copy()); + }; + if (relevantHistory != null) { + dst.relevantHistory = new ArrayList(); + for (Reference i : relevantHistory) + dst.relevantHistory.add(i.copy()); + }; + dst.restriction = restriction == null ? null : restriction.copy(); + if (input != null) { + dst.input = new ArrayList(); + for (ParameterComponent i : input) + dst.input.add(i.copy()); + }; + if (output != null) { + dst.output = new ArrayList(); + for (TransportOutputComponent i : output) + dst.output.add(i.copy()); + }; + dst.requestedLocation = requestedLocation == null ? null : requestedLocation.copy(); + dst.currentLocation = currentLocation == null ? null : currentLocation.copy(); + dst.history = history == null ? null : history.copy(); + } + + protected Transport typedCopy() { + return copy(); + } + + @Override + public boolean equalsDeep(Base other_) { + if (!super.equalsDeep(other_)) + return false; + if (!(other_ instanceof Transport)) + return false; + Transport o = (Transport) other_; + return compareDeep(identifier, o.identifier, true) && compareDeep(instantiatesCanonical, o.instantiatesCanonical, true) + && compareDeep(instantiatesUri, o.instantiatesUri, true) && compareDeep(basedOn, o.basedOn, true) + && compareDeep(groupIdentifier, o.groupIdentifier, true) && compareDeep(partOf, o.partOf, true) + && compareDeep(status, o.status, true) && compareDeep(statusReason, o.statusReason, true) && compareDeep(intent, o.intent, true) + && compareDeep(priority, o.priority, true) && compareDeep(code, o.code, true) && compareDeep(description, o.description, true) + && compareDeep(focus, o.focus, true) && compareDeep(for_, o.for_, true) && compareDeep(encounter, o.encounter, true) + && compareDeep(completionTime, o.completionTime, true) && compareDeep(authoredOn, o.authoredOn, true) + && compareDeep(lastModified, o.lastModified, true) && compareDeep(requester, o.requester, true) + && compareDeep(performerType, o.performerType, true) && compareDeep(owner, o.owner, true) && compareDeep(location, o.location, true) + && compareDeep(reasonCode, o.reasonCode, true) && compareDeep(reasonReference, o.reasonReference, true) + && compareDeep(insurance, o.insurance, true) && compareDeep(note, o.note, true) && compareDeep(relevantHistory, o.relevantHistory, true) + && compareDeep(restriction, o.restriction, true) && compareDeep(input, o.input, true) && compareDeep(output, o.output, true) + && compareDeep(requestedLocation, o.requestedLocation, true) && compareDeep(currentLocation, o.currentLocation, true) + && compareDeep(history, o.history, true); + } + + @Override + public boolean equalsShallow(Base other_) { + if (!super.equalsShallow(other_)) + return false; + if (!(other_ instanceof Transport)) + return false; + Transport o = (Transport) other_; + return compareValues(instantiatesCanonical, o.instantiatesCanonical, true) && compareValues(instantiatesUri, o.instantiatesUri, true) + && compareValues(status, o.status, true) && compareValues(intent, o.intent, true) && compareValues(priority, o.priority, true) + && compareValues(description, o.description, true) && compareValues(completionTime, o.completionTime, true) + && compareValues(authoredOn, o.authoredOn, true) && compareValues(lastModified, o.lastModified, true) + ; + } + + public boolean isEmpty() { + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, instantiatesCanonical + , instantiatesUri, basedOn, groupIdentifier, partOf, status, statusReason, intent + , priority, code, description, focus, for_, encounter, completionTime, authoredOn + , lastModified, requester, performerType, owner, location, reasonCode, reasonReference + , insurance, note, relevantHistory, restriction, input, output, requestedLocation + , currentLocation, history); + } + + @Override + public ResourceType getResourceType() { + return ResourceType.Transport; + } + + +} + diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TriggerDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TriggerDefinition.java index e67667d51..97a30d07a 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TriggerDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TriggerDefinition.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -122,6 +122,7 @@ public class TriggerDefinition extends DataType implements ICompositeType { case DATAREMOVED: return "data-removed"; case DATAACCESSED: return "data-accessed"; case DATAACCESSENDED: return "data-access-ended"; + case NULL: return null; default: return "?"; } } @@ -135,6 +136,7 @@ public class TriggerDefinition extends DataType implements ICompositeType { case DATAREMOVED: return "http://hl7.org/fhir/trigger-type"; case DATAACCESSED: return "http://hl7.org/fhir/trigger-type"; case DATAACCESSENDED: return "http://hl7.org/fhir/trigger-type"; + case NULL: return null; default: return "?"; } } @@ -148,6 +150,7 @@ public class TriggerDefinition extends DataType implements ICompositeType { case DATAREMOVED: return "The trigger occurs whenever data of a particular type is removed."; case DATAACCESSED: return "The trigger occurs whenever data of a particular type is accessed."; case DATAACCESSENDED: return "The trigger occurs whenever access to data of a particular type is completed."; + case NULL: return null; default: return "?"; } } @@ -161,6 +164,7 @@ public class TriggerDefinition extends DataType implements ICompositeType { case DATAREMOVED: return "Data Removed"; case DATAACCESSED: return "Data Accessed"; case DATAACCESSENDED: return "Data Access Ended"; + case NULL: return null; default: return "?"; } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TypeConvertor.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TypeConvertor.java index 5bff8b779..b16298e95 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TypeConvertor.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/TypeConvertor.java @@ -276,6 +276,13 @@ public class TypeConvertor { throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to an Quantity"); } + public static Count castToCount(Base b) throws FHIRException { + if (b instanceof Count) + return (Count) b; + else + throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to an Count"); + } + public static Money castToMoney(Base b) throws FHIRException { if (b instanceof Money) return (Money) b; @@ -518,6 +525,16 @@ public class TypeConvertor { else throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a TriggerDefinition"); } + + public static ExtendedContactDetail castToExtendedContactDetail(Base b) throws FHIRException { + if (b instanceof ExtendedContactDetail) + return (ExtendedContactDetail) b; + else + throw new FHIRException("Unable to convert a "+b.getClass().getName()+" to a ExtendedContactDetail"); + } + + + public static XhtmlNode castToXhtml(Base b) throws FHIRException { if (b instanceof Element) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/UsageContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/UsageContext.java index 48e200916..92b7e5630 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/UsageContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/UsageContext.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ValueSet.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ValueSet.java index 61e8c683c..aa76f30c9 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ValueSet.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ValueSet.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -575,10 +575,10 @@ public class ValueSet extends CanonicalResource { protected List concept; /** - * Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true. + * Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true. */ @Child(name = "filter", type = {}, order=4, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true) - @Description(shortDefinition="Select codes/concepts by their properties (including relationships)", formalDefinition="Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true." ) + @Description(shortDefinition="Select codes/concepts by their properties (including relationships)", formalDefinition="Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true." ) protected List filter; /** @@ -756,7 +756,7 @@ public class ValueSet extends CanonicalResource { } /** - * @return {@link #filter} (Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true.) + * @return {@link #filter} (Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true.) */ public List getFilter() { if (this.filter == null) @@ -923,7 +923,7 @@ public class ValueSet extends CanonicalResource { children.add(new Property("system", "uri", "An absolute URI which is the code system from which the selected codes come from.", 0, 1, system)); children.add(new Property("version", "string", "The version of the code system that the codes are selected from, or the special version '*' for all versions.", 0, 1, version)); children.add(new Property("concept", "", "Specifies a concept to be included or excluded.", 0, java.lang.Integer.MAX_VALUE, concept)); - children.add(new Property("filter", "", "Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true.", 0, java.lang.Integer.MAX_VALUE, filter)); + children.add(new Property("filter", "", "Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true.", 0, java.lang.Integer.MAX_VALUE, filter)); children.add(new Property("valueSet", "canonical(ValueSet)", "Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url. If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets.", 0, java.lang.Integer.MAX_VALUE, valueSet)); children.add(new Property("copyright", "string", "A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present).", 0, 1, copyright)); } @@ -934,7 +934,7 @@ public class ValueSet extends CanonicalResource { case -887328209: /*system*/ return new Property("system", "uri", "An absolute URI which is the code system from which the selected codes come from.", 0, 1, system); case 351608024: /*version*/ return new Property("version", "string", "The version of the code system that the codes are selected from, or the special version '*' for all versions.", 0, 1, version); case 951024232: /*concept*/ return new Property("concept", "", "Specifies a concept to be included or excluded.", 0, java.lang.Integer.MAX_VALUE, concept); - case -1274492040: /*filter*/ return new Property("filter", "", "Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true.", 0, java.lang.Integer.MAX_VALUE, filter); + case -1274492040: /*filter*/ return new Property("filter", "", "Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true.", 0, java.lang.Integer.MAX_VALUE, filter); case -1410174671: /*valueSet*/ return new Property("valueSet", "canonical(ValueSet)", "Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url. If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets.", 0, java.lang.Integer.MAX_VALUE, valueSet); case 1522889671: /*copyright*/ return new Property("copyright", "string", "A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present).", 0, 1, copyright); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -4441,28 +4441,21 @@ public class ValueSet extends CanonicalResource { @Block() public static class ValueSetScopeComponent extends BackboneElement implements IBaseBackboneElement { - /** - * The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc. - */ - @Child(name = "focus", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="General focus of the Value Set as it relates to the intended semantic space", formalDefinition="The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc." ) - protected StringType focus; - /** * Criteria describing which concepts or codes should be included and why. */ - @Child(name = "inclusionCriteria", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) + @Child(name = "inclusionCriteria", type = {StringType.class}, order=1, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Criteria describing which concepts or codes should be included and why", formalDefinition="Criteria describing which concepts or codes should be included and why." ) protected StringType inclusionCriteria; /** * Criteria describing which concepts or codes should be excluded and why. */ - @Child(name = "exclusionCriteria", type = {StringType.class}, order=3, min=0, max=1, modifier=false, summary=false) + @Child(name = "exclusionCriteria", type = {StringType.class}, order=2, min=0, max=1, modifier=false, summary=false) @Description(shortDefinition="Criteria describing which concepts or codes should be excluded and why", formalDefinition="Criteria describing which concepts or codes should be excluded and why." ) protected StringType exclusionCriteria; - private static final long serialVersionUID = -467705711L; + private static final long serialVersionUID = -641434610L; /** * Constructor @@ -4471,55 +4464,6 @@ public class ValueSet extends CanonicalResource { super(); } - /** - * @return {@link #focus} (The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc.). This is the underlying object with id, value and extensions. The accessor "getFocus" gives direct access to the value - */ - public StringType getFocusElement() { - if (this.focus == null) - if (Configuration.errorOnAutoCreate()) - throw new Error("Attempt to auto-create ValueSetScopeComponent.focus"); - else if (Configuration.doAutoCreate()) - this.focus = new StringType(); // bb - return this.focus; - } - - public boolean hasFocusElement() { - return this.focus != null && !this.focus.isEmpty(); - } - - public boolean hasFocus() { - return this.focus != null && !this.focus.isEmpty(); - } - - /** - * @param value {@link #focus} (The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc.). This is the underlying object with id, value and extensions. The accessor "getFocus" gives direct access to the value - */ - public ValueSetScopeComponent setFocusElement(StringType value) { - this.focus = value; - return this; - } - - /** - * @return The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc. - */ - public String getFocus() { - return this.focus == null ? null : this.focus.getValue(); - } - - /** - * @param value The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc. - */ - public ValueSetScopeComponent setFocus(String value) { - if (Utilities.noString(value)) - this.focus = null; - else { - if (this.focus == null) - this.focus = new StringType(); - this.focus.setValue(value); - } - return this; - } - /** * @return {@link #inclusionCriteria} (Criteria describing which concepts or codes should be included and why.). This is the underlying object with id, value and extensions. The accessor "getInclusionCriteria" gives direct access to the value */ @@ -4620,7 +4564,6 @@ public class ValueSet extends CanonicalResource { protected void listChildren(List children) { super.listChildren(children); - children.add(new Property("focus", "string", "The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc.", 0, 1, focus)); children.add(new Property("inclusionCriteria", "string", "Criteria describing which concepts or codes should be included and why.", 0, 1, inclusionCriteria)); children.add(new Property("exclusionCriteria", "string", "Criteria describing which concepts or codes should be excluded and why.", 0, 1, exclusionCriteria)); } @@ -4628,7 +4571,6 @@ public class ValueSet extends CanonicalResource { @Override public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException { switch (_hash) { - case 97604824: /*focus*/ return new Property("focus", "string", "The general focus of the Value Set as it relates to the intended semantic space. This can be the information about clinical relevancy or the statement about the general focus of the Value Set, such as a description of types of messages, payment options, geographic locations, etc.", 0, 1, focus); case -1380638565: /*inclusionCriteria*/ return new Property("inclusionCriteria", "string", "Criteria describing which concepts or codes should be included and why.", 0, 1, inclusionCriteria); case 985682765: /*exclusionCriteria*/ return new Property("exclusionCriteria", "string", "Criteria describing which concepts or codes should be excluded and why.", 0, 1, exclusionCriteria); default: return super.getNamedProperty(_hash, _name, _checkValid); @@ -4639,7 +4581,6 @@ public class ValueSet extends CanonicalResource { @Override public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException { switch (hash) { - case 97604824: /*focus*/ return this.focus == null ? new Base[0] : new Base[] {this.focus}; // StringType case -1380638565: /*inclusionCriteria*/ return this.inclusionCriteria == null ? new Base[0] : new Base[] {this.inclusionCriteria}; // StringType case 985682765: /*exclusionCriteria*/ return this.exclusionCriteria == null ? new Base[0] : new Base[] {this.exclusionCriteria}; // StringType default: return super.getProperty(hash, name, checkValid); @@ -4650,9 +4591,6 @@ public class ValueSet extends CanonicalResource { @Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { - case 97604824: // focus - this.focus = TypeConvertor.castToString(value); // StringType - return value; case -1380638565: // inclusionCriteria this.inclusionCriteria = TypeConvertor.castToString(value); // StringType return value; @@ -4666,9 +4604,7 @@ public class ValueSet extends CanonicalResource { @Override public Base setProperty(String name, Base value) throws FHIRException { - if (name.equals("focus")) { - this.focus = TypeConvertor.castToString(value); // StringType - } else if (name.equals("inclusionCriteria")) { + if (name.equals("inclusionCriteria")) { this.inclusionCriteria = TypeConvertor.castToString(value); // StringType } else if (name.equals("exclusionCriteria")) { this.exclusionCriteria = TypeConvertor.castToString(value); // StringType @@ -4680,7 +4616,6 @@ public class ValueSet extends CanonicalResource { @Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { - case 97604824: return getFocusElement(); case -1380638565: return getInclusionCriteriaElement(); case 985682765: return getExclusionCriteriaElement(); default: return super.makeProperty(hash, name); @@ -4691,7 +4626,6 @@ public class ValueSet extends CanonicalResource { @Override public String[] getTypesForProperty(int hash, String name) throws FHIRException { switch (hash) { - case 97604824: /*focus*/ return new String[] {"string"}; case -1380638565: /*inclusionCriteria*/ return new String[] {"string"}; case 985682765: /*exclusionCriteria*/ return new String[] {"string"}; default: return super.getTypesForProperty(hash, name); @@ -4701,10 +4635,7 @@ public class ValueSet extends CanonicalResource { @Override public Base addChild(String name) throws FHIRException { - if (name.equals("focus")) { - throw new FHIRException("Cannot call addChild on a primitive type ValueSet.scope.focus"); - } - else if (name.equals("inclusionCriteria")) { + if (name.equals("inclusionCriteria")) { throw new FHIRException("Cannot call addChild on a primitive type ValueSet.scope.inclusionCriteria"); } else if (name.equals("exclusionCriteria")) { @@ -4722,7 +4653,6 @@ public class ValueSet extends CanonicalResource { public void copyValues(ValueSetScopeComponent dst) { super.copyValues(dst); - dst.focus = focus == null ? null : focus.copy(); dst.inclusionCriteria = inclusionCriteria == null ? null : inclusionCriteria.copy(); dst.exclusionCriteria = exclusionCriteria == null ? null : exclusionCriteria.copy(); } @@ -4734,8 +4664,8 @@ public class ValueSet extends CanonicalResource { if (!(other_ instanceof ValueSetScopeComponent)) return false; ValueSetScopeComponent o = (ValueSetScopeComponent) other_; - return compareDeep(focus, o.focus, true) && compareDeep(inclusionCriteria, o.inclusionCriteria, true) - && compareDeep(exclusionCriteria, o.exclusionCriteria, true); + return compareDeep(inclusionCriteria, o.inclusionCriteria, true) && compareDeep(exclusionCriteria, o.exclusionCriteria, true) + ; } @Override @@ -4745,12 +4675,12 @@ public class ValueSet extends CanonicalResource { if (!(other_ instanceof ValueSetScopeComponent)) return false; ValueSetScopeComponent o = (ValueSetScopeComponent) other_; - return compareValues(focus, o.focus, true) && compareValues(inclusionCriteria, o.inclusionCriteria, true) - && compareValues(exclusionCriteria, o.exclusionCriteria, true); + return compareValues(inclusionCriteria, o.inclusionCriteria, true) && compareValues(exclusionCriteria, o.exclusionCriteria, true) + ; } public boolean isEmpty() { - return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(focus, inclusionCriteria, exclusionCriteria + return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(inclusionCriteria, exclusionCriteria ); } @@ -4812,10 +4742,10 @@ public class ValueSet extends CanonicalResource { protected BooleanType experimental; /** - * The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition'). + * The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised. */ @Child(name = "date", type = {DateTimeType.class}, order=7, min=0, max=1, modifier=false, summary=true) - @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition')." ) + @Description(shortDefinition="Date last changed", formalDefinition="The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised." ) protected DateTimeType date; /** @@ -4890,10 +4820,10 @@ public class ValueSet extends CanonicalResource { protected ValueSetExpansionComponent expansion; /** - * Description of the semantic space the Value Set Expansion is intended to cover. + * Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description. */ @Child(name = "scope", type = {}, order=18, min=0, max=1, modifier=false, summary=false) - @Description(shortDefinition="Description of the semantic space the Value Set Expansion is intended to cover", formalDefinition="Description of the semantic space the Value Set Expansion is intended to cover." ) + @Description(shortDefinition="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description", formalDefinition="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description." ) protected ValueSetScopeComponent scope; private static final long serialVersionUID = 1111958035L; @@ -5253,7 +5183,7 @@ public class ValueSet extends CanonicalResource { } /** - * @return {@link #date} (The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition').). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + * @return {@link #date} (The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised.). 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) @@ -5273,7 +5203,7 @@ public class ValueSet extends CanonicalResource { } /** - * @param value {@link #date} (The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition').). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value + * @param value {@link #date} (The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value */ public ValueSet setDateElement(DateTimeType value) { this.date = value; @@ -5281,14 +5211,14 @@ public class ValueSet extends CanonicalResource { } /** - * @return The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition'). + * @return The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised. */ public Date getDate() { return this.date == null ? null : this.date.getValue(); } /** - * @param value The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition'). + * @param value The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised. */ public ValueSet setDate(Date value) { if (value == null) @@ -5750,7 +5680,7 @@ public class ValueSet extends CanonicalResource { } /** - * @return {@link #scope} (Description of the semantic space the Value Set Expansion is intended to cover.) + * @return {@link #scope} (Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description.) */ public ValueSetScopeComponent getScope() { if (this.scope == null) @@ -5766,7 +5696,7 @@ public class ValueSet extends CanonicalResource { } /** - * @param value {@link #scope} (Description of the semantic space the Value Set Expansion is intended to cover.) + * @param value {@link #scope} (Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description.) */ public ValueSet setScope(ValueSetScopeComponent value) { this.scope = value; @@ -5782,7 +5712,7 @@ public class ValueSet extends CanonicalResource { children.add(new Property("title", "string", "A short, descriptive, user-friendly title for the value set.", 0, 1, title)); children.add(new Property("status", "code", "The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state.", 0, 1, status)); children.add(new Property("experimental", "boolean", "A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental)); - children.add(new Property("date", "dateTime", "The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition').", 0, 1, date)); + children.add(new Property("date", "dateTime", "The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised.", 0, 1, date)); children.add(new Property("publisher", "string", "The name of the organization or individual that published the value set.", 0, 1, publisher)); children.add(new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact)); children.add(new Property("description", "markdown", "A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set.", 0, 1, description)); @@ -5793,7 +5723,7 @@ public class ValueSet extends CanonicalResource { children.add(new Property("copyright", "markdown", "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.", 0, 1, copyright)); children.add(new Property("compose", "", "A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD).", 0, 1, compose)); children.add(new Property("expansion", "", "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.", 0, 1, expansion)); - children.add(new Property("scope", "", "Description of the semantic space the Value Set Expansion is intended to cover.", 0, 1, scope)); + children.add(new Property("scope", "", "Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description.", 0, 1, scope)); } @Override @@ -5806,7 +5736,7 @@ public class ValueSet extends CanonicalResource { case 110371416: /*title*/ return new Property("title", "string", "A short, descriptive, user-friendly title for the value set.", 0, 1, title); case -892481550: /*status*/ return new Property("status", "code", "The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state.", 0, 1, status); case -404562712: /*experimental*/ return new Property("experimental", "boolean", "A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", 0, 1, experimental); - case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition').", 0, 1, date); + case 3076014: /*date*/ return new Property("date", "dateTime", "The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised.", 0, 1, date); case 1447404028: /*publisher*/ return new Property("publisher", "string", "The name of the organization or individual that published the value set.", 0, 1, publisher); case 951526432: /*contact*/ return new Property("contact", "ContactDetail", "Contact details to assist a user in finding and communicating with the publisher.", 0, java.lang.Integer.MAX_VALUE, contact); case -1724546052: /*description*/ return new Property("description", "markdown", "A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set.", 0, 1, description); @@ -5817,7 +5747,7 @@ public class ValueSet extends CanonicalResource { case 1522889671: /*copyright*/ return new Property("copyright", "markdown", "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.", 0, 1, copyright); case 950497682: /*compose*/ return new Property("compose", "", "A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD).", 0, 1, compose); case 17878207: /*expansion*/ return new Property("expansion", "", "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.", 0, 1, expansion); - case 109264468: /*scope*/ return new Property("scope", "", "Description of the semantic space the Value Set Expansion is intended to cover.", 0, 1, scope); + case 109264468: /*scope*/ return new Property("scope", "", "Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description.", 0, 1, scope); default: return super.getNamedProperty(_hash, _name, _checkValid); } @@ -6177,822 +6107,6 @@ public class ValueSet extends CanonicalResource { return ResourceType.ValueSet; } - /** - * Search parameter: code - *

- * Description: This special parameter searches for codes in the value set. See additional notes on the ValueSet resource
- * Type: token
- * Path: ValueSet.expansion.contains.code | ValueSet.compose.include.concept.code
- *

- */ - @SearchParamDefinition(name="code", path="ValueSet.expansion.contains.code | ValueSet.compose.include.concept.code", description="This special parameter searches for codes in the value set. See additional notes on the ValueSet resource", type="token" ) - public static final String SP_CODE = "code"; - /** - * Fluent Client search parameter constant for code - *

- * Description: This special parameter searches for codes in the value set. See additional notes on the ValueSet resource
- * Type: token
- * Path: ValueSet.expansion.contains.code | ValueSet.compose.include.concept.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE); - - /** - * Search parameter: expansion - *

- * Description: Identifies the value set expansion (business identifier)
- * Type: uri
- * Path: ValueSet.expansion.identifier
- *

- */ - @SearchParamDefinition(name="expansion", path="ValueSet.expansion.identifier", description="Identifies the value set expansion (business identifier)", type="uri" ) - public static final String SP_EXPANSION = "expansion"; - /** - * Fluent Client search parameter constant for expansion - *

- * Description: Identifies the value set expansion (business identifier)
- * Type: uri
- * Path: ValueSet.expansion.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam EXPANSION = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_EXPANSION); - - /** - * Search parameter: reference - *

- * Description: A code system included or excluded in the value set or an imported value set
- * Type: uri
- * Path: ValueSet.compose.include.system
- *

- */ - @SearchParamDefinition(name="reference", path="ValueSet.compose.include.system", description="A code system included or excluded in the value set or an imported value set", type="uri" ) - public static final String SP_REFERENCE = "reference"; - /** - * Fluent Client search parameter constant for reference - *

- * Description: A code system included or excluded in the value set or an imported value set
- * Type: uri
- * Path: ValueSet.compose.include.system
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam REFERENCE = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_REFERENCE); - - /** - * Search parameter: context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - @SearchParamDefinition(name="context-quantity", path="(CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set\r\n", type="quantity" ) - public static final String SP_CONTEXT_QUANTITY = "context-quantity"; - /** - * Fluent Client search parameter constant for context-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A quantity- or range-valued use context assigned to the capability statement -* [CodeSystem](codesystem.html): A quantity- or range-valued use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A quantity- or range-valued use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A quantity- or range-valued use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A quantity- or range-valued use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A quantity- or range-valued use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A quantity- or range-valued use context assigned to the message definition -* [NamingSystem](namingsystem.html): A quantity- or range-valued use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A quantity- or range-valued use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A quantity- or range-valued use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A quantity- or range-valued use context assigned to the structure definition -* [StructureMap](structuremap.html): A quantity- or range-valued use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A quantity- or range-valued use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A quantity- or range-valued use context assigned to the value set -
- * Type: quantity
- * Path: (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.QuantityClientParam CONTEXT_QUANTITY = new ca.uhn.fhir.rest.gclient.QuantityClientParam(SP_CONTEXT_QUANTITY); - - /** - * Search parameter: context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-quantity", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context-quantity"} ) - public static final String SP_CONTEXT_TYPE_QUANTITY = "context-type-quantity"; - /** - * Fluent Client search parameter constant for context-type-quantity - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and quantity- or range-based value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and quantity- or range-based value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and quantity- or range-based value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and quantity- or range-based value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and quantity- or range-based value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and quantity- or range-based value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and quantity- or range-based value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and quantity- or range-based value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and quantity- or range-based value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and quantity- or range-based value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and quantity- or range-based value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and quantity- or range-based value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and quantity- or range-based value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and quantity- or range-based value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_QUANTITY = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_QUANTITY); - - /** - * Search parameter: context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - @SearchParamDefinition(name="context-type-value", path="CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context type and value assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context type and value assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context type and value assigned to the value set\r\n", type="composite", compositeOf={"context-type", "context"} ) - public static final String SP_CONTEXT_TYPE_VALUE = "context-type-value"; - /** - * Fluent Client search parameter constant for context-type-value - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context type and value assigned to the capability statement -* [CodeSystem](codesystem.html): A use context type and value assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context type and value assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context type and value assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context type and value assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context type and value assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context type and value assigned to the message definition -* [NamingSystem](namingsystem.html): A use context type and value assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context type and value assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context type and value assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context type and value assigned to the structure definition -* [StructureMap](structuremap.html): A use context type and value assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context type and value assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context type and value assigned to the value set -
- * Type: composite
- * Path: CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext
- *

- */ - public static final ca.uhn.fhir.rest.gclient.CompositeClientParam CONTEXT_TYPE_VALUE = new ca.uhn.fhir.rest.gclient.CompositeClientParam(SP_CONTEXT_TYPE_VALUE); - - /** - * Search parameter: context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - @SearchParamDefinition(name="context-type", path="CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A type of use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A type of use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A type of use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT_TYPE = "context-type"; - /** - * Fluent Client search parameter constant for context-type - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A type of use context assigned to the capability statement -* [CodeSystem](codesystem.html): A type of use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A type of use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A type of use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A type of use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A type of use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A type of use context assigned to the message definition -* [NamingSystem](namingsystem.html): A type of use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A type of use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A type of use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A type of use context assigned to the structure definition -* [StructureMap](structuremap.html): A type of use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A type of use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A type of use context assigned to the value set -
- * Type: token
- * Path: CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT_TYPE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT_TYPE); - - /** - * Search parameter: context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - @SearchParamDefinition(name="context", path="(CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement\r\n* [CodeSystem](codesystem.html): A use context assigned to the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition\r\n* [ConceptMap](conceptmap.html): A use context assigned to the concept map\r\n* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition\r\n* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide\r\n* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition\r\n* [NamingSystem](namingsystem.html): A use context assigned to the naming system\r\n* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition\r\n* [SearchParameter](searchparameter.html): A use context assigned to the search parameter\r\n* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition\r\n* [StructureMap](structuremap.html): A use context assigned to the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities\r\n* [ValueSet](valueset.html): A use context assigned to the value set\r\n", type="token" ) - public static final String SP_CONTEXT = "context"; - /** - * Fluent Client search parameter constant for context - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): A use context assigned to the capability statement -* [CodeSystem](codesystem.html): A use context assigned to the code system -* [CompartmentDefinition](compartmentdefinition.html): A use context assigned to the compartment definition -* [ConceptMap](conceptmap.html): A use context assigned to the concept map -* [GraphDefinition](graphdefinition.html): A use context assigned to the graph definition -* [ImplementationGuide](implementationguide.html): A use context assigned to the implementation guide -* [MessageDefinition](messagedefinition.html): A use context assigned to the message definition -* [NamingSystem](namingsystem.html): A use context assigned to the naming system -* [OperationDefinition](operationdefinition.html): A use context assigned to the operation definition -* [SearchParameter](searchparameter.html): A use context assigned to the search parameter -* [StructureDefinition](structuredefinition.html): A use context assigned to the structure definition -* [StructureMap](structuremap.html): A use context assigned to the structure map -* [TerminologyCapabilities](terminologycapabilities.html): A use context assigned to the terminology capabilities -* [ValueSet](valueset.html): A use context assigned to the value set -
- * Type: token
- * Path: (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept)
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTEXT = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CONTEXT); - - /** - * Search parameter: date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - @SearchParamDefinition(name="date", path="CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The capability statement publication date\r\n* [CodeSystem](codesystem.html): The code system publication date\r\n* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date\r\n* [ConceptMap](conceptmap.html): The concept map publication date\r\n* [GraphDefinition](graphdefinition.html): The graph definition publication date\r\n* [ImplementationGuide](implementationguide.html): The implementation guide publication date\r\n* [MessageDefinition](messagedefinition.html): The message definition publication date\r\n* [NamingSystem](namingsystem.html): The naming system publication date\r\n* [OperationDefinition](operationdefinition.html): The operation definition publication date\r\n* [SearchParameter](searchparameter.html): The search parameter publication date\r\n* [StructureDefinition](structuredefinition.html): The structure definition publication date\r\n* [StructureMap](structuremap.html): The structure map publication date\r\n* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date\r\n* [ValueSet](valueset.html): The value set publication date\r\n", type="date" ) - public static final String SP_DATE = "date"; - /** - * Fluent Client search parameter constant for date - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The capability statement publication date -* [CodeSystem](codesystem.html): The code system publication date -* [CompartmentDefinition](compartmentdefinition.html): The compartment definition publication date -* [ConceptMap](conceptmap.html): The concept map publication date -* [GraphDefinition](graphdefinition.html): The graph definition publication date -* [ImplementationGuide](implementationguide.html): The implementation guide publication date -* [MessageDefinition](messagedefinition.html): The message definition publication date -* [NamingSystem](namingsystem.html): The naming system publication date -* [OperationDefinition](operationdefinition.html): The operation definition publication date -* [SearchParameter](searchparameter.html): The search parameter publication date -* [StructureDefinition](structuredefinition.html): The structure definition publication date -* [StructureMap](structuremap.html): The structure map publication date -* [TerminologyCapabilities](terminologycapabilities.html): The terminology capabilities publication date -* [ValueSet](valueset.html): The value set publication date -
- * Type: date
- * Path: CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE); - - /** - * Search parameter: description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - @SearchParamDefinition(name="description", path="CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The description of the capability statement\r\n* [CodeSystem](codesystem.html): The description of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition\r\n* [ConceptMap](conceptmap.html): The description of the concept map\r\n* [GraphDefinition](graphdefinition.html): The description of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The description of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The description of the message definition\r\n* [NamingSystem](namingsystem.html): The description of the naming system\r\n* [OperationDefinition](operationdefinition.html): The description of the operation definition\r\n* [SearchParameter](searchparameter.html): The description of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The description of the structure definition\r\n* [StructureMap](structuremap.html): The description of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities\r\n* [ValueSet](valueset.html): The description of the value set\r\n", type="string" ) - public static final String SP_DESCRIPTION = "description"; - /** - * Fluent Client search parameter constant for description - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The description of the capability statement -* [CodeSystem](codesystem.html): The description of the code system -* [CompartmentDefinition](compartmentdefinition.html): The description of the compartment definition -* [ConceptMap](conceptmap.html): The description of the concept map -* [GraphDefinition](graphdefinition.html): The description of the graph definition -* [ImplementationGuide](implementationguide.html): The description of the implementation guide -* [MessageDefinition](messagedefinition.html): The description of the message definition -* [NamingSystem](namingsystem.html): The description of the naming system -* [OperationDefinition](operationdefinition.html): The description of the operation definition -* [SearchParameter](searchparameter.html): The description of the search parameter -* [StructureDefinition](structuredefinition.html): The description of the structure definition -* [StructureMap](structuremap.html): The description of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The description of the terminology capabilities -* [ValueSet](valueset.html): The description of the value set -
- * Type: string
- * Path: CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_DESCRIPTION); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [CodeSystem](codesystem.html): External identifier for the code system -* [ConceptMap](conceptmap.html): External identifier for the concept map -* [MessageDefinition](messagedefinition.html): External identifier for the message definition -* [StructureDefinition](structuredefinition.html): External identifier for the structure definition -* [StructureMap](structuremap.html): External identifier for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities -* [ValueSet](valueset.html): External identifier for the value set -
- * Type: token
- * Path: CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - @SearchParamDefinition(name="jurisdiction", path="CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement\r\n* [CodeSystem](codesystem.html): Intended jurisdiction for the code system\r\n* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map\r\n* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition\r\n* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition\r\n* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system\r\n* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition\r\n* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter\r\n* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition\r\n* [StructureMap](structuremap.html): Intended jurisdiction for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities\r\n* [ValueSet](valueset.html): Intended jurisdiction for the value set\r\n", type="token" ) - public static final String SP_JURISDICTION = "jurisdiction"; - /** - * Fluent Client search parameter constant for jurisdiction - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Intended jurisdiction for the capability statement -* [CodeSystem](codesystem.html): Intended jurisdiction for the code system -* [ConceptMap](conceptmap.html): Intended jurisdiction for the concept map -* [GraphDefinition](graphdefinition.html): Intended jurisdiction for the graph definition -* [ImplementationGuide](implementationguide.html): Intended jurisdiction for the implementation guide -* [MessageDefinition](messagedefinition.html): Intended jurisdiction for the message definition -* [NamingSystem](namingsystem.html): Intended jurisdiction for the naming system -* [OperationDefinition](operationdefinition.html): Intended jurisdiction for the operation definition -* [SearchParameter](searchparameter.html): Intended jurisdiction for the search parameter -* [StructureDefinition](structuredefinition.html): Intended jurisdiction for the structure definition -* [StructureMap](structuremap.html): Intended jurisdiction for the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Intended jurisdiction for the terminology capabilities -* [ValueSet](valueset.html): Intended jurisdiction for the value set -
- * Type: token
- * Path: CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam JURISDICTION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_JURISDICTION); - - /** - * Search parameter: name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - @SearchParamDefinition(name="name", path="CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): Computationally friendly name of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition\r\n* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map\r\n* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition\r\n* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system\r\n* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition\r\n* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition\r\n* [StructureMap](structuremap.html): Computationally friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): Computationally friendly name of the value set\r\n", type="string" ) - public static final String SP_NAME = "name"; - /** - * Fluent Client search parameter constant for name - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Computationally friendly name of the capability statement -* [CodeSystem](codesystem.html): Computationally friendly name of the code system -* [CompartmentDefinition](compartmentdefinition.html): Computationally friendly name of the compartment definition -* [ConceptMap](conceptmap.html): Computationally friendly name of the concept map -* [GraphDefinition](graphdefinition.html): Computationally friendly name of the graph definition -* [ImplementationGuide](implementationguide.html): Computationally friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): Computationally friendly name of the message definition -* [NamingSystem](namingsystem.html): Computationally friendly name of the naming system -* [OperationDefinition](operationdefinition.html): Computationally friendly name of the operation definition -* [SearchParameter](searchparameter.html): Computationally friendly name of the search parameter -* [StructureDefinition](structuredefinition.html): Computationally friendly name of the structure definition -* [StructureMap](structuremap.html): Computationally friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Computationally friendly name of the terminology capabilities -* [ValueSet](valueset.html): Computationally friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_NAME); - - /** - * Search parameter: publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - @SearchParamDefinition(name="publisher", path="CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement\r\n* [CodeSystem](codesystem.html): Name of the publisher of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition\r\n* [ConceptMap](conceptmap.html): Name of the publisher of the concept map\r\n* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition\r\n* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition\r\n* [NamingSystem](namingsystem.html): Name of the publisher of the naming system\r\n* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition\r\n* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter\r\n* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition\r\n* [StructureMap](structuremap.html): Name of the publisher of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities\r\n* [ValueSet](valueset.html): Name of the publisher of the value set\r\n", type="string" ) - public static final String SP_PUBLISHER = "publisher"; - /** - * Fluent Client search parameter constant for publisher - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): Name of the publisher of the capability statement -* [CodeSystem](codesystem.html): Name of the publisher of the code system -* [CompartmentDefinition](compartmentdefinition.html): Name of the publisher of the compartment definition -* [ConceptMap](conceptmap.html): Name of the publisher of the concept map -* [GraphDefinition](graphdefinition.html): Name of the publisher of the graph definition -* [ImplementationGuide](implementationguide.html): Name of the publisher of the implementation guide -* [MessageDefinition](messagedefinition.html): Name of the publisher of the message definition -* [NamingSystem](namingsystem.html): Name of the publisher of the naming system -* [OperationDefinition](operationdefinition.html): Name of the publisher of the operation definition -* [SearchParameter](searchparameter.html): Name of the publisher of the search parameter -* [StructureDefinition](structuredefinition.html): Name of the publisher of the structure definition -* [StructureMap](structuremap.html): Name of the publisher of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): Name of the publisher of the terminology capabilities -* [ValueSet](valueset.html): Name of the publisher of the value set -
- * Type: string
- * Path: CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam PUBLISHER = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_PUBLISHER); - - /** - * Search parameter: status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - @SearchParamDefinition(name="status", path="CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement\r\n* [CodeSystem](codesystem.html): The current status of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition\r\n* [ConceptMap](conceptmap.html): The current status of the concept map\r\n* [GraphDefinition](graphdefinition.html): The current status of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The current status of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The current status of the message definition\r\n* [NamingSystem](namingsystem.html): The current status of the naming system\r\n* [OperationDefinition](operationdefinition.html): The current status of the operation definition\r\n* [SearchParameter](searchparameter.html): The current status of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The current status of the structure definition\r\n* [StructureMap](structuremap.html): The current status of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities\r\n* [ValueSet](valueset.html): The current status of the value set\r\n", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The current status of the capability statement -* [CodeSystem](codesystem.html): The current status of the code system -* [CompartmentDefinition](compartmentdefinition.html): The current status of the compartment definition -* [ConceptMap](conceptmap.html): The current status of the concept map -* [GraphDefinition](graphdefinition.html): The current status of the graph definition -* [ImplementationGuide](implementationguide.html): The current status of the implementation guide -* [MessageDefinition](messagedefinition.html): The current status of the message definition -* [NamingSystem](namingsystem.html): The current status of the naming system -* [OperationDefinition](operationdefinition.html): The current status of the operation definition -* [SearchParameter](searchparameter.html): The current status of the search parameter -* [StructureDefinition](structuredefinition.html): The current status of the structure definition -* [StructureMap](structuremap.html): The current status of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The current status of the terminology capabilities -* [ValueSet](valueset.html): The current status of the value set -
- * Type: token
- * Path: CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - @SearchParamDefinition(name="title", path="CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement\r\n* [CodeSystem](codesystem.html): The human-friendly name of the code system\r\n* [ConceptMap](conceptmap.html): The human-friendly name of the concept map\r\n* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition\r\n* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition\r\n* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition\r\n* [StructureMap](structuremap.html): The human-friendly name of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities\r\n* [ValueSet](valueset.html): The human-friendly name of the value set\r\n", type="string" ) - public static final String SP_TITLE = "title"; - /** - * Fluent Client search parameter constant for title - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The human-friendly name of the capability statement -* [CodeSystem](codesystem.html): The human-friendly name of the code system -* [ConceptMap](conceptmap.html): The human-friendly name of the concept map -* [ImplementationGuide](implementationguide.html): The human-friendly name of the implementation guide -* [MessageDefinition](messagedefinition.html): The human-friendly name of the message definition -* [OperationDefinition](operationdefinition.html): The human-friendly name of the operation definition -* [StructureDefinition](structuredefinition.html): The human-friendly name of the structure definition -* [StructureMap](structuremap.html): The human-friendly name of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The human-friendly name of the terminology capabilities -* [ValueSet](valueset.html): The human-friendly name of the value set -
- * Type: string
- * Path: CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title
- *

- */ - public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_TITLE); - - /** - * Search parameter: url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - @SearchParamDefinition(name="url", path="CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement\r\n* [CodeSystem](codesystem.html): The uri that identifies the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition\r\n* [ConceptMap](conceptmap.html): The uri that identifies the concept map\r\n* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition\r\n* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition\r\n* [NamingSystem](namingsystem.html): The uri that identifies the naming system\r\n* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition\r\n* [SearchParameter](searchparameter.html): The uri that identifies the search parameter\r\n* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition\r\n* [StructureMap](structuremap.html): The uri that identifies the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities\r\n* [ValueSet](valueset.html): The uri that identifies the value set\r\n", type="uri" ) - public static final String SP_URL = "url"; - /** - * Fluent Client search parameter constant for url - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The uri that identifies the capability statement -* [CodeSystem](codesystem.html): The uri that identifies the code system -* [CompartmentDefinition](compartmentdefinition.html): The uri that identifies the compartment definition -* [ConceptMap](conceptmap.html): The uri that identifies the concept map -* [GraphDefinition](graphdefinition.html): The uri that identifies the graph definition -* [ImplementationGuide](implementationguide.html): The uri that identifies the implementation guide -* [MessageDefinition](messagedefinition.html): The uri that identifies the message definition -* [NamingSystem](namingsystem.html): The uri that identifies the naming system -* [OperationDefinition](operationdefinition.html): The uri that identifies the operation definition -* [SearchParameter](searchparameter.html): The uri that identifies the search parameter -* [StructureDefinition](structuredefinition.html): The uri that identifies the structure definition -* [StructureMap](structuremap.html): The uri that identifies the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The uri that identifies the terminology capabilities -* [ValueSet](valueset.html): The uri that identifies the value set -
- * Type: uri
- * Path: CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | NamingSystem.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url
- *

- */ - public static final ca.uhn.fhir.rest.gclient.UriClientParam URL = new ca.uhn.fhir.rest.gclient.UriClientParam(SP_URL); - - /** - * Search parameter: version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - @SearchParamDefinition(name="version", path="CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version", description="Multiple Resources: \r\n\r\n* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement\r\n* [CodeSystem](codesystem.html): The business version of the code system\r\n* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition\r\n* [ConceptMap](conceptmap.html): The business version of the concept map\r\n* [GraphDefinition](graphdefinition.html): The business version of the graph definition\r\n* [ImplementationGuide](implementationguide.html): The business version of the implementation guide\r\n* [MessageDefinition](messagedefinition.html): The business version of the message definition\r\n* [NamingSystem](namingsystem.html): The business version of the naming system\r\n* [OperationDefinition](operationdefinition.html): The business version of the operation definition\r\n* [SearchParameter](searchparameter.html): The business version of the search parameter\r\n* [StructureDefinition](structuredefinition.html): The business version of the structure definition\r\n* [StructureMap](structuremap.html): The business version of the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities\r\n* [ValueSet](valueset.html): The business version of the value set\r\n", type="token" ) - public static final String SP_VERSION = "version"; - /** - * Fluent Client search parameter constant for version - *

- * Description: Multiple Resources: - -* [CapabilityStatement](capabilitystatement.html): The business version of the capability statement -* [CodeSystem](codesystem.html): The business version of the code system -* [CompartmentDefinition](compartmentdefinition.html): The business version of the compartment definition -* [ConceptMap](conceptmap.html): The business version of the concept map -* [GraphDefinition](graphdefinition.html): The business version of the graph definition -* [ImplementationGuide](implementationguide.html): The business version of the implementation guide -* [MessageDefinition](messagedefinition.html): The business version of the message definition -* [NamingSystem](namingsystem.html): The business version of the naming system -* [OperationDefinition](operationdefinition.html): The business version of the operation definition -* [SearchParameter](searchparameter.html): The business version of the search parameter -* [StructureDefinition](structuredefinition.html): The business version of the structure definition -* [StructureMap](structuremap.html): The business version of the structure map -* [TerminologyCapabilities](terminologycapabilities.html): The business version of the terminology capabilities -* [ValueSet](valueset.html): The business version of the value set -
- * Type: token
- * Path: CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | NamingSystem.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VerificationResult.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VerificationResult.java index 4835645e6..617175808 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VerificationResult.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VerificationResult.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -110,6 +110,7 @@ public class VerificationResult extends DomainResource { case REQREVALID: return "req-revalid"; case VALFAIL: return "val-fail"; case REVALFAIL: return "reval-fail"; + case NULL: return null; default: return "?"; } } @@ -121,6 +122,7 @@ public class VerificationResult extends DomainResource { case REQREVALID: return "http://hl7.org/fhir/CodeSystem/verificationresult-status"; case VALFAIL: return "http://hl7.org/fhir/CodeSystem/verificationresult-status"; case REVALFAIL: return "http://hl7.org/fhir/CodeSystem/verificationresult-status"; + case NULL: return null; default: return "?"; } } @@ -132,6 +134,7 @@ public class VerificationResult extends DomainResource { case REQREVALID: return "***TODO***"; case VALFAIL: return "***TODO***"; case REVALFAIL: return "***TODO***"; + case NULL: return null; default: return "?"; } } @@ -143,6 +146,7 @@ public class VerificationResult extends DomainResource { case REQREVALID: return "Requires revalidation"; case VALFAIL: return "Validation failed"; case REVALFAIL: return "Re-Validation failed"; + case NULL: return null; default: return "?"; } } @@ -2649,32 +2653,6 @@ public class VerificationResult extends DomainResource { return ResourceType.VerificationResult; } - /** - * Search parameter: target - *

- * Description: A resource that was validated
- * Type: reference
- * Path: VerificationResult.target
- *

- */ - @SearchParamDefinition(name="target", path="VerificationResult.target", description="A resource that was validated", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_TARGET = "target"; - /** - * Fluent Client search parameter constant for target - *

- * Description: A resource that was validated
- * Type: reference
- * Path: VerificationResult.target
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_TARGET); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "VerificationResult:target". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET = new ca.uhn.fhir.model.api.Include("VerificationResult:target").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VisionPrescription.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VisionPrescription.java index 6baba41c0..ca32379d7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VisionPrescription.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/VisionPrescription.java @@ -29,7 +29,7 @@ package org.hl7.fhir.r5.model; POSSIBILITY OF SUCH DAMAGE. */ -// Generated on Tue, Dec 28, 2021 07:16+1100 for FHIR v5.0.0-snapshot1 +// Generated on Fri, Jul 15, 2022 11:20+1000 for FHIR vcurrent import java.util.ArrayList; import java.util.Date; @@ -97,6 +97,7 @@ public class VisionPrescription extends DomainResource { case DOWN: return "down"; case IN: return "in"; case OUT: return "out"; + case NULL: return null; default: return "?"; } } @@ -106,6 +107,7 @@ public class VisionPrescription extends DomainResource { case DOWN: return "http://hl7.org/fhir/vision-base-codes"; case IN: return "http://hl7.org/fhir/vision-base-codes"; case OUT: return "http://hl7.org/fhir/vision-base-codes"; + case NULL: return null; default: return "?"; } } @@ -115,6 +117,7 @@ public class VisionPrescription extends DomainResource { case DOWN: return "bottom."; case IN: return "inner edge."; case OUT: return "outer edge."; + case NULL: return null; default: return "?"; } } @@ -124,6 +127,7 @@ public class VisionPrescription extends DomainResource { case DOWN: return "Down"; case IN: return "In"; case OUT: return "Out"; + case NULL: return null; default: return "?"; } } @@ -207,6 +211,7 @@ public class VisionPrescription extends DomainResource { switch (this) { case RIGHT: return "right"; case LEFT: return "left"; + case NULL: return null; default: return "?"; } } @@ -214,6 +219,7 @@ public class VisionPrescription extends DomainResource { switch (this) { case RIGHT: return "http://hl7.org/fhir/vision-eye-codes"; case LEFT: return "http://hl7.org/fhir/vision-eye-codes"; + case NULL: return null; default: return "?"; } } @@ -221,6 +227,7 @@ public class VisionPrescription extends DomainResource { switch (this) { case RIGHT: return "Right Eye."; case LEFT: return "Left Eye."; + case NULL: return null; default: return "?"; } } @@ -228,6 +235,7 @@ public class VisionPrescription extends DomainResource { switch (this) { case RIGHT: return "Right Eye"; case LEFT: return "Left Eye"; + case NULL: return null; default: return "?"; } } @@ -2347,304 +2355,6 @@ public class VisionPrescription extends DomainResource { return ResourceType.VisionPrescription; } - /** - * Search parameter: datewritten - *

- * Description: Return prescriptions written on this date
- * Type: date
- * Path: VisionPrescription.dateWritten
- *

- */ - @SearchParamDefinition(name="datewritten", path="VisionPrescription.dateWritten", description="Return prescriptions written on this date", type="date" ) - public static final String SP_DATEWRITTEN = "datewritten"; - /** - * Fluent Client search parameter constant for datewritten - *

- * Description: Return prescriptions written on this date
- * Type: date
- * Path: VisionPrescription.dateWritten
- *

- */ - public static final ca.uhn.fhir.rest.gclient.DateClientParam DATEWRITTEN = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATEWRITTEN); - - /** - * Search parameter: prescriber - *

- * Description: Who authorized the vision prescription
- * Type: reference
- * Path: VisionPrescription.prescriber
- *

- */ - @SearchParamDefinition(name="prescriber", path="VisionPrescription.prescriber", description="Who authorized the vision prescription", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Practitioner.class, PractitionerRole.class } ) - public static final String SP_PRESCRIBER = "prescriber"; - /** - * Fluent Client search parameter constant for prescriber - *

- * Description: Who authorized the vision prescription
- * Type: reference
- * Path: VisionPrescription.prescriber
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIBER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PRESCRIBER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "VisionPrescription:prescriber". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIBER = new ca.uhn.fhir.model.api.Include("VisionPrescription:prescriber").toLocked(); - - /** - * Search parameter: status - *

- * Description: The status of the vision prescription
- * Type: token
- * Path: VisionPrescription.status
- *

- */ - @SearchParamDefinition(name="status", path="VisionPrescription.status", description="The status of the vision prescription", type="token" ) - public static final String SP_STATUS = "status"; - /** - * Fluent Client search parameter constant for status - *

- * Description: The status of the vision prescription
- * Type: token
- * Path: VisionPrescription.status
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS); - - /** - * Search parameter: encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - @SearchParamDefinition(name="encounter", path="Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter", description="Multiple Resources: \r\n\r\n* [Composition](composition.html): Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter during which request was created\r\n* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made\r\n* [DocumentReference](documentreference.html): Context of the document content\r\n* [Flag](flag.html): Alert relevant during encounter\r\n* [List](list.html): Context in which list created\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier\r\n* [Observation](observation.html): Encounter related to the observation\r\n* [Procedure](procedure.html): The Encounter during which this Procedure was created\r\n* [RiskAssessment](riskassessment.html): Where was assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter in which this request is made\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Encounter") }, target={Encounter.class } ) - public static final String SP_ENCOUNTER = "encounter"; - /** - * Fluent Client search parameter constant for encounter - *

- * Description: Multiple Resources: - -* [Composition](composition.html): Context of the Composition -* [DeviceRequest](devicerequest.html): Encounter during which request was created -* [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made -* [DocumentReference](documentreference.html): Context of the document content -* [Flag](flag.html): Alert relevant during encounter -* [List](list.html): Context in which list created -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier -* [Observation](observation.html): Encounter related to the observation -* [Procedure](procedure.html): The Encounter during which this Procedure was created -* [RiskAssessment](riskassessment.html): Where was assessment performed? -* [ServiceRequest](servicerequest.html): An encounter in which this request is made -* [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier -
- * Type: reference
- * Path: Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_ENCOUNTER); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "VisionPrescription:encounter". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER = new ca.uhn.fhir.model.api.Include("VisionPrescription:encounter").toLocked(); - - /** - * Search parameter: identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - @SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): External ids for this item\r\n* [CarePlan](careplan.html): External Ids for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\n* [Composition](composition.html): Version-independent identifier for the Composition\r\n* [Condition](condition.html): A unique identifier of the condition record\r\n* [Consent](consent.html): Identifier for this record (external references)\r\n* [DetectedIssue](detectedissue.html): Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html): Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html): An identifier for the report\r\n* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html): Identifier of the attachment binary\r\n* [Encounter](encounter.html): Identifier(s) by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier\r\n* [Goal](goal.html): External Ids for this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID\r\n* [Immunization](immunization.html): Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier\r\n* [MedicationUsage](medicationusage.html): Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier\r\n* [Observation](observation.html): The unique id for a particular observation\r\n* [Procedure](procedure.html): A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html): Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html): Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html): External identifier\r\n* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier\r\n", type="token" ) - public static final String SP_IDENTIFIER = "identifier"; - /** - * Fluent Client search parameter constant for identifier - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): External ids for this item -* [CarePlan](careplan.html): External Ids for this plan -* [CareTeam](careteam.html): External Ids for this team -* [Composition](composition.html): Version-independent identifier for the Composition -* [Condition](condition.html): A unique identifier of the condition record -* [Consent](consent.html): Identifier for this record (external references) -* [DetectedIssue](detectedissue.html): Unique id for the detected issue -* [DeviceRequest](devicerequest.html): Business identifier for request/order -* [DiagnosticReport](diagnosticreport.html): An identifier for the report -* [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents -* [DocumentReference](documentreference.html): Identifier of the attachment binary -* [Encounter](encounter.html): Identifier(s) by which this encounter is known -* [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare -* [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier -* [Goal](goal.html): External Ids for this goal -* [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID -* [Immunization](immunization.html): Business identifier -* [List](list.html): Business identifier -* [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier -* [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier -* [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier -* [MedicationUsage](medicationusage.html): Return statements with this external identifier -* [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier -* [Observation](observation.html): The unique id for a particular observation -* [Procedure](procedure.html): A unique identifier for a procedure -* [RiskAssessment](riskassessment.html): Unique identifier for the assessment -* [ServiceRequest](servicerequest.html): Identifiers assigned to this order -* [SupplyDelivery](supplydelivery.html): External identifier -* [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest -* [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier -
- * Type: token
- * Path: AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.content.identifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationUsage.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier
- *

- */ - public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER); - - /** - * Search parameter: patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - @SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, ArtifactAssessment.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseDefinition.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, ConceptMap2.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceDispense.class, DeviceMetric.class, DeviceRequest.class, DeviceUsage.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceReport.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingSelection.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, InventoryReport.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } ) - public static final String SP_PATIENT = "patient"; - /** - * Fluent Client search parameter constant for patient - *

- * Description: Multiple Resources: - -* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for -* [CarePlan](careplan.html): Who the care plan is for -* [CareTeam](careteam.html): Who care team is for -* [ClinicalImpression](clinicalimpression.html): Patient assessed -* [Composition](composition.html): Who and/or what the composition is about -* [Condition](condition.html): Who has the condition? -* [Consent](consent.html): Who the consent applies to -* [DetectedIssue](detectedissue.html): Associated patient -* [DeviceRequest](devicerequest.html): Individual the service is ordered for -* [DeviceUsage](deviceusage.html): Search by patient who used / uses the device -* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient -* [DocumentManifest](documentmanifest.html): The subject of the set of documents -* [DocumentReference](documentreference.html): Who/what is the subject of the document -* [Encounter](encounter.html): The patient present at the encounter -* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care -* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for -* [Flag](flag.html): The identity of a subject to list flags for -* [Goal](goal.html): Who this goal is intended for -* [ImagingStudy](imagingstudy.html): Who the study is about -* [Immunization](immunization.html): The patient for the vaccination record -* [List](list.html): If all resources have the same subject -* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for -* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for -* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient -* [MedicationUsage](medicationusage.html): Returns statements for a specific patient. -* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement -* [Observation](observation.html): The subject that the observation is about (if patient) -* [Procedure](procedure.html): Search by subject - a patient -* [RiskAssessment](riskassessment.html): Who/what does assessment apply to? -* [ServiceRequest](servicerequest.html): Search by subject - a patient -* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied -* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for -
- * Type: reference
- * Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- *

- */ - public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT); - -/** - * Constant for fluent queries to be used to add include statements. Specifies - * the path value of "VisionPrescription:patient". - */ - public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT = new ca.uhn.fhir.model.api.Include("VisionPrescription:patient").toLocked(); - } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ConceptMapRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ConceptMapRenderer.java index 03e220742..af30b652c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ConceptMapRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ConceptMapRenderer.java @@ -44,13 +44,13 @@ public class ConceptMapRenderer extends TerminologyRenderer { XhtmlNode p = x.para(); p.tx("Mapping from "); - if (cm.hasSource()) - AddVsRef(cm.getSource().primitiveValue(), p); + if (cm.hasSourceScope()) + AddVsRef(cm.getSourceScope().primitiveValue(), p); else p.tx("(not specified)"); p.tx(" to "); - if (cm.hasTarget()) - AddVsRef(cm.getTarget().primitiveValue(), p); + if (cm.hasTargetScope()) + AddVsRef(cm.getTargetScope().primitiveValue(), p); else p.tx("(not specified)"); @@ -112,12 +112,12 @@ public class ConceptMapRenderer extends TerminologyRenderer { for (OtherElementComponent d : ccm.getDependsOn()) { if (!sources.containsKey(d.getProperty())) sources.put(d.getProperty(), new HashSet()); - sources.get(d.getProperty()).add(d.getSystem()); +// sources.get(d.getProperty()).add(d.getSystem()); } for (OtherElementComponent d : ccm.getProduct()) { if (!targets.containsKey(d.getProperty())) targets.put(d.getProperty(), new HashSet()); - targets.get(d.getProperty()).add(d.getSystem()); +// targets.get(d.getProperty()).add(d.getSystem()); } } } @@ -425,17 +425,18 @@ public class ConceptMapRenderer extends TerminologyRenderer { for (OtherElementComponent c : list) { if (s.equals(c.getProperty())) if (withSystem) - return c.getSystem()+" / "+c.getValue(); + return /*c.getSystem()+" / "+*/c.getValue().primitiveValue(); else - return c.getValue(); + return c.getValue().primitiveValue(); } return null; } private String getDisplay(List list, String s) { for (OtherElementComponent c : list) { - if (s.equals(c.getProperty())) - return getDisplayForConcept(systemFromCanonical(c.getSystem()), versionFromCanonical(c.getSystem()), c.getValue()); + if (s.equals(c.getProperty())) { + // return getDisplayForConcept(systemFromCanonical(c.getSystem()), versionFromCanonical(c.getSystem()), c.getValue()); + } } return null; } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java index e9cdcd6eb..139ef9028 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ValueSetRenderer.java @@ -106,10 +106,10 @@ public class ValueSetRenderer extends TerminologyRenderer { for (CanonicalResource md : getContext().getWorker().allConformanceResources()) { if (md instanceof ConceptMap) { ConceptMap cm = (ConceptMap) md; - if (isSource(vs, cm.getSource())) { - ConceptMapRenderInstructions re = findByTarget(cm.getTarget()); + if (isSource(vs, cm.getSourceScope())) { + ConceptMapRenderInstructions re = findByTarget(cm.getTargetScope()); if (re != null) { - ValueSet vst = cm.hasTarget() ? getContext().getWorker().fetchResource(ValueSet.class, cm.hasTargetCanonicalType() ? cm.getTargetCanonicalType().getValue() : cm.getTargetUriType().asStringValue()) : null; + ValueSet vst = cm.hasTargetScope() ? getContext().getWorker().fetchResource(ValueSet.class, cm.hasTargetScopeCanonicalType() ? cm.getTargetScopeCanonicalType().getValue() : cm.getTargetScopeUriType().asStringValue()) : null; res.add(new UsedConceptMap(re, vst == null ? cm.getUserString("path") : vst.getUserString("path"), cm)); } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/spreadsheets/ConceptMapSpreadsheetGenerator.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/spreadsheets/ConceptMapSpreadsheetGenerator.java index 47bfced53..d255fbb53 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/spreadsheets/ConceptMapSpreadsheetGenerator.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/spreadsheets/ConceptMapSpreadsheetGenerator.java @@ -32,11 +32,11 @@ public class ConceptMapSpreadsheetGenerator extends CanonicalSpreadsheetGenerato } private void addConceptMapMetadata(Sheet sheet, ConceptMap cm) { - if (cm.hasSource()) { - addMetadataRow(sheet, "Source", cm.getSource().primitiveValue()); + if (cm.hasSourceScope()) { + addMetadataRow(sheet, "Source", cm.getSourceScope().primitiveValue()); } - if (cm.hasTarget()) { - addMetadataRow(sheet, "Target", cm.getTarget().primitiveValue()); + if (cm.hasTargetScope()) { + addMetadataRow(sheet, "Target", cm.getTargetScope().primitiveValue()); } } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java index 0f7a35b09..d67afb474 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java @@ -92,9 +92,7 @@ public class TestingUtilities extends BaseTestingUtilities { * @return */ public static IWorkerContext getSharedWorkerContext(String version) { - if ("4.5.0".equals(version)) { - version = "4.4.0"; // temporary work around - } + String v = VersionUtilities.getMajMin(version); if (fcontexts == null) { diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/MappingSheetParser.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/MappingSheetParser.java index 32c1b6d0a..5ac7f31db 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/MappingSheetParser.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/MappingSheetParser.java @@ -194,13 +194,13 @@ public class MappingSheetParser { else { element.getTargetFirstRep().setRelationship(ConceptMapRelationship.RELATEDTO); if (row.getCondition() != null) - element.getTargetFirstRep().addDependsOn().setProperty("http://hl7.org/fhirpath").setValue(processCondition(row.getCondition())); + element.getTargetFirstRep().addDependsOn().setProperty("http://hl7.org/fhirpath").setValue(new StringType(processCondition(row.getCondition()))); element.getTargetFirstRep().setCode(row.getAttribute()); element.getTargetFirstRep().setDisplay(row.getType()+" : ["+row.getMinMax()+"]"); element.getTargetFirstRep().addExtension(ToolingExtensions.EXT_MAPPING_TGTTYPE, new StringType(row.getType())); element.getTargetFirstRep().addExtension(ToolingExtensions.EXT_MAPPING_TGTCARD, new StringType(row.getMinMax())); if (row.getDerived() != null) - element.getTargetFirstRep().getProductFirstRep().setProperty(row.getDerived()).setValue(row.getDerivedMapping()); + element.getTargetFirstRep().getProductFirstRep().setProperty(row.getDerived()).setValue(new StringType(row.getDerivedMapping())); if (row.getComments() != null) element.getTargetFirstRep().setComment(row.getComments()); if (row.getDtMapping() != null) @@ -384,7 +384,7 @@ public class MappingSheetParser { } else { OtherElementComponent dep = getDependency(t, "http://hl7.org/fhirpath"); if (dep != null) - row.condition = dep.getValue(); + row.condition = dep.getValue().primitiveValue(); row.attribute = t.getCode(); row.type = t.getExtensionString(ToolingExtensions.EXT_MAPPING_TGTTYPE); row.minMax = t.getExtensionString(ToolingExtensions.EXT_MAPPING_TGTCARD); @@ -392,7 +392,7 @@ public class MappingSheetParser { row.vocabMapping = t.getExtensionString("http://hl7.org/fhir/StructureDefinition/ConceptMap-vocab-mapping"); if (t.getProduct().size() > 0) { row.derived = t.getProductFirstRep().getProperty(); - row.derivedMapping = t.getProductFirstRep().getValue(); + row.derivedMapping = t.getProductFirstRep().getValue().primitiveValue(); } } row.comments = t.getComment(); diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/structuremap/StructureMapUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/structuremap/StructureMapUtilities.java index db512d4a5..8f0c4f7d2 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/structuremap/StructureMapUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/structuremap/StructureMapUtilities.java @@ -44,12 +44,12 @@ import org.hl7.fhir.r5.elementmodel.Element; import org.hl7.fhir.r5.elementmodel.Property; import org.hl7.fhir.r5.model.*; import org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupComponent; +import org.hl7.fhir.r5.model.ConceptMap.ConceptMapGroupUnmappedMode; import org.hl7.fhir.r5.model.ConceptMap.SourceElementComponent; import org.hl7.fhir.r5.model.ConceptMap.TargetElementComponent; import org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionMappingComponent; import org.hl7.fhir.r5.model.Enumeration; import org.hl7.fhir.r5.model.ElementDefinition.TypeRefComponent; -import org.hl7.fhir.r5.model.Enumerations.ConceptMapGroupUnmappedMode; import org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship; import org.hl7.fhir.r5.model.Enumerations.FHIRVersion; import org.hl7.fhir.r5.model.Enumerations.PublicationStatus; @@ -667,7 +667,7 @@ public class StructureMapUtilities { lexer.token("="); String v = lexer.take(); if (v.equals("provided")) { - g.getUnmapped().setMode(ConceptMapGroupUnmappedMode.PROVIDED); + g.getUnmapped().setMode(ConceptMapGroupUnmappedMode.USESOURCECODE); } else throw lexer.error("Only unmapped mode PROVIDED is supported at this time"); } diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/ParsingTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/ParsingTests.java index 00046e736..de0ad27d0 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/ParsingTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/ParsingTests.java @@ -39,7 +39,7 @@ public class ParsingTests { List objects = new ArrayList<>(); List names = npm.list("package"); for (String n : names) { - if (!n.contains("manifest.json") && !n.contains("xver-") && !n.contains("uml.json") && !n.contains("package-min-ver.json")) { + if (!n.contains("manifest.json") && !n.contains("xver-") && !n.contains("uml.json") && !n.contains("package-min-ver.json") && !n.startsWith(".")) { objects.add(Arguments.of(n)); } } diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java index 0d9ecc68d..8308f1797 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java @@ -2753,7 +2753,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat private void checkQuantity(List errors, String path, Element focus, Quantity fixed, String fixedSource, boolean pattern) { checkFixedValue(errors, path + ".value", focus.getNamedChild("value"), fixed.getValueElement(), fixedSource, "value", focus, pattern); checkFixedValue(errors, path + ".comparator", focus.getNamedChild("comparator"), fixed.getComparatorElement(), fixedSource, "comparator", focus, pattern); - checkFixedValue(errors, path + ".units", focus.getNamedChild("unit"), fixed.getUnitElement(), fixedSource, "units", focus, pattern); + checkFixedValue(errors, path + ".unit", focus.getNamedChild("unit"), fixed.getUnitElement(), fixedSource, "unit", focus, pattern); checkFixedValue(errors, path + ".system", focus.getNamedChild("system"), fixed.getSystemElement(), fixedSource, "system", focus, pattern); checkFixedValue(errors, path + ".code", focus.getNamedChild("code"), fixed.getCodeElement(), fixedSource, "code", focus, pattern); } diff --git a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java index 47d568409..5ef3f6758 100644 --- a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java +++ b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java @@ -143,7 +143,7 @@ public class ValidationTests implements IEvaluationContext, IValidatorResourceFe version = VersionUtilities.getMajMin(version); if (!ve.containsKey(version)) { if (version.startsWith("5.0")) - ve.put(version, TestUtilities.getValidationEngine("hl7.fhir.r5.core#4.5.0", ValidationEngineTests.DEF_TX, txLog, FhirPublication.R5, true, "4.5.0")); + ve.put(version, TestUtilities.getValidationEngine("hl7.fhir.r5.core#5.0.0", ValidationEngineTests.DEF_TX, txLog, FhirPublication.R5, true, "5.0.0")); else if (version.startsWith("4.3")) ve.put(version, TestUtilities.getValidationEngine("hl7.fhir.r4b.core#4.3.0", ValidationEngineTests.DEF_TX, txLog, FhirPublication.R4B, true, "4.3.0")); else if (version.startsWith("4.0")) @@ -291,7 +291,7 @@ public class ValidationTests implements IEvaluationContext, IValidatorResourceFe } else { String contents = TestingUtilities.loadTestResource("validator", filename); System.out.println("Name: " + name + " - profile : " + profile.get("source").getAsString()); - version = content.has("version") ? content.get("version").getAsString() : Constants.VERSION; + version = content.has("version") ? content.get("version").getAsString() : version; sd = loadProfile(filename, contents, messages, val.isDebug()); val.getContext().cacheResource(sd); } diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache new file mode 100644 index 000000000..e4d85cbe8 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/icd-9-cm.cache @@ -0,0 +1,11 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://hl7.org/fhir/sid/icd-9-cm", + "code" : "99.00" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Perioperative autologous transfusion of whole blood or blood components", + "code" : "99.00", + "system" : "http://hl7.org/fhir/sid/icd-9-cm" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache index 6c9915104..05d3bce2f 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/loinc.cache @@ -1332,3 +1332,148 @@ v: { "system" : "http://loinc.org" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18842-5" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.0.1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Discharge summary", + "code" : "18842-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18842-5", + "display" : "Discharge Summary" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.0.1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Discharge summary", + "code" : "18842-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18842-5" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Discharge summary", + "code" : "18842-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "29299-5" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Reason for visit Narrative", + "code" : "29299-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "�g��", + "display" : "8302-2" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "The code \"�g��\" is not valid in the system http://loinc.org; The code provided (http://loinc.org#�g��) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8867-4", + "display" : "Heart rate" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Heart rate", + "code" : "8867-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "10331-7", + "display" : "Rh [Type] in Blood" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Rh [Type] in Blood", + "code" : "10331-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18684-1", + "display" : "����" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "First Blood pressure Set", + "code" : "18684-1", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"����\" is not a valid display for the code {http://loinc.org}18684-1 - should be one of ['First Blood pressure Set', '', 'ED Health Insurance Portability and Accountability Act of 1996' (zh-CN), 'HIPAA' (zh-CN), '健康保險可攜與責任法' (zh-CN), 'HIPAA法案' (zh-CN), '健康保险可移植性和问责法1996年' (zh-CN), '美国健康保险携带和责任法案' (zh-CN), '医疗保险便携性和责任法案' (zh-CN), '医疗保险便携性与责任法案' (zh-CN), '醫療保險可攜性與責任法' (zh-CN), 'HIPAA 信息附件.急诊' (zh-CN), 'HIPAA 信息附件.急诊科' (zh-CN), 'HIPAA 信息附件.急诊科就医' (zh-CN), 'HIPAA 信息附件.急诊科就诊' (zh-CN), '健康保险便携与责任法案信息附件.急诊' (zh-CN), '健康保险便携与责任法案信息附件.急诊 临床信息附件集' (zh-CN), '临床信息附件集合' (zh-CN), '集' (zh-CN), '集合 信息附件' (zh-CN), '健康保险便携与责任法案信息附件' (zh-CN), '附件 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 压强 复合属性' (zh-CN), '复杂型属性' (zh-CN), '复杂属性 就医' (zh-CN), '就医过程 急诊科 急诊科(DEEDS)变量' (zh-CN), 'DEEDS 变量' (zh-CN), '急诊' (zh-CN), '急诊科' (zh-CN), 'Emergency Department' (zh-CN), 'ED' (zh-CN), '急诊科(急诊科系统代码之数据元素)变量' (zh-CN), '急诊科(急诊科系统代码之数据元素)指标' (zh-CN), '急诊科(美国CDC急诊科系统代码之数据元素)指标' (zh-CN), '急诊科指标 急诊科(Emergency Department,ED) 急诊部 第一个' (zh-CN), '第一次' (zh-CN), '首个' (zh-CN), '首次 血' (zh-CN), '全血' (zh-CN), 'Allegato Allegato di reparto di emergenza (pronto soccorso) Complesso Emergenza (DEEDS - Data Elements for Emergency Dep Incontro' (it-IT), 'Appuntamento paziente Stabilito' (it-IT), 'Fissato' (it-IT), 'Встреча Комплекс' (ru-RU)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6", + "display" : "���k������" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"���k������\" is not a valid display for the code {http://loinc.org}8480-6 - should be one of ['Systolic blood pressure', 'BP sys', '', '一般血压' (zh-CN), '血压.原子型' (zh-CN), '血压指标.原子型 压力' (zh-CN), '压强 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血管内收缩期' (zh-CN), '血管内心缩期 血管内的' (zh-CN), 'Pressure' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Art sys' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'IV' (pt-BR), 'Intravenous' (pt-BR), 'BLOOD PRESSURE MEASUREMENTS.ATOM' (pt-BR), 'BP systolic' (pt-BR), 'Blood pressure systolic' (pt-BR), 'Sys BP' (pt-BR), 'SBP' (pt-BR), 'Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)' (it-IT), 'Давление Количественный Точка во времени' (ru-RU), 'Момент' (ru-RU), 'Blutdruck systolisch' (de-AT)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4", + "display" : "�g��������" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"�g��������\" is not a valid display for the code {http://loinc.org}8462-4 - should be one of ['Diastolic blood pressure', 'BP dias', '', '一般血压' (zh-CN), '血压.原子型' (zh-CN), '血压指标.原子型 压力' (zh-CN), '压强 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血管内心舒期' (zh-CN), '血管内舒张期 血管内的' (zh-CN), 'Dias' (pt-BR), 'Diast' (pt-BR), 'Pressure' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Art sys' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'IV' (pt-BR), 'Intravenous' (pt-BR), 'Diastoli' (pt-BR), 'BLOOD PRESSURE MEASUREMENTS.ATOM' (pt-BR), 'Blood pressure diastolic' (pt-BR), 'BP diastolic' (pt-BR), 'Dias BP' (pt-BR), 'DBP' (pt-BR), 'Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)' (it-IT), 'Внутрисосудистый диастолический Давление Количественный Точка во времени' (ru-RU), 'Момент' (ru-RU), 'Blutdruck diastolisch' (de-AT)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "718-7", + "display" : "Hemoglobin [Mass/volume] in Blood" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Hemoglobin [Mass/volume] in Blood", + "code" : "718-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "38483-4", + "display" : "Creat Bld-mCnc" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Creatinine [Mass/volume] in Blood", + "code" : "38483-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "2093-3", + "display" : "Cholesterol [Mass/volume] in Serum or Plasma" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Cholesterol [Mass/volume] in Serum or Plasma", + "code" : "2093-3", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache index a112bc804..73bd57bce 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/snomed.cache @@ -1820,3 +1820,37 @@ v: { "error" : "Unable to find code 2 in http://snomed.info/sct (version http://snomed.info/sct/900000000000207008/version/20220331); The code \"2\" is not valid in the system http://snomed.info/sct; The code provided (http://snomed.info/sct#2) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/11000172109/version/20220315", + "code" : "271872005", + "display" : "Old age (qualifier value)" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Old age", + "code" : "271872005", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "10828004", + "display" : "Positive (qualifier value)" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Positive", + "code" : "10828004", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "233588003", + "display" : "Continuous hemodiafiltration" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Continuous hemodiafiltration", + "code" : "233588003", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache index 7355a3b2e..fc21403db 100644 --- a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/4.0.1/ucum.cache @@ -176,3 +176,13 @@ v: { "system" : "http://unitsofmeasure.org" } ------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "/min" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "/min", + "code" : "/min", + "system" : "http://unitsofmeasure.org" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache new file mode 100644 index 000000000..16161526f --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.capabilityStatement.cache @@ -0,0 +1,66 @@ +{ + "resourceType" : "CapabilityStatement", + "id" : "FhirServer", + "meta" : { + "tag" : [{ + "system" : "http://hl7.org/fhir/v3/ObservationValue", + "code" : "SUBSETTED", + "display" : "Subsetted" + }] + }, + "url" : "http://tx.fhir.org/r4/metadata", + "version" : "4.0.1-2.0.14", + "name" : "FHIR Reference Server Conformance Statement", + "status" : "active", + "date" : "2022-07-13T16:07:09.351Z", + "contact" : [{ + "telecom" : [{ + "system" : "other", + "value" : "http://healthintersections.com.au/" + }] + }], + "kind" : "instance", + "instantiates" : ["http://hl7.org/fhir/CapabilityStatement/terminology-server"], + "software" : { + "name" : "Reference Server", + "version" : "2.0.14", + "releaseDate" : "2022-05-13T19:50:55.040Z" + }, + "implementation" : { + "description" : "FHIR Server running at http://tx.fhir.org/r4", + "url" : "http://tx.fhir.org/r4" + }, + "fhirVersion" : "4.0.1", + "format" : ["application/fhir+xml", + "application/fhir+json"], + "rest" : [{ + "mode" : "server", + "security" : { + "cors" : true + }, + "operation" : [{ + "name" : "expand", + "definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-expand" + }, + { + "name" : "lookup", + "definition" : "http://hl7.org/fhir/OperationDefinition/ValueSet-lookup" + }, + { + "name" : "validate-code", + "definition" : "http://hl7.org/fhir/OperationDefinition/Resource-validate" + }, + { + "name" : "translate", + "definition" : "http://hl7.org/fhir/OperationDefinition/ConceptMap-translate" + }, + { + "name" : "closure", + "definition" : "http://hl7.org/fhir/OperationDefinition/ConceptMap-closure" + }, + { + "name" : "versions", + "definition" : "http://tx.fhir.org/r4/OperationDefinition/fso-versions" + }] + }] +} \ No newline at end of file diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache new file mode 100644 index 000000000..fcd279141 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/.terminologyCapabilities.cache @@ -0,0 +1,3590 @@ +{ + "resourceType" : "TerminologyCapabilities", + "id" : "FhirServer", + "url" : "http://tx.fhir.org/r4/metadata", + "version" : "1.0.0", + "name" : "FHIR Reference Server Teminology Capability Statement", + "status" : "active", + "date" : "2022-07-13T04:36:48.317Z", + "contact" : [{ + "telecom" : [{ + "system" : "other", + "value" : "http://healthintersections.com.au/" + }] + }], + "description" : "Standard Teminology Capability Statement for the open source Reference FHIR Server provided by Health Intersections", + "codeSystem" : [{ + "uri" : "http://cds-hooks.hl7.org/CodeSystem/indicator" + }, + { + "uri" : "http://devices.fhir.org/CodeSystem/MDC-concept-status" + }, + { + "uri" : "http://devices.fhir.org/CodeSystem/MDC-designation-use" + }, + { + "uri" : "http://dicom.nema.org/resources/ontology/DCM" + }, + { + "uri" : "http://fdasis.nlm.nih.gov" + }, + { + "uri" : "http://healthit.gov/nhin/purposeofuse" + }, + { + "uri" : "http://hl7.org/fhir/abstract-types" + }, + { + "uri" : "http://hl7.org/fhir/account-status" + }, + { + "uri" : "http://hl7.org/fhir/action-cardinality-behavior" + }, + { + "uri" : "http://hl7.org/fhir/action-condition-kind" + }, + { + "uri" : "http://hl7.org/fhir/action-grouping-behavior" + }, + { + "uri" : "http://hl7.org/fhir/action-participant-type" + }, + { + "uri" : "http://hl7.org/fhir/action-precheck-behavior" + }, + { + "uri" : "http://hl7.org/fhir/action-relationship-type" + }, + { + "uri" : "http://hl7.org/fhir/action-required-behavior" + }, + { + "uri" : "http://hl7.org/fhir/action-selection-behavior" + }, + { + "uri" : "http://hl7.org/fhir/additionalmaterials" + }, + { + "uri" : "http://hl7.org/fhir/address-type" + }, + { + "uri" : "http://hl7.org/fhir/address-use" + }, + { + "uri" : "http://hl7.org/fhir/administrative-gender" + }, + { + "uri" : "http://hl7.org/fhir/adverse-event-actuality" + }, + { + "uri" : "http://hl7.org/fhir/allergy-intolerance-category" + }, + { + "uri" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + { + "uri" : "http://hl7.org/fhir/allergy-intolerance-type" + }, + { + "uri" : "http://hl7.org/fhir/animal-genderstatus" + }, + { + "uri" : "http://hl7.org/fhir/animal-species" + }, + { + "uri" : "http://hl7.org/fhir/appointmentstatus" + }, + { + "uri" : "http://hl7.org/fhir/assert-direction-codes" + }, + { + "uri" : "http://hl7.org/fhir/assert-operator-codes" + }, + { + "uri" : "http://hl7.org/fhir/assert-response-code-types" + }, + { + "uri" : "http://hl7.org/fhir/asset-availability" + }, + { + "uri" : "http://hl7.org/fhir/audit-event-action" + }, + { + "uri" : "http://hl7.org/fhir/audit-event-outcome" + }, + { + "uri" : "http://hl7.org/fhir/binding-strength" + }, + { + "uri" : "http://hl7.org/fhir/bundle-type" + }, + { + "uri" : "http://hl7.org/fhir/capability-statement-kind" + }, + { + "uri" : "http://hl7.org/fhir/care-plan-activity-status" + }, + { + "uri" : "http://hl7.org/fhir/care-team-status" + }, + { + "uri" : "http://hl7.org/fhir/chargeitem-status" + }, + { + "uri" : "http://hl7.org/fhir/claim-use" + }, + { + "uri" : "http://hl7.org/fhir/code-search-support" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/example" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/medicationrequest-intent" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/medicationrequest-status" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/medication-statement-status" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/medication-status" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/status" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/summary" + }, + { + "uri" : "http://hl7.org/fhir/CodeSystem/task-code" + }, + { + "uri" : "http://hl7.org/fhir/codesystem-content-mode" + }, + { + "uri" : "http://hl7.org/fhir/codesystem-hierarchy-meaning" + }, + { + "uri" : "http://hl7.org/fhir/compartment-type" + }, + { + "uri" : "http://hl7.org/fhir/composition-attestation-mode" + }, + { + "uri" : "http://hl7.org/fhir/composition-status" + }, + { + "uri" : "http://hl7.org/fhir/concept-map-equivalence" + }, + { + "uri" : "http://hl7.org/fhir/conceptmap-unmapped-mode" + }, + { + "uri" : "http://hl7.org/fhir/concept-properties" + }, + { + "uri" : "http://hl7.org/fhir/concept-property-type" + }, + { + "uri" : "http://hl7.org/fhir/concept-subsumption-outcome" + }, + { + "uri" : "http://hl7.org/fhir/conditional-delete-status" + }, + { + "uri" : "http://hl7.org/fhir/conditional-read-status" + }, + { + "uri" : "http://hl7.org/fhir/consent-data-meaning" + }, + { + "uri" : "http://hl7.org/fhir/consentperformer" + }, + { + "uri" : "http://hl7.org/fhir/consent-provision-type" + }, + { + "uri" : "http://hl7.org/fhir/consent-state-codes" + }, + { + "uri" : "http://hl7.org/fhir/constraint-severity" + }, + { + "uri" : "http://hl7.org/fhir/contact-point-system" + }, + { + "uri" : "http://hl7.org/fhir/contact-point-use" + }, + { + "uri" : "http://hl7.org/fhir/contract-action-status" + }, + { + "uri" : "http://hl7.org/fhir/contract-asset-context" + }, + { + "uri" : "http://hl7.org/fhir/contract-asset-scope" + }, + { + "uri" : "http://hl7.org/fhir/contract-asset-subtype" + }, + { + "uri" : "http://hl7.org/fhir/contract-asset-type" + }, + { + "uri" : "http://hl7.org/fhir/contract-decision-mode" + }, + { + "uri" : "http://hl7.org/fhir/contract-definition-subtype" + }, + { + "uri" : "http://hl7.org/fhir/contract-definition-type" + }, + { + "uri" : "http://hl7.org/fhir/contract-expiration-type" + }, + { + "uri" : "http://hl7.org/fhir/contract-legalstate" + }, + { + "uri" : "http://hl7.org/fhir/contract-party-role" + }, + { + "uri" : "http://hl7.org/fhir/contract-publicationstatus" + }, + { + "uri" : "http://hl7.org/fhir/contract-scope" + }, + { + "uri" : "http://hl7.org/fhir/contract-security-category" + }, + { + "uri" : "http://hl7.org/fhir/contract-security-classification" + }, + { + "uri" : "http://hl7.org/fhir/contract-security-control" + }, + { + "uri" : "http://hl7.org/fhir/contract-status" + }, + { + "uri" : "http://hl7.org/fhir/contributor-type" + }, + { + "uri" : "http://hl7.org/fhir/data-types" + }, + { + "uri" : "http://hl7.org/fhir/days-of-week" + }, + { + "uri" : "http://hl7.org/fhir/definition-resource-types" + }, + { + "uri" : "http://hl7.org/fhir/detectedissue-severity" + }, + { + "uri" : "http://hl7.org/fhir/device-action" + }, + { + "uri" : "http://hl7.org/fhir/device-definition-status" + }, + { + "uri" : "http://hl7.org/fhir/device-nametype" + }, + { + "uri" : "http://hl7.org/fhir/device-statement-status" + }, + { + "uri" : "http://hl7.org/fhir/device-status" + }, + { + "uri" : "http://hl7.org/fhir/diagnostic-report-status" + }, + { + "uri" : "http://hl7.org/fhir/discriminator-type" + }, + { + "uri" : "http://hl7.org/fhir/document-mode" + }, + { + "uri" : "http://hl7.org/fhir/document-reference-status" + }, + { + "uri" : "http://hl7.org/fhir/document-relationship-type" + }, + { + "uri" : "http://hl7.org/fhir/eligibilityrequest-purpose" + }, + { + "uri" : "http://hl7.org/fhir/eligibilityresponse-purpose" + }, + { + "uri" : "http://hl7.org/fhir/encounter-location-status" + }, + { + "uri" : "http://hl7.org/fhir/encounter-status" + }, + { + "uri" : "http://hl7.org/fhir/endpoint-status" + }, + { + "uri" : "http://hl7.org/fhir/episode-of-care-status" + }, + { + "uri" : "http://hl7.org/fhir/event-capability-mode" + }, + { + "uri" : "http://hl7.org/fhir/event-resource-types" + }, + { + "uri" : "http://hl7.org/fhir/event-status" + }, + { + "uri" : "http://hl7.org/fhir/event-timing" + }, + { + "uri" : "http://hl7.org/fhir/examplescenario-actor-type" + }, + { + "uri" : "http://hl7.org/fhir/ex-claimitemtype" + }, + { + "uri" : "http://hl7.org/fhir/ex-fdi" + }, + { + "uri" : "http://hl7.org/fhir/ex-onsettype" + }, + { + "uri" : "http://hl7.org/fhir/ex-oralprostho" + }, + { + "uri" : "http://hl7.org/fhir/ex-pharmaservice" + }, + { + "uri" : "http://hl7.org/fhir/explanationofbenefit-status" + }, + { + "uri" : "http://hl7.org/fhir/exposure-state" + }, + { + "uri" : "http://hl7.org/fhir/expression-language" + }, + { + "uri" : "http://hl7.org/fhir/ex-servicemodifier" + }, + { + "uri" : "http://hl7.org/fhir/ex-serviceproduct" + }, + { + "uri" : "http://hl7.org/fhir/extension-context-type" + }, + { + "uri" : "http://hl7.org/fhir/extra-activity-type" + }, + { + "uri" : "http://hl7.org/fhir/ex-udi" + }, + { + "uri" : "http://hl7.org/fhir/feeding-device" + }, + { + "uri" : "http://hl7.org/fhir/FHIR-version" + }, + { + "uri" : "http://hl7.org/fhir/filter-operator" + }, + { + "uri" : "http://hl7.org/fhir/flag-priority-code" + }, + { + "uri" : "http://hl7.org/fhir/flag-status" + }, + { + "uri" : "http://hl7.org/fhir/fm-conditions" + }, + { + "uri" : "http://hl7.org/fhir/fm-status" + }, + { + "uri" : "http://hl7.org/fhir/gender-identity" + }, + { + "uri" : "http://hl7.org/fhir/goal-status" + }, + { + "uri" : "http://hl7.org/fhir/goal-status-reason" + }, + { + "uri" : "http://hl7.org/fhir/graph-compartment-rule" + }, + { + "uri" : "http://hl7.org/fhir/graph-compartment-use" + }, + { + "uri" : "http://hl7.org/fhir/group-measure" + }, + { + "uri" : "http://hl7.org/fhir/group-type" + }, + { + "uri" : "http://hl7.org/fhir/guidance-response-status" + }, + { + "uri" : "http://hl7.org/fhir/guide-page-generation" + }, + { + "uri" : "http://hl7.org/fhir/guide-parameter-code" + }, + { + "uri" : "http://hl7.org/fhir/history-status" + }, + { + "uri" : "http://hl7.org/fhir/http-operations" + }, + { + "uri" : "http://hl7.org/fhir/http-verb" + }, + { + "uri" : "http://hl7.org/fhir/identifier-use" + }, + { + "uri" : "http://hl7.org/fhir/identity-assuranceLevel" + }, + { + "uri" : "http://hl7.org/fhir/imagingstudy-status" + }, + { + "uri" : "http://hl7.org/fhir/intervention" + }, + { + "uri" : "http://hl7.org/fhir/invoice-priceComponentType" + }, + { + "uri" : "http://hl7.org/fhir/invoice-status" + }, + { + "uri" : "http://hl7.org/fhir/issue-severity" + }, + { + "uri" : "http://hl7.org/fhir/issue-type" + }, + { + "uri" : "http://hl7.org/fhir/item-type" + }, + { + "uri" : "http://hl7.org/fhir/knowledge-resource-types" + }, + { + "uri" : "http://hl7.org/fhir/language-preference-type" + }, + { + "uri" : "http://hl7.org/fhir/linkage-type" + }, + { + "uri" : "http://hl7.org/fhir/link-type" + }, + { + "uri" : "http://hl7.org/fhir/list-mode" + }, + { + "uri" : "http://hl7.org/fhir/list-status" + }, + { + "uri" : "http://hl7.org/fhir/location-mode" + }, + { + "uri" : "http://hl7.org/fhir/location-status" + }, + { + "uri" : "http://hl7.org/fhir/map-context-type" + }, + { + "uri" : "http://hl7.org/fhir/map-group-type-mode" + }, + { + "uri" : "http://hl7.org/fhir/map-input-mode" + }, + { + "uri" : "http://hl7.org/fhir/map-model-mode" + }, + { + "uri" : "http://hl7.org/fhir/map-source-list-mode" + }, + { + "uri" : "http://hl7.org/fhir/map-target-list-mode" + }, + { + "uri" : "http://hl7.org/fhir/map-transform" + }, + { + "uri" : "http://hl7.org/fhir/measure-report-status" + }, + { + "uri" : "http://hl7.org/fhir/measure-report-type" + }, + { + "uri" : "http://hl7.org/fhir/message-events" + }, + { + "uri" : "http://hl7.org/fhir/messageheader-response-request" + }, + { + "uri" : "http://hl7.org/fhir/message-significance-category" + }, + { + "uri" : "http://hl7.org/fhir/metric-calibration-state" + }, + { + "uri" : "http://hl7.org/fhir/metric-calibration-type" + }, + { + "uri" : "http://hl7.org/fhir/metric-category" + }, + { + "uri" : "http://hl7.org/fhir/metric-color" + }, + { + "uri" : "http://hl7.org/fhir/metric-operational-status" + }, + { + "uri" : "http://hl7.org/fhir/name-use" + }, + { + "uri" : "http://hl7.org/fhir/namingsystem-identifier-type" + }, + { + "uri" : "http://hl7.org/fhir/namingsystem-type" + }, + { + "uri" : "http://hl7.org/fhir/narrative-status" + }, + { + "uri" : "http://hl7.org/fhir/network-type" + }, + { + "uri" : "http://hl7.org/fhir/note-type" + }, + { + "uri" : "http://hl7.org/fhir/observation-range-category" + }, + { + "uri" : "http://hl7.org/fhir/observation-status" + }, + { + "uri" : "http://hl7.org/fhir/operation-kind" + }, + { + "uri" : "http://hl7.org/fhir/operation-parameter-use" + }, + { + "uri" : "http://hl7.org/fhir/organization-role" + }, + { + "uri" : "http://hl7.org/fhir/orientation-type" + }, + { + "uri" : "http://hl7.org/fhir/participantrequired" + }, + { + "uri" : "http://hl7.org/fhir/participationstatus" + }, + { + "uri" : "http://hl7.org/fhir/permitted-data-type" + }, + { + "uri" : "http://hl7.org/fhir/practitioner-specialty" + }, + { + "uri" : "http://hl7.org/fhir/procedure-progress-status-code" + }, + { + "uri" : "http://hl7.org/fhir/product-category" + }, + { + "uri" : "http://hl7.org/fhir/product-status" + }, + { + "uri" : "http://hl7.org/fhir/product-storage-scale" + }, + { + "uri" : "http://hl7.org/fhir/property-representation" + }, + { + "uri" : "http://hl7.org/fhir/provenance-entity-role" + }, + { + "uri" : "http://hl7.org/fhir/provenance-participant-role" + }, + { + "uri" : "http://hl7.org/fhir/publication-status" + }, + { + "uri" : "http://hl7.org/fhir/quality-type" + }, + { + "uri" : "http://hl7.org/fhir/quantity-comparator" + }, + { + "uri" : "http://hl7.org/fhir/questionnaire-answers-status" + }, + { + "uri" : "http://hl7.org/fhir/questionnaire-display-category" + }, + { + "uri" : "http://hl7.org/fhir/questionnaire-enable-behavior" + }, + { + "uri" : "http://hl7.org/fhir/questionnaire-enable-operator" + }, + { + "uri" : "http://hl7.org/fhir/questionnaire-item-control" + }, + { + "uri" : "http://hl7.org/fhir/reaction-event-severity" + }, + { + "uri" : "http://hl7.org/fhir/reason-medication-not-given" + }, + { + "uri" : "http://hl7.org/fhir/reference-handling-policy" + }, + { + "uri" : "http://hl7.org/fhir/reference-version-rules" + }, + { + "uri" : "http://hl7.org/fhir/related-artifact-type" + }, + { + "uri" : "http://hl7.org/fhir/relationship" + }, + { + "uri" : "http://hl7.org/fhir/relation-type" + }, + { + "uri" : "http://hl7.org/fhir/remittance-outcome" + }, + { + "uri" : "http://hl7.org/fhir/report-action-result-codes" + }, + { + "uri" : "http://hl7.org/fhir/report-participant-type" + }, + { + "uri" : "http://hl7.org/fhir/report-result-codes" + }, + { + "uri" : "http://hl7.org/fhir/report-status-codes" + }, + { + "uri" : "http://hl7.org/fhir/repository-type" + }, + { + "uri" : "http://hl7.org/fhir/request-intent" + }, + { + "uri" : "http://hl7.org/fhir/request-priority" + }, + { + "uri" : "http://hl7.org/fhir/request-resource-types" + }, + { + "uri" : "http://hl7.org/fhir/request-status" + }, + { + "uri" : "http://hl7.org/fhir/research-element-type" + }, + { + "uri" : "http://hl7.org/fhir/research-study-status" + }, + { + "uri" : "http://hl7.org/fhir/research-subject-status" + }, + { + "uri" : "http://hl7.org/fhir/resource-aggregation-mode" + }, + { + "uri" : "http://hl7.org/fhir/resource-slicing-rules" + }, + { + "uri" : "http://hl7.org/fhir/resource-status" + }, + { + "uri" : "http://hl7.org/fhir/resource-types" + }, + { + "uri" : "http://hl7.org/fhir/resource-validation-mode" + }, + { + "uri" : "http://hl7.org/fhir/response-code" + }, + { + "uri" : "http://hl7.org/fhir/restful-capability-mode" + }, + { + "uri" : "http://hl7.org/fhir/restful-interaction" + }, + { + "uri" : "http://hl7.org/fhir/search-comparator" + }, + { + "uri" : "http://hl7.org/fhir/search-entry-mode" + }, + { + "uri" : "http://hl7.org/fhir/search-modifier-code" + }, + { + "uri" : "http://hl7.org/fhir/search-param-type" + }, + { + "uri" : "http://hl7.org/fhir/search-xpath-usage" + }, + { + "uri" : "http://hl7.org/fhir/secondary-finding" + }, + { + "uri" : "http://hl7.org/fhir/sequence-type" + }, + { + "uri" : "http://hl7.org/fhir/sid/cvx" + }, + { + "uri" : "http://hl7.org/fhir/sid/ex-icd-10-procedures" + }, + { + "uri" : "http://hl7.org/fhir/sid/icd-10" + }, + { + "uri" : "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "uri" : "http://hl7.org/fhir/sid/icd-9-cm" + }, + { + "uri" : "http://hl7.org/fhir/sid/mvx" + }, + { + "uri" : "http://hl7.org/fhir/sid/ndc" + }, + { + "uri" : "http://hl7.org/fhir/slotstatus" + }, + { + "uri" : "http://hl7.org/fhir/sort-direction" + }, + { + "uri" : "http://hl7.org/fhir/spdx-license" + }, + { + "uri" : "http://hl7.org/fhir/specimen-contained-preference" + }, + { + "uri" : "http://hl7.org/fhir/specimen-status" + }, + { + "uri" : "http://hl7.org/fhir/strand-type" + }, + { + "uri" : "http://hl7.org/fhir/structure-definition-kind" + }, + { + "uri" : "http://hl7.org/fhir/subscription-channel-type" + }, + { + "uri" : "http://hl7.org/fhir/subscription-status" + }, + { + "uri" : "http://hl7.org/fhir/substance-status" + }, + { + "uri" : "http://hl7.org/fhir/supplydelivery-status" + }, + { + "uri" : "http://hl7.org/fhir/supplyrequest-status" + }, + { + "uri" : "http://hl7.org/fhir/task-intent" + }, + { + "uri" : "http://hl7.org/fhir/task-status" + }, + { + "uri" : "http://hl7.org/fhir/transaction-mode" + }, + { + "uri" : "http://hl7.org/fhir/trigger-type" + }, + { + "uri" : "http://hl7.org/fhir/type-derivation-rule" + }, + { + "uri" : "http://hl7.org/fhir/udi-entry-type" + }, + { + "uri" : "http://hl7.org/fhir/unknown-content-code" + }, + { + "uri" : "http://hl7.org/fhir/us/core/CodeSystem/careplan-category" + }, + { + "uri" : "http://hl7.org/fhir/us/core/CodeSystem/condition-category" + }, + { + "uri" : "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" + }, + { + "uri" : "http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category" + }, + { + "uri" : "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type" + }, + { + "uri" : "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags" + }, + { + "uri" : "http://hl7.org/fhir/variable-type" + }, + { + "uri" : "http://hl7.org/fhir/versioning-policy" + }, + { + "uri" : "http://hl7.org/fhir/vision-base-codes" + }, + { + "uri" : "http://hl7.org/fhir/vision-eye-codes" + }, + { + "uri" : "http://hl7.org/fhir/w3c-provenance-activity-type" + }, + { + "uri" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode" + }, + { + "uri" : "http://loinc.org" + }, + { + "uri" : "http://nucc.org/provider-taxonomy" + }, + { + "uri" : "http://radlex.org" + }, + { + "uri" : "http://snomed.info/sct" + }, + { + "uri" : "http://standardterms.edqm.eu" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/action-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/activity-definition-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adjudication" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adjudication-error" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adjudication-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/admit-source" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adverse-event-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adverse-event-causality-assess" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adverse-event-causality-method" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adverse-event-outcome" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adverse-event-seriousness" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/adverse-event-severity" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/allerg-intol-substance-exp-risk" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/applicability" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/attribute-estimate-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/audit-entity-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/audit-event-outcome" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/audit-event-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/basic-resource-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/benefit-network" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/benefit-term" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/benefit-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/benefit-unit" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/can-push-updates" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/catalogType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/certainty-rating" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/certainty-subcomponent-rating" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/certainty-subcomponent-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/characteristic-method" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/chargeitem-billingcodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/choice-list-orientation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/chromosome-human" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/claimcareteamrole" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/claim-exception" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/claiminformationcategory" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/claim-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/codesystem-altcode-kind" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/common-tags" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/communication-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/communication-not-done-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/communication-topic" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/composite-measure-scoring" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/composition-altcode-kind" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/conceptdomains" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/condition-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/condition-clinical" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/condition-state" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/condition-ver-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/conformance-expectation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/consentaction" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/consentcategorycodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/consentpolicycodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/consentscope" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/consentverification" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contactentity-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/container-cap" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contractaction" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contractactorrole" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contract-content-derivative" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contract-data-meaning" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contractsignertypecodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contractsubtypecodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contracttermsubtypecodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contracttermtypecodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/contract-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/copy-number-event" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/coverage-class" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/coverage-copay-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/coverageeligibilityresponse-ex-auth-support" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/coverage-selfpay" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/data-absent-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/definition-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/definition-topic" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/definition-use" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/device-status-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/diet" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/directness" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/discharge-disposition" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/dose-rate-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/effect-estimate-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/encounter-special-arrangements" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/encounter-subject-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/encounter-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/endpoint-connection-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/endpoint-payload-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/entformula-additive" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/episodeofcare-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/evidence-quality" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/evidence-variant-state" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-benefitcategory" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-claimsubtype" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-coverage-financial-exception" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-diagnosisrelatedgroup" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-diagnosistype" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/expansion-parameter-source" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/expansion-processing-rule" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-payee-resource-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-paymenttype" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-procedure-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-programcode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-providerqualification" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-revenue-center" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-serviceplace" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-tooth" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-USCLS" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/failure-action" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/FDI-surface" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/financialtaskcode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/financialtaskinputtype" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/flag-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/forms-codes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/fundsreserve" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/goal-acceptance-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/goal-achievement" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/goal-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/goal-priority" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/goal-relationship-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/guide-parameter-code" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/handling-condition" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/history-absent-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/hl7-document-format-codes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/hl7-work-group" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-funding-source" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-origin" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-program-eligibility" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-recommendation-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/immunization-subpotent-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/implantStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/insurance-plan-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/library-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/list-empty-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/list-example-use-codes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/list-order" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/location-physical-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/match-grade" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/measure-data-usage" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/measure-population" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/measure-scoring" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/measure-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/med-admin-perform-function" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/media-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/media-modality" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/media-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-admin-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-admin-location" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-admin-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationdispense-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationknowledge-characteristic" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationknowledge-package-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationknowledge-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationrequest-admin-location" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-statement-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/medication-usage-admin-location" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/message-reasons-encounter" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/message-transport" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/missingtoothreason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/modifiers" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/name-assembly-order" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/need" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/nutrition-intake-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/object-role" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/observation-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/observation-statistics" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/operation-outcome" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/organization-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/parameter-group" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/participant-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/payeetype" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/payment-adjustment-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/paymentstatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/payment-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/plan-definition-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/practitioner-role" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/precision-estimate-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/primary-source-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/processpriority" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/program" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/push-type-available" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/question-max-occurs" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/questionnaire-usage-mode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/reaction-event-certainty" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/reason-medication-given" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/recommendation-strength" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/referencerange-meaning" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/rejection-criteria" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-study-objective-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-study-phase" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-study-prim-purp-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-study-reason-stopped" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-subject-milestone" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-subject-state" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/research-subject-state-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/resource-security-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/resource-type-link" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/restful-security-service" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/risk-estimate-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/risk-probability" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/security-source-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/service-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/service-provision-conditions" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/service-referral-method" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/service-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/smart-capabilities" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/special-values" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/standards-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/state-change-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/statistic-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/study-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/subscription-channel-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/subscription-error" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/subscription-status-at-event" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/subscription-tag" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/substance-category" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/supply-item-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/supply-kind" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/supplyrequest-reason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/synthesis-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/triggerEventID" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/usage-context-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/utg-concept-properties" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0001" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0002" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0003" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0004" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0005" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0006" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0006|2.1" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0006|2.4" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0008" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0009" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0012" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0017" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0023" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0027" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0033" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0034" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0038" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0043" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0048" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0052" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0061" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0062" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0063" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0065" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0066" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0069" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0070" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0074" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0076" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0078" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0080" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0083" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0091" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0098" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0100" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0102" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0103" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0104" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0105" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0106" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0107" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0108" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0109" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0116" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0119" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0121" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0122" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0123" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0124" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0126" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0127" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0128" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0130" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0133" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0135" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0136" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0137" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0140" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0141" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0142" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0144" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0145" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0146" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0147" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0148" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0149" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0150" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0153" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0155" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0156" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0157" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0158" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0159" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0160" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0161" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0162" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0163" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0164" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0165" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0166" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0167" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0168" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0169" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0170" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0173" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0174" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0175" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0177" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0178" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0179" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0180" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0181" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0183" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0185" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0187" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0189" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0190" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0191" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0193" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0200" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0201" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0202" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0204" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0206" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0207" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0208" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0209" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0210" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0211" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0213" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0214" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0215" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0216" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0217" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0220" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0223" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0224" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0225" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0227" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0228" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0229" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0230" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0231" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0232" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0234" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0235" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0236" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0237" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0238" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0239" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0240" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0241" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0242" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0243" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0247" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0248" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0250" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0251" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0252" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0253" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0254" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0255" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0256" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0257" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0258" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0259" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0260" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0261" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0262" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0263" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0265" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0267" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0268" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0269" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0270" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0271" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0272" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0273" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0275" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0276" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0277" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0278" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0279" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0280" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0281" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0282" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0283" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0284" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0286" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0287" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0290" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0291" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0292" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0294" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0298" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0299" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0305" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0309" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0311" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0315" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0316" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0317" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0321" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0322" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0323" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0324" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0325" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0326" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0329" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0330" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0331" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0332" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0334" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0336" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0337" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0338" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0339" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0350" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0351" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0353" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0354" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0355" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0356" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0357" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0359" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0360" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0360|2.3.1" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0360|2.7" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0363" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0364" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0365" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0366" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0367" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0368" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0369" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0370" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0371" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0372" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0374" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0375" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0377" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0383" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0384" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0387" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0388" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0389" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0391" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0391|2.4" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0391|2.6" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0392" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0393" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0394" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0395" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0396" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0397" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0398" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0401" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0402" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0403" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0404" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0409" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0411" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0415" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0416" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0417" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0418" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0421" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0422" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0423" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0424" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0425" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0426" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0427" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0428" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0429" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0430" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0431" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0432" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0433" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0434" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0435" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0436" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0437" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0438" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0440" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0441" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0442" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0443" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0444" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0445" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0450" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0455" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0456" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0457" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0459" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0460" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0465" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0466" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0468" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0469" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0470" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0472" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0473" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0474" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0475" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0477" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0478" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0480" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0482" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0483" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0485" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0487" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0488" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0489" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0490" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0491" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0492" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0494" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0495" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0496" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0497" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0498" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0499" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0500" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0501" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0502" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0503" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0504" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0505" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0506" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0507" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0508" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0510" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0511" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0513" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0514" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0516" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0517" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0518" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0520" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0523" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0524" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0527" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0528" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0529" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0530" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0532" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0534" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0535" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0536" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0538" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0540" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0544" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0547" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0548" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0550" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0553" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0554" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0555" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0556" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0557" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0558" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0559" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0560" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0561" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0562" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0564" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0565" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0566" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0569" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0570" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0571" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0572" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0615" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0616" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0617" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0618" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0625" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0634" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0642" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0651" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0653" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0657" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0659" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0667" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0669" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0682" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0702" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0717" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0719" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0725" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0728" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0731" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0734" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0739" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0742" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0749" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0755" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0757" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0759" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0761" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0763" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0776" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0778" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0790" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0793" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0806" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0818" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0834" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0868" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0871" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0881" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0882" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0894" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0895" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0904" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0905" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0906" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0907" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0909" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0914" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0916" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0917" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0918" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0919" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0920" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0921" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0922" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0923" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0924" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0925" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0926" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0927" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0933" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0935" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0936" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0937" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0938" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0939" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0940" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0942" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0945" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0946" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0948" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0949" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0950" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0951" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0970" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-0971" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-4000" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v2-tables" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AcknowledgementCondition" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AcknowledgementDetailCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AcknowledgementDetailType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AcknowledgementType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActClass" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActExposureLevelCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActInvoiceElementModifier" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActMood" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActPriority" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActReason" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActRelationshipCheckpoint" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActRelationshipJoin" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActRelationshipSplit" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActRelationshipSubset" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActRelationshipType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActSite" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActUncertainty" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ActUSPrivacyLaw" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AddressPartType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AddressUse" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-AmericanIndianAlaskaNativeLanguages" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Calendar" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CalendarCycle" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CalendarType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Charset" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CodeSystem" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CodeSystemType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CodingRationale" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CommunicationFunctionType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-CompressionAlgorithm" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ConceptCodeRelationship" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ConceptGenerality" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ConceptProperty" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ConceptStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ContainerCap" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ContainerSeparator" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ContentProcessingMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ContextControl" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Country" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Currency" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-DataOperation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-DataType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Dentition" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-DeviceAlertLevel" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-DocumentStorage" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EditStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EducationLevel" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EmployeeJobClass" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EncounterAccident" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EncounterAcuity" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EncounterAdmissionSource" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EncounterReferralSource" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityClass" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityDeterminer" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityHandling" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityNamePartQualifier" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityNamePartQualifierR2" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityNamePartType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityNamePartTypeR2" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityNameUse" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityNameUseR2" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityRisk" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EntityStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-EquipmentAlertLevel" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Ethnicity" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ExposureMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-GenderStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HealthcareProviderTaxonomyHIPAA" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7ApprovalStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7CMETAttribution" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7CommitteeIDInRIM" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7ConformanceInclusion" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7ContextConductionStyle" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7DefinedRoseProperty" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7DocumentFormatCodes" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7ITSType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7ITSVersionCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7PublishingDomain" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7PublishingSection" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7PublishingSubSection" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7Realm" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7StandardVersionCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HL7UpdateMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7V3Conformance" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-hl7VoteResolution" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-HtmlLinkType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-IdentifierReliability" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-IdentifierScope" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-IntegrityCheckAlgorithm" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ISO3166-1retired" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ISO3166-2retired" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ISO3166-3retired" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-iso4217-HL7" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityProficiency" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-LivingArrangement" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-LocalMarkupIgnore" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-LocalRemoteControlState" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ManagedParticipationStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MapRelationship" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MaterialForm" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MaterialType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MDFAttributeType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MdfHmdMetSourceType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MdfHmdRowType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MdfRmimRowType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MDFSubjectAreaPrefix" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-mediaType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MessageCondition" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-MessageWaitingPriority" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ModifyIndicator" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ObservationCategory" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ObservationMethod" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-OrganizationNameType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ParameterizedDataType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationSignature" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-PatientImportance" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-PaymentTerms" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-PersonDisabilityType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-policyHolderRole" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-PostalAddressUse" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ProbabilityDistributionType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ProcessingID" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ProcessingMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-QueryParameterValue" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-QueryPriority" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-QueryQuantityUnit" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-QueryRequestLimit" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-QueryResponse" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-QueryStatusCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Race" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RelationalOperator" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RelationshipConjunction" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ResponseLevel" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ResponseModality" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-ResponseMode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RoleClass" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RoleLinkStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RoleLinkType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RoleStatus" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-Sequencing" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-SetOperator" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-SpecimenType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-styleType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-SubstitutionCondition" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TableCellHorizontalAlign" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TableCellScope" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TableCellVerticalAlign" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TableFrame" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TableRules" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TargetAwareness" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TelecommunicationAddressUse" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TelecommunicationCapabilities" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TransmissionRelationshipTypeCode" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-TribalEntityUS" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-triggerEventID" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-URLScheme" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-VaccineManufacturer" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-VaccineType" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-VocabularyDomainQualifier" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/v3-WorkClassificationODH" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/validation-process" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/validation-status" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/validation-type" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/variable-role" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/variant-state" + }, + { + "uri" : "http://terminology.hl7.org/CodeSystem/verificationresult-communication-method" + }, + { + "uri" : "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category" + }, + { + "uri" : "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-status-reason" + }, + { + "uri" : "http://unitsofmeasure.org" + }, + { + "uri" : "http://unstats.un.org/unsd/methods/m49/m49.htm" + }, + { + "uri" : "http://varnomen.hgvs.org" + }, + { + "uri" : "http://www.ada.org/snodent" + }, + { + "uri" : "http://www.nlm.nih.gov/research/umls/rxnorm" + }, + { + "uri" : "http://www.whocc.no/atc" + }, + { + "uri" : "https://www.cms.gov/Medicare/Medicare-Fee-for-Service-Payment/HospitalAcqCond/Coding" + }, + { + "uri" : "https://www.humanservices.gov.au/organisations/health-professionals/enablers/air-vaccine-code-formats" + }, + { + "uri" : "https://www.iana.org/time-zones" + }, + { + "uri" : "https://www.usps.com/" + }, + { + "uri" : "urn:ietf:bcp:13" + }, + { + "uri" : "urn:ietf:bcp:47" + }, + { + "uri" : "urn:ietf:rfc:3986" + }, + { + "uri" : "urn:iso:std:iso:11073:10101" + }, + { + "uri" : "urn:iso:std:iso:3166" + }, + { + "uri" : "urn:iso:std:iso:3166:-2" + }, + { + "uri" : "urn:iso:std:iso:4217" + }, + { + "uri" : "urn:iso-astm:E1762-95:2013" + }, + { + "uri" : "urn:oid:1.2.36.1.2001.1001.101.104.16592" + }, + { + "uri" : "urn:oid:1.2.36.1.2001.1005.17" + }, + { + "uri" : "urn:oid:2.16.840.1.113883.2.9.6.2.7" + }, + { + "uri" : "urn:oid:2.16.840.1.113883.3.1937.98.5.8" + }], + "expansion" : { + "parameter" : [{ + "name" : "cache-id", + "documentation" : "This server supports caching terminology resources between calls. Clients only need to send value sets and codesystems once; there after tehy are automatically in scope for calls with the same cache-id. The cache is retained for 30 min from last call" + }, + { + "name" : "tx-resource", + "documentation" : "Additional valuesets needed for evaluation e.g. value sets referred to from the import statement of the value set being expanded" + }] + } +} \ No newline at end of file diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache new file mode 100644 index 000000000..607a33d30 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/all-systems.cache @@ -0,0 +1,158 @@ +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/plain" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.5.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "text/plain", + "code" : "text/plain", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/plain" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "text/plain", + "code" : "text/plain", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "271649006", + "display" : "Systolic blood pressure" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "271649006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "SYL" +}, "url": "http://hl7.org/fhir/ValueSet/name-v3-representation", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Syllabic", + "code" : "SYL", + "system" : "http://terminology.hl7.org/CodeSystem/v3-EntityNameUse" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "IDE" +}, "url": "http://hl7.org/fhir/ValueSet/name-v3-representation", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Ideographic", + "code" : "IDE", + "system" : "http://terminology.hl7.org/CodeSystem/v3-EntityNameUse" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "nl-NL" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0-snapshot1", "lang":"nl-NL", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Nederlands (Nederland)", + "code" : "nl-NL", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/cql" +}, "url": "http://hl7.org/fhir/ValueSet/expression-language", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "CQL", + "code" : "text/cql", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/fhirpath" +}, "url": "http://hl7.org/fhir/ValueSet/expression-language", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "FHIRPath", + "code" : "text/fhirpath", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "en-AU" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0-snapshot1", "lang":"en-AU", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "English (Australia)", + "code" : "en-AU", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "en" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "English", + "code" : "en", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/plain" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "text/plain", + "code" : "text/plain", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "271649006", + "display" : "Systolic blood pressure" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "271649006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "nl-NL" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.6.0", "lang":"nl-NL", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Nederlands (Nederland)", + "code" : "nl-NL", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/cql" +}, "url": "http://hl7.org/fhir/ValueSet/expression-language", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "CQL", + "code" : "text/cql", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/fhirpath" +}, "url": "http://hl7.org/fhir/ValueSet/expression-language", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "FHIRPath", + "code" : "text/fhirpath", + "system" : "urn:ietf:bcp:13" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "en-AU" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.6.0", "lang":"en-AU", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "English (Australia)", + "code" : "en-AU", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "en" +}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "English", + "code" : "en", + "system" : "urn:ietf:bcp:47" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache new file mode 100644 index 000000000..9cb0b874e --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/http___www.whocc.no_atc.cache @@ -0,0 +1,14 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://www.whocc.no/atc", + "code" : "N02AA", + "display" : "Barbiturates and derivatives" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Natural opium alkaloids", + "code" : "N02AA", + "system" : "http://www.whocc.no/atc", + "severity" : "warning", + "error" : "The display \"Barbiturates and derivatives\" is not a valid display for the code {http://www.whocc.no/atc}N02AA - should be one of ['Natural opium alkaloids'] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/icd-9-cm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/icd-9-cm.cache new file mode 100644 index 000000000..e4d85cbe8 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/icd-9-cm.cache @@ -0,0 +1,11 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://hl7.org/fhir/sid/icd-9-cm", + "code" : "99.00" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Perioperative autologous transfusion of whole blood or blood components", + "code" : "99.00", + "system" : "http://hl7.org/fhir/sid/icd-9-cm" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache new file mode 100644 index 000000000..279d15dfa --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/loinc.cache @@ -0,0 +1,625 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9", + "display" : "Blood pressure panel with all children optional" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6", + "display" : "Systolic blood pressure" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4", + "display" : "Diastolic blood pressure" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9", + "display" : "Blood pressure panel with all children optional" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6", + "display" : "Systolic blood pressure" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4", + "display" : "Diastolic blood pressure" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "56445-0" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "Version 'current' of the code system 'http://loinc.org' is not known (encountered paired with code = '56445-0'). ValidVersions = [2.72]; The code provided (http://loinc.org#56445-0) is not valid in the value set 'FHIRDocumentTypeCodes' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "56445-0" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "Version 'current' of the code system 'http://loinc.org' is not known (encountered paired with code = '56445-0'). ValidVersions = [2.72]; The code provided (http://loinc.org#56445-0) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "48765-2", + "display" : "Allergies and adverse reactions" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "Version 'current' of the code system 'http://loinc.org' is not known (encountered paired with code = '48765-2'). ValidVersions = [2.72]; The code provided (http://loinc.org#48765-2) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.72", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.72", + "code" : "56445-0" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.72", + "code" : "48765-2", + "display" : "Allergies and adverse reactions" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Allergies and adverse reactions Document", + "code" : "48765-2", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"Allergies and adverse reactions\" is not a valid display for the code {http://loinc.org}48765-2 - should be one of ['Allergies and adverse reactions Document', 'Allergies &or adverse reactions Doc', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 变态反应与不良反应 文档.其他' (zh-CN), '杂项类文档' (zh-CN), '其他文档 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 杂项' (zh-CN), '杂项类' (zh-CN), '杂项试验 过敏反应' (zh-CN), '过敏' (zh-CN), 'Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Документ Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "56445-0" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "56445-0" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "48765-2", + "display" : "Allergies and adverse reactions" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +v: { + "display" : "Allergies and adverse reactions Document", + "code" : "48765-2", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"Allergies and adverse reactions\" is not a valid display for the code {http://loinc.org}48765-2 - should be one of ['Allergies and adverse reactions Document', 'Allergies &or adverse reactions Doc', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 变态反应与不良反应 文档.其他' (zh-CN), '杂项类文档' (zh-CN), '其他文档 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 杂项' (zh-CN), '杂项类' (zh-CN), '杂项试验 过敏反应' (zh-CN), '过敏' (zh-CN), 'Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Документ Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18842-5" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Discharge summary", + "code" : "18842-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18842-5", + "display" : "Discharge Summary" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Discharge summary", + "code" : "18842-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18842-5" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Discharge summary", + "code" : "18842-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "29299-5" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Reason for visit Narrative", + "code" : "29299-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "�g��", + "display" : "8302-2" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "The code \"�g��\" is not valid in the system http://loinc.org; The code provided (http://loinc.org#�g��) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8867-4", + "display" : "Heart rate" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Heart rate", + "code" : "8867-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "883-9", + "display" : "ABO group [Type] in Blood" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "ABO group [Type] in Blood", + "code" : "883-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "10331-7", + "display" : "Rh [Type] in Blood" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Rh [Type] in Blood", + "code" : "10331-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "18684-1", + "display" : "����" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "First Blood pressure Set", + "code" : "18684-1", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"����\" is not a valid display for the code {http://loinc.org}18684-1 - should be one of ['First Blood pressure Set', '', 'ED Health Insurance Portability and Accountability Act of 1996' (zh-CN), 'HIPAA' (zh-CN), '健康保險可攜與責任法' (zh-CN), 'HIPAA法案' (zh-CN), '健康保险可移植性和问责法1996年' (zh-CN), '美国健康保险携带和责任法案' (zh-CN), '医疗保险便携性和责任法案' (zh-CN), '医疗保险便携性与责任法案' (zh-CN), '醫療保險可攜性與責任法' (zh-CN), 'HIPAA 信息附件.急诊' (zh-CN), 'HIPAA 信息附件.急诊科' (zh-CN), 'HIPAA 信息附件.急诊科就医' (zh-CN), 'HIPAA 信息附件.急诊科就诊' (zh-CN), '健康保险便携与责任法案信息附件.急诊' (zh-CN), '健康保险便携与责任法案信息附件.急诊 临床信息附件集' (zh-CN), '临床信息附件集合' (zh-CN), '集' (zh-CN), '集合 信息附件' (zh-CN), '健康保险便携与责任法案信息附件' (zh-CN), '附件 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 压强 复合属性' (zh-CN), '复杂型属性' (zh-CN), '复杂属性 就医' (zh-CN), '就医过程 急诊科 急诊科(DEEDS)变量' (zh-CN), 'DEEDS 变量' (zh-CN), '急诊' (zh-CN), '急诊科' (zh-CN), 'Emergency Department' (zh-CN), 'ED' (zh-CN), '急诊科(急诊科系统代码之数据元素)变量' (zh-CN), '急诊科(急诊科系统代码之数据元素)指标' (zh-CN), '急诊科(美国CDC急诊科系统代码之数据元素)指标' (zh-CN), '急诊科指标 急诊科(Emergency Department,ED) 急诊部 第一个' (zh-CN), '第一次' (zh-CN), '首个' (zh-CN), '首次 血' (zh-CN), '全血' (zh-CN), 'Allegato Allegato di reparto di emergenza (pronto soccorso) Complesso Emergenza (DEEDS - Data Elements for Emergency Dep Incontro' (it-IT), 'Appuntamento paziente Stabilito' (it-IT), 'Fissato' (it-IT), 'Встреча Комплекс' (ru-RU)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6", + "display" : "���k������" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"���k������\" is not a valid display for the code {http://loinc.org}8480-6 - should be one of ['Systolic blood pressure', 'BP sys', '', '一般血压' (zh-CN), '血压.原子型' (zh-CN), '血压指标.原子型 压力' (zh-CN), '压强 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血管内收缩期' (zh-CN), '血管内心缩期 血管内的' (zh-CN), 'Pressure' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Art sys' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'IV' (pt-BR), 'Intravenous' (pt-BR), 'BLOOD PRESSURE MEASUREMENTS.ATOM' (pt-BR), 'BP systolic' (pt-BR), 'Blood pressure systolic' (pt-BR), 'Sys BP' (pt-BR), 'SBP' (pt-BR), 'Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)' (it-IT), 'Давление Количественный Точка во времени' (ru-RU), 'Момент' (ru-RU), 'Blutdruck systolisch' (de-AT)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4", + "display" : "�g��������" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"�g��������\" is not a valid display for the code {http://loinc.org}8462-4 - should be one of ['Diastolic blood pressure', 'BP dias', '', '一般血压' (zh-CN), '血压.原子型' (zh-CN), '血压指标.原子型 压力' (zh-CN), '压强 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血管内心舒期' (zh-CN), '血管内舒张期 血管内的' (zh-CN), 'Dias' (pt-BR), 'Diast' (pt-BR), 'Pressure' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Art sys' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'IV' (pt-BR), 'Intravenous' (pt-BR), 'Diastoli' (pt-BR), 'BLOOD PRESSURE MEASUREMENTS.ATOM' (pt-BR), 'Blood pressure diastolic' (pt-BR), 'BP diastolic' (pt-BR), 'Dias BP' (pt-BR), 'DBP' (pt-BR), 'Pressione Pressione arteriosa - atomica Punto nel tempo (episodio)' (it-IT), 'Внутрисосудистый диастолический Давление Количественный Точка во времени' (ru-RU), 'Момент' (ru-RU), 'Blutdruck diastolisch' (de-AT)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "718-7", + "display" : "Hemoglobin [Mass/volume] in Blood" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Hemoglobin [Mass/volume] in Blood", + "code" : "718-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "38483-4", + "display" : "Creat Bld-mCnc" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Creatinine [Mass/volume] in Blood", + "code" : "38483-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "2093-3", + "display" : "Cholesterol [Mass/volume] in Serum or Plasma" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Cholesterol [Mass/volume] in Serum or Plasma", + "code" : "2093-3", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3151-8", + "display" : "ingeademde O2" +}, "valueSet" :null, "lang":"en", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Inhaled oxygen flow rate", + "code" : "3151-8", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"ingeademde O2\" is not a valid display for the code {http://loinc.org}3151-8 - should be one of ['Inhaled oxygen flow rate', 'Inhaled O2 flow rate', '', 'O2' (zh-CN), 'tO2' (zh-CN), '总氧' (zh-CN), '氧气 体积速率(单位时间)' (zh-CN), '单位时间内体积的变化速率' (zh-CN), '流量 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 吸入气' (zh-CN), '吸入气体' (zh-CN), '吸入的空气 所吸入的氧' (zh-CN), '已吸入的氧气 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 气 气体类 空气' (zh-CN), 'Inhaled O2' (pt-BR), 'vRate' (pt-BR), 'Volume rate' (pt-BR), 'Flow' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'IhG' (pt-BR), 'Inhaled Gas' (pt-BR), 'Inspired' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'Gases' (pt-BR), 'Clinico Gas inalati Punto nel tempo (episodio) Tasso di Volume' (it-IT), 'Количественный Объемная скорость Точка во времени' (ru-RU), 'Момент' (ru-RU), 'ingeademde O2' (nl-NL), 'O2-Zufuhr' (de-AT)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "3151-8", + "display" : "ingeademde O2" +}, "valueSet" :null, "lang":"nl-NL", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "ingeademde O2", + "code" : "3151-8", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "35200-5", + "display" : "Cholesterol [Moles/​volume] in Serum or Plasma" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma", + "code" : "35200-5", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"Cholesterol [Moles/​volume] in Serum or Plasma\" is not a valid display for the code {http://loinc.org}35200-5 - should be one of ['Cholesterol [Mass or Moles/volume] in Serum or Plasma', 'Cholest SerPl-msCnc', '', '化学' (zh-CN), '化学检验项目' (zh-CN), '化学检验项目类' (zh-CN), '化学类' (zh-CN), '化学试验' (zh-CN), '非刺激耐受型化学检验项目' (zh-CN), '非刺激耐受型化学检验项目类' (zh-CN), '非刺激耐受型化学试验' (zh-CN), '非刺激耐受型化学试验类 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 总胆固醇' (zh-CN), '胆固醇总计' (zh-CN), '胆甾醇' (zh-CN), '脂类' (zh-CN), '脂质 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血清或血浆 质量或摩尔浓度' (zh-CN), '质量或摩尔浓度(单位体积)' (zh-CN), '质量或物质的量浓度(单位体积)' (zh-CN), 'Juhuslik Kvantitatiivne Plasma Seerum Seerum või plasma' (et-EE), 'Cholest' (pt-BR), 'Chol' (pt-BR), 'Choles' (pt-BR), 'Lipid' (pt-BR), 'Cholesterol total' (pt-BR), 'Cholesterols' (pt-BR), 'Level' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'SerPl' (pt-BR), 'SerPlas' (pt-BR), 'SerP' (pt-BR), 'Serum' (pt-BR), 'SR' (pt-BR), 'Plasma' (pt-BR), 'Pl' (pt-BR), 'Plsm' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'Chemistry' (pt-BR), 'Chimica Concentrazione Sostanza o Massa Plasma Punto nel tempo (episodio) Siero Siero o Plasma' (it-IT), 'Количественный Массовая или Молярная Концентрация Плазма Сыворотка Сыворотка или Плазма Точка во времени' (ru-RU), 'Момент Холестерин' (ru-RU)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "13457-7", + "display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation", + "code" : "13457-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "29463-7", + "display" : "Body Weight" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Body weight", + "code" : "29463-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "29463-7", + "display" : "Body Weight" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Body weight", + "code" : "29463-7", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "35200-5", + "display" : "Cholest SerPl-msCnc" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Cholesterol [Mass or Moles/volume] in Serum or Plasma", + "code" : "35200-5", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "35217-9", + "display" : "Triglyceride [Moles/​volume] in Serum or Plasma" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Triglyceride [Mass or Moles/volume] in Serum or Plasma", + "code" : "35217-9", + "system" : "http://loinc.org", + "severity" : "warning", + "error" : "The display \"Triglyceride [Moles/​volume] in Serum or Plasma\" is not a valid display for the code {http://loinc.org}35217-9 - should be one of ['Triglyceride [Mass or Moles/volume] in Serum or Plasma', 'Trigl SerPl-msCnc', '', 'TG' (zh-CN), 'Trigly' (zh-CN), '甘油三脂' (zh-CN), '甘油三酸酯' (zh-CN), '三酸甘油酯' (zh-CN), '甘油三酸脂' (zh-CN), '三酸甘油脂 化学' (zh-CN), '化学检验项目' (zh-CN), '化学检验项目类' (zh-CN), '化学类' (zh-CN), '化学试验' (zh-CN), '非刺激耐受型化学检验项目' (zh-CN), '非刺激耐受型化学检验项目类' (zh-CN), '非刺激耐受型化学试验' (zh-CN), '非刺激耐受型化学试验类 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 血清或血浆 质量或摩尔浓度' (zh-CN), '质量或摩尔浓度(单位体积)' (zh-CN), '质量或物质的量浓度(单位体积)' (zh-CN), 'Juhuslik Kvantitatiivne Plasma Seerum Seerum või plasma' (et-EE), 'Trigl' (pt-BR), 'Triglycrides' (pt-BR), 'Trig' (pt-BR), 'Triglycerides' (pt-BR), 'Level' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'SerPl' (pt-BR), 'SerPlas' (pt-BR), 'SerP' (pt-BR), 'Serum' (pt-BR), 'SR' (pt-BR), 'Plasma' (pt-BR), 'Pl' (pt-BR), 'Plsm' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'Chemistry' (pt-BR), 'Chimica Concentrazione Sostanza o Massa Plasma Punto nel tempo (episodio) Siero Siero o Plasma' (it-IT), 'Количественный Массовая или Молярная Концентрация Плазма Сыворотка Сыворотка или Плазма Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9", + "display" : "Blood pressure panel with all children optional" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8480-6", + "display" : "Systolic blood pressure" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "8480-6", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "8462-4", + "display" : "Diastolic blood pressure" +}, "url": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Diastolic blood pressure", + "code" : "8462-4", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "56445-0" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "Version 'current' of the code system 'http://loinc.org' is not known (encountered paired with code = '56445-0'). ValidVersions = [2.72]; The code provided (http://loinc.org#56445-0) is not valid in the value set 'FHIRDocumentTypeCodes' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "2.72", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "56445-0" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "version" : "current", + "code" : "56445-0", + "display" : "Medication summary Doc" +}, "url": "http://hl7.org/fhir/ValueSet/doc-typecodes", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"true"}#### +v: { + "display" : "Medication summary Document", + "code" : "56445-0", + "system" : "http://loinc.org" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/measure-population.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/measure-population.cache new file mode 100644 index 000000000..275a8a4ac --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/measure-population.cache @@ -0,0 +1,23 @@ +------------------------------------------------------------------------------------- +{"code" : { + "coding" : [{ + "code" : "initial-population" + }] +}, "url": "http://hl7.org/fhir/ValueSet/measure-population", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}#### +v: { + "severity" : "error", + "error" : "The code system '' is not known (encountered paired with code = 'initial-population'); The code provided (#initial-population) is not valid in the value set 'MeasurePopulationType' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "coding" : [{ + "code" : "initial-population" + }] +}, "url": "http://hl7.org/fhir/ValueSet/measure-population", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"CHECK_MEMERSHIP_ONLY", "versionFlexible":"false"+}#### +v: { + "severity" : "error", + "error" : "The code system '' is not known (encountered paired with code = 'initial-population'); The code provided (#initial-population) is not valid in the value set 'MeasurePopulationType' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/observation-category.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/observation-category.cache new file mode 100644 index 000000000..dd0eb5519 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/observation-category.cache @@ -0,0 +1,53 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/observation-category", + "code" : "vital-signs" +}, "url": "http://hl7.org/fhir/ValueSet/observation-category--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Vital Signs", + "code" : "vital-signs", + "system" : "http://terminology.hl7.org/CodeSystem/observation-category" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/observation-category", + "code" : "vital-signs", + "display" : "Vital Signs" +}, "url": "http://hl7.org/fhir/ValueSet/observation-category", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Vital Signs", + "code" : "vital-signs", + "system" : "http://terminology.hl7.org/CodeSystem/observation-category" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/observation-category", + "code" : "vital-signs" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Vital Signs", + "code" : "vital-signs", + "system" : "http://terminology.hl7.org/CodeSystem/observation-category" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/observation-category", + "code" : "vital-signs" +}, "url": "http://hl7.org/fhir/ValueSet/observation-category--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Vital Signs", + "code" : "vital-signs", + "system" : "http://terminology.hl7.org/CodeSystem/observation-category" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/observation-category", + "code" : "vital-signs", + "display" : "Vital Signs" +}, "url": "http://hl7.org/fhir/ValueSet/observation-category", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Vital Signs", + "code" : "vital-signs", + "system" : "http://terminology.hl7.org/CodeSystem/observation-category" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache new file mode 100644 index 000000000..934038989 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/rxnorm.cache @@ -0,0 +1,12 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", + "code" : "1049640", + "display" : "Acetaminophen 325 MG / Oxycodone Hydrochloride 5 MG Oral Tablet [Percocet]" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "acetaminophen 325 MG / oxycodone hydrochloride 5 MG Oral Tablet [Percocet]", + "code" : "1049640", + "system" : "http://www.nlm.nih.gov/research/umls/rxnorm" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache new file mode 100644 index 000000000..d4de476c1 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/snomed.cache @@ -0,0 +1,247 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "368209003", + "display" : "Right arm" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Right upper arm", + "code" : "368209003", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "271649006", + "display" : "Systolic blood pressure" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "271649006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "271649006" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Systolic blood pressure", + "code" : "271649006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/731000124108/version/20210201", + "code" : "132037003", + "display" : "Pineywoods pig breed" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "Version 'http://snomed.info/sct/731000124108/version/20210201' of the code system 'http://snomed.info/sct' is not known (encountered paired with code = '132037003'). ValidVersions = [http://snomed.info/sct/11000146104/version/20210930,http://snomed.info/sct/11000172109/version/20220315,http://snomed.info/sct/20611000087101/version/20220331,http://snomed.info/sct/32506021000036107/version/20210630,http://snomed.info/sct/45991000052106/version/20210531,http://snomed.info/sct/554471000005108/version/20210930,http://snomed.info/sct/731000124108/version/20220301,http://snomed.info/sct/900000000000207008/version/20190731,http://snomed.info/sct/900000000000207008/version/20200131,http://snomed.info/sct/900000000000207008/version/20200731,http://snomed.info/sct/900000000000207008/version/20210731,http://snomed.info/sct/900000000000207008/version/20220131,http://snomed.info/sct/900000000000207008/version/20220331]; The code provided (http://snomed.info/sct#132037003) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/731000124108/version/20210201", + "code" : "132037003", + "display" : "Pineywoods pig breed" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +v: { + "display" : "Pineywoods pig", + "code" : "132037003", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/11000172109/version/20210915", + "code" : "132037003", + "display" : "Pineywoods pig breed. Not." +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "Version 'http://snomed.info/sct/11000172109/version/20210915' of the code system 'http://snomed.info/sct' is not known (encountered paired with code = '132037003'). ValidVersions = [http://snomed.info/sct/11000146104/version/20210930,http://snomed.info/sct/11000172109/version/20220315,http://snomed.info/sct/20611000087101/version/20220331,http://snomed.info/sct/32506021000036107/version/20210630,http://snomed.info/sct/45991000052106/version/20210531,http://snomed.info/sct/554471000005108/version/20210930,http://snomed.info/sct/731000124108/version/20220301,http://snomed.info/sct/900000000000207008/version/20190731,http://snomed.info/sct/900000000000207008/version/20200131,http://snomed.info/sct/900000000000207008/version/20200731,http://snomed.info/sct/900000000000207008/version/20210731,http://snomed.info/sct/900000000000207008/version/20220131,http://snomed.info/sct/900000000000207008/version/20220331]; The code provided (http://snomed.info/sct#132037003) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)", + "class" : "CODESYSTEM_UNSUPPORTED" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "112144000", + "display" : "Blood group A (finding)" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Blood group A", + "code" : "112144000", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "10828004", + "display" : "Positive (qualifier value)" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Positive", + "code" : "10828004", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "233588003", + "display" : "Continuous hemodiafiltration" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Continuous hemodiafiltration", + "code" : "233588003", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "109006", + "display" : "Anxiety disorder of childhood OR adolescence" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Anxiety disorder of childhood OR adolescence", + "code" : "109006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "109006" +}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Anxiety disorder of childhood OR adolescence", + "code" : "109006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "109006", + "display" : "Anxiety disorder of childhood OR adolescence" +}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Anxiety disorder of childhood OR adolescence", + "code" : "109006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "109006" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Anxiety disorder of childhood OR adolescence", + "code" : "109006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "106004", + "display" : "Posterior carpal region" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Posterior carpal region", + "code" : "106004", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "106004" +}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "The code provided (http://snomed.info/sct#106004) is not valid (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "106004", + "display" : "Posterior carpal region" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Posterior carpal region", + "code" : "106004", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "106004" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "http://snomed.info/sct" + }] + } +}, "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Posterior carpal region", + "code" : "106004", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "85600001", + "display" : "Triacylglycerol" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Triacylglycerol", + "code" : "85600001", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/11000172109/version/20220315", + "code" : "132037003", + "display" : "Pineywoods pig breed. Not." +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Pineywoods pig", + "code" : "132037003", + "system" : "http://snomed.info/sct", + "severity" : "warning", + "error" : "The display \"Pineywoods pig breed. Not.\" is not a valid display for the code {http://snomed.info/sct}132037003 - should be one of ['Pineywoods pig', 'Pineywoods pig breed (organism)', 'Pineywoods pig breed'] (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "109006" +}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Anxiety disorder of childhood OR adolescence", + "code" : "109006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "109006", + "display" : "Anxiety disorder of childhood OR adolescence" +}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Anxiety disorder of childhood OR adolescence", + "code" : "109006", + "system" : "http://snomed.info/sct" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "106004" +}, "url": "http://hl7.org/fhir/ValueSet/clinical-findings--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "The code provided (http://snomed.info/sct#106004) is not valid (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache new file mode 100644 index 000000000..6979b8d88 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/ucum.cache @@ -0,0 +1,51 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "mm[Hg]" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "mm[Hg]", + "code" : "mm[Hg]", + "system" : "http://unitsofmeasure.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "mm[Hg]" +}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "millimeter of mercury", + "code" : "mm[Hg]", + "system" : "http://unitsofmeasure.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "/min" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "/min", + "code" : "/min", + "system" : "http://unitsofmeasure.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "mmol/L" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "mmol/L", + "code" : "mmol/L", + "system" : "http://unitsofmeasure.org" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://unitsofmeasure.org", + "code" : "mm[Hg]" +}, "url": "http://hl7.org/fhir/ValueSet/ucum-vitals-common--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "millimeter of mercury", + "code" : "mm[Hg]", + "system" : "http://unitsofmeasure.org" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0203.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0203.cache new file mode 100644 index 000000000..e44a6bb7f --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v2-0203.cache @@ -0,0 +1,90 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MR" +}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Medical record number", + "code" : "MR", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MR" +}, "url": "http://hl7.org/fhir/ValueSet/identifier-type", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Medical record number", + "code" : "MR", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MR" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"true"}#### +v: { + "display" : "Medical record number", + "code" : "MR", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MR" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Medical record number", + "code" : "MR", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MC" +}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "The code provided (http://terminology.hl7.org/CodeSystem/v2-0203#MC) is not valid (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MC", + "display" : "Patient's Medicare number" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Patient's Medicare number", + "code" : "MC", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MR" +}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Medical record number", + "code" : "MR", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MR" +}, "url": "http://hl7.org/fhir/ValueSet/identifier-type", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Medical record number", + "code" : "MR", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", + "code" : "MC" +}, "url": "http://hl7.org/fhir/ValueSet/identifier-type--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "severity" : "error", + "error" : "The code provided (http://terminology.hl7.org/CodeSystem/v2-0203#MC) is not valid (from http://tx.fhir.org/r4)" +} +------------------------------------------------------------------------------------- diff --git a/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v3-ObservationInterpretation.cache b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v3-ObservationInterpretation.cache new file mode 100644 index 000000000..e00b0d319 --- /dev/null +++ b/org.hl7.fhir.validation/src/test/resources/txCache/org.hl7.fhir.validation/5.0.0/v3-ObservationInterpretation.cache @@ -0,0 +1,105 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "L" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Low", + "code" : "L", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "L", + "display" : "low" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Low", + "code" : "L", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "L" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Low", + "code" : "L", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "N" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation--0", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Normal", + "code" : "N", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "N", + "display" : "normal" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation", "version": "5.0.0-snapshot1", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Normal", + "code" : "N", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "N" +}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Normal", + "code" : "N", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "L" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Low", + "code" : "L", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "L", + "display" : "low" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Low", + "code" : "L", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "N" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation--0", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS", "versionFlexible":"false"}#### +v: { + "display" : "Normal", + "code" : "N", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code" : "N", + "display" : "normal" +}, "url": "http://hl7.org/fhir/ValueSet/observation-interpretation", "version": "4.6.0", "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK", "versionFlexible":"false"}#### +v: { + "display" : "Normal", + "code" : "N", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" +} +-------------------------------------------------------------------------------------